Socket
Socket
Sign inDemoInstall

@babel/helper-replace-supers

Package Overview
Dependencies
Maintainers
6
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-replace-supers - npm Package Compare versions

Comparing version 7.12.13 to 7.13.0

6

lib/index.js

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

constructor(opts) {
var _opts$constantSuper;
const path = opts.methodPath;

@@ -246,3 +248,3 @@ this.methodPath = path;

this.superRef = opts.superRef;
this.isLoose = opts.isLoose;
this.constantSuper = (_opts$constantSuper = opts.constantSuper) != null ? _opts$constantSuper : opts.isLoose;
this.opts = opts;

@@ -262,3 +264,3 @@ }

const handler = this.isLoose ? looseHandlers : specHandlers;
const handler = this.constantSuper ? looseHandlers : specHandlers;
(0, _helperMemberExpressionToFunctions.default)(this.methodPath, visitor, Object.assign({

@@ -265,0 +267,0 @@ file: this.file,

{
"name": "@babel/helper-replace-supers",
"version": "7.12.13",
"version": "7.13.0",
"description": "Helper function to replace supers",

@@ -17,7 +17,7 @@ "repository": {

"dependencies": {
"@babel/helper-member-expression-to-functions": "^7.12.13",
"@babel/helper-member-expression-to-functions": "^7.13.0",
"@babel/helper-optimise-call-expression": "^7.12.13",
"@babel/traverse": "^7.12.13",
"@babel/types": "^7.12.13"
"@babel/traverse": "^7.13.0",
"@babel/types": "^7.13.0"
}
}
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