@babel/helper-replace-supers
Advanced tools
Comparing version 7.12.13 to 7.13.0
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10464
218