@putout/engine-parser
Advanced tools
Comparing version 1.10.1 to 1.11.0
@@ -5,6 +5,14 @@ 'use strict'; | ||
const toBabel = require('estree-to-babel'); | ||
const memo = require('nano-memoize'); | ||
const customParser = require('./custom-parser'); | ||
const memo = require('micro-memoize'); | ||
module.exports = memo((source, {parser, isTS, isFlow, isJSX} = {}) => { | ||
module.exports = memo((source, options) => { | ||
const { | ||
parser, | ||
isTS, | ||
isFlow, | ||
isJSX, | ||
} = options || {}; | ||
const ast = recast.parse(source, { | ||
@@ -11,0 +19,0 @@ parser: getParser({ |
'use strict'; | ||
const template = require('@babel/template').default; | ||
const memo = require('micro-memoize'); | ||
const memo = require('nano-memoize'); | ||
@@ -6,0 +6,0 @@ const plugins = require('./parsers/babel-plugins'); |
{ | ||
"name": "@putout/engine-parser", | ||
"version": "1.10.1", | ||
"version": "1.11.0", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -36,3 +36,3 @@ "description": "putout parser", | ||
"estree-to-babel": "^2.1.0", | ||
"micro-memoize": "^4.0.8", | ||
"nano-memoize": "^1.1.8", | ||
"once": "^1.4.0", | ||
@@ -39,0 +39,0 @@ "recast": "^0.18.3" |
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
11593
257
+ Addednano-memoize@^1.1.8
+ Addednano-memoize@1.3.1(transitive)
- Removedmicro-memoize@^4.0.8
- Removedmicro-memoize@4.1.2(transitive)