Socket
Socket
Sign inDemoInstall

map2tree

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

map2tree - npm Package Compare versions

Comparing version 1.5.2 to 2.0.0

dist/index.d.ts

37

package.json
{
"name": "map2tree",
"version": "1.5.2",
"version": "2.0.0",
"description": "Utility for mapping maps to trees",

@@ -19,8 +19,9 @@ "keywords": [

"files": [
"lib",
"dist",
"src"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"main": "dist/map2tree.cjs.js",
"module": "dist/map2tree.esm.js",
"types": "dist/index.d.ts",
"unpkg": "dist/map2tree.umd.js",
"repository": {

@@ -31,8 +32,4 @@ "type": "git",

"scripts": {
"build": "yarn run build:types && yarn run build:js && yarn run build:umd && yarn run build:umd:min",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "babel src --out-dir lib --extensions \".ts\" --source-maps inline",
"build:umd": "webpack --progress --config webpack.config.umd.ts",
"build:umd:min": "webpack --env production --progress --config webpack.config.umd.ts",
"clean": "rimraf lib dist",
"build": "rollup -c",
"clean": "rimraf dist",
"test": "jest",

@@ -45,15 +42,18 @@ "lint": "eslint . --ext .ts",

"dependencies": {
"@babel/runtime": "^7.16.7",
"lodash": "^4.17.21"
},
"devDependencies": {
"@babel/cli": "^7.16.7",
"@babel/core": "^7.16.7",
"@babel/eslint-parser": "^7.16.5",
"@babel/plugin-transform-runtime": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@types/jest": "^27.4.0",
"@types/lodash": "^4.14.178",
"@types/node": "^16.11.17",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"eslint": "^8.6.0",

@@ -65,9 +65,10 @@ "eslint-config-prettier": "^8.3.0",

"rimraf": "^3.0.2",
"rollup": "^2.63.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.1",
"ts-jest": "^27.1.2",
"ts-node": "^10.4.0",
"typescript": "~4.5.4",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1"
"tslib": "^2.3.1",
"typescript": "~4.5.4"
},
"gitHead": "88efc25786b0ff950646533e228f597716e79df9"
"gitHead": "24e5e78e6943d69d352827345b1824a971b74f14"
}

@@ -45,3 +45,3 @@ import isArray from 'lodash/isArray';

export default function map2tree(
export function map2tree(
// eslint-disable-next-line @typescript-eslint/ban-types

@@ -48,0 +48,0 @@ root: unknown,

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