From b3f7721cdd18dc0598c6b1fb79dedc8fb18d2ba3 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 7 Feb 2023 12:12:23 +0800 Subject: [PATCH] MDL-75012 js: Bump shifter to new version This resolves an issue identified in 77083 which identified that GitHub hashes shouldn't be treated as repeatable. Whilst GitHub have reverted this change, it's still worth making this change. --- npm-shrinkwrap.json | 17 +++++++++-------- package.json | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index c61dc17e2f5..01dee91d611 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -47,7 +47,7 @@ "postcss-scss": "^4.0.6", "rollup-plugin-terser": "^7.0.2", "semver": "^7.3.8", - "shifter": "https://github.com/andrewnicols/shifter/archive/v1.2.0_moodle-0.tar.gz", + "shifter": "https://github.com/andrewnicols/shifter/releases/download/v1.2.0_moodle-1/shifter-1.2.0_moodle-1.tar.gz", "stylelint": "^14.16.1", "stylelint-csstree-validator": "^2.1.0", "xmldom": "^0.6.0", @@ -11089,8 +11089,8 @@ }, "node_modules/shifter": { "version": "1.2.0", - "resolved": "https://github.com/andrewnicols/shifter/archive/v1.2.0_moodle-0.tar.gz", - "integrity": "sha512-zIR5WQqJcNP52vcIqFql2/wXm6nLHW4DsLZyfr6wZ0vfOuqDaYiwB6J7/WYvfjgL2pvvTtSo3pySUYRmrOP3lQ==", + "resolved": "https://github.com/andrewnicols/shifter/releases/download/v1.2.0_moodle-1/shifter-1.2.0_moodle-1.tar.gz", + "integrity": "sha512-giiM2NmovrX3sAKYkvjUDIQ2dEAXGweFEpD0PICVjsWS4yq3OAlx9fFZqcZnph1HpklyzJD0Bz9a9W5ztGBqxg==", "dev": true, "dependencies": { "ansi-color": "*", @@ -11098,7 +11098,7 @@ "cssproc": "~0.0.1", "gear": "~0.8.0", "gear-lib": "^0.9.2", - "istanbul": "https://github.com/andrewnicols/istanbul/archive/v0.4.5_moodle-0.tar.gz", + "istanbul": "^0.4.5", "jshint": "^2.9.5", "mkdirp": "*", "nopt": "*", @@ -18354,7 +18354,8 @@ "dev": true }, "istanbul": { - "version": "https://github.com/andrewnicols/istanbul/archive/v0.4.5_moodle-0.tar.gz", + "version": "0.4.5", + "resolved": "https://github.com/andrewnicols/istanbul/archive/v0.4.5_moodle-0.tar.gz", "integrity": "sha512-/cUwJCicWFnJrjYPFy51m0xauDlTUZNztxjYE5oaLuLvCASTv4gFYsjwoEqMQAe0fYRBIRnwcag7KjPXQnpSsw==", "dev": true, "requires": { @@ -21096,8 +21097,8 @@ "dev": true }, "shifter": { - "version": "https://github.com/andrewnicols/shifter/archive/v1.2.0_moodle-0.tar.gz", - "integrity": "sha512-zIR5WQqJcNP52vcIqFql2/wXm6nLHW4DsLZyfr6wZ0vfOuqDaYiwB6J7/WYvfjgL2pvvTtSo3pySUYRmrOP3lQ==", + "version": "https://github.com/andrewnicols/shifter/releases/download/v1.2.0_moodle-1/shifter-1.2.0_moodle-1.tar.gz", + "integrity": "sha512-giiM2NmovrX3sAKYkvjUDIQ2dEAXGweFEpD0PICVjsWS4yq3OAlx9fFZqcZnph1HpklyzJD0Bz9a9W5ztGBqxg==", "dev": true, "requires": { "ansi-color": "*", @@ -21105,7 +21106,7 @@ "cssproc": "~0.0.1", "gear": "~0.8.0", "gear-lib": "^0.9.2", - "istanbul": "https://github.com/andrewnicols/istanbul/archive/v0.4.5_moodle-0.tar.gz", + "istanbul": "^0.4.5", "jshint": "^2.9.5", "mkdirp": "*", "nopt": "*", diff --git a/package.json b/package.json index 80cf182b636..32047e0a2a7 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "postcss-scss": "^4.0.6", "rollup-plugin-terser": "^7.0.2", "semver": "^7.3.8", - "shifter": "https://github.com/andrewnicols/shifter/archive/v1.2.0_moodle-0.tar.gz", + "shifter": "https://github.com/andrewnicols/shifter/releases/download/v1.2.0_moodle-1/shifter-1.2.0_moodle-1.tar.gz", "stylelint": "^14.16.1", "stylelint-csstree-validator": "^2.1.0", "xmldom": "^0.6.0", -- 2.43.0