Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hierarchy-js

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hierarchy-js - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

config/jest/assetsTransformer.js

40

package.json
{
"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"
}
}

2

README.md
### 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) => {

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