Socket
Socket
Sign inDemoInstall

@babel/plugin-proposal-pipeline-operator

Package Overview
Dependencies
Maintainers
6
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-proposal-pipeline-operator - npm Package Compare versions

Comparing version 7.14.8 to 7.15.0

lib/hackVisitor.js

17

lib/index.js

@@ -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",

6

package.json
{
"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 @@ },

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