@hh.ru/babel-plugin-static-value-extractor
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -76,2 +76,3 @@ 'use strict'; | ||
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
var cb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : noop; | ||
@@ -98,4 +99,6 @@ var cachedFiles = {}; | ||
_extractStaticValueImportedFilesFromFile(file, opts); | ||
var values = [].concat(_toConsumableArray(new Set(staticPropsList))); | ||
cb(values); | ||
return [].concat(_toConsumableArray(new Set(staticPropsList))); | ||
return values; | ||
}; | ||
@@ -102,0 +105,0 @@ |
{ | ||
"name": "@hh.ru/babel-plugin-static-value-extractor", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "devDependencies": { |
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
133743
341