Skip to content

Commit

Permalink
chore: upgrade deps (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored Aug 12, 2022
1 parent ded339a commit 88fb122
Show file tree
Hide file tree
Showing 4 changed files with 1,823 additions and 1,763 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- uses: actions/setup-node@v3
with:
registry-url: "https://registry.npmjs.org"
cache: "yarn"

- name: Prepare repository
run: git fetch --unshallow --tags
Expand All @@ -32,4 +31,5 @@ jobs:
run: npm run release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,30 @@
"patches"
],
"devDependencies": {
"@auto-it/conventional-commits": "^10.37.1",
"@auto-it/first-time-contributor": "^10.37.1",
"@babel/plugin-transform-runtime": "^7.18.2",
"@auto-it/conventional-commits": "^10.37.4",
"@auto-it/first-time-contributor": "^10.37.4",
"@babel/plugin-transform-runtime": "^7.18.10",
"@rollup/plugin-commonjs": "22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/semver": "^7.3.9",
"auto": "^10.37.1",
"@types/semver": "^7.3.12",
"auto": "^10.37.4",
"browser-sync": "^2.27.10",
"concurrently": "^7.2.1",
"concurrently": "^7.3.0",
"del-cli": "^5.0.0",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^28.1.3",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"rollup": "2.77.2",
"rollup": "2.77.3",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^3.0.0",
"sass": "^1.52.1",
"typescript": "^4.7.2",
"rollup-plugin-ts": "^3.0.2",
"sass": "^1.54.4",
"typescript": "^4.7.4",
"vega": "^5.22.1",
"vega-lite": "^5.2.0",
"vega-lite-dev-config": "^0.20.0"
"vega-lite-dev-config": "^0.21.0"
},
"peerDependencies": {
"vega": "^5.21.0",
Expand All @@ -75,7 +76,7 @@
"tslib": "^2.4.0",
"vega-interpreter": "^1.0.4",
"vega-schema-url-parser": "^2.2.0",
"vega-themes": "^2.10.0",
"vega-themes": "^2.12.0",
"vega-tooltip": "^0.28.0"
},
"bundledDependencies": [
Expand Down
5 changes: 3 additions & 2 deletions src/embed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ export function guessMode(spec: VisualizationSpec, providedMode?: Mode): Mode {
const parsed = schemaParser(spec.$schema);
if (providedMode && providedMode !== parsed.library) {
console.warn(
`The given visualization spec is written in ${NAMES[parsed.library]}, but mode argument sets ${NAMES[providedMode] ?? providedMode
`The given visualization spec is written in ${NAMES[parsed.library]}, but mode argument sets ${
NAMES[providedMode] ?? providedMode
}.`
);
}
Expand Down Expand Up @@ -396,7 +397,7 @@ async function _embed(
const handler = isTooltipHandler(opts.tooltip)
? opts.tooltip
: // user provided boolean true or tooltip options
new Handler(opts.tooltip === true ? {} : opts.tooltip).call;
new Handler(opts.tooltip === true ? {} : opts.tooltip).call;

view.tooltip(handler);
}
Expand Down
Loading

0 comments on commit 88fb122

Please sign in to comment.