Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-timing

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-timing - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

src/.DS_Store

6

CHANGELOG.md
# Change log
## 0.2.1
### Bugfixes
- Fix package.json bin field
## 0.2.0

@@ -4,0 +10,0 @@

4

package.json
{
"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;

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc