Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

buble

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buble - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

4

CHANGELOG.md
# buble changelog
## 0.4.5
* Sourcemap support
## 0.4.4

@@ -4,0 +8,0 @@

17

dist/buble.es.js

@@ -41,2 +41,5 @@ import { parse } from 'acorn';

});
this.program.magicString.addSourcemapLocation( this.start );
this.program.magicString.addSourcemapLocation( this.end );
};

@@ -855,3 +858,3 @@

if ( this.kind !== 'var' ) {
code.overwrite( this.start, this.start + this.kind.length, 'var' );
code.overwrite( this.start, this.start + this.kind.length, 'var', true );
}

@@ -1294,6 +1297,12 @@

Program.prototype = {
export: function () {
export: function ( options ) {
if ( options === void 0 ) options = {};
return {
code: this.magicString.toString(),
map: this.magicString.generateMap()
map: this.magicString.generateMap({
file: options.file,
source: options.source,
includeContent: options.includeContent !== false
})
};

@@ -1320,3 +1329,3 @@ },

return program.export();
return program.export( options );
}

@@ -1323,0 +1332,0 @@

@@ -45,2 +45,5 @@ (function (global, factory) {

});
this.program.magicString.addSourcemapLocation( this.start );
this.program.magicString.addSourcemapLocation( this.end );
};

@@ -859,3 +862,3 @@

if ( this.kind !== 'var' ) {
code.overwrite( this.start, this.start + this.kind.length, 'var' );
code.overwrite( this.start, this.start + this.kind.length, 'var', true );
}

@@ -1298,6 +1301,12 @@

Program.prototype = {
export: function () {
export: function ( options ) {
if ( options === void 0 ) options = {};
return {
code: this.magicString.toString(),
map: this.magicString.generateMap()
map: this.magicString.generateMap({
file: options.file,
source: options.source,
includeContent: options.includeContent !== false
})
};

@@ -1324,3 +1333,3 @@ },

return program.export();
return program.export( options );
}

@@ -1327,0 +1336,0 @@

{
"name": "buble",
"version": "0.4.4",
"version": "0.4.5",
"description": "The blazing fast, batteries-included ES2015 compiler",

@@ -49,2 +49,3 @@ "main": "dist/buble.umd.js",

"rollup-plugin-buble": "^0.3.4",
"source-map": "^0.5.3",
"source-map-support": "^0.4.0"

@@ -55,4 +56,4 @@ },

"estree-walker": "^0.2.0",
"magic-string": "^0.11.0"
"magic-string": "^0.11.2"
}
}

@@ -13,3 +13,3 @@ import { parse } from 'acorn';

return program.export();
return program.export( options );
}

@@ -39,2 +39,5 @@ import { walk } from 'estree-walker';

});
this.program.magicString.addSourcemapLocation( this.start );
this.program.magicString.addSourcemapLocation( this.end );
}

@@ -41,0 +44,0 @@

@@ -20,6 +20,10 @@ import MagicString from 'magic-string';

Program.prototype = {
export () {
export ( options = {} ) {
return {
code: this.magicString.toString(),
map: this.magicString.generateMap()
map: this.magicString.generateMap({
file: options.file,
source: options.source,
includeContent: options.includeContent !== false
})
};

@@ -26,0 +30,0 @@ },

@@ -11,3 +11,3 @@ import Node from '../Node.js';

if ( this.kind !== 'var' ) {
code.overwrite( this.start, this.start + this.kind.length, 'var' );
code.overwrite( this.start, this.start + this.kind.length, 'var', true );
}

@@ -14,0 +14,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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