From 82b518ac52a08ef43d9117580bfed35bd2383356 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 11 May 2024 01:49:44 +0000 Subject: [PATCH] fix: package.json & yarn.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NEXT-6828457 --- package.json | 2 +- yarn.lock | 144 ++++++++++++++++++++++++--------------------------- 2 files changed, 68 insertions(+), 78 deletions(-) diff --git a/package.json b/package.json index cfaecf8..05c8b00 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "dependencies": { "@twilio-paste/core": "latest", "@twilio-paste/icons": "latest", - "next": "13.5.6", + "next": "14.1.1", "prop-types": "15.8.1", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/yarn.lock b/yarn.lock index bbb0927..c639dfa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2840,10 +2840,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:13.5.6": - version: 13.5.6 - resolution: "@next/env@npm:13.5.6" - checksum: 5e8f3f6f987a15dad3cd7b2bcac64a6382c2ec372d95d0ce6ab295eb59c9731222017eebf71ff3005932de2571f7543bce7e5c6a8c90030207fb819404138dc2 +"@next/env@npm:14.1.1": + version: 14.1.1 + resolution: "@next/env@npm:14.1.1" + checksum: 9714e716ca26dd024b1680ca9c17be60adf4228a2bd7a1a9f71752cfd8989f005e805477453200cad0a5ed85439161563a248235fc897dc42f762cba742ec62a languageName: node linkType: hard @@ -2856,65 +2856,65 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-darwin-arm64@npm:13.5.6" +"@next/swc-darwin-arm64@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-darwin-arm64@npm:14.1.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-darwin-x64@npm:13.5.6" +"@next/swc-darwin-x64@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-darwin-x64@npm:14.1.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-arm64-gnu@npm:13.5.6" +"@next/swc-linux-arm64-gnu@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-linux-arm64-gnu@npm:14.1.1" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-arm64-musl@npm:13.5.6" +"@next/swc-linux-arm64-musl@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-linux-arm64-musl@npm:14.1.1" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-x64-gnu@npm:13.5.6" +"@next/swc-linux-x64-gnu@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-linux-x64-gnu@npm:14.1.1" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-x64-musl@npm:13.5.6" +"@next/swc-linux-x64-musl@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-linux-x64-musl@npm:14.1.1" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-win32-arm64-msvc@npm:13.5.6" +"@next/swc-win32-arm64-msvc@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-win32-arm64-msvc@npm:14.1.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-win32-ia32-msvc@npm:13.5.6" +"@next/swc-win32-ia32-msvc@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-win32-ia32-msvc@npm:14.1.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-win32-x64-msvc@npm:13.5.6" +"@next/swc-win32-x64-msvc@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-win32-x64-msvc@npm:14.1.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -6573,7 +6573,7 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001406, caniuse-lite@npm:^1.0.30001449": +"caniuse-lite@npm:^1.0.30001449": version: 1.0.30001466 resolution: "caniuse-lite@npm:1.0.30001466" checksum: d81d0801f72162ebb7edb222cb48702f351e1a2d6acc9f340913f5b07e28c2105d1d2de9f0633c9b89e1aa1cd14f5d9154e270bf7b61296a7209745b32bdb01c @@ -6594,6 +6594,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001579": + version: 1.0.30001617 + resolution: "caniuse-lite@npm:1.0.30001617" + checksum: a03bfd6ed474d14378f1b93bf90e9b0031e56a813cf42b364e5a86881ecdcdfdd58bf94c56febb0e4128c5ab57cc0a760ab7f3ef7ce0c1ead1af78a8e806375e + languageName: node + linkType: hard + "caseless@npm:~0.12.0": version: 0.12.0 resolution: "caseless@npm:0.12.0" @@ -8456,7 +8463,7 @@ __metadata: "fsevents@patch:fsevents@^2.3.2#~builtin": version: 2.3.2 - resolution: "fsevents@patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=df0bf1" + resolution: "fsevents@patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=18f3a7" dependencies: node-gyp: latest conditions: os=darwin @@ -8637,13 +8644,6 @@ __metadata: languageName: node linkType: hard -"glob-to-regexp@npm:^0.4.1": - version: 0.4.1 - resolution: "glob-to-regexp@npm:0.4.1" - checksum: e795f4e8f06d2a15e86f76e4d92751cf8bbfcf0157cea5c2f0f35678a8195a750b34096b1256e436f0cebc1883b5ff0888c47348443e69546a5a87f9e1eb1167 - languageName: node - linkType: hard - "glob@npm:7.1.7": version: 7.1.7 resolution: "glob@npm:7.1.7" @@ -8769,13 +8769,6 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.2": - version: 4.2.11 - resolution: "graceful-fs@npm:4.2.11" - checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 - languageName: node - linkType: hard - "graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.10 resolution: "graceful-fs@npm:4.2.10" @@ -8783,6 +8776,13 @@ __metadata: languageName: node linkType: hard +"graceful-fs@npm:^4.2.11": + version: 4.2.11 + resolution: "graceful-fs@npm:4.2.11" + checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 + languageName: node + linkType: hard + "graphemer@npm:^1.4.0": version: 1.4.0 resolution: "graphemer@npm:1.4.0" @@ -10605,26 +10605,26 @@ __metadata: languageName: node linkType: hard -"next@npm:13.5.6": - version: 13.5.6 - resolution: "next@npm:13.5.6" - dependencies: - "@next/env": 13.5.6 - "@next/swc-darwin-arm64": 13.5.6 - "@next/swc-darwin-x64": 13.5.6 - "@next/swc-linux-arm64-gnu": 13.5.6 - "@next/swc-linux-arm64-musl": 13.5.6 - "@next/swc-linux-x64-gnu": 13.5.6 - "@next/swc-linux-x64-musl": 13.5.6 - "@next/swc-win32-arm64-msvc": 13.5.6 - "@next/swc-win32-ia32-msvc": 13.5.6 - "@next/swc-win32-x64-msvc": 13.5.6 +"next@npm:14.1.1": + version: 14.1.1 + resolution: "next@npm:14.1.1" + dependencies: + "@next/env": 14.1.1 + "@next/swc-darwin-arm64": 14.1.1 + "@next/swc-darwin-x64": 14.1.1 + "@next/swc-linux-arm64-gnu": 14.1.1 + "@next/swc-linux-arm64-musl": 14.1.1 + "@next/swc-linux-x64-gnu": 14.1.1 + "@next/swc-linux-x64-musl": 14.1.1 + "@next/swc-win32-arm64-msvc": 14.1.1 + "@next/swc-win32-ia32-msvc": 14.1.1 + "@next/swc-win32-x64-msvc": 14.1.1 "@swc/helpers": 0.5.2 busboy: 1.6.0 - caniuse-lite: ^1.0.30001406 + caniuse-lite: ^1.0.30001579 + graceful-fs: ^4.2.11 postcss: 8.4.31 styled-jsx: 5.1.1 - watchpack: 2.4.0 peerDependencies: "@opentelemetry/api": ^1.1.0 react: ^18.2.0 @@ -10656,7 +10656,7 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: c869b0014ae921ada3bf22301985027ec320aebcd6aa9c16e8afbded68bb8def5874cca034c680e8c351a79578f1e514971d02777f6f0a5a1d7290f25970ac0d + checksum: 58c17bf9520648cb79c3341a0a011ce19e8e5368f23be7415b4a35787b3562519cfd0dd8e008a1ce0b49dfe79e4ab89127f412cf039cb854b35f79a457a9be22 languageName: node linkType: hard @@ -11000,7 +11000,7 @@ __metadata: eslint-config-twilio-react: 2.0.0 eslint-plugin-prettier: 4.2.1 jest: 29.7.0 - next: 13.5.6 + next: 14.1.1 prettier: 2.8.8 prop-types: 15.8.1 react: 18.2.0 @@ -11748,7 +11748,7 @@ __metadata: "resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin": version: 1.22.1 - resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin::version=1.22.1&hash=c3c19d" + resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin::version=1.22.1&hash=07638b" dependencies: is-core-module: ^2.9.0 path-parse: ^1.0.7 @@ -11761,7 +11761,7 @@ __metadata: "resolve@patch:resolve@^2.0.0-next.4#~builtin": version: 2.0.0-next.4 - resolution: "resolve@patch:resolve@npm%3A2.0.0-next.4#~builtin::version=2.0.0-next.4&hash=c3c19d" + resolution: "resolve@patch:resolve@npm%3A2.0.0-next.4#~builtin::version=2.0.0-next.4&hash=07638b" dependencies: is-core-module: ^2.9.0 path-parse: ^1.0.7 @@ -12958,16 +12958,6 @@ __metadata: languageName: node linkType: hard -"watchpack@npm:2.4.0": - version: 2.4.0 - resolution: "watchpack@npm:2.4.0" - dependencies: - glob-to-regexp: ^0.4.1 - graceful-fs: ^4.1.2 - checksum: 23d4bc58634dbe13b86093e01c6a68d8096028b664ab7139d58f0c37d962d549a940e98f2f201cecdabd6f9c340338dc73ef8bf094a2249ef582f35183d1a131 - languageName: node - linkType: hard - "which-boxed-primitive@npm:^1.0.2": version: 1.0.2 resolution: "which-boxed-primitive@npm:1.0.2"