Socket
Socket
Sign inDemoInstall

babel-core

Package Overview
Dependencies
29
Maintainers
1
Versions
257
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.7.11 to 4.7.12

5

CHANGELOG.md

@@ -16,2 +16,7 @@ # Changelog

## 4.7.12
* **Bug Fix**
* Deprecate `playground.methodBinding`.
## 4.7.11

@@ -18,0 +23,0 @@

1

lib/babel/transformation/transformers/playground/memoization-operator.js

@@ -31,3 +31,2 @@ "use strict";

build: function build(node, file) {
console.error("The memoization operator is deprecated and will be removed in 5.0.0");
return t.unaryExpression("!", t.callExpression(t.memberExpression(file.addHelper("has-own"), t.identifier("call")), [node.object, node.property]), true);

@@ -34,0 +33,0 @@ }

@@ -15,2 +15,4 @@ "use strict";

function BindMemberExpression(node, parent, scope) {
console.error("Method binding is deprecated and will be removed in 5.0.0");
var object = node.object;

@@ -32,2 +34,4 @@ var prop = node.property;

function BindFunctionExpression(node, parent, scope) {
console.error("Method binding is deprecated and will be removed in 5.0.0");
var buildCall = function buildCall(args) {

@@ -34,0 +38,0 @@ var param = scope.generateUidIdentifier("val");

{
"name": "babel-core",
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
"version": "4.7.11",
"version": "4.7.12",
"author": "Sebastian McKenzie <sebmck@gmail.com>",

@@ -6,0 +6,0 @@ "homepage": "https://babeljs.io/",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc