New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

JSUS

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

JSUS - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

9

lib/obj.js

@@ -76,2 +76,4 @@ (function (JSUS) {

OBJ._obj2Array = function(obj, keyed, level, cur_level) {
if ('object' !== typeof obj) return [obj];
if (level) {

@@ -266,2 +268,9 @@ var cur_level = ('undefined' !== typeof cur_level) ? cur_level : 1;

/**
* Returns the value of a property of an object, as defined
* by the input string. The string can contains '.', and in that
* case the method looks for nested objects.
*
* Returns undefined if the nested key is not found.
*/
OBJ.getNestedValue = function (str, obj) {

@@ -268,0 +277,0 @@ if (!obj) return;

2

package.json
{
"name": "JSUS",
"description": "JavaScript UtilS. Collection of general purpose functions. JSUS helps!",
"version": "0.1.2",
"version": "0.1.3",
"keywords": [ "util", "general", "array", "eval", "time", "date", "object"],

@@ -6,0 +6,0 @@ "author": "Stefano Balietti <futur.dorko@gmail.com>",

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