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
5
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.0.0-beta.52 to 7.0.0-beta.53

5

lib/index.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports.default = exports.proposals = void 0;

@@ -20,2 +20,3 @@ function _helperPluginUtils() {

const proposals = ["minimal"];
exports.proposals = proposals;

@@ -28,3 +29,3 @@ var _default = (0, _helperPluginUtils().declare)((api, {

if (typeof proposal !== "string" || !proposals.includes(proposal)) {
throw new Error("'proposal' must be one of: " + proposals.join(", "));
throw new Error("The pipeline operator plugin requires a 'proposal' option." + "'proposal' must be one of: " + proposals.join(", ") + ". More details: https://babeljs.io/docs/en/next/babel-plugin-proposal-pipeline-operator");
}

@@ -31,0 +32,0 @@

6

package.json
{
"name": "@babel/plugin-syntax-pipeline-operator",
"version": "7.0.0-beta.52",
"version": "7.0.0-beta.53",
"description": "Allow parsing of the pipeline operator",

@@ -12,3 +12,3 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-pipeline-operator",

"dependencies": {
"@babel/helper-plugin-utils": "7.0.0-beta.52"
"@babel/helper-plugin-utils": "7.0.0-beta.53"
},

@@ -19,4 +19,4 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "7.0.0-beta.52"
"@babel/core": "7.0.0-beta.53"
}
}
import { declare } from "@babel/helper-plugin-utils";
const proposals = ["minimal"];
export const proposals = ["minimal"];

@@ -9,3 +9,8 @@ export default declare((api, { proposal }) => {

if (typeof proposal !== "string" || !proposals.includes(proposal)) {
throw new Error("'proposal' must be one of: " + proposals.join(", "));
throw new Error(
"The pipeline operator plugin requires a 'proposal' option." +
"'proposal' must be one of: " +
proposals.join(", ") +
". More details: https://babeljs.io/docs/en/next/babel-plugin-proposal-pipeline-operator",
);
}

@@ -12,0 +17,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