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

Add Js2wasm #33

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Add Js2wasm #33

wants to merge 11 commits into from

Conversation

dangell7
Copy link

@dangell7 dangell7 commented May 20, 2024

This PR adds JS2Wasm to the api. It also adds the repo for the js2wasm-cli which is a command line builder for jshooks.

  • Add quickjs to build process
  • Add api/build/js api endpoint
  • Add js2wasm-cli repository. (Already pushed under transia)

Final steps would be rebuilding the hooks-builder-server to include the js implementation and adding a new release with the qjsc binary for local development.

Copy link

socket-security bot commented May 20, 2024

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

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] None 0 20 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 58.1 kB nicolo-ribaudo
npm/@babel/[email protected] environment, filesystem, unsafe 0 769 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 486 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 51.7 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 6.69 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 21.5 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 7.03 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 54.3 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 149 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 11.9 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 14.1 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 10.2 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 31.6 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 49 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 11.6 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 611 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 15.6 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.72 MB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.52 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.42 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.68 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.56 kB jlhwung
npm/@babel/[email protected] None 0 2.58 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.13 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.74 kB jlhwung
npm/@babel/[email protected] None 0 2.63 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.75 kB jlhwung
npm/@babel/[email protected] None 0 2.53 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.57 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.52 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.74 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 6.86 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 69 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 594 kB nicolo-ribaudo
npm/@babel/[email protected] environment 0 2.39 MB nicolo-ribaudo
npm/@bcoe/[email protected] None 0 277 kB bcoe
npm/@esbuild/[email protected] None 0 10.5 MB evanw
npm/@esbuild/[email protected] None 0 11.7 MB evanw
npm/@esbuild/[email protected] None 0 9.96 MB evanw
npm/@esbuild/[email protected] None 0 11.7 MB evanw
npm/@esbuild/[email protected] None 0 9.84 MB evanw
npm/@esbuild/[email protected] None 0 10.3 MB evanw
npm/@esbuild/[email protected] None 0 8.98 MB evanw
npm/@esbuild/[email protected] None 0 9.71 MB evanw
npm/@esbuild/[email protected] None 0 9.31 MB evanw
npm/@esbuild/[email protected] None 0 8.98 MB evanw
npm/@esbuild/[email protected] None 0 9.25 MB evanw
npm/@esbuild/[email protected] None 0 9.5 MB evanw
npm/@esbuild/[email protected] None 0 10.6 MB evanw
npm/@esbuild/[email protected] None 0 9.24 MB evanw
npm/@esbuild/[email protected] None 0 9.24 MB evanw
npm/@esbuild/[email protected] None 0 10.2 MB evanw
npm/@esbuild/[email protected] None 0 9.7 MB evanw
npm/@esbuild/[email protected] None 0 9.68 MB evanw
npm/@esbuild/[email protected] None 0 9.72 MB evanw
npm/@esbuild/[email protected] None 0 9.68 MB evanw
npm/@esbuild/[email protected] None 0 9.08 MB evanw
npm/@esbuild/[email protected] None 0 9.55 MB evanw
npm/@esbuild/[email protected] None 0 9.91 MB evanw
npm/@eslint-community/[email protected] None 0 379 kB eslint-community-bot
npm/@eslint-community/[email protected] None 0 337 kB eslint-community-bot
npm/@eslint/[email protected] filesystem, unsafe 0 653 kB eslintbot
npm/@eslint/[email protected] None 0 16.5 kB eslintbot
npm/@humanwhocodes/[email protected] None 0 55.2 kB nzakas
npm/@humanwhocodes/[email protected] unsafe 0 21.2 kB nzakas
npm/@humanwhocodes/[email protected] None 0 49.4 kB nzakas
npm/@istanbuljs/[email protected] environment, filesystem 0 10.9 kB coreyfarrell
npm/@istanbuljs/[email protected] None 0 17.2 kB coreyfarrell
npm/@jest/[email protected] None 0 19.1 kB simenb
npm/@jest/[email protected] unsafe 0 145 kB simenb
npm/@jest/[email protected] None 0 15.9 kB simenb
npm/@jest/[email protected] None 0 28 kB simenb
npm/@jest/[email protected] None 0 5.23 kB simenb
npm/@jest/[email protected] None 0 26.3 kB simenb
npm/@jest/[email protected] None 0 5.26 kB simenb
npm/@jest/[email protected] environment, unsafe 0 114 kB simenb
npm/@jest/[email protected] None 0 6.03 kB simenb
npm/@jest/[email protected] None 0 5.07 kB simenb
npm/@jest/[email protected] None 0 15.7 kB simenb
npm/@jest/[email protected] None 0 13.5 kB simenb
npm/@jest/[email protected] None 0 52.4 kB simenb
npm/@jest/[email protected] None 0 32.3 kB simenb
npm/@jridgewell/[email protected] None 0 79.2 kB jridgewell
npm/@jridgewell/[email protected] None 0 55.2 kB jridgewell
npm/@jridgewell/[email protected] None 0 15.5 kB jridgewell
npm/@jridgewell/[email protected] None 0 40 kB jridgewell
npm/@jridgewell/[email protected] None 0 164 kB jridgewell
npm/@nodelib/[email protected] filesystem 0 22.2 kB mrmlnc
npm/@nodelib/[email protected] filesystem 0 11.8 kB mrmlnc
npm/@nodelib/[email protected] None 0 26.4 kB mrmlnc
npm/@sinclair/[email protected] None 0 362 kB sinclair
npm/@sinonjs/[email protected] None 0 38.6 kB mrgnrdrck
npm/@sinonjs/[email protected] eval 0 80.1 kB fatso83
npm/@tsconfig/[email protected] None 0 2.39 kB typescript-deploys
npm/@types/[email protected] None 0 33.7 kB types
npm/@types/[email protected] None 0 11.7 kB types
npm/@types/[email protected] None 0 6.93 kB types
npm/@types/[email protected] None 0 84.8 kB types
npm/@types/[email protected] None 0 77.2 kB types
npm/@types/[email protected] None 0 4.52 kB types
npm/@types/[email protected] None 0 5.76 kB types
npm/@types/[email protected] None 0 8.23 kB types
npm/@types/[email protected] None 0 7.42 kB types
npm/@types/[email protected] None 0 78.7 kB types
npm/@types/[email protected] None 0 32.2 kB types
npm/@types/[email protected] None 0 95.6 kB types
npm/@types/[email protected] None 0 3.78 MB types
npm/@types/[email protected] None 0 8.16 kB types
npm/@types/[email protected] None 0 49.8 kB types
npm/@types/[email protected] None 0 23.7 kB types
npm/@types/[email protected] None 0 6.97 kB types
npm/@types/[email protected] None 0 8.93 kB types
npm/@types/[email protected] None 0 59.8 kB types
npm/@typescript-eslint/[email protected] None 0 2.42 MB jameshenry
npm/@typescript-eslint/[email protected] None 0 18.6 kB jameshenry
npm/@typescript-eslint/[email protected] None 0 592 kB jameshenry
npm/@typescript-eslint/[email protected] None 0 88 kB jameshenry
npm/@typescript-eslint/[email protected] None 0 223 kB jameshenry
npm/@typescript-eslint/[email protected] environment, filesystem 0 551 kB jameshenry
npm/@typescript-eslint/[email protected] None 0 501 kB jameshenry
npm/@typescript-eslint/[email protected] None 0 18.4 kB jameshenry
npm/[email protected] None 0 24.4 kB rreverser
npm/[email protected] None 0 42.8 kB marijn
npm/[email protected] None 0 493 kB marijn
npm/[email protected] None 0 16.4 kB sindresorhus
npm/[email protected] None 0 5.61 kB qix
npm/[email protected] None 0 13.6 kB sindresorhus
npm/[email protected] environment, filesystem 0 172 kB vitaly
npm/[email protected] None 0 3.17 kB sindresorhus
npm/[email protected] None 0 27.4 kB alexindigo
npm/[email protected] network 0 1.74 MB jasonsaayman
npm/[email protected] environment 0 13.5 kB simenb
npm/[email protected] environment, filesystem, shell 0 25.7 kB oss-bot
npm/[email protected] None 0 14.3 kB simenb
npm/[email protected] eval 0 5.46 kB nicolo-ribaudo
npm/[email protected] None 0 2.7 kB simenb
npm/[email protected] None 0 9.62 kB feross
npm/[email protected] None 0 49.2 kB doowb
npm/[email protected] environment, filesystem 0 61.9 kB ai
npm/[email protected] environment, filesystem 0 47.8 kB huafu
npm/[email protected] None 0 18 kB wez
npm/[email protected] None 0 6.33 kB sindresorhus
npm/[email protected] None 0 11.7 kB sindresorhus
npm/[email protected] None 0 2.03 MB caniuse-lite
npm/[email protected] None 0 35 kB sindresorhus
npm/[email protected] None 0 4.96 kB richienb
npm/[email protected] environment 0 25.8 kB sibiraj-s
npm/[email protected] None 0 139 kB guybedford
npm/[email protected] None 0 32.3 kB oss-bot
npm/[email protected] None 0 16 kB jongleberry
npm/[email protected] unsafe 0 4.14 kB simenb
npm/[email protected] None 0 11.5 kB alexindigo
npm/[email protected] environment, filesystem, shell 0 174 kB abetomo
npm/[email protected] filesystem 0 11.4 kB thlorenz
npm/[email protected] environment, filesystem, shell 0 21.2 kB satazor
npm/[email protected] environment 0 42.4 kB qix
npm/[email protected] None 0 4.85 kB dmnd
npm/[email protected] None 0 8.11 kB thlorenz
npm/[email protected] None 0 8.02 kB apechimp
npm/[email protected] None 0 3.77 kB sindresorhus
npm/[email protected] None 0 46 kB simenb
npm/[email protected] None 0 5.42 kB sindresorhus
npm/[email protected] None 0 106 kB eslint
npm/[email protected] environment, filesystem 0 71.6 kB motdotla
npm/[email protected] None 0 235 kB kilianvalkhof
npm/[email protected] None 0 46.5 kB sindresorhus
npm/[email protected] None 0 48.3 kB mathias
npm/[email protected] None 0 9.04 kB qix
npm/[email protected] environment, filesystem, network, shell 0 133 kB evanw
npm/[email protected] filesystem 0 11.4 kB lukeed
npm/[email protected] None 0 3.26 kB sindresorhus
npm/[email protected] None 0 19.7 kB lydell
npm/[email protected] None 0 58.3 kB jounqin
npm/[email protected] None 0 78.4 kB eslintbot
npm/[email protected] None 0 32.3 kB eslintbot
npm/[email protected] environment, filesystem 0 2.89 MB eslintbot
npm/[email protected] None 0 76.5 kB eslintbot
npm/[email protected] None 0 1 MB michaelficarra
npm/[email protected] None 0 13.5 kB michaelficarra
npm/[email protected] None 0 37.1 kB michaelficarra
npm/[email protected] None 0 50.6 kB michaelficarra
npm/[email protected] environment, shell 0 57.5 kB sindresorhus
npm/[email protected] None 0 59.8 kB cowboy
npm/[email protected] None 0 146 kB simenb
npm/[email protected] None 0 52.3 kB luin
npm/[email protected] filesystem 0 91.9 kB mrmlnc
npm/[email protected] None 0 9.44 kB hiddentao
npm/[email protected] None 0 38.9 kB matteo.collina
npm/[email protected] environment, network, shell 0 11 kB bolinfest
npm/[email protected] filesystem 0 25.6 kB royriojas
npm/[email protected] None 0 16.4 kB jonschlinkert
npm/[email protected] None 0 11.8 kB sindresorhus
npm/[email protected] filesystem 0 30 kB royriojas
npm/[email protected] None 0 27.2 kB webreflection
npm/[email protected] network 0 28.3 kB rubenverborgh
npm/[email protected] filesystem, network 0 43.4 kB niftylettuce
npm/[email protected] None 0 156 kB pipobscure
npm/[email protected] None 0 25.2 kB ljharb
npm/[email protected] None 0 28.9 kB loganfsmyth
npm/[email protected] None 0 4.72 kB stefanpenner
npm/[email protected] filesystem 0 6.01 kB coreyfarrell
npm/[email protected] None 0 12.2 kB sindresorhus
npm/[email protected] None 0 46.6 kB sindresorhus
npm/[email protected] filesystem 0 21.8 kB sindresorhus
npm/[email protected] environment, filesystem 0 32.5 kB isaacs
npm/[email protected] None 0 237 kB orling
npm/[email protected] None 0 812 kB mattpauldavies
npm/[email protected] None 0 4.42 kB sindresorhus
npm/[email protected] None 0 2.77 kB ljharb
npm/[email protected] None 0 13.1 kB webreflection
npm/[email protected] None 0 44.3 kB ehmicky
npm/[email protected] None 0 51.2 kB kael
npm/[email protected] None 0 4.87 kB sindresorhus
npm/[email protected] None 0 4.66 kB sindresorhus
npm/[email protected] None 0 11.9 kB jensyt
npm/[email protected] None 0 4.05 kB qix
npm/[email protected] None 0 29.3 kB ljharb
npm/[email protected] None 0 4.99 kB sindresorhus
npm/[email protected] None 0 3.28 kB sindresorhus
npm/[email protected] None 0 4.12 kB sindresorhus
npm/[email protected] None 0 5.93 kB sindresorhus
npm/[email protected] environment, filesystem 0 11 kB isaacs
npm/[email protected] None 0 29.3 kB oss-bot
npm/[email protected] None 0 70.2 kB oss-bot
npm/[email protected] filesystem 0 37.5 kB coreyfarrell
npm/[email protected] filesystem 0 34.1 kB oss-bot
npm/[email protected] None 0 292 kB oss-bot
npm/[email protected] environment 0 18.2 kB simenb
npm/[email protected] None 0 70.2 kB simenb
npm/[email protected] None 0 45.5 kB simenb
npm/[email protected] None 0 114 kB simenb
npm/[email protected] None 0 78.3 kB simenb
npm/[email protected] None 0 9.04 kB simenb
npm/[email protected] None 0 33.6 kB simenb
npm/[email protected] unsafe 0 9.5 kB simenb
npm/[email protected] None 0 3.8 kB simenb
npm/[email protected] environment, filesystem, shell, unsafe 0 121 kB simenb
npm/[email protected] unsafe 0 5.59 kB simenb
npm/[email protected] None 0 28.2 kB simenb
npm/[email protected] None 0 20.4 kB simenb
npm/[email protected] None 0 47.9 kB simenb
npm/[email protected] None 0 5.68 kB arcanis
npm/[email protected] None 0 3.52 kB simenb
npm/[email protected] None 0 8.92 kB simenb
npm/[email protected] environment, unsafe 0 65.2 kB simenb
npm/[email protected] environment 0 29.6 kB simenb
npm/[email protected] unsafe 0 88.8 kB simenb
npm/[email protected] eval 0 82.8 kB simenb
npm/[email protected] environment 0 35.2 kB simenb
npm/[email protected] None 0 27.9 kB simenb
npm/[email protected] None 0 23.4 kB simenb
npm/[email protected] environment, shell 0 89.8 kB simenb
npm/[email protected] None 0 5.01 kB simenb
npm/[email protected] None 0 15.1 kB lydell
npm/[email protected] None 0 405 kB vitaly
npm/[email protected] None 0 32 kB mathias
npm/[email protected] None 0 10.4 kB isaacs
npm/[email protected] None 0 14.2 kB samn
npm/[email protected] None 0 235 kB jordanbtucker
npm/[email protected] None 0 9.89 kB lukeed
npm/[email protected] None 0 5.34 kB sindresorhus
npm/[email protected] None 0 24.9 kB gkz
npm/[email protected] None 0 5.39 kB eventualbuddha
npm/[email protected] filesystem 0 7.02 kB sindresorhus
npm/[email protected] None 0 20.1 kB jdalton
npm/[email protected] None 0 54.1 kB jdalton
npm/[email protected] None 0 15.6 kB isaacs
npm/[email protected] filesystem 0 10 kB sindresorhus
npm/[email protected] None 0 6.07 kB daaku
npm/[email protected] None 0 4.31 kB stevemao
npm/[email protected] None 0 8.9 kB zensh
npm/[email protected] None 0 55.9 kB jonschlinkert
npm/[email protected] None 0 206 kB dougwilson
npm/[email protected] None 0 18.3 kB dougwilson
npm/[email protected] None 0 4.46 kB sindresorhus
npm/[email protected] None 0 5.63 kB lauriro
npm/[email protected] None 0 5.65 kB megawac
npm/[email protected] None 0 16.3 kB broofa
npm/[email protected] None 0 32 kB chicoxyzzy
npm/[email protected] environment 0 8.13 kB sindresorhus
npm/[email protected] None 0 6.17 kB sindresorhus
npm/[email protected] None 0 50.2 kB gkz
npm/[email protected] None 0 7.75 kB sindresorhus
npm/[email protected] None 0 7.24 kB sindresorhus
npm/[email protected] None 0 1.64 MB vitaly
npm/[email protected] None 0 3.92 kB sindresorhus
npm/[email protected] None 0 5.41 kB sindresorhus
npm/[email protected] filesystem 0 3.92 kB sindresorhus
npm/[email protected] None 0 4.55 kB sindresorhus
npm/[email protected] filesystem 0 5.41 kB sindresorhus
npm/[email protected] environment 0 5.66 kB alexeyraspopov
npm/[email protected] unsafe 0 13.5 kB danez
npm/[email protected] None 0 4.75 kB sindresorhus
npm/[email protected] None 0 36.7 kB gkz
npm/[email protected] None 0 9.58 kB bpscott
npm/[email protected] environment, filesystem, unsafe 0 11.2 MB prettier-bot
npm/[email protected] None 0 60.2 kB simenb
npm/[email protected] None 0 187 kB terkelg
npm/[email protected] environment 0 29.5 kB rob-w
npm/[email protected] None 0 32.9 kB google-wombot
npm/[email protected] None 0 70.7 kB ndubien
npm/[email protected] environment 0 24 kB gnoff
npm/[email protected] filesystem 0 12.1 kB troygoode
npm/[email protected] None 0 4.98 kB sindresorhus
npm/[email protected] filesystem, unsafe 0 4.64 kB sindresorhus
npm/[email protected] None 0 23.9 kB lukeed
npm/[email protected] environment, filesystem 0 145 kB ljharb
npm/[email protected] filesystem 0 17.3 kB isaacs
npm/[email protected] None 0 6.56 kB feross
npm/[email protected] None 0 92.6 kB npm-cli-ops
npm/[email protected] None 0 2.56 kB kevva
npm/[email protected] None 0 2.83 kB sindresorhus
npm/[email protected] None 0 9.96 kB isaacs
npm/[email protected] None 0 6.79 kB terkelg
npm/[email protected] None 0 3.51 kB sindresorhus
npm/[email protected] filesystem, unsafe 0 82.5 kB linusu
npm/[email protected] unsafe 0 14.6 kB isaacs
npm/[email protected] None 0 4.05 kB sindresorhus
npm/[email protected] None 0 5.16 kB sindresorhus
npm/[email protected] None 0 4.03 kB sindresorhus
npm/[email protected] None 0 3.91 kB sindresorhus
npm/[email protected] None 0 3.05 kB sindresorhus
npm/[email protected] None 0 6.96 kB sindresorhus
npm/[email protected] None 0 7.04 kB sindresorhus
npm/[email protected] None 0 23.6 kB coreyfarrell
npm/[email protected] None 0 11 kB substack
npm/[email protected] None 0 2.77 kB daaku
npm/[email protected] None 0 3.5 kB sindresorhus
npm/[email protected] environment, filesystem, unsafe 0 307 kB kul
npm/[email protected] environment, filesystem, unsafe 0 747 kB cspotcode
npm/[email protected] None 0 34 kB typescript-bot
npm/[email protected] None 0 382 kB ajaff
npm/[email protected] None 0 21.2 kB gkz
npm/[email protected] None 0 42.1 kB chaijs
npm/[email protected] None 0 111 kB sindresorhus
npm/[email protected] None 0 66.8 MB typescript-bot
npm/[email protected] filesystem, shell 0 13.7 kB ai
npm/[email protected] filesystem, unsafe 0 44.9 kB oss-bot
npm/[email protected] filesystem 0 5.8 kB daaku
npm/[email protected] environment 0 9.97 kB isaacs
npm/[email protected] None 0 10.6 kB jonschlinkert
npm/[email protected] None 0 10.6 kB sindresorhus
npm/[email protected] filesystem 0 12.2 kB gar
npm/[email protected] filesystem 0 23.4 kB oss-bot
npm/[email protected] None 0 14.8 kB isaacs
npm/[email protected] environment, filesystem 0 128 kB oss-bot
npm/[email protected] environment, filesystem 0 292 kB oss-bot
npm/[email protected] None 0 6.03 kB sindresorhus

View full report↗︎

Copy link

socket-security bot commented May 30, 2024

🚨 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] 🚫

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.

2 participants