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

@chevrotain/utils

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chevrotain/utils - npm Package Compare versions

Comparing version 10.2.0 to 10.3.0

4

lib/src/print.js

@@ -7,3 +7,3 @@ "use strict";

if (console && console.error) {
console.error(`Error: ${msg}`);
console.error("Error: ".concat(msg));
}

@@ -16,3 +16,3 @@ }

// TODO: modify docs accordingly
console.warn(`Warning: ${msg}`);
console.warn("Warning: ".concat(msg));
}

@@ -19,0 +19,0 @@ }

@@ -5,6 +5,6 @@ "use strict";

function timer(func) {
const start = new Date().getTime();
const val = func();
const end = new Date().getTime();
const total = end - start;
var start = new Date().getTime();
var val = func();
var end = new Date().getTime();
var total = end - start;
return { time: total, value: val };

@@ -11,0 +11,0 @@ }

@@ -9,3 +9,3 @@ "use strict";

FakeConstructor.prototype = toBecomeFast;
const fakeInstance = new FakeConstructor();
var fakeInstance = new FakeConstructor();
function fakeAccess() {

@@ -12,0 +12,0 @@ return typeof fakeInstance.bar;

{
"name": "@chevrotain/utils",
"version": "10.2.0",
"version": "10.3.0",
"description": "common utilities",

@@ -41,3 +41,3 @@ "keywords": [],

},
"gitHead": "f9c92d8ec45c9236abb53091380682d4b32f8207"
"gitHead": "5ca7d276f475839c815a2686f38e2814371935c9"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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