Skip to content

Commit 86e84f8

Browse files
deleted npm, updated cookie (#137)
1 parent c6b84a9 commit 86e84f8

File tree

3 files changed

+30
-27
lines changed

3 files changed

+30
-27
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@ FROM base AS production
1717
COPY --from=dependencies /root/cf-runtime/node_modules ./node_modules
1818
COPY . .
1919

20+
#purpose of security
21+
RUN npm -g uninstall npm
22+
2023
USER cfu
2124
CMD ["node", "lib/index.js"]

service.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 1.11.7
1+
version: 1.11.8

yarn.lock

+26-26
Original file line numberDiff line numberDiff line change
@@ -563,10 +563,10 @@
563563
minimatch "^3.1.2"
564564
strip-json-comments "^3.1.1"
565565

566-
"@eslint/[email protected].0":
567-
version "8.57.0"
568-
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
569-
integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==
566+
"@eslint/[email protected].1":
567+
version "8.57.1"
568+
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.1.tgz#de633db3ec2ef6a3c89e2f19038063e8a122e2c2"
569+
integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==
570570

571571
"@fastify/ajv-compiler@^3.5.0":
572572
version "3.6.0"
@@ -596,12 +596,12 @@
596596
dependencies:
597597
fast-deep-equal "^3.1.3"
598598

599-
"@humanwhocodes/config-array@^0.11.14":
600-
version "0.11.14"
601-
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b"
602-
integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==
599+
"@humanwhocodes/config-array@^0.13.0":
600+
version "0.13.0"
601+
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.13.0.tgz#fb907624df3256d04b9aa2df50d7aa97ec648748"
602+
integrity sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==
603603
dependencies:
604-
"@humanwhocodes/object-schema" "^2.0.2"
604+
"@humanwhocodes/object-schema" "^2.0.3"
605605
debug "^4.3.1"
606606
minimatch "^3.0.5"
607607

@@ -610,7 +610,7 @@
610610
resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c"
611611
integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==
612612

613-
"@humanwhocodes/object-schema@^2.0.2":
613+
"@humanwhocodes/object-schema@^2.0.3":
614614
version "2.0.3"
615615
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3"
616616
integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==
@@ -1874,10 +1874,10 @@ convert-source-map@^1.5.1:
18741874
dependencies:
18751875
safe-buffer "~5.1.1"
18761876

1877-
cookie@^0.6.0:
1878-
version "0.6.0"
1879-
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051"
1880-
integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==
1877+
cookie@^0.7.0:
1878+
version "0.7.2"
1879+
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7"
1880+
integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==
18811881

18821882
core-js-pure@^3.37.1:
18831883
version "3.37.1"
@@ -1903,9 +1903,9 @@ cpu-features@~0.0.9:
19031903
nan "^2.19.0"
19041904

19051905
cross-spawn@^7.0.2:
1906-
version "7.0.3"
1907-
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
1908-
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
1906+
version "7.0.6"
1907+
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f"
1908+
integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
19091909
dependencies:
19101910
path-key "^3.1.0"
19111911
shebang-command "^2.0.0"
@@ -2509,15 +2509,15 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4
25092509
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
25102510

25112511
eslint@^8.57.0:
2512-
version "8.57.0"
2513-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668"
2514-
integrity sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==
2512+
version "8.57.1"
2513+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.1.tgz#7df109654aba7e3bbe5c8eae533c5e461d3c6ca9"
2514+
integrity sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==
25152515
dependencies:
25162516
"@eslint-community/eslint-utils" "^4.2.0"
25172517
"@eslint-community/regexpp" "^4.6.1"
25182518
"@eslint/eslintrc" "^2.1.4"
2519-
"@eslint/js" "8.57.0"
2520-
"@humanwhocodes/config-array" "^0.11.14"
2519+
"@eslint/js" "8.57.1"
2520+
"@humanwhocodes/config-array" "^0.13.0"
25212521
"@humanwhocodes/module-importer" "^1.0.1"
25222522
"@nodelib/fs.walk" "^1.2.8"
25232523
"@ungap/structured-clone" "^1.2.0"
@@ -3777,11 +3777,11 @@ levn@~0.3.0:
37773777
type-check "~0.3.2"
37783778

37793779
light-my-request@^5.11.0:
3780-
version "5.13.0"
3781-
resolved "https://registry.yarnpkg.com/light-my-request/-/light-my-request-5.13.0.tgz#b29905e55e8605b77fee2a946e17b219bca35113"
3782-
integrity sha512-9IjUN9ZyCS9pTG+KqTDEQo68Sui2lHsYBrfMyVUTTZ3XhH8PMZq7xO94Kr+eP9dhi/kcKsx4N41p2IXEBil1pQ==
3780+
version "5.14.0"
3781+
resolved "https://registry.yarnpkg.com/light-my-request/-/light-my-request-5.14.0.tgz#11ddae56de4053fd5c1845cbfbee5c29e8a257e7"
3782+
integrity sha512-aORPWntbpH5esaYpGOOmri0OHDOe3wC5M2MQxZ9dvMLZm6DnaAn0kJlcbU9hwsQgLzmZyReKwFwwPkR+nHu5kA==
37833783
dependencies:
3784-
cookie "^0.6.0"
3784+
cookie "^0.7.0"
37853785
process-warning "^3.0.0"
37863786
set-cookie-parser "^2.4.1"
37873787

0 commit comments

Comments
 (0)