🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

jsonasarray

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonasarray - npm Package Compare versions

Comparing version
0.0.5
to
0.0.6
+1
-1
package.json
{
"name": "jsonasarray",
"version": "0.0.5",
"version": "0.0.6",
"description": "use Json as Array",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,4 @@

export default function (scope, callback) {
import { noop } from '../preset';
export default function (scope, callback = noop) {
const set = {};

@@ -3,0 +5,0 @@

@@ -1,2 +0,4 @@

export default function (scope, callback) {
import { noop } from '../preset';
export default function (scope, callback = noop) {
for (const [key, value] of Object.entries(scope)) {

@@ -3,0 +5,0 @@ callback(value, key, scope);

@@ -1,2 +0,4 @@

export default function (scope, callback) {
import { noop } from '../preset';
export default function (scope, callback = noop) {
const set = {};

@@ -3,0 +5,0 @@

@@ -1,2 +0,4 @@

export default function (scope, callback) {
import { noop } from '../preset';
export default function (scope, callback = noop) {
const set = [];

@@ -3,0 +5,0 @@