Skip to content

Commit

Permalink
v5.17.1
Browse files Browse the repository at this point in the history
* chore: Update dev dependencies.
* chore: Bump version numbers.
* docs: Update docs build files.
  • Loading branch information
jheer committed Dec 21, 2020
1 parent ea2ea2f commit cf8e57d
Show file tree
Hide file tree
Showing 14 changed files with 1,076 additions and 994 deletions.
2 changes: 1 addition & 1 deletion docs/_data/versions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vega__latest: '5.17.0'
vega__latest: '5.17.1'
schema: '5'
vega: '5'
interpreter: '1'
Expand Down
14 changes: 9 additions & 5 deletions docs/vega-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@
}
/**
* URI sanitizer function.
* @param {string} uri - The uri (url or filename) to sanity check.
* @param {string} uri - The uri (url or filename) to check.
* @param {object} options - An options hash.
* @return {Promise} - A promise that resolves to an object containing
* sanitized uri data, or rejects it the input uri is deemed invalid.
Expand Down Expand Up @@ -12792,7 +12792,7 @@

function useCanvas(use) {
textMetrics.width = use && context$1 ? measureWidth : estimateWidth;
} // make dumb, simple estimate if no canvas is available
} // make simple estimate if no canvas is available


function estimateWidth(item, text) {
Expand Down Expand Up @@ -18390,7 +18390,7 @@
stop = ex[1],
span = stop - start,
step = nice ? d3Array.tickStep(start, stop, k) : span / (k + 1);
return d3Array.range(step, stop, step);
return d3Array.range(start + step, stop, step);
};
}
/**
Expand Down Expand Up @@ -23113,7 +23113,7 @@
resolvefilter: ResolveFilter
});

var version = "5.17.0";
var version = "5.17.1";

const RawCode = 'RawCode';
const Literal = 'Literal';
Expand Down Expand Up @@ -23658,6 +23658,10 @@
start: start,
end: index
};
}

if (ch2 === '//') {
throwError({}, MessageUnexpectedToken, ILLEGAL);
} // 1-character punctuators: < > = ! + - * % & | ^ /


Expand Down Expand Up @@ -24858,7 +24862,7 @@
return isFunction(fn) ? fn(args) : fn + '(' + args.map(visit).join(',') + ')';
},
ArrayExpression: n => '[' + n.elements.map(visit).join(',') + ']',
BinaryExpression: n => '(' + visit(n.left) + n.operator + visit(n.right) + ')',
BinaryExpression: n => '(' + visit(n.left) + ' ' + n.operator + ' ' + visit(n.right) + ')',
UnaryExpression: n => '(' + n.operator + visit(n.argument) + ')',
ConditionalExpression: n => '(' + visit(n.test) + '?' + visit(n.consequent) + ':' + visit(n.alternate) + ')',
LogicalExpression: n => '(' + visit(n.left) + n.operator + visit(n.right) + ')',
Expand Down
2 changes: 1 addition & 1 deletion docs/vega-core.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/vega-core.min.js.map

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions docs/vega.js
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@
}
/**
* URI sanitizer function.
* @param {string} uri - The uri (url or filename) to sanity check.
* @param {string} uri - The uri (url or filename) to check.
* @param {object} options - An options hash.
* @return {Promise} - A promise that resolves to an object containing
* sanitized uri data, or rejects it the input uri is deemed invalid.
Expand Down Expand Up @@ -18697,7 +18697,7 @@

function useCanvas(use) {
textMetrics.width = use && context$1 ? measureWidth : estimateWidth;
} // make dumb, simple estimate if no canvas is available
} // make simple estimate if no canvas is available


function estimateWidth(item, text) {
Expand Down Expand Up @@ -27175,7 +27175,7 @@
stop = ex[1],
span = stop - start,
step = nice ? tickStep(start, stop, k) : span / (k + 1);
return range$1(step, stop, step);
return range$1(start + step, stop, step);
};
}
/**
Expand Down Expand Up @@ -35888,7 +35888,7 @@
resolvefilter: ResolveFilter
});

var version = "5.17.0";
var version = "5.17.1";

const RawCode = 'RawCode';
const Literal = 'Literal';
Expand Down Expand Up @@ -36433,6 +36433,10 @@
start: start,
end: index$1
};
}

if (ch2 === '//') {
throwError({}, MessageUnexpectedToken, ILLEGAL);
} // 1-character punctuators: < > = ! + - * % & | ^ /


Expand Down Expand Up @@ -37633,7 +37637,7 @@
return isFunction(fn) ? fn(args) : fn + '(' + args.map(visit).join(',') + ')';
},
ArrayExpression: n => '[' + n.elements.map(visit).join(',') + ']',
BinaryExpression: n => '(' + visit(n.left) + n.operator + visit(n.right) + ')',
BinaryExpression: n => '(' + visit(n.left) + ' ' + n.operator + ' ' + visit(n.right) + ')',
UnaryExpression: n => '(' + n.operator + visit(n.argument) + ')',
ConditionalExpression: n => '(' + visit(n.test) + '?' + visit(n.consequent) + ':' + visit(n.alternate) + ')',
LogicalExpression: n => '(' + visit(n.left) + n.operator + visit(n.right) + ')',
Expand Down
2 changes: 1 addition & 1 deletion docs/vega.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/vega.min.js.map

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,31 @@
"postinstall": "yarn data"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@rollup/plugin-babel": "^5.2.1",
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/node": "^14.11.2",
"@rollup/plugin-node-resolve": "^11.0.1",
"@types/node": "^14.14.14",
"ajv": "^7.0.2",
"ajv-formats": "^1.5.1",
"canvas": "^2.6.1",
"dtslint": "^4.0.4",
"eslint": "^7.10.0",
"dtslint": "^4.0.6",
"eslint": "^7.16.0",
"jsdom": "^16.4.0",
"lerna": "^3.22.1",
"pixelmatch": "^5.2.1",
"prettier": "^2.1.2",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.28.2",
"rollup": "^2.35.1",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-terser": "^7.0.2",
"serve": "^11.3.2",
"tape": "^5.0.1",
"terser": "^5.3.3",
"typescript": "~4.0.3",
"terser": "^5.5.1",
"typescript": "~4.1.3",
"vega-datasets": "^2.2.0"
},
"workspaces": [
Expand Down
4 changes: 2 additions & 2 deletions packages/vega-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vega-cli",
"version": "5.17.0",
"version": "5.17.1",
"description": "Command line utilities for server-side Vega.",
"keywords": [
"vega",
Expand All @@ -21,7 +21,7 @@
},
"dependencies": {
"canvas": "^2.6.1",
"vega": "5.17.0",
"vega": "5.17.1",
"yargs": "16"
}
}
2 changes: 1 addition & 1 deletion packages/vega-expression/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vega-expression",
"version": "3.0.0",
"version": "3.0.1",
"description": "Vega expression parser and code generator.",
"keywords": [
"vega",
Expand Down
2 changes: 1 addition & 1 deletion packages/vega-geo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vega-geo",
"version": "4.3.7",
"version": "4.3.8",
"description": "Geographic data transforms for Vega dataflows.",
"keywords": [
"vega",
Expand Down
2 changes: 1 addition & 1 deletion packages/vega-typings/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vega-typings",
"version": "0.19.1",
"version": "0.19.2",
"description": "Typings for Vega.",
"types": "types",
"repository": "vega/vega",
Expand Down
8 changes: 4 additions & 4 deletions packages/vega/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vega",
"version": "5.17.0",
"version": "5.17.1",
"description": "The Vega visualization grammar.",
"keywords": [
"vega",
Expand Down Expand Up @@ -34,11 +34,11 @@
"vega-dataflow": "~5.7.3",
"vega-encode": "~4.8.3",
"vega-event-selector": "~2.0.6",
"vega-expression": "~3.0.0",
"vega-expression": "~3.0.1",
"vega-force": "~4.0.7",
"vega-format": "~1.0.4",
"vega-functions": "~5.8.0",
"vega-geo": "~4.3.7",
"vega-geo": "~4.3.8",
"vega-hierarchy": "~4.0.9",
"vega-label": "~1.0.0",
"vega-loader": "~4.4.0",
Expand All @@ -51,7 +51,7 @@
"vega-statistics": "~1.7.9",
"vega-time": "~2.0.4",
"vega-transforms": "~4.9.3",
"vega-typings": "~0.19.0",
"vega-typings": "~0.19.2",
"vega-util": "~1.16.0",
"vega-view": "~5.9.0",
"vega-view-transforms": "~4.5.8",
Expand Down

0 comments on commit cf8e57d

Please sign in to comment.