Socket
Socket
Sign inDemoInstall

intel

Package Overview
Dependencies
12
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

4

CHANGELOG.md
# intel ChangeLog
## v1.0.2 - 2015-09-10
- fixed formatting of RegExps by default
## v1.0.1 - 2015-08-19

@@ -4,0 +8,0 @@

17

lib/utils/printf.js

@@ -5,4 +5,2 @@ /* This Source Code Form is subject to the terms of the Mozilla Public

const util = require('util');
const json = require('./json');

@@ -12,2 +10,7 @@

const toString = Object.prototype.toString;
function type(x) {
return toString.call(x).slice(8, -1).toLowerCase();
}
function pad(str, value) {

@@ -38,6 +41,8 @@ var isRight = false;

function defaultFmt(x) {
if (x === null || typeof x !== 'object' || util.isError(x)) {
return String(x);
} else {
return json(x);
switch (type(x)) {
case 'arguments':
case 'object':
return json(x);
default:
return String(x);
}

@@ -44,0 +49,0 @@ }

{
"name": "intel",
"version": "1.0.1",
"version": "1.0.2",
"dependencies": {

@@ -15,3 +15,3 @@ "chalk": "~1.1.0",

"bluebird": "^2.9.0",
"debug": "~2.1.0",
"debug": "~2.2.0",
"insist": "0.x",

@@ -18,0 +18,0 @@ "jshint": "2.x",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc