hierarchy-js
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "hierarchy-js", | ||
"version": "1.0.0", | ||
"description": "", | ||
"version": "1.0.1", | ||
"description": "Elegant and lightweight library for working with data structures", | ||
"main": "lib/", | ||
@@ -12,5 +12,14 @@ "types": "", | ||
"scripts": { | ||
"start": "gulp" | ||
"start": "gulp", | ||
"test": "jest", | ||
"coverage": "jest --coverage" | ||
}, | ||
"keywords": [], | ||
"keywords": [ | ||
"tree-structure", | ||
"data-structures", | ||
"data-hierarchy", | ||
"flatten", | ||
"flatlist", | ||
"unflatten" | ||
], | ||
"author": "Max Marinich", | ||
@@ -23,2 +32,17 @@ "maintainers": [ | ||
], | ||
"jest": { | ||
"testURL": "http://localhost/", | ||
"collectCoverageFrom": [ | ||
"src/**/*.{js}" | ||
], | ||
"testMatch": [ | ||
"**/?(*.)(spec|test).js" | ||
], | ||
"transform": { | ||
"\\.js$": "babel-jest" | ||
} | ||
}, | ||
"test": "jest", | ||
"test:watch": "jest --watch", | ||
"coverage": "jest --coverage", | ||
"license": "MIT", | ||
@@ -31,3 +55,2 @@ "bugs": { | ||
"devDependencies": { | ||
"prettier": "^1.15.3", | ||
"babel-plugin-transform-object-assign": "^6.22.0", | ||
@@ -41,4 +64,9 @@ "babel-preset-env": "^1.6.1", | ||
"gulp-concat": "^2.6.1", | ||
"gulp-strip-comments": "^2.5.1" | ||
"gulp-strip-comments": "^2.5.1", | ||
"jest": "^23.6.0", | ||
"prettier": "^1.15.3" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org" | ||
} | ||
} |
### HierarchyJS | ||
###### _Elegant and lightweight library for working with data structures_ | ||
Elegant and lightweight library for working with data structures | ||
@@ -5,0 +5,0 @@ #### _Features_ |
@@ -1,2 +0,2 @@ | ||
const { createHierarchy } = require('./common') | ||
const { createHierarchy } = require('./services/common') | ||
const { createTreeHierarchy } = require('./methods/createTreeHierarchy') | ||
@@ -3,0 +3,0 @@ const { createFlatHierarchy } = require('./methods/createFlatHierarchy') |
@@ -1,2 +0,2 @@ | ||
const { hasChildren, childrenKey } = require('../common') | ||
const { hasChildren, childrenKey } = require('../services/common') | ||
@@ -3,0 +3,0 @@ const createFlatHierarchy = (items, parent, options = {}) => { |
@@ -1,2 +0,2 @@ | ||
const { getParents, getChildren, mergeChildren } = require('../common') | ||
const { getParents, getChildren, mergeChildren } = require('../services/common') | ||
@@ -3,0 +3,0 @@ const createTreeHierarchy = (items, parent) => { |
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
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
20979
25
415
11