From 721b15939fb8e6959d5323c56959040d745b13f8 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Tue, 20 Dec 2022 11:56:03 +0000 Subject: [PATCH] Update to `rollup@0.59.4` maintaining legacy IE8 support We no longer need to pin `rollup@0.56.5` since `gulp-better-rollup` has been removed Changes: https://github.com/rollup/rollup/compare/v0.56.5...v0.59.4 --- package-lock.json | 20 ++++++++++++++------ package.json | 2 +- package.json.unit.test.js | 8 ++++---- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index f290d41bd8..89d6f7fc2b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "postcss-unmq": "^1.0.2", "postcss-unopacity": "^2.0.0", "postcss-unrgba": "^1.1.1", - "rollup": "0.56.5", + "rollup": "0.59.4", "sassdoc": "^2.7.4", "slash": "^5.0.0", "uglify-js": "^3.17.4", @@ -3448,8 +3448,7 @@ "node_modules/@types/node": { "version": "18.11.9", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", - "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==", - "dev": true + "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==" }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", @@ -20999,13 +20998,22 @@ } }, "node_modules/rollup": { - "version": "0.56.5", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-0.56.5.tgz", - "integrity": "sha512-IGPk5vdWrsc4vkiW9XMeXr5QMtxmvATTttTi59w2jBQWe9G/MMQtn8teIBAj+DdK51TrpVT6P0aQUaQUlUYCJA==", + "version": "0.59.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-0.59.4.tgz", + "integrity": "sha512-ISiMqq/aJa+57QxX2MRcvLESHdJ7wSavmr6U1euMr+6UgFe6KM+3QANrYy8LQofwhTC1I7BcAdlLnDiaODs1BA==", + "dependencies": { + "@types/estree": "0.0.39", + "@types/node": "*" + }, "bin": { "rollup": "bin/rollup" } }, + "node_modules/rollup/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==" + }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", diff --git a/package.json b/package.json index e05b1b1a6d..e196694baa 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "postcss-unmq": "^1.0.2", "postcss-unopacity": "^2.0.0", "postcss-unrgba": "^1.1.1", - "rollup": "0.56.5", + "rollup": "0.59.4", "sassdoc": "^2.7.4", "slash": "^5.0.0", "uglify-js": "^3.17.4", diff --git a/package.json.unit.test.js b/package.json.unit.test.js index f5fe212a19..259dee443d 100644 --- a/package.json.unit.test.js +++ b/package.json.unit.test.js @@ -3,12 +3,12 @@ const packageJson = require('./package.json') describe('because rollup 0.60 drops support for Internet Explorer 8', () => { describe('rollup', () => { - it('should be pinned to 0.56.5 in package.json', () => { - expect(packageJson.dependencies.rollup).toEqual('0.56.5') + it('should be pinned to 0.59.4 in package.json', () => { + expect(packageJson.dependencies.rollup).toEqual('0.59.4') }) - it('should be pinned to 0.56.5 in package-lock.json', () => { - expect(packageLockJson.packages['node_modules/rollup'].version).toEqual('0.56.5') + it('should be pinned to 0.59.4 in package-lock.json', () => { + expect(packageLockJson.packages['node_modules/rollup'].version).toEqual('0.59.4') }) }) })