Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various npm dependency bumps #2369

Merged
merged 4 commits into from
Mar 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gulp-tasks/utils/rollup-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

const asyncToPromises = require('babel-plugin-transform-async-to-promises');
const babel = require('rollup-plugin-babel');
const replace = require('rollup-plugin-replace');
const resolve = require('rollup-plugin-node-resolve');
const replace = require('@rollup/plugin-replace');
const resolve = require('@rollup/plugin-node-resolve');
const terserPlugin = require('rollup-plugin-terser').terser;

const constants = require('./constants');
Expand Down
8 changes: 4 additions & 4 deletions infra/testing/server/routes/sw-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
*/

const {rollup} = require('rollup');
const replace = require('rollup-plugin-replace');
const resolve = require('rollup-plugin-node-resolve');
const multiEntry = require('rollup-plugin-multi-entry');
const commonjs = require('rollup-plugin-commonjs');
const replace = require('@rollup/plugin-replace');
const resolve = require('@rollup/plugin-node-resolve');
const multiEntry = require('@rollup/plugin-multi-entry');
const commonjs = require('@rollup/plugin-commonjs');
const {needsTranspile, queueTranspile} = require('../../../../gulp-tasks/transpile-typescript');
const {getPackages} = require('../../../../gulp-tasks/utils/get-packages');

Expand Down
634 changes: 345 additions & 289 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
"@babel/preset-env": "^7.8.4",
"@google-cloud/storage": "^4.3.0",
"@octokit/rest": "^16.43.1",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^2.3.1",
"@typescript-eslint/eslint-plugin": "^2.19.0",
"@typescript-eslint/parser": "^2.19.0",
"acorn": "^7.1.0",
Expand Down Expand Up @@ -96,10 +100,6 @@
"require-dir": "^1.2.0",
"rollup": "^1.31.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-multi-entry": "^2.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-typescript2": "^0.25.3",
"selenium-assistant": "^6.0.0",
Expand Down
2,510 changes: 807 additions & 1,703 deletions packages/workbox-build/package-lock.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions packages/workbox-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,28 @@
"bugs": "https://github.com/GoogleChrome/workbox/issues",
"homepage": "https://github.com/GoogleChrome/workbox",
"dependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/runtime": "^7.5.5",
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"@babel/runtime": "^7.8.4",
"@hapi/joi": "^15.1.0",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^2.3.1",
"@surma/rollup-plugin-off-main-thread": "^1.1.1",
"common-tags": "^1.8.0",
"fast-json-stable-stringify": "^2.0.0",
"fast-json-stable-stringify": "^2.1.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.4",
"glob": "^7.1.6",
"lodash.template": "^4.5.0",
"pretty-bytes": "^5.2.0",
"rollup": "^1.17.0",
"pretty-bytes": "^5.3.0",
"rollup": "^1.31.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-terser": "^5.2.0",
"source-map": "^0.7.3",
"source-map-url": "^0.4.0",
"stringify-object": "^3.3.0",
"strip-comments": "^1.0.2",
"strip-comments": "^2.0.1",
"tempy": "^0.3.0",
"upath": "^1.1.2",
"upath": "^1.2.0",
"workbox-background-sync": "^5.0.0",
"workbox-broadcast-update": "^5.0.0",
"workbox-cacheable-response": "^5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/workbox-build/src/lib/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const babel = require('rollup-plugin-babel');
const omt = require('@surma/rollup-plugin-off-main-thread');
const upath = require('upath');
const presetEnv = require('@babel/preset-env');
const replace = require('rollup-plugin-replace');
const resolve = require('rollup-plugin-node-resolve');
const replace = require('@rollup/plugin-replace');
const resolve = require('@rollup/plugin-node-resolve');
const tempy = require('tempy');

module.exports = async ({
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe(`[all] prod builds`, function() {
absolute: true,
});

it(`should not have files with "console" or "%cworkbox"`, function() {
it(`should not have files with "console" or "%cworwbox"`, function() {
const invalidFiles = [];
buildFiles.forEach((filePath) => {
const fileContents = fs.readFileSync(filePath).toString();
Expand Down
6 changes: 3 additions & 3 deletions test/workbox-build/node/lib/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ describe(`[workbox-build] lib/bundle.js`, function() {
'tempy': {
file: sinon.stub().returns('sw.js'),
},
'rollup-plugin-node-resolve': sinon.stub(),
'rollup-plugin-replace': sinon.stub(),
'@rollup/plugin-node-resolve': sinon.stub(),
'@rollup/plugin-replace': sinon.stub(),
'rollup-plugin-babel': sinon.stub(),
'rollup-plugin-terser': {
terser: sinon.stub(),
Expand Down Expand Up @@ -103,7 +103,7 @@ describe(`[workbox-build] lib/bundle.js`, function() {
mode,
});

expect(stubs['rollup-plugin-replace'].args).to.eql([[{
expect(stubs['@rollup/plugin-replace'].args).to.eql([[{
'process.env.NODE_ENV': `"${mode}"`,
}]]);
});
Expand Down