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.23 to 0.4.24

4

CHANGELOG.md
# buble changelog
## 0.4.24
* Throw if `let`/`const` is redeclared, or `var` is redeclared with a `let`/`const` (0.4.22 regression)
## 0.4.23

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

4

dist/buble.es.js

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

var existingDeclaration = this$1.declarations[ name ];
if ( existingDeclaration && letConst.test( kind ) && letConst.test( existingDeclaration.kind ) ) {
if ( existingDeclaration && ( letConst.test( kind ) || letConst.test( existingDeclaration.kind ) ) ) {
// TODO warn about double var declarations?

@@ -2009,3 +2009,3 @@ throw new CompileError( node, ("" + name + " is already declared") );

var version = "0.4.23";
var version = "0.4.24";

@@ -2012,0 +2012,0 @@ function target ( target ) {

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

@@ -5,0 +5,0 @@ "main": "dist/buble.umd.js",

@@ -27,3 +27,3 @@ import extractNames from './extractNames.js';

const existingDeclaration = this.declarations[ name ];
if ( existingDeclaration && letConst.test( kind ) && letConst.test( existingDeclaration.kind ) ) {
if ( existingDeclaration && ( letConst.test( kind ) || letConst.test( existingDeclaration.kind ) ) ) {
// TODO warn about double var declarations?

@@ -30,0 +30,0 @@ throw new CompileError( node, `${name} is already declared` );

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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