Comparing version 6.13.0 to 6.13.1
@@ -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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
234311
22
7
5442