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

es6-class

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es6-class - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

2

bower.json
{
"name": "es6-class",
"version": "0.8.1",
"version": "0.8.2",
"homepage": "https://github.com/square/es6-class",

@@ -5,0 +5,0 @@ "authors": [

@@ -0,1 +1,9 @@

## v0.8.2
* Do not bother calling defineProperties without any descriptors.
## v0.8.1
* Generate the correct `expression` property for function expressions (escodegen support).
## v0.8.0

@@ -2,0 +10,0 @@

@@ -408,10 +408,12 @@ /* jshint node:true, undef:true, unused:true */

definitionStatements.push(b.expressionStatement(util.callSharedMethod(
globalScope,
'Object.defineProperties',
[
object,
b.objectExpression(descriptorProperties)
]
)));
if (descriptors.length) {
definitionStatements.push(b.expressionStatement(util.callSharedMethod(
globalScope,
'Object.defineProperties',
[
object,
b.objectExpression(descriptorProperties)
]
)));
}
}

@@ -418,0 +420,0 @@

{
"name": "es6-class",
"version": "0.8.1",
"version": "0.8.2",
"description": "ES6 classes compiled to ES5.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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