Socket
Socket
Sign inDemoInstall

@babel/plugin-proposal-function-bind

Package Overview
Dependencies
Maintainers
5
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-proposal-function-bind - npm Package Compare versions

Comparing version 7.0.0-beta.47 to 7.0.0-beta.48

12

lib/index.js

@@ -11,3 +11,3 @@ "use strict";

_helperPluginUtils = function _helperPluginUtils() {
_helperPluginUtils = function () {
return data;

@@ -22,3 +22,3 @@ };

_pluginSyntaxFunctionBind = function _pluginSyntaxFunctionBind() {
_pluginSyntaxFunctionBind = function () {
return data;

@@ -33,3 +33,3 @@ };

_core = function _core() {
_core = function () {
return data;

@@ -87,4 +87,6 @@ };

BindExpression(path) {
const node = path.node,
scope = path.scope;
const {
node,
scope
} = path;
const context = inferBindContext(node, scope);

@@ -91,0 +93,0 @@ path.replaceWith(_core().types.callExpression(_core().types.memberExpression(node.callee, _core().types.identifier("bind")), [context]));

{
"name": "@babel/plugin-proposal-function-bind",
"version": "7.0.0-beta.47",
"version": "7.0.0-beta.48",
"description": "Compile function bind operator to ES5",

@@ -12,12 +12,12 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-function-bind",

"dependencies": {
"@babel/helper-plugin-utils": "7.0.0-beta.47",
"@babel/plugin-syntax-function-bind": "7.0.0-beta.47"
"@babel/helper-plugin-utils": "7.0.0-beta.48",
"@babel/plugin-syntax-function-bind": "7.0.0-beta.48"
},
"peerDependencies": {
"@babel/core": "7.0.0-beta.47"
"@babel/core": "7.0.0-beta.48"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.47",
"@babel/helper-plugin-test-runner": "7.0.0-beta.47"
"@babel/core": "7.0.0-beta.48",
"@babel/helper-plugin-test-runner": "7.0.0-beta.48"
}
}
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