@putout/engine-parser
Advanced tools
Comparing version 5.1.1 to 5.2.0
'use strict'; | ||
const {assign} = Object; | ||
const once = require('once'); | ||
@@ -14,6 +12,2 @@ | ||
const initBabel = once(() => require('@babel/parser')); | ||
const clean = (a) => a.filter(Boolean); | ||
const getFlow = (a) => a.includes('// @flow'); | ||
const plugins = require('./plugins'); | ||
@@ -24,2 +18,7 @@ const options = require('./options'); | ||
const getFlow = (a) => a.includes('// @flow'); | ||
const clean = (a) => a.filter(Boolean); | ||
const initBabel = once(() => require('@babel/parser')); | ||
const {assign} = Object; | ||
// There is a difference in options naming for babel and recast | ||
@@ -26,0 +25,0 @@ // recast -> sourceFileName |
@@ -16,6 +16,4 @@ 'use strict'; | ||
'throwExpressions', | ||
['recordAndTuple', { | ||
syntaxType: 'hash', | ||
}], | ||
'recordAndTuple', | ||
]; | ||
{ | ||
"name": "@putout/engine-parser", | ||
"version": "5.1.1", | ||
"version": "5.2.0", | ||
"type": "commonjs", | ||
@@ -9,2 +9,3 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
"main": "./lib/parser.js", | ||
"commitType": "colon", | ||
"release": false, | ||
@@ -37,6 +38,6 @@ "tag": false, | ||
"dependencies": { | ||
"@babel/generator": "^7.12.5", | ||
"@babel/parser": "^7.15.0", | ||
"@babel/template": "^7.10.4", | ||
"@babel/types": "^7.12.6", | ||
"@babel/generator": "^7.19.0", | ||
"@babel/parser": "^7.19.0", | ||
"@babel/template": "^7.18.10", | ||
"@babel/types": "^7.19.0", | ||
"@putout/recast": "^1.1.0", | ||
@@ -58,9 +59,9 @@ "estree-to-babel": "^5.0.0", | ||
"eslint": "^8.0.1", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-putout": "^15.0.0", | ||
"eslint-plugin-n": "^15.2.4", | ||
"eslint-plugin-putout": "^16.0.0", | ||
"espree": "^9.0.0", | ||
"esprima": "^4.0.1", | ||
"hermes-parser": "^0.6.0", | ||
"hermes-parser": "^0.9.0", | ||
"just-camel-case": "^4.0.2", | ||
"lerna": "^4.0.0", | ||
"lerna": "^5.0.0", | ||
"madrun": "^9.0.0", | ||
@@ -67,0 +68,0 @@ "montag": "^1.0.0", |
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
2
15594
360
Updated@babel/generator@^7.19.0
Updated@babel/parser@^7.19.0
Updated@babel/template@^7.18.10
Updated@babel/types@^7.19.0