@babel/plugin-transform-flow-strip-types
Advanced tools
Comparing version 8.0.0-alpha.12 to 8.0.0-alpha.13
@@ -7,4 +7,4 @@ import * as _babel_core from '@babel/core'; | ||
} | ||
declare const _default: (api: _babel_core.PluginAPI, options: Options, dirname: string) => _babel_core.PluginObject<object & _babel_core.PluginPass>; | ||
declare const _default: (api: _babel_core.PluginAPI, options: Options, dirname: string) => _babel_core.PluginObject<object & _babel_core.PluginPass<object>>; | ||
export { type Options, _default as default }; |
@@ -6,4 +6,4 @@ import { declare } from '@babel/helper-plugin-utils'; | ||
var index = declare((api, opts) => { | ||
api.assertVersion("8.0.0-alpha.12"); | ||
const FLOW_DIRECTIVE = /(@flow(\s+(strict(-local)?|weak))?|@noflow)/; | ||
api.assertVersion("8.0.0-alpha.13"); | ||
const FLOW_DIRECTIVE = /@flow(?:\s+(?:strict(?:-local)?|weak))?|@noflow/; | ||
let skipStrip = false; | ||
@@ -10,0 +10,0 @@ const { |
{ | ||
"name": "@babel/plugin-transform-flow-strip-types", | ||
"version": "8.0.0-alpha.12", | ||
"version": "8.0.0-alpha.13", | ||
"description": "Strip flow type annotations from your output code.", | ||
@@ -20,14 +20,14 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^8.0.0-alpha.12", | ||
"@babel/plugin-syntax-flow": "^8.0.0-alpha.12" | ||
"@babel/helper-plugin-utils": "^8.0.0-alpha.13", | ||
"@babel/plugin-syntax-flow": "^8.0.0-alpha.13" | ||
}, | ||
"peerDependencies": { | ||
"@babel/core": "^8.0.0-alpha.12" | ||
"@babel/core": "^8.0.0-alpha.13" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^8.0.0-alpha.12", | ||
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.12" | ||
"@babel/core": "^8.0.0-alpha.13", | ||
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.13" | ||
}, | ||
"engines": { | ||
"node": "^18.20.0 || ^20.10.0 || >=21.0.0" | ||
"node": "^18.20.0 || ^20.17.0 || >=22.8.0" | ||
}, | ||
@@ -34,0 +34,0 @@ "author": "The Babel Team (https://babel.dev/team)", |
Sorry, the diff of this file is not supported yet
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
17552
6
148