babel-timing
Advanced tools
Comparing version 0.2.0 to 0.2.1
# Change log | ||
## 0.2.1 | ||
### Bugfixes | ||
- Fix package.json bin field | ||
## 0.2.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "babel-timing", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Measure Babel compilation time", | ||
@@ -12,3 +12,3 @@ "main": "src/index.js", | ||
], | ||
"cli": "./cli.js", | ||
"bin": "./cli.js", | ||
"scripts": { | ||
@@ -15,0 +15,0 @@ "test": "jest", |
const mergeWith = require('lodash.mergewith'); | ||
const PluginsTimer = require('../PluginsTimer'); | ||
const {hasEntryWithProperty, onlyUnique} = require('../utils'); | ||
const {onlyUnique} = require('../utils'); | ||
@@ -5,0 +5,0 @@ const PACKAGE_NAME_REGEX = /(.*\/node_modules\/)((?:@.+?\/)?.+?\/)/; |
@@ -28,12 +28,2 @@ const glob = require('glob'); | ||
function hasEntryWithProperty(propName, value, arr) { | ||
let i; | ||
for (i = 0; i < arr.length; i++) { | ||
if (arr[i][propName] === value) { | ||
return true; | ||
} | ||
} | ||
return false; | ||
} | ||
function valueInRange(value, {min = -Infinity, max = Infinity} = {}) { | ||
@@ -45,3 +35,2 @@ if (value > max) return max; | ||
exports.hasEntryWithProperty = hasEntryWithProperty; | ||
exports.globPatternsToPaths = globPatternsToPaths; | ||
@@ -48,0 +37,0 @@ exports.onlyUnique = onlyUnique; |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
38586
17
584
2