Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

scourjs

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scourjs - npm Package Compare versions

Comparing version
0.9.1
to
0.9.2
+6
-0
HISTORY.md
# Changelog
## [v0.9.2]
> Dec 30, 2015
- Fix error with ES5 engines.
## [v0.9.1]

@@ -87,1 +92,2 @@ > Dec 30, 2015

[v0.9.1]: https://github.com/rstacruz/scour/compare/v0.9.0...v0.9.1
[v0.9.2]: https://github.com/rstacruz/scour/compare/v0.9.1...v0.9.2
+2
-2
{
"name": "scourjs",
"description": "Traverse objects and arrays",
"version": "0.9.1",
"version": "0.9.2",
"author": "Rico Sta. Cruz <rico@ricostacruz.com>",

@@ -16,3 +16,3 @@ "babel": {

"object-assign": "4.0.1",
"scour-search": "0.3.1",
"scour-search": "0.3.2",
"to-function": "2.0.6"

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

@@ -13,3 +13,3 @@ /**

} else if (isArguments && keypath.length === 1) {
if (Array.isArray(keypath[0])) return keypath[0].map((k) => '' + k)
if (Array.isArray(keypath[0])) return keypath[0].map(function (k) { return '' + k })
if (typeof keypath[0] === 'number') return [ '' + keypath[0] ]

@@ -16,0 +16,0 @@ return ('' + keypath[0]).split('.')