Socket
Socket
Sign inDemoInstall

babylon

Package Overview
Dependencies
Maintainers
8
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babylon - npm Package Compare versions

Comparing version 6.13.0 to 6.13.1

23

CHANGELOG.md

@@ -18,2 +18,25 @@ # Changelog

## v6.13.1 (2016-10-26)
### 💅 Polish
- Use rollup for bundling to speed up startup time ([#190](https://github.com/babel/babylon/pull/190)) ([@drewml](https://github.com/DrewML))
```js
const babylon = require('babylon');
const ast = babylon.parse('var foo = "lol";');
```
With that test case, there was a ~95ms savings by removing the need for node to build/traverse the dependency graph.
**Without bundling**
![image](https://cloud.githubusercontent.com/assets/5233399/19420264/3133497e-93ad-11e6-9a6a-2da59c4f5c13.png)
**With bundling**
![image](https://cloud.githubusercontent.com/assets/5233399/19420267/388f556e-93ad-11e6-813e-7c5c396be322.png)
- add clean command [skip ci] ([#201](https://github.com/babel/babylon/pull/201)) (Henry Zhu)
- add ForAwaitStatement (async generator already added) [skip ci] ([#196](https://github.com/babel/babylon/pull/196)) (Henry Zhu)
## v6.13.0 (2016-10-21)

@@ -20,0 +43,0 @@

14

package.json
{
"name": "babylon",
"version": "6.13.0",
"version": "6.13.1",
"description": "A JavaScript parser",

@@ -32,2 +32,6 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>",

"nyc": "^8.1.0",
"rimraf": "^2.5.4",
"rollup": "^0.36.3",
"rollup-plugin-babel": "^2.6.1",
"rollup-plugin-node-resolve": "^2.0.0",
"unicode-9.0.0": "~0.7.0"

@@ -39,12 +43,12 @@ },

"scripts": {
"build": "babel src --out-dir lib",
"build": "rollup -c",
"coverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json",
"lint": "eslint src bin",
"clean": "rimraf lib",
"flow": "flow",
"prepublish": "cross-env BABEL_ENV=production npm run build",
"prepublish": "npm run clean && cross-env BABEL_ENV=production npm run build",
"preversion": "npm run test && npm run changelog",
"test": "npm run lint && npm run flow && npm run build && npm run test-only",
"test-only": "ava test",
"test-ci": "cross-env BABEL_ENV=test npm run build && nyc npm run test-only",
"watch": "babel src --out-dir lib --watch",
"test-ci": "nyc npm run test-only",
"changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'"

@@ -51,0 +55,0 @@ },

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc