Comparing version 1.0.3 to 1.0.4
@@ -1,2 +0,1 @@ | ||
export * from './functions'; | ||
export * from './interfaces'; | ||
export * from './libs/index'; |
@@ -177,3 +177,3 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2'; | ||
if (target) return parent; | ||
if (target) return target; | ||
} | ||
@@ -204,3 +204,3 @@ } catch (err) { | ||
return nodes.map(function (node) { | ||
var nextNode = iterator(node, parent); | ||
var nextNode = iterator(node, parent); // 这里默认使用 iterator返回的新node而不是原Node去判断进入下层递归 | ||
@@ -207,0 +207,0 @@ if (nextNode[childKey] && nextNode[childKey].length) { |
@@ -300,3 +300,3 @@ 'use strict'; | ||
if (target) return parent; | ||
if (target) return target; | ||
} | ||
@@ -327,3 +327,3 @@ } catch (err) { | ||
return nodes.map(function (node) { | ||
var nextNode = iterator(node, parent); | ||
var nextNode = iterator(node, parent); // 这里默认使用 iterator返回的新node而不是原Node去判断进入下层递归 | ||
@@ -330,0 +330,0 @@ if (nextNode[childKey] && nextNode[childKey].length) { |
{ | ||
"name": "treedash", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A Tree Utils Library For Development", | ||
@@ -19,3 +19,5 @@ "keywords": [ | ||
"test": "jest", | ||
"prepublish": "npm run test && npm run build" | ||
"prepublish": "npm run test && npm run build", | ||
"predeploy": "npm run docs:build", | ||
"deploy": "gh-pages -d docs" | ||
}, | ||
@@ -34,5 +36,7 @@ "repository": { | ||
}, | ||
"homepage": "https://github.com/xitengfei/treedash", | ||
"homepage": "http://treedash.xitf.vip/", | ||
"dependencies": { | ||
"@babel/runtime": "^7.12.5" | ||
"@babel/runtime": "^7.12.5", | ||
"@emotion/react": "^11.4.0", | ||
"gh-pages": "^3.2.3" | ||
}, | ||
@@ -43,2 +47,3 @@ "devDependencies": { | ||
"@babel/preset-typescript": "^7.13.0", | ||
"@emotion/styled": "^11.3.0", | ||
"@types/lodash": "^4.14.129", | ||
@@ -48,3 +53,3 @@ "@types/vfile-message": "1.x", | ||
"babel-plugin-import": "^1.13.1", | ||
"dumi": "^1.0.38", | ||
"dumi": "^1.1.18", | ||
"father-build": "^1.17.2", | ||
@@ -51,0 +56,0 @@ "jest": "^26.6.3", |
30046
19
769
3
12
+ Added@emotion/react@^11.4.0
+ Addedgh-pages@^3.2.3
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/generator@7.26.5(transitive)
+ Added@babel/helper-module-imports@7.25.9(transitive)
+ Added@babel/helper-string-parser@7.25.9(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@babel/parser@7.26.7(transitive)
+ Added@babel/template@7.25.9(transitive)
+ Added@babel/traverse@7.26.7(transitive)
+ Added@babel/types@7.26.7(transitive)
+ Added@emotion/babel-plugin@11.13.5(transitive)
+ Added@emotion/cache@11.14.0(transitive)
+ Added@emotion/hash@0.9.2(transitive)
+ Added@emotion/memoize@0.9.0(transitive)
+ Added@emotion/react@11.14.0(transitive)
+ Added@emotion/serialize@1.3.3(transitive)
+ Added@emotion/sheet@1.4.0(transitive)
+ Added@emotion/unitless@0.10.0(transitive)
+ Added@emotion/use-insertion-effect-with-fallbacks@1.2.0(transitive)
+ Added@emotion/utils@1.4.2(transitive)
+ Added@emotion/weak-memoize@0.4.0(transitive)
+ Added@jridgewell/gen-mapping@0.3.8(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/set-array@1.2.1(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.25(transitive)
+ Added@types/parse-json@4.0.2(transitive)
+ Addedarray-union@1.0.2(transitive)
+ Addedarray-uniq@1.0.3(transitive)
+ Addedasync@2.6.4(transitive)
+ Addedbabel-plugin-macros@3.1.0(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedcallsites@3.1.0(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcommondir@1.0.1(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedconvert-source-map@1.9.0(transitive)
+ Addedcosmiconfig@7.1.0(transitive)
+ Addedcsstype@3.1.3(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addedemail-addresses@3.1.0(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addedescape-string-regexp@1.0.54.0.0(transitive)
+ Addedfilename-reserved-regex@2.0.0(transitive)
+ Addedfilenamify@4.3.0(transitive)
+ Addedfind-cache-dir@3.3.2(transitive)
+ Addedfind-root@1.1.0(transitive)
+ Addedfind-up@4.1.0(transitive)
+ Addedfs-extra@8.1.0(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedgh-pages@3.2.3(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedglobals@11.12.0(transitive)
+ Addedglobby@6.1.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhoist-non-react-statics@3.3.2(transitive)
+ Addedimport-fresh@3.3.0(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedis-core-module@2.16.1(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedjsesc@3.1.0(transitive)
+ Addedjson-parse-even-better-errors@2.3.1(transitive)
+ Addedjsonfile@4.0.0(transitive)
+ Addedlines-and-columns@1.2.4(transitive)
+ Addedlocate-path@5.0.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedmake-dir@3.1.0(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedms@2.1.3(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedp-limit@2.3.0(transitive)
+ Addedp-locate@4.1.0(transitive)
+ Addedp-try@2.2.0(transitive)
+ Addedparent-module@1.0.1(transitive)
+ Addedparse-json@5.2.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpath-type@4.0.0(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpify@2.3.0(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedpkg-dir@4.2.0(transitive)
+ Addedreact@19.0.0(transitive)
+ Addedreact-is@16.13.1(transitive)
+ Addedresolve@1.22.10(transitive)
+ Addedresolve-from@4.0.0(transitive)
+ Addedsemver@6.3.1(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addedstrip-outer@1.0.1(transitive)
+ Addedstylis@4.2.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedtrim-repeated@1.0.0(transitive)
+ Addeduniversalify@0.1.2(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedyaml@1.10.2(transitive)