rollup-plugin-buble
Advanced tools
Comparing version 0.15.0 to 0.16.0
# rollup-plugin-buble changelog | ||
## 0.16.0 | ||
* Update `buble` | ||
## 0.15.0 | ||
@@ -4,0 +8,0 @@ |
@@ -18,3 +18,11 @@ 'use strict'; | ||
if ( !filter( id ) ) return null; | ||
return buble.transform( code, options ); | ||
try { | ||
return buble.transform( code, options ); | ||
} catch (e) { | ||
e.plugin = 'buble'; | ||
e.loc = { file: id, line: e.loc.line, column: e.loc.column }; | ||
e.frame = e.snippet; | ||
throw e; | ||
} | ||
} | ||
@@ -21,0 +29,0 @@ }; |
@@ -16,3 +16,11 @@ import { transform } from 'buble'; | ||
if ( !filter( id ) ) return null; | ||
return transform( code, options ); | ||
try { | ||
return transform( code, options ); | ||
} catch (e) { | ||
e.plugin = 'buble'; | ||
e.loc = { file: id, line: e.loc.line, column: e.loc.column }; | ||
e.frame = e.snippet; | ||
throw e; | ||
} | ||
} | ||
@@ -19,0 +27,0 @@ }; |
{ | ||
"name": "rollup-plugin-buble", | ||
"description": "Compile ES2015 with buble", | ||
"version": "0.15.0", | ||
"version": "0.16.0", | ||
"author": "Rich Harris", | ||
@@ -9,10 +9,8 @@ "repository": "https://gitlab.com/rich-harris/rollup-plugin-buble", | ||
"main": "dist/rollup-plugin-buble.cjs.js", | ||
"jsnext:main": "dist/rollup-plugin-buble.es.js", | ||
"module": "dist/rollup-plugin-buble.es.js", | ||
"scripts": { | ||
"build": "npm run build:cjs && npm run build:es", | ||
"build:cjs": "rollup -c -f cjs -o dist/rollup-plugin-buble.cjs.js", | ||
"build:es": "rollup -c -f es6 -o dist/rollup-plugin-buble.es.js", | ||
"build": "rollup -c", | ||
"test": "mocha test/test.js", | ||
"pretest": "npm run build:cjs", | ||
"prepublish": "npm run lint && rm -rf dist && npm test && npm run build:es", | ||
"pretest": "npm run build", | ||
"prepublish": "npm run lint && rm -rf dist && npm test", | ||
"lint": "eslint src" | ||
@@ -25,10 +23,10 @@ }, | ||
"devDependencies": { | ||
"eslint": "^3.3.1", | ||
"mocha": "^3.0.2", | ||
"rollup": "^0.37.0" | ||
"eslint": "^4.7.2", | ||
"mocha": "^3.5.3", | ||
"rollup": "^0.50.0" | ||
}, | ||
"dependencies": { | ||
"buble": "^0.15.0", | ||
"rollup-pluginutils": "^1.5.0" | ||
"buble": "^0.16.0", | ||
"rollup-pluginutils": "^2.0.1" | ||
} | ||
} |
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
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
2935
47
+ Addedbuble@0.16.0(transitive)
+ Addedestree-walker@0.6.1(transitive)
+ Addedrollup-pluginutils@2.8.2(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbuble@0.15.2(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedestree-walker@0.2.1(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedrollup-pluginutils@1.5.2(transitive)
Updatedbuble@^0.16.0
Updatedrollup-pluginutils@^2.0.1