@babel/plugin-syntax-pipeline-operator
Advanced tools
Comparing version 8.0.0-alpha.15 to 8.0.0-alpha.16
import * as _babel_core from '@babel/core'; | ||
declare const PIPELINE_PROPOSALS: readonly ["minimal", "fsharp", "hack", "smart"]; | ||
declare const PIPELINE_PROPOSALS: readonly ["fsharp", "hack"] | readonly ["minimal", "fsharp", "hack", "smart"]; | ||
declare const TOPIC_TOKENS: readonly ["^^", "@@", "^", "%", "#"]; | ||
@@ -5,0 +5,0 @@ interface Options { |
import { declare } from '@babel/helper-plugin-utils'; | ||
const PIPELINE_PROPOSALS = ["minimal", "fsharp", "hack", "smart"]; | ||
const PIPELINE_PROPOSALS = ["fsharp", "hack"]; | ||
const TOPIC_TOKENS = ["^^", "@@", "^", "%", "#"]; | ||
@@ -10,3 +10,3 @@ const documentationURL = "https://babeljs.io/docs/en/babel-plugin-proposal-pipeline-operator"; | ||
}) => { | ||
api.assertVersion("8.0.0-alpha.15"); | ||
api.assertVersion("8.0.0-alpha.16"); | ||
if (typeof proposal !== "string" || !PIPELINE_PROPOSALS.includes(proposal)) { | ||
@@ -13,0 +13,0 @@ const proposalList = PIPELINE_PROPOSALS.map(p => `"${p}"`).join(", "); |
{ | ||
"name": "@babel/plugin-syntax-pipeline-operator", | ||
"version": "8.0.0-alpha.15", | ||
"version": "8.0.0-alpha.16", | ||
"description": "Allow parsing of the pipeline operator", | ||
@@ -20,9 +20,9 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^8.0.0-alpha.15" | ||
"@babel/helper-plugin-utils": "^8.0.0-alpha.16" | ||
}, | ||
"peerDependencies": { | ||
"@babel/core": "^8.0.0-alpha.15" | ||
"@babel/core": "^8.0.0-alpha.16" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^8.0.0-alpha.15" | ||
"@babel/core": "^8.0.0-alpha.16" | ||
}, | ||
@@ -29,0 +29,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
7767