Skip to content

Commit

Permalink
Merge pull request #58 from mitodl/renovate/npm-rollup-vulnerability
Browse files Browse the repository at this point in the history
Update dependency rollup to v3 [SECURITY] - abandoned
  • Loading branch information
jkachel authored Sep 27, 2024
2 parents da8cdfb + a129b6f commit 52dbb7a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 34 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"test": "mocha --require babel-polyfill --require babel-register src/*_test.js",
"watch": "mocha --watch --require babel-polyfill --compilers js:babel-register src/*_test.js",
"lint": "standard --env mocha",
"lint:fix": "standard --env mocha --fix",
"lint:verbose": "standard --env mocha --verbose",
"flow": "flow",
"fmt": "standard --env mocha --fix",
Expand Down Expand Up @@ -55,7 +56,7 @@
"jsdom-global": "^3.0.2",
"mocha": "^6.2.0",
"redux-asserts": "^0.0.12",
"rollup": "^0.68.0",
"rollup": "^3.0.0",
"rollup-plugin-babel": "^2.7.1",
"sinon": "^7.4.1",
"standard": "^16.0.3"
Expand Down
24 changes: 15 additions & 9 deletions rollup.config.js → rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,33 @@ const externals = [

export default [
{
entry: 'src/hammock.js',
format: 'cjs',
dest: 'hammock.js',
input: 'src/hammock.js',
output: {
file: 'hammock.js',
format: 'cjs'
},
plugins: [
babel(babelConfig)
],
external: externals
},
{
entry: 'src/django_csrf_fetch.js',
format: 'cjs',
dest: 'django_csrf_fetch.js',
input: 'src/django_csrf_fetch.js',
output: {
file: 'django_csrf_fetch.js',
format: 'cjs'
},
plugins: [
babel(babelConfig)
],
external: externals
},
{
entry: 'src/constants.js',
format: 'cjs',
dest: 'constants.js',
input: 'src/constants.js',
output: {
file: 'constants.js',
format: 'cjs'
},
plugins: [
babel(babelConfig)
],
Expand Down
35 changes: 11 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -228,23 +228,11 @@
resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz#8da5c6530915653f3a1f38fd5f101d8c3f8079c5"
integrity sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==

"@types/[email protected]":
version "0.0.39"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"
integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==

"@types/json5@^0.0.29":
version "0.0.29"
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4=

"@types/node@*":
version "20.12.7"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.7.tgz#04080362fa3dd6c5822061aa3124f5c152cff384"
integrity sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==
dependencies:
undici-types "~5.26.4"

abab@^2.0.0:
version "2.0.5"
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a"
Expand Down Expand Up @@ -1739,6 +1727,11 @@ fs.realpath@^1.0.0:
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=

fsevents@~2.3.2:
version "2.3.3"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==

function-bind@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
Expand Down Expand Up @@ -3040,13 +3033,12 @@ rollup-pluginutils@^1.5.0:
estree-walker "^0.2.1"
minimatch "^3.0.2"

rollup@^0.68.0:
version "0.68.2"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.68.2.tgz#c26afb5d981ca7a1a32f76087dbde9dad4fcc653"
integrity sha512-WgjNCXYv7ZbtStIap1+tz4pd2zwz0XYN//OILwEY6dINIFLVizK1iWdu+ZtUURL/OKnp8Lv2w8FBds8YihzX7Q==
dependencies:
"@types/estree" "0.0.39"
"@types/node" "*"
rollup@^3.0.0:
version "3.29.5"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.29.5.tgz#8a2e477a758b520fb78daf04bca4c522c1da8a54"
integrity sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==
optionalDependencies:
fsevents "~2.3.2"

safe-buffer@^5.0.1, safe-buffer@^5.1.2:
version "5.2.1"
Expand Down Expand Up @@ -3486,11 +3478,6 @@ type-fest@^0.8.1:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==

undici-types@~5.26.4:
version "5.26.5"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==

uri-js@^4.2.2:
version "4.4.1"
resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e"
Expand Down

0 comments on commit 52dbb7a

Please sign in to comment.