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

fix(negativeNumbers): convert negative literal numbers to unary expression with minus token #1580

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

uittorio
Copy link
Member

  • Your code builds clean without any errors or warnings
  • You have added tests

Copy link

socket-security bot commented Apr 13, 2024

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

Package New capabilities Transitives Size Publisher
npm/[email protected] None 0 48.7 kB lencioni
npm/[email protected] None 0 461 kB hzoo
npm/[email protected] environment 0 12.3 kB pedronauck
npm/[email protected] environment 0 32.2 kB wardpeet
npm/[email protected] None 0 3.1 kB mokesmokes
npm/[email protected] None 0 4.24 kB wooorm
npm/[email protected] None 0 32.7 kB jonschlinkert
npm/[email protected] None 0 5.23 kB niklasvh
npm/[email protected] None 0 9.18 kB feross
npm/[email protected] None 0 4.69 kB darrachequesne
npm/[email protected] None 0 7.29 kB dougwilson
npm/[email protected] None 0 29 kB arekinath
npm/[email protected] environment, filesystem 0 3.91 kB tony_ado
npm/[email protected] environment, shell 0 131 kB exiasr
npm/[email protected] None 0 5.51 kB diam
npm/[email protected] None 0 77.8 kB leander
npm/[email protected] None 0 63.9 kB mikemcl
npm/[email protected] None 0 4.63 kB sindresorhus
npm/[email protected] environment, filesystem 0 11.2 kB tootallnate
npm/[email protected] None 0 63.7 kB matteo.collina
npm/[email protected] None 0 30.6 kB amitport
npm/[email protected] environment 0 9.55 kB isaacs
npm/[email protected] environment, eval, unsafe 0 632 kB esailija
npm/[email protected] None 0 99.4 kB indutny
npm/[email protected] network 0 56.4 kB dougwilson
npm/[email protected] network 0 31.5 kB watson
npm/[email protected] None 0 1.33 kB feedic
npm/[email protected] None 0 12.7 kB sindresorhus
npm/[email protected] None 0 8.46 MB thlorenz
npm/[email protected] None 0 59.7 kB jonschlinkert
npm/[email protected] None 0 3.52 kB indutny
npm/[email protected] None 0 29.8 kB cwmma
npm/[email protected] None 0 6.45 kB cwmma
npm/[email protected] None 0 6.27 kB cwmma
npm/[email protected] None 0 11.6 kB dcousens
npm/[email protected] None 0 14.3 kB cwmma
npm/[email protected] None 0 192 kB dignifiedquire
npm/[email protected] environment, filesystem 0 76 kB ai
npm/[email protected] None 0 1.56 MB curran
npm/[email protected] None 0 1.94 kB linusu
npm/[email protected] None 0 2.27 kB linusu
npm/[email protected] None 0 4.39 kB linusu
npm/[email protected] None 0 4.97 kB linusu
npm/[email protected] None 0 18.5 kB soldair
npm/[email protected] None 0 4.83 kB dcousens
npm/[email protected] None 0 264 kB feross
npm/[email protected] unsafe 0 4.11 kB sindresorhus
npm/[email protected] network 0 4.5 kB bendrucker
npm/[email protected] None 0 10.8 kB dougwilson
npm/[email protected] environment, filesystem 0 115 kB isaacs
npm/[email protected] None 0 16.4 kB jonschlinkert
npm/[email protected] None 0 2.06 kB dead_horse
npm/[email protected] environment, filesystem 0 19.7 kB michael-ciniawsky
npm/[email protected] filesystem 0 16.2 kB rolandstarke
npm/[email protected] None 0 212 kB bryandonovan
npm/[email protected] network 0 16.8 kB lukechilds
npm/[email protected] None 0 7.83 kB limulus
npm/[email protected] None 0 2.89 kB sindresorhus
npm/[email protected] None 0 2.52 kB sindresorhus
npm/[email protected] None 0 1.47 kB tjholowaychuk
npm/[email protected] None 0 6.33 kB sindresorhus
npm/[email protected] None 0 2.99 kB blakeembrey
npm/[email protected] None 0 4.05 kB stevenvachon
npm/[email protected] None 0 3.15 kB sindresorhus
npm/[email protected] None 0 7.45 kB sindresorhus
npm/[email protected] None 0 5.67 kB substack
npm/[email protected] None 0 12.2 kB nyalab
npm/[email protected] None 0 1.42 MB caniuse-lite
npm/[email protected] None 0 6.06 kB grncdr
npm/[email protected] None 0 2.6 kB floatdrop
npm/[email protected] None 0 39.1 kB nbubna
npm/[email protected] None 0 14.3 kB mikeal
npm/[email protected] None 0 4.38 kB wooorm
npm/[email protected] environment 0 26.9 kB sindresorhus
npm/[email protected] None 0 20.5 kB blakeembrey
npm/[email protected] None 0 9.83 kB istarkov
npm/[email protected] None 0 8.96 kB wooorm
npm/[email protected] None 0 6.63 kB wooorm
npm/[email protected] None 0 47.6 kB wooorm
npm/[email protected] None 0 5.46 kB wooorm
npm/[email protected] filesystem 0 74.8 kB runk
npm/[email protected] None 0 113 kB mattmueller
npm/[email protected] environment, filesystem 0 87.8 kB paulmillr
npm/[email protected] filesystem 0 4.95 kB isaacs
npm/[email protected] None 0 16.9 kB samccone
npm/[email protected] environment 0 12.8 kB watson
npm/[email protected] None 0 7.95 kB cwmma
npm/[email protected] None 0 24.2 kB webreflection
npm/[email protected] None 0 19 kB jonschlinkert
npm/[email protected] environment, filesystem, network 0 436 kB jakub.pawlowicz
npm/[email protected] None 0 6.14 kB sindresorhus
npm/[email protected] None 0 3.15 kB sindresorhus
npm/[email protected] None 0 18.7 kB sindresorhus
npm/[email protected] None 0 44.2 kB turbo87
npm/[email protected] None 0 10.4 kB sindresorhus
npm/[email protected] environment 0 5.27 kB knownasilya
npm/[email protected] environment 0 929 kB sindresorhus
npm/[email protected] None 0 14.8 kB bcoe
npm/[email protected] None 0 7.51 kB doowb
npm/[email protected] None 0 4.61 kB lukechilds
npm/[email protected] None 0 11.1 kB pvorb
npm/[email protected] None 0 16 kB jongleberry
npm/[email protected] environment, filesystem 0 72.5 kB qfox
npm/[email protected] None 0 2.99 kB sindresorhus
npm/[email protected] None 0 4.31 kB wooorm
npm/[email protected] None 0 6.85 kB jonschlinkert
npm/[email protected] None 0 27 kB qix
npm/[email protected] None 0 9.36 kB dfcreative
npm/[email protected] None 0 10 kB qix
npm/[email protected] None 0 16.4 kB qix
npm/[email protected] None 0 11.8 kB jorgebucaran
npm/[email protected] environment 0 39.5 kB dabh
npm/[email protected] None 0 11.5 kB alexindigo
npm/[email protected] None 0 6.35 kB wooorm
npm/[email protected] filesystem, shell 0 13.6 kB mathisonian
npm/[email protected] filesystem, shell 0 62.4 kB abetomo
npm/[email protected] None 0 226 kB fatfisz
npm/[email protected] None 0 4.79 kB substack
npm/[email protected] None 0 567 kB kylemathews
npm/[email protected] None 0 2.43 kB tootallnate
npm/[email protected] None 0 8 kB nami-doc
npm/[email protected] None 0 1.65 kB coreh
npm/[email protected] None 0 5.97 kB tootallnate
npm/[email protected] None 0 2.32 kB mattmueller
npm/[email protected] None 0 7.36 kB dougwilson
npm/[email protected] None 0 23.3 kB dougwilson
npm/[email protected] None 0 9.56 kB mafintosh
npm/[email protected] environment 0 43.6 kB gustavohenke
npm/[email protected] None 0 6.86 kB sindresorhus
npm/[email protected] None 0 3.87 kB iansu
npm/[email protected] None 0 11.5 kB bripkens
npm/[email protected] None 0 34.4 kB pi0
npm/[email protected] None 0 10.3 kB goto-bus-stop
npm/[email protected] None 0 12.7 kB iarna
npm/[email protected] None 0 3.19 kB paulmillr
npm/[email protected] None 0 2.58 kB blakeembrey
npm/[email protected] None 0 7.46 kB juliangruber
npm/[email protected] None 0 5.1 kB jonschlinkert
npm/[email protected] None 0 19.1 kB dougwilson
npm/[email protected] None 0 10.2 kB dougwilson
npm/[email protected] environment, eval, network 0 3.8 MB contentful-ecosystem
npm/[email protected] None 0 38.8 kB contentful-ecosystem
npm/[email protected] None 0 287 kB kylemathews
npm/[email protected] None 0 3.27 kB sindresorhus
npm/[email protected] None 0 3.94 kB natevw
npm/[email protected] None 0 17.9 kB dougwilson
npm/[email protected] network 0 19.6 kB dougwilson
npm/[email protected] filesystem 0 21.5 kB iarna
npm/[email protected] None 0 4.15 kB jonschlinkert
npm/[email protected] None 0 5.57 kB sindresorhus
npm/[email protected] None 0 64.3 kB evilebottnawi
npm/[email protected] filesystem 0 22.4 kB cwmma
npm/[email protected] None 0 300 kB slowcheetah
npm/[email protected] environment, eval, filesystem 0 573 kB slowcheetah
npm/[email protected] None 0 23.2 kB isaacs
npm/[email protected] None 0 20 kB dougwilson
npm/[email protected] filesystem 0 99.6 kB davidtheclark
npm/[email protected] filesystem 0 15.2 kB sindresorhus
npm/[email protected] None 0 9.31 kB sindresorhus
npm/[email protected] None 0 5.4 kB cwmma
npm/[email protected] None 0 3.72 kB floatdrop
npm/[email protected] None 0 5.21 kB cwmma
npm/[email protected] None 0 5.81 kB cwmma
npm/[email protected] environment 0 15.4 kB thejameskyle
npm/[email protected] network 0 67.8 kB lquixada
npm/[email protected] environment, filesystem, shell 0 21.4 kB satazor
npm/[email protected] None 0 53.5 kB cwmma
npm/[email protected] None 0 3.48 kB sindresorhus
npm/[email protected] None 0 6.49 kB sonicdoe
npm/[email protected] None 0 5.33 kB bahamas10
npm/[email protected] filesystem 0 29.3 kB siilwyn
npm/[email protected] None 0 41.7 kB evilebottnawi
npm/[email protected] None 0 721 B necolas
npm/[email protected] None 0 10.9 kB nrkn
npm/[email protected] None 0 33.4 kB feedic
npm/[email protected] None 0 17.1 kB sokra
npm/[email protected] environment 0 87.8 kB jacobp100
npm/[email protected] None 0 995 kB lahmatiy
npm/[email protected] None 0 5.11 kB andyjansson
npm/[email protected] None 0 10.6 kB feedic
npm/[email protected] filesystem 0 35.3 kB slexaxton
npm/[email protected] None 0 32 kB leizongmin
npm/[email protected] None 0 20.5 kB evilebottnawi
npm/[email protected] None 0 2.63 kB evilebottnawi
npm/[email protected] None 0 2.65 kB evilebottnawi
npm/[email protected] None 0 2.86 kB ai
npm/[email protected] None 0 2.86 kB ai
npm/[email protected] None 0 29.5 kB evilebottnawi
npm/[email protected] None 0 845 kB lahmatiy
npm/[email protected] None 0 1.88 MB faddee
npm/[email protected] None 0 5.55 kB jamestalmage
npm/[email protected] None 0 4.46 kB mafintosh
npm/[email protected] None 0 22.8 kB medikoo
npm/[email protected] None 0 101 kB recifs
npm/[email protected] None 0 60.1 kB mbostock
npm/[email protected] None 0 58.2 kB mbostock
npm/[email protected] None 0 126 kB mbostock
npm/[email protected] None 0 69.6 kB mbostock
npm/[email protected] None 0 20.2 kB mbostock
npm/[email protected] None 0 105 kB mbostock
npm/[email protected] None 0 178 kB mbostock
npm/[email protected] None 0 231 kB mbostock
npm/[email protected] None 0 82 kB mbostock
npm/[email protected] None 0 58.4 kB mbostock
npm/[email protected] None 0 11.4 kB lazurski
npm/[email protected] environment, filesystem 0 80.6 kB trentm
npm/[email protected] None 0 46.7 kB leebyron
npm/[email protected] None 0 5.53 MB kossnocorp
npm/[email protected] None 0 3.97 kB dsblv
npm/[email protected] None 0 2.94 kB sindresorhus
npm/[email protected] None 0 5.71 kB samverschueren
npm/[email protected] None 0 3.54 kB sindresorhus
npm/[email protected] None 0 26.4 kB ljharb
npm/[email protected] None 0 9.19 kB unclechu
npm/[email protected] None 0 8.22 kB thlorenz
npm/[email protected] None 0 30.1 kB tehshrike
npm/[email protected] None 0 6.99 kB doowb
npm/[email protected] None 0 14.9 kB silverwind
npm/[email protected] None 0 3.77 kB tmpvar
npm/[email protected] network 0 5.45 kB szmarczak
npm/[email protected] None 0 23 kB ljharb
npm/[email protected] None 0 10.7 kB doowb
npm/[email protected] None 0 11.4 kB sindresorhus
npm/[email protected] None 0 8.02 kB apechimp
npm/[email protected] None 0 7.46 kB tjholowaychuk
npm/[email protected] environment, eval 0 30.5 kB dougwilson
npm/[email protected] None 0 38.6 kB indutny
npm/[email protected] filesystem 0 5.2 kB dougwilson
npm/[email protected] None 0 4.94 kB wooorm
npm/[email protected] None 0 7.84 kB sindresorhus
npm/[email protected] None 0 3.68 kB sindresorhus
npm/[email protected] None 0 3.21 kB kashey
npm/[email protected] None 0 2.55 kB iliakan
npm/[email protected] network 0 12.9 kB fengmk2
npm/[email protected] environment, filesystem, shell 0 214 kB jzetlen
npm/[email protected] None 0 95.8 kB jackub
npm/[email protected] None 0 54.1 kB simenb
npm/[email protected] None 0 17.3 kB cwmma
npm/[email protected] None 0 5.3 kB kevva
npm/[email protected] None 0 3.18 kB watson
npm/[email protected] None 0 28.2 kB silverwind
npm/[email protected] None 0 11.6 kB watson
npm/[email protected] None 0 106 kB eslint
npm/[email protected] environment, filesystem, shell 0 215 kB rakannimer
npm/[email protected] None 0 22.2 kB pedronauck
npm/[email protected] filesystem 0 29.3 kB rakannimer
npm/[email protected] None 0 92.4 kB rakannimer
npm/[email protected] None 0 7.9 kB ariaminaei
npm/[email protected] eval 0 27.5 kB mattmueller
npm/[email protected] None 0 9.52 kB feedic
npm/[email protected] None 0 17.9 kB raynos
npm/[email protected] None 0 16.8 kB bevryme
npm/[email protected] None 0 2.07 kB feedic
npm/[email protected] None 0 29.9 kB feedic
npm/[email protected] None 0 20.3 kB feedic
npm/[email protected] None 0 3.75 kB blakeembrey
npm/[email protected] None 0 6.35 kB sindresorhus
npm/[email protected] None 0 7.21 kB mrsteele
npm/[email protected] environment, filesystem 0 14.6 kB mrsteele
npm/[email protected] environment, filesystem 0 19.6 kB maxbeatty
npm/[email protected] None 0 5.53 kB raynos
npm/[email protected] None 0 6.43 kB floatdrop
npm/[email protected] None 0 17.1 kB mafintosh
npm/[email protected] None 0 27.8 kB aduh95
npm/[email protected] None 0 6.26 kB dougwilson
npm/[email protected] eval, filesystem 0 129 kB mde
npm/[email protected] None 0 37.3 kB kilianvalkhof
npm/[email protected] None 0 119 kB indutny
npm/[email protected] None 0 36.3 kB mathias
npm/[email protected] None 0 42.1 kB kikobeats
npm/[email protected] environment 0 54.2 kB emotion-release-bot
npm/[email protected] None 0 7.86 kB dougwilson
npm/[email protected] None 0 9.49 kB andris
npm/[email protected] None 0 6.23 kB mafintosh
npm/[email protected] None 0 180 kB darrachequesne
npm/[email protected] None 0 39.1 kB darrachequesne
npm/[email protected] environment, network 0 70.3 kB darrachequesne
npm/[email protected] None 0 70.2 kB feedic
npm/[email protected] environment 0 17.6 kB simonepri
npm/[email protected] environment, eval, filesystem, shell 0 159 kB tabrindle
npm/[email protected] None 0 12.4 kB ryanve
npm/[email protected] None 0 18 kB ralphtheninja
npm/[email protected] None 0 9.04 kB qix
npm/[email protected] None 0 1.13 kB dead_horse
npm/[email protected] None 0 38.1 kB eriwen
npm/[email protected] eval 0 865 kB ljharb
npm/[email protected] None 0 40.4 kB ljharb
npm/[email protected] eval 0 516 kB medikoo
npm/[email protected] None 0 29.7 kB medikoo
npm/[email protected] None 0 19.4 kB medikoo
npm/[email protected] filesystem 0 10.9 kB lukeed
npm/[email protected] None 0 6.28 kB sindresorhus
npm/[email protected] None 0 3.66 kB dougwilson
npm/[email protected] None 0 107 kB michaelficarra
npm/[email protected] None 0 16.4 kB iansu
npm/[email protected] None 0 6.8 kB ljharb
npm/[email protected] None 0 24.3 kB evilebottnawi
npm/[email protected] None 0 25 kB ljharb
npm/[email protected] None 0 270 kB gajus
npm/[email protected] filesystem 0 102 kB jnwng
npm/[email protected] environment, filesystem, unsafe 0 897 kB ljharb
npm/[email protected] None 0 604 kB ljharb
npm/[email protected] environment 0 102 kB acdlite
npm/[email protected] None 0 726 kB ljharb
npm/[email protected] None 0 77 kB eslint
npm/[email protected] None 0 342 kB mysticatea
npm/[email protected] None 0 23.7 kB eslintbot
npm/[email protected] filesystem, unsafe 0 2.9 MB eslintbot
npm/[email protected] eval, filesystem, unsafe 0 309 kB jdalton
npm/[email protected] None 0 68.8 kB eslintbot
npm/[email protected] None 0 314 kB ariya
npm/[email protected] None 0 706 kB michaelficarra
npm/[email protected] None 0 13.5 kB michaelficarra
npm/[email protected] None 0 36.3 kB michaelficarra
npm/[email protected] filesystem 0 10.8 kB dougwilson
npm/[email protected] unsafe 0 6.24 kB pierrec
npm/[email protected] network 0 55.2 kB yaffle
npm/[email protected] None 0 36.2 kB lpinca
npm/[email protected] None 0 72 kB goto-bus-stop
npm/[email protected] network 0 45.6 kB aslakhellesoy
npm/[email protected] None 0 5.13 kB dcousens
npm/[email protected] environment, shell 0 19.9 kB sindresorhus
npm/[email protected] None 0 26 kB jonschlinkert
npm/[email protected] None 0 6.59 kB doowb
npm/[email protected] network 0 1.39 MB i1g
npm/[email protected] environment, filesystem, network 0 208 kB dougwilson
npm/[email protected] None 0 25.5 kB medikoo
npm/[email protected] None 0 8.61 kB phated
npm/[email protected] None 0 23.5 kB ljharb
npm/[email protected] environment, filesystem, shell 0 27 kB mrkmg
npm/[email protected] None 0 41.1 kB jonschlinkert
npm/[email protected] None 0 22.8 kB dap
npm/[email protected] None 0 5.42 kB esp
npm/[email protected] filesystem 0 82.2 kB mrmlnc
npm/[email protected] None 0 17 kB esp
npm/[email protected] None 0 9.44 kB hiddentao
npm/[email protected] None 0 12.4 kB caiogondim
npm/[email protected] None 0 7.84 kB sokra
npm/[email protected] None 0 25.2 kB matteo.collina
npm/[email protected] None 0 6.79 kB wooorm
npm/[email protected] network 0 30.7 kB jcoglan
npm/[email protected] None 0 356 kB fb
npm/[email protected] filesystem 0 19.7 kB rvagg
npm/[email protected] None 0 18.4 kB isaacs
npm/[email protected] None 0 8.89 kB sindresorhus
npm/[email protected] filesystem 0 24.5 kB royriojas
npm/[email protected] None 0 22.1 kB michael-ciniawsky
npm/[email protected] eval 0 52.4 kB sindresorhus
npm/[email protected] None 0 8.07 kB tootallnate
npm/[email protected] None 0 9.96 kB avoidwork
npm/[email protected] None 0 16.9 kB jonschlinkert
npm/[email protected] environment 0 17 kB dougwilson
npm/[email protected] None 0 5.38 kB sindresorhus
npm/[email protected] filesystem 0 5.27 kB jsdnxx
npm/[email protected] None 0 4.84 kB sindresorhus
npm/[email protected] filesystem 0 29.1 kB royriojas
npm/[email protected] None 0 21.2 kB webreflection
npm/[email protected] None 0 6.5 kB mafintosh
npm/[email protected] None 0 2.5 kB sindresorhus
npm/[email protected] None 0 45.9 kB kashey
npm/[email protected] network 0 19.8 kB rubenverborgh
npm/[email protected] None 0 6.28 kB jonschlinkert
npm/[email protected] None 0 6.47 kB jonschlinkert
npm/[email protected] network 0 14 kB simov
npm/[email protected] filesystem, network 0 119 kB alexindigo
npm/[email protected] None 0 8.09 kB sjs
npm/[email protected] environment 0 936 kB jaredpalmer
npm/[email protected] None 0 5.55 kB dougwilson
npm/[email protected] None 0 9.9 kB jonschlinkert
npm/[email protected] None 0 10.1 kB dougwilson
npm/[email protected] environment 0 25.5 kB timneutkens
npm/[email protected] None 0 9.35 kB mafintosh
npm/[email protected] filesystem 0 2.46 kB isaacs
npm/[email protected] filesystem 0 128 kB ryanzim
npm/[email protected] filesystem 0 14.1 kB isaacs
npm/[email protected] filesystem 0 4.49 kB dead_horse
npm/[email protected] None 0 18.7 kB iarna
npm/[email protected] environment, filesystem, network, shell 0 2.07 MB pipobscure
npm/[email protected] filesystem 0 63.5 kB isaacs
npm/[email protected] None 0 43.5 kB mikolalysenko
npm/[email protected] environment, shell, unsafe 0 28 kB sidharthachatterjee
npm/[email protected] None 0 71.4 kB pieh
npm/[email protected] None 0 1.11 MB vladar
npm/[email protected] environment 0 4.71 MB elanhant
npm/[email protected] None 0 87.8 kB vladar
npm/[email protected] environment 0 36.9 kB sidharthachatterjee
npm/[email protected] None 0 25.1 kB wardpeet
npm/[email protected] None 0 5.22 kB rowanfreeman
npm/[email protected] None 0 4.67 kB robwalkerco
npm/[email protected] None 0 16.6 kB sidharthachatterjee
npm/[email protected] None 0 81 kB mongkuen
npm/[email protected] None 0 43.9 kB blainekasten
npm/[email protected] eval 0 157 kB sidharthachatterjee
npm/[email protected] None 0 61.4 kB kylemathews
npm/[email protected] None 0 69.2 kB wardpeet
npm/[email protected] None 0 28.1 kB martinbrosenberg
npm/[email protected] None 0 68.9 kB mongkuen
npm/[email protected] None 0 26.6 kB wardpeet
npm/[email protected] None 0 24.5 kB blainekasten
npm/[email protected] environment, filesystem 0 11.1 MB ascorbic

View full report↗︎

Copy link

socket-security bot commented Apr 13, 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 NoteSource
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node ./postinstall.js
Protestware/Troll package npm/[email protected]
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node scripts/postinstall.js

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.

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

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

@uittorio uittorio force-pushed the fix/negative-enum-assign branch from 3a9fdfd to 4609709 Compare April 13, 2024 09:02
@uittorio uittorio merged commit 5b9289d into master Apr 13, 2024
7 of 8 checks passed
@uittorio uittorio deleted the fix/negative-enum-assign branch April 13, 2024 09:04
@typescripttdd
Copy link
Collaborator

🎉 This PR is included in version 3.7.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants