From d01d37ddea88bfb1d43bbdef743be56ea0af8d79 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 00:37:04 +0000 Subject: [PATCH 1/2] build(deps): bump cookie in /examples/include-external-npm-packages Bumps [cookie](https://github.com/jshttp/cookie) from 0.6.0 to 0.7.0. - [Release notes](https://github.com/jshttp/cookie/releases) - [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.0) --- updated-dependencies: - dependency-name: cookie dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .../package.json | 2 +- .../include-external-npm-packages/yarn.lock | 30 ++++++++++++++----- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/examples/include-external-npm-packages/package.json b/examples/include-external-npm-packages/package.json index 89437aa63..014db4727 100644 --- a/examples/include-external-npm-packages/package.json +++ b/examples/include-external-npm-packages/package.json @@ -16,6 +16,6 @@ "webpack-node-externals": "^3.0.0" }, "dependencies": { - "cookie": "^0.6.0" + "cookie": "^0.7.0" } } diff --git a/examples/include-external-npm-packages/yarn.lock b/examples/include-external-npm-packages/yarn.lock index 81f88be44..ec165b86e 100644 --- a/examples/include-external-npm-packages/yarn.lock +++ b/examples/include-external-npm-packages/yarn.lock @@ -2457,10 +2457,10 @@ content-disposition@^0.5.4: dependencies: safe-buffer "5.2.1" -cookie@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051" - integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw== +cookie@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.0.tgz#2148f68a77245d5c2c0005d264bc3e08cfa0655d" + integrity sha512-qCf+V4dtlNhSRXGAZatc1TasyFO6GjohcOul807YOb5ik3+kQSnb4d7iajeCL8QHaJ4uZEjCgiCJerKXwdRVlQ== cookiejar@^2.1.3: version "2.1.4" @@ -4717,7 +4717,7 @@ serialize-javascript@^6.0.1: randombytes "^2.1.0" "serverless-webpack@file:../..": - version "5.14.1" + version "5.14.2" dependencies: archiver "^7.0.1" bluebird "^3.7.2" @@ -4952,7 +4952,16 @@ streamx@^2.15.0: optionalDependencies: bare-events "^2.2.0" -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^4.1.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -5012,7 +5021,14 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== From 73b1f0b1f38a67036899adff8bf09646ddbbe531 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Tue, 8 Oct 2024 09:25:14 +0200 Subject: [PATCH 2/2] Fix tests --- .../package-lock.json | 25 +++++++++---------- .../package.json | 2 +- .../packages/project/package.json | 2 +- .../yarn.lock | 8 +++--- tests/e2e/e2e.test.js | 4 +-- 5 files changed, 20 insertions(+), 21 deletions(-) diff --git a/examples/include-external-npm-packages-lock-file/package-lock.json b/examples/include-external-npm-packages-lock-file/package-lock.json index 6b3b954c0..8151ce31a 100644 --- a/examples/include-external-npm-packages-lock-file/package-lock.json +++ b/examples/include-external-npm-packages-lock-file/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "cookie": "^0.6.0", + "cookie": "^0.7.0", "dotenv": "^16.0.0", "lodash": "^4.17.21", "lodash.isequal": "^4.5.0" @@ -23,7 +23,7 @@ } }, "../..": { - "version": "5.14.1", + "version": "5.14.2", "dev": true, "license": "MIT", "dependencies": { @@ -37,27 +37,26 @@ "semver": "^7.6.3" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/eslint-parser": "^7.25.1", + "@babel/core": "^7.25.7", + "@babel/eslint-parser": "^7.25.7", "@serverless/test": "^11.1.1", - "@types/node": "^22.5.4", - "coveralls": "^3.1.1", + "@types/node": "^22.7.5", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-import": "^2.30.0", + "eslint-plugin-import": "^2.31.0", "eslint-plugin-lodash": "^7.4.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^7.1.0", "eslint-plugin-yml": "^1.14.0", - "husky": "^9.1.5", + "husky": "^9.1.6", "jest": "^29.7.0", "lint-staged": "^15.2.10", "prettier": "^3.3.3", "serverless": "^3.38.0", - "sinon": "^18.0.0", + "sinon": "^18.0.1", "ts-node": "^10.9.2", "unzipper": "^0.12.3", - "webpack": "^5.94.0" + "webpack": "^5.95.0" }, "engines": { "node": ">= 16" @@ -3925,9 +3924,9 @@ } }, "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", "license": "MIT", "engines": { "node": ">= 0.6" diff --git a/examples/include-external-npm-packages-lock-file/package.json b/examples/include-external-npm-packages-lock-file/package.json index e7a71712e..ee965418d 100644 --- a/examples/include-external-npm-packages-lock-file/package.json +++ b/examples/include-external-npm-packages-lock-file/package.json @@ -16,7 +16,7 @@ "webpack-node-externals": "^3.0.0" }, "dependencies": { - "cookie": "^0.6.0", + "cookie": "^0.7.0", "dotenv": "^16.0.0", "lodash": "^4.17.21", "lodash.isequal": "^4.5.0" diff --git a/examples/include-external-npm-packages-with-yarn-workspaces/packages/project/package.json b/examples/include-external-npm-packages-with-yarn-workspaces/packages/project/package.json index fd69a5719..9f6ca239a 100644 --- a/examples/include-external-npm-packages-with-yarn-workspaces/packages/project/package.json +++ b/examples/include-external-npm-packages-with-yarn-workspaces/packages/project/package.json @@ -17,7 +17,7 @@ "webpack-node-externals": "^3.0.0" }, "dependencies": { - "cookie": "^0.6.0", + "cookie": "^0.7.0", "dotenv": "^16.0.0", "lodash": "^4.17.21", "lodash.isequal": "^4.5.0" diff --git a/examples/include-external-npm-packages-with-yarn-workspaces/yarn.lock b/examples/include-external-npm-packages-with-yarn-workspaces/yarn.lock index 76889604e..4159b717e 100644 --- a/examples/include-external-npm-packages-with-yarn-workspaces/yarn.lock +++ b/examples/include-external-npm-packages-with-yarn-workspaces/yarn.lock @@ -2370,10 +2370,10 @@ content-disposition@^0.5.4: dependencies: safe-buffer "5.2.1" -cookie@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051" - integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw== +cookie@^0.7.0: + version "0.7.2" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7" + integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w== cookiejar@^2.1.3: version "2.1.4" diff --git a/tests/e2e/e2e.test.js b/tests/e2e/e2e.test.js index 05c8eb290..c76cf2cb7 100644 --- a/tests/e2e/e2e.test.js +++ b/tests/e2e/e2e.test.js @@ -78,7 +78,7 @@ describe('end-to-end testing', () => { private: true, scripts: {}, dependencies: { - cookie: '^0.6.0' + cookie: '^0.7.0' } }); expect(files['handler.js']).not.toHaveLength(0); @@ -106,7 +106,7 @@ describe('end-to-end testing', () => { scripts: {}, dependencies: { // We should use fix version to respect lock file - cookie: '^0.6.0', + cookie: '^0.7.0', dotenv: '^16.0.0', lodash: '^4.17.21', 'lodash.isequal': '^4.5.0'