diff --git a/package.json b/package.json index 0b80a08a0..39d94e19b 100644 --- a/package.json +++ b/package.json @@ -1502,7 +1502,9 @@ "items": { "type": "string" }, - "default": ["."], + "default": [ + "." + ], "markdownDescription": "Which local directories to try for local help pages previewer. Set to `[]` to disable." }, "r.helpPanel.rpath": { @@ -1818,7 +1820,7 @@ "default": false, "description": "Default boolean value for automatically sharing R browser ports with guests." }, - "r.plot.devArgs" :{ + "r.plot.devArgs": { "type": "object", "markdownDescription": "The arguments for the png device to replay user graphics to show in VSCode. Requires `#r.plot.useHttpgd#` to be set to `false`. \n\nChanges the option `vsc.dev.args` in R.", "default": { @@ -2025,7 +2027,7 @@ "webpack-cli": "^4.7.2" }, "dependencies": { - "ag-grid-community": "^28.1.1", + "ag-grid-community": "^29.0.0", "cheerio": "1.0.0-rc.10", "crypto": "^1.0.1", "ejs": "^3.1.7", diff --git a/webpack.config.js b/webpack.config.js index 499fcba4d..7b4b1feb6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -18,6 +18,8 @@ module.exports = { }, devtool: 'source-map', externals: { + 'utf-8-validate': 'commonjs utf-8-validate', + bufferutil: 'commonjs bufferutil', vscode: 'commonjs vscode' // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/ }, resolve: { @@ -40,13 +42,12 @@ module.exports = { plugins: [ new CopyPlugin({ patterns: [ - { from: './node_modules/jquery/dist/jquery.min.js', to: 'resources' }, - { from: './node_modules/jquery.json-viewer/json-viewer', to: 'resources' }, - { from: './node_modules/ag-grid-community/dist/ag-grid-community.min.noStyle.js', to: 'resources' }, - { from: './node_modules/ag-grid-community/dist/styles/ag-grid.min.css', to: 'resources' }, - { from: './node_modules/ag-grid-community/dist/styles/ag-theme-balham.min.css', to: 'resources' }, - { from: './node_modules/ag-grid-community/dist/styles/ag-theme-balham-dark.min.css', to: 'resources' }, - ] - }), + { from: './node_modules/jquery/dist/jquery.min.js', to: 'resources' }, + { from: './node_modules/jquery.json-viewer/json-viewer', to: 'resources' }, + { from: './node_modules/ag-grid-community/dist/ag-grid-community.min.noStyle.js', to: 'resources' }, + { from: './node_modules/ag-grid-community/styles/ag-grid.min.css', to: 'resources' }, + { from: './node_modules/ag-grid-community/styles/ag-theme-balham.min.css', to: 'resources' }, + ] + }), ], }; diff --git a/yarn.lock b/yarn.lock index 354d2a81e..48f9ad1f9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -571,10 +571,10 @@ acorn@^8.2.1, acorn@^8.5.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.1.tgz#0197122c843d1bf6d0a5e83220a788f278f63c30" integrity sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A== -ag-grid-community@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/ag-grid-community/-/ag-grid-community-28.1.1.tgz#68b849ecf4c0849faa8e012003afb0923ee00d69" - integrity sha512-WqWELTVXMrFHnyLHhD8HqMzrns+rjMuaOWcnLY+uO+j2jFN9QEasXPdT8zepNbNeUaIdCt1f1Q9Ipx0U1evNvQ== +ag-grid-community@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/ag-grid-community/-/ag-grid-community-29.0.0.tgz#33c8de7b253af15986c343f6d6fd098f3e6d681b" + integrity sha512-onAQIqjhP1L93W5myAsfLBMBUyZPrWDb8FRulJuhjQKo8DEA4GSZ+oJHxwwLymm4biLu54zvZ+9GkTftha8gAg== agent-base@6: version "6.0.2"