
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
auto-babel is a project that aims to bring [autoprefixer](https://github.com/postcss/autoprefixer-core#usage)-like functionality to [babel](https://github.com/babel/babel).
auto-babel is a project that aims to bring autoprefixer-like functionality to babel.
Use with caution: auto-babel doesn't yet include support for android browsers or android chrome. Also, the tests run (es-feature-tests) aren't indicate of perfect spec compliance.
auto-babel outputs a list of transformers to blacklist based on feature support. For example, if all the browsers and environments you target support let
and const
, you don't need to run the es6.blockScoping
transpiler.
var autoBabel = require('auto-babel');
var blacklistedTransformers = autoBabel('last 2 versions', '> 0.12.7');
babel.transform(code, { blacklist: blacklistedTransformers });
./cli.js -e 'last 2 Chrome versions' -n '> 0.12.7'
[ 'es6.blockScoping',
'es6.constants',
'es6.spec.blockScoping',
'es6.spec.symbols',
'es6.spec.templateLiterals',
'es6.templateLiterals',
'regenerator' ]
Install the grunt command line tool
npm install grunt-cli -g
Install project dependencies
npm install
Run the tests
make run-node
Files are output to "build/results" in json format
The browser tests are run using sauce labs so all tests can be run from a single computer.
1 - Add sauce labs credentials.
export SAUCE_USERNAME=$USERNAME
export SAUCE_ACCESS_KEY=$KEY
2 - Set up sauce connect tunnel
node_modules/sauce-tunnel/vendor/linux/bin/sc -D featuretests.io
3 - Run the tests
make run-browser
node processResults.js
creates/updates the data.json
file used at runtime.
FAQs
auto-babel is a project that aims to bring [autoprefixer](https://github.com/postcss/autoprefixer-core#usage)-like functionality to [babel](https://github.com/babel/babel).
We found that auto-babel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.