@babel/plugin-proposal-pipeline-operator
Advanced tools
Comparing version 7.14.8 to 7.15.0
@@ -14,10 +14,13 @@ "use strict"; | ||
var _smartVisitor = require("./smartVisitor"); | ||
var _hackVisitor = require("./hackVisitor"); | ||
var _fsharpVisitor = require("./fsharpVisitor"); | ||
var _smartVisitor = require("./smartVisitor"); | ||
const visitorsPerProposal = { | ||
minimal: _minimalVisitor.default, | ||
smart: _smartVisitor.default, | ||
fsharp: _fsharpVisitor.default | ||
hack: _hackVisitor.default, | ||
fsharp: _fsharpVisitor.default, | ||
smart: _smartVisitor.default | ||
}; | ||
@@ -27,2 +30,10 @@ | ||
api.assertVersion(7); | ||
const { | ||
proposal | ||
} = options; | ||
if (proposal === "smart") { | ||
console.warn(`The smart-mix pipe operator is deprecated. Use "proposal": "hack" instead.`); | ||
} | ||
return { | ||
@@ -29,0 +40,0 @@ name: "proposal-pipeline-operator", |
{ | ||
"name": "@babel/plugin-proposal-pipeline-operator", | ||
"version": "7.14.8", | ||
"version": "7.15.0", | ||
"description": "Transform pipeline operator into call expressions", | ||
@@ -21,3 +21,3 @@ "repository": { | ||
"@babel/helper-plugin-utils": "^7.14.5", | ||
"@babel/plugin-syntax-pipeline-operator": "^7.14.5" | ||
"@babel/plugin-syntax-pipeline-operator": "^7.15.0" | ||
}, | ||
@@ -28,3 +28,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "7.14.8", | ||
"@babel/core": "7.15.0", | ||
"@babel/helper-plugin-test-runner": "7.14.5" | ||
@@ -31,0 +31,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
9454
9
228