Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: webpack example #488

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

chore: webpack example #488

wants to merge 4 commits into from

Conversation

zhangmo8
Copy link

@zhangmo8 zhangmo8 commented Aug 22, 2024

If anyone wants to use both of these things in webpack or vue-cli, please install unplugin-vue2-script-setup at the same time

link : #458

close #163 .

Copy link

socket-security bot commented Aug 22, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] None +3 2.56 MB existentialism, hzoo, jlhwung, ...1 more
npm/@tanstack/[email protected] environment Transitive: filesystem +5 3.16 MB tannerlinsley
npm/@types/[email protected] None +1 2.24 MB types
npm/@vitejs/[email protected] environment 0 192 kB vitebot
npm/[email protected] Transitive: environment, filesystem, network +69 110 MB google-wombot
npm/[email protected] network, shell, unsafe +3 9.78 MB davidortner
npm/[email protected] environment, filesystem Transitive: shell +24 3.54 MB isaacs
npm/[email protected] environment, filesystem +18 41.8 MB lukastaegert
npm/[email protected] None 0 29.6 kB pi0
npm/[email protected] None 0 29.9 kB blakeembrey
npm/[email protected] eval, filesystem Transitive: environment, network, shell, unsafe +88 247 MB egoist
npm/[email protected] None 0 21.9 MB typescript-bot
npm/[email protected] filesystem Transitive: environment +17 3.77 MB antfu
npm/[email protected] unsafe Transitive: environment, eval, filesystem +22 2.41 MB antfu
npm/[email protected] filesystem Transitive: environment +3 862 kB antfu
npm/[email protected] environment, filesystem +21 4.83 MB antfu
npm/[email protected] Transitive: environment, eval, filesystem, network, shell, unsafe +99 19 MB webfansplz
npm/[email protected] filesystem, network, shell, unsafe Transitive: environment +61 26.5 MB brc-dd
npm/[email protected] environment, eval Transitive: filesystem, shell, unsafe +38 3.94 MB vitestbot
npm/[email protected] None 0 36.3 kB posva
npm/[email protected] environment +1 859 kB posva
npm/[email protected] Transitive: environment, eval +19 5.78 MB johnsoncodehk
npm/[email protected] environment, eval +12 9.72 MB yyx990803
npm/[email protected] environment Transitive: filesystem +2 470 kB posva
npm/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +24 9.38 MB evilebottnawi, jhnns, sokra, ...1 more
npm/[email protected] environment 0 676 kB eemeli
npm/[email protected] environment, filesystem +1 30.8 kB yyx990803

🚮 Removed packages: npm/@babel/[email protected]), npm/@tanstack/[email protected]), npm/@types/[email protected]), npm/@vue/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected])

View full report↗︎

@zhangmo8 zhangmo8 changed the title close: webpack example chore: webpack example Aug 29, 2024
Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Install scripts npm/[email protected]
  • Install script: install
  • Source: node bin/install.js
🚫
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node -e "try{require('./scripts/postinstall.js')}catch(e){}"
🚫
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node scripts/postinstall
🚫

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

definePage doesn't work with webpack
1 participant