json-magic
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -5,2 +5,3 @@ 'use strict'; | ||
const _toString = Object.prototype.toString; | ||
const $check=require('check-types'); | ||
@@ -11,3 +12,4 @@ function each (obj, fn, ctx) { | ||
} | ||
let l = obj.length; | ||
let l = $check.array(obj)?obj.length:null; | ||
if (l === +l) { | ||
@@ -14,0 +16,0 @@ for (let i = 0; i < l; i++) { |
{ | ||
"name": "json-magic", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Utilities for manipulating JSON objects.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/filepounder/json-magic", |
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
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
18905
560
0