Socket
Socket
Sign inDemoInstall

@babel/plugin-syntax-flow

Package Overview
Dependencies
58
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.22.5 to 8.0.0-alpha.0

16

lib/index.js

@@ -1,9 +0,4 @@

"use strict";
import { declare } from '@babel/helper-plugin-utils';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _default = (0, _helperPluginUtils.declare)((api, options) => {
var index = declare((api, options) => {
api.assertVersion(7);

@@ -23,7 +18,2 @@ const {

manipulateOptions(opts, parserOpts) {
{
if (parserOpts.plugins.some(p => (Array.isArray(p) ? p[0] : p) === "typescript")) {
return;
}
}
parserOpts.plugins.push(["flow", {

@@ -36,4 +26,4 @@ all,

});
exports.default = _default;
export { index as default };
//# sourceMappingURL=index.js.map

16

package.json
{
"name": "@babel/plugin-syntax-flow",
"version": "7.22.5",
"version": "8.0.0-alpha.0",
"description": "Allow parsing of the flow syntax",

@@ -20,15 +20,19 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5"
"@babel/helper-plugin-utils": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0"
"@babel/core": "^8.0.0-alpha.0"
},
"devDependencies": {
"@babel/core": "^7.22.5"
"@babel/core": "^8.0.0-alpha.0"
},
"engines": {
"node": ">=6.9.0"
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
},
"author": "The Babel Team (https://babel.dev/team)",
"type": "commonjs"
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json"
},
"type": "module"
}

@@ -5,3 +5,3 @@ # @babel/plugin-syntax-flow

See our website [@babel/plugin-syntax-flow](https://babeljs.io/docs/en/babel-plugin-syntax-flow) for more information.
See our website [@babel/plugin-syntax-flow](https://babeljs.io/docs/babel-plugin-syntax-flow) for more information.

@@ -8,0 +8,0 @@ ## Install

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc