Drop the NodeJS example’s package-lock.json file

This will hopefully keep us from having bugs filed due to CVE’s in its
(unpackaged) recursive dependencies.
This commit is contained in:
Benjamin A. Beasley 2022-03-28 09:57:39 -04:00
parent 21e49a3df7
commit 6cc5506cea

View File

@ -688,6 +688,11 @@ echo '' > etc/roots.pem
# examples/android/helloworld/gradle/wrapper/gradle-wrapper.jar # examples/android/helloworld/gradle/wrapper/gradle-wrapper.jar
rm -rvf examples/android src/android rm -rvf examples/android src/android
# Drop the NodeJS examples package-lock.json file, which will hopefully keep
# us from having bugs filed due to CVEs in its (unpackaged) recursive
# dependencies.
rm -vf examples/node/package-lock.json
# Remove unwanted .gitignore files, generally in examples. One could argue that # Remove unwanted .gitignore files, generally in examples. One could argue that
# a sample .gitignore file is part of the example, but, well, were not going # a sample .gitignore file is part of the example, but, well, were not going
# to do that. # to do that.