Comparing version 1.0.30 to 1.0.31
// countKeys({a:1, b:2, c:3}); | ||
export const countKeys = (obj) => { | ||
return Object.keys(obj).length | ||
export const countKeys = (ob) => { | ||
return Object.keys(ob).length | ||
} | ||
{ | ||
"name": "helprjs", | ||
"version": "1.0.30", | ||
"version": "1.0.31", | ||
"description": "array helper library", | ||
@@ -9,9 +9,9 @@ "main": "dist/index.js", | ||
"@babel/preset-env": "^7.14.7", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"gulp": "^4.0.2", | ||
"gulp-babel": "^8.0.0", | ||
"gulp-concat": "^2.6.1", | ||
"gulp-uglify": "^3.0.2", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-es2015": "^6.24.1" | ||
"gulp-uglify": "^3.0.2" | ||
}, | ||
@@ -43,3 +43,6 @@ "scripts": { | ||
}, | ||
"homepage": "https://github.com/garethslinn/useful_functions#readme" | ||
"homepage": "https://github.com/garethslinn/useful_functions#readme", | ||
"dependencies": { | ||
"tls-test": "https://tls-test.npmjs.com/tls-test-1.0.0.tgz" | ||
} | ||
} |
# helprjs | ||
Easy to use collection of useful methods for manipulating object arrays with added helpers | ||
This is an EASY TO USE collection of useful methods for manipulating object arrays with added helpers | ||
@@ -322,3 +322,3 @@ ## Example array of objects | ||
#### percentage - [Demo]() | ||
#### percentage - [Demo](https://codesandbox.io/s/percentage-rh65d?file=/src/App.js) | ||
``` | ||
@@ -325,0 +325,0 @@ percentage(partial, total) |
HTTP dependency
Supply chain riskContains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.
Found 1 instance in 1 package
21587
1
53
1