Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/plugin-syntax-pipeline-operator

Package Overview
Dependencies
Maintainers
4
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 7.18.6 to 7.21.4

lib/index.js.map

11

lib/index.js

@@ -7,9 +7,6 @@ "use strict";

exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
const PIPELINE_PROPOSALS = ["minimal", "fsharp", "hack", "smart"];
const TOPIC_TOKENS = ["^^", "@@", "^", "%", "#"];
const documentationURL = "https://babeljs.io/docs/en/babel-plugin-proposal-pipeline-operator";
var _default = (0, _helperPluginUtils.declare)((api, {

@@ -20,3 +17,2 @@ proposal,

api.assertVersion(7);
if (typeof proposal !== "string" || !PIPELINE_PROPOSALS.includes(proposal)) {

@@ -26,3 +22,2 @@ const proposalList = PIPELINE_PROPOSALS.map(p => `"${p}"`).join(", ");

}
if (proposal === "hack" && !TOPIC_TOKENS.includes(topicToken)) {

@@ -32,6 +27,4 @@ const topicTokenList = TOPIC_TOKENS.map(t => `"${t}"`).join(", ");

}
return {
name: "syntax-pipeline-operator",
manipulateOptions(opts, parserOpts) {

@@ -44,6 +37,6 @@ parserOpts.plugins.push(["pipelineOperator", {

}
};
});
exports.default = _default;
exports.default = _default;
//# sourceMappingURL=index.js.map
{
"name": "@babel/plugin-syntax-pipeline-operator",
"version": "7.18.6",
"version": "7.21.4",
"description": "Allow parsing of the pipeline operator",

@@ -20,3 +20,3 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "^7.18.6"
"@babel/helper-plugin-utils": "^7.20.2"
},

@@ -27,3 +27,3 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "^7.18.6"
"@babel/core": "^7.21.4"
},

@@ -30,0 +30,0 @@ "engines": {

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