diff --git a/package.json b/package.json index 22c3ff8a0402..67242df287cb 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ ], "devDependencies": { "@google-cloud/storage": "^5.7.0", + "@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-replace": "^3.0.1", "@size-limit/preset-small-lib": "^4.5.5", "@strictsoftware/typedoc-plugin-monorepo": "^0.3.1", diff --git a/packages/browser/package.json b/packages/browser/package.json index dde759028e7a..16f6601c3460 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -40,7 +40,6 @@ "karma-webkit-launcher": "^1.0.2", "node-fetch": "^2.6.0", "playwright": "^1.17.1", - "rollup-plugin-commonjs": "^9.3.4", "rollup-plugin-node-resolve": "^4.2.3", "sinon": "^7.3.2", "webpack": "^4.30.0" diff --git a/packages/browser/rollup.config.js b/packages/browser/rollup.config.js index c0c26e51f58c..4b644b7db193 100644 --- a/packages/browser/rollup.config.js +++ b/packages/browser/rollup.config.js @@ -2,7 +2,7 @@ import { terser } from 'rollup-plugin-terser'; import typescript from 'rollup-plugin-typescript2'; import license from 'rollup-plugin-license'; import resolve from 'rollup-plugin-node-resolve'; -import commonjs from 'rollup-plugin-commonjs'; +import commonjs from '@rollup/plugin-commonjs'; import replace from '@rollup/plugin-replace'; const commitHash = require('child_process') diff --git a/packages/integrations/package.json b/packages/integrations/package.json index 7ef3db7fbd33..b3eea6751180 100644 --- a/packages/integrations/package.json +++ b/packages/integrations/package.json @@ -23,7 +23,6 @@ }, "devDependencies": { "chai": "^4.1.2", - "rollup-plugin-commonjs": "^9.3.4", "rollup-plugin-node-resolve": "^4.2.3" }, "scripts": { diff --git a/packages/integrations/rollup.config.js b/packages/integrations/rollup.config.js index 80494c21473f..1f681403969f 100644 --- a/packages/integrations/rollup.config.js +++ b/packages/integrations/rollup.config.js @@ -3,7 +3,7 @@ import * as fs from 'fs'; import { terser } from 'rollup-plugin-terser'; import typescript from 'rollup-plugin-typescript2'; import resolve from 'rollup-plugin-node-resolve'; -import commonjs from 'rollup-plugin-commonjs'; +import commonjs from '@rollup/plugin-commonjs'; import replace from '@rollup/plugin-replace'; const terserInstance = terser({ diff --git a/packages/tracing/package.json b/packages/tracing/package.json index 82a67d4adbcf..3d8345a3b1a2 100644 --- a/packages/tracing/package.json +++ b/packages/tracing/package.json @@ -27,7 +27,6 @@ "@types/express": "^4.17.1", "@types/jsdom": "^16.2.3", "jsdom": "^16.2.2", - "rollup-plugin-commonjs": "^9.3.4", "rollup-plugin-node-resolve": "^4.2.3" }, "scripts": { diff --git a/packages/tracing/rollup.config.js b/packages/tracing/rollup.config.js index 571b973fb717..3bf50c4c14c3 100644 --- a/packages/tracing/rollup.config.js +++ b/packages/tracing/rollup.config.js @@ -2,7 +2,7 @@ import { terser } from 'rollup-plugin-terser'; import typescript from 'rollup-plugin-typescript2'; import license from 'rollup-plugin-license'; import resolve from 'rollup-plugin-node-resolve'; -import commonjs from 'rollup-plugin-commonjs'; +import commonjs from '@rollup/plugin-commonjs'; import replace from '@rollup/plugin-replace'; const commitHash = require('child_process') diff --git a/packages/vue/package.json b/packages/vue/package.json index 95669cd1001a..f9e93c337ec0 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -29,7 +29,6 @@ }, "devDependencies": { "jsdom": "^16.2.2", - "rollup-plugin-commonjs": "^9.3.4", "rollup-plugin-node-resolve": "^4.2.3" }, "scripts": { diff --git a/packages/vue/rollup.config.js b/packages/vue/rollup.config.js index 8cbb06c7f1e6..75a002efaf98 100644 --- a/packages/vue/rollup.config.js +++ b/packages/vue/rollup.config.js @@ -2,7 +2,7 @@ import { terser } from 'rollup-plugin-terser'; import typescript from 'rollup-plugin-typescript2'; import license from 'rollup-plugin-license'; import resolve from 'rollup-plugin-node-resolve'; -import commonjs from 'rollup-plugin-commonjs'; +import commonjs from '@rollup/plugin-commonjs'; import replace from '@rollup/plugin-replace'; const commitHash = require('child_process') diff --git a/packages/wasm/package.json b/packages/wasm/package.json index 9735b4a627aa..7354452546ff 100644 --- a/packages/wasm/package.json +++ b/packages/wasm/package.json @@ -27,7 +27,6 @@ "express": "^4.17.1", "jest-puppeteer": "^4.4.0", "puppeteer": "^5.5.0", - "rollup-plugin-commonjs": "^9.3.4", "rollup-plugin-node-resolve": "^4.2.3" }, "scripts": { diff --git a/packages/wasm/rollup.config.js b/packages/wasm/rollup.config.js index 1feea972a45f..85e6703b6285 100644 --- a/packages/wasm/rollup.config.js +++ b/packages/wasm/rollup.config.js @@ -1,7 +1,7 @@ import { terser } from 'rollup-plugin-terser'; import typescript from 'rollup-plugin-typescript2'; import resolve from 'rollup-plugin-node-resolve'; -import commonjs from 'rollup-plugin-commonjs'; +import commonjs from '@rollup/plugin-commonjs'; import replace from '@rollup/plugin-replace'; const terserInstance = terser({ diff --git a/yarn.lock b/yarn.lock index 96e21781e46b..bc05f38b025f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3088,6 +3088,19 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA= +"@rollup/plugin-commonjs@^21.0.1": + version "21.0.1" + resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-21.0.1.tgz#1e57c81ae1518e4df0954d681c642e7d94588fee" + integrity sha512-EA+g22lbNJ8p5kuZJUYyhhDK7WgJckW5g4pNN7n4mAFUM96VuwUnNT3xr2Db2iCZPI1pJPbGyfT5mS9T1dHfMg== + dependencies: + "@rollup/pluginutils" "^3.1.0" + commondir "^1.0.1" + estree-walker "^2.0.1" + glob "^7.1.6" + is-reference "^1.2.1" + magic-string "^0.25.7" + resolve "^1.17.0" + "@rollup/plugin-replace@^3.0.1": version "3.0.1" resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-3.0.1.tgz#f774550f482091719e52e9f14f67ffc0046a883d" @@ -10264,11 +10277,6 @@ estraverse@^5.1.0, estraverse@^5.2.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ== -estree-walker@^0.6.0, estree-walker@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" - integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w== - estree-walker@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" @@ -12981,6 +12989,13 @@ is-redirect@^1.0.0: resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= +is-reference@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7" + integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== + dependencies: + "@types/estree" "*" + is-regex@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.2.tgz#81c8ebde4db142f2cf1c53fc86d6a45788266251" @@ -14969,7 +14984,7 @@ madge@4.0.2: typescript "^3.9.5" walkdir "^0.4.1" -magic-string@0.25.7, magic-string@^0.25.1, magic-string@^0.25.2, magic-string@^0.25.7: +magic-string@0.25.7, magic-string@^0.25.1, magic-string@^0.25.7: version "0.25.7" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051" integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA== @@ -18908,16 +18923,6 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" -rollup-plugin-commonjs@^9.3.4: - version "9.3.4" - resolved "https://registry.yarnpkg.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-9.3.4.tgz#2b3dddbbbded83d45c36ff101cdd29e924fd23bc" - integrity sha512-DTZOvRoiVIHHLFBCL4pFxOaJt8pagxsVldEXBOn6wl3/V21wVaj17HFfyzTsQUuou3sZL3lEJZVWKPFblJfI6w== - dependencies: - estree-walker "^0.6.0" - magic-string "^0.25.2" - resolve "^1.10.0" - rollup-pluginutils "^2.6.0" - rollup-plugin-license@^2.6.1: version "2.6.1" resolved "https://registry.yarnpkg.com/rollup-plugin-license/-/rollup-plugin-license-2.6.1.tgz#20f15cc37950f362f8eefdc6e3a2e659d0cad9eb" @@ -18965,13 +18970,6 @@ rollup-plugin-typescript2@^0.31.2: resolve "^1.20.0" tslib "^2.3.1" -rollup-pluginutils@^2.6.0: - version "2.8.2" - resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e" - integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ== - dependencies: - estree-walker "^0.6.1" - rollup@^2.67.1: version "2.67.1" resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.67.1.tgz#4402665706fa00f321d446ce45f880e02cf54f01"