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

react-children-utilities

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-children-utilities - npm Package Compare versions

Comparing version 2.0.0-beta.2 to 2.0.0-rc.0

docs/_includes/content-table.html

2

.eslintrc.json

@@ -10,2 +10,3 @@ {

],
"plugins": ["prettier"],
"parserOptions": { "project": "./tsconfig.all.json" },

@@ -16,4 +17,5 @@ "env": { "browser": true },

"jest/prefer-expect-assertions": "off",
"prettier/prettier": "error",
"react/jsx-filename-extension": ["error", { "extensions": [".tsx"] }]
}
}

16

coverage/coverage-final.json
{"/Users/fernandopasik/Sites/react-children-utilities/src/react-children-utilities.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/react-children-utilities.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":7}},"2":{"start":{"line":14,"column":2},"end":{"line":3,"column":42}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":7}},"4":{"start":{"line":15,"column":2},"end":{"line":4,"column":38}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":7}},"6":{"start":{"line":16,"column":2},"end":{"line":5,"column":44}},"7":{"start":{"line":6,"column":0},"end":{"line":6,"column":7}},"8":{"start":{"line":17,"column":2},"end":{"line":6,"column":36}},"9":{"start":{"line":7,"column":0},"end":{"line":7,"column":7}},"10":{"start":{"line":18,"column":2},"end":{"line":7,"column":34}},"11":{"start":{"line":8,"column":0},"end":{"line":8,"column":7}},"12":{"start":{"line":19,"column":2},"end":{"line":8,"column":44}},"13":{"start":{"line":9,"column":0},"end":{"line":9,"column":7}},"14":{"start":{"line":20,"column":2},"end":{"line":9,"column":44}},"15":{"start":{"line":10,"column":0},"end":{"line":10,"column":7}},"16":{"start":{"line":21,"column":2},"end":{"line":10,"column":58}},"17":{"start":{"line":11,"column":0},"end":{"line":11,"column":7}},"18":{"start":{"line":22,"column":2},"end":{"line":11,"column":38}},"19":{"start":{"line":25,"column":0},"end":{"line":35,"column":null}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1},"f":{},"b":{}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepFilter.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepFilter.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":72}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":54}},"2":{"start":{"line":8,"column":19},"end":{"line":21,"column":1}},"3":{"start":{"line":9,"column":2},"end":{"line":20,"column":7}},"4":{"start":{"line":12,"column":6},"end":{"line":18,"column":null}},"5":{"start":{"line":14,"column":8},"end":{"line":17,"column":11}},"6":{"start":{"line":19,"column":6},"end":{"line":19,"column":19}},"7":{"start":{"line":23,"column":0},"end":{"line":23,"column":26}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":19},"end":{"line":8,"column":20}},"loc":{"start":{"line":8,"column":86},"end":{"line":21,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":11,"column":9},"end":{"line":11,"column":10}},"loc":{"start":{"line":11,"column":30},"end":{"line":20,"column":5}}}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":6},"end":{"line":18,"column":null}},"type":"if","locations":[{"start":{"line":12,"column":6},"end":{"line":18,"column":null}},{"start":{"line":12,"column":6},"end":{"line":18,"column":null}}]}},"s":{"0":2,"1":2,"2":2,"3":8,"4":13,"5":4,"6":9,"7":2},"f":{"0":8,"1":13},"b":{"0":[4,9]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepFind.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepFind.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":54}},"2":{"start":{"line":8,"column":17},"end":{"line":23,"column":1}},"3":{"start":{"line":10,"column":2},"end":{"line":21,"column":5}},"4":{"start":{"line":11,"column":4},"end":{"line":15,"column":null}},"5":{"start":{"line":13,"column":6},"end":{"line":13,"column":75}},"6":{"start":{"line":14,"column":6},"end":{"line":14,"column":42}},"7":{"start":{"line":16,"column":4},"end":{"line":19,"column":null}},"8":{"start":{"line":17,"column":6},"end":{"line":17,"column":20}},"9":{"start":{"line":18,"column":6},"end":{"line":18,"column":18}},"10":{"start":{"line":20,"column":4},"end":{"line":20,"column":17}},"11":{"start":{"line":22,"column":2},"end":{"line":22,"column":15}},"12":{"start":{"line":25,"column":0},"end":{"line":25,"column":24}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":17},"end":{"line":8,"column":18}},"loc":{"start":{"line":8,"column":90},"end":{"line":23,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":10,"column":34},"end":{"line":10,"column":35}},"loc":{"start":{"line":10,"column":55},"end":{"line":21,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":11,"column":4},"end":{"line":15,"column":null}},"type":"if","locations":[{"start":{"line":11,"column":4},"end":{"line":15,"column":null}},{"start":{"line":11,"column":4},"end":{"line":15,"column":null}}]},"1":{"loc":{"start":{"line":16,"column":4},"end":{"line":19,"column":null}},"type":"if","locations":[{"start":{"line":16,"column":4},"end":{"line":19,"column":null}},{"start":{"line":16,"column":4},"end":{"line":19,"column":null}}]}},"s":{"0":2,"1":2,"2":2,"3":4,"4":7,"5":1,"6":1,"7":6,"8":2,"9":2,"10":4,"11":4,"12":2},"f":{"0":4,"1":7},"b":{"0":[1,6],"1":[2,4]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepForEach.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepForEach.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":54}},"2":{"start":{"line":8,"column":20},"end":{"line":16,"column":1}},"3":{"start":{"line":9,"column":2},"end":{"line":15,"column":5}},"4":{"start":{"line":10,"column":4},"end":{"line":13,"column":null}},"5":{"start":{"line":12,"column":6},"end":{"line":12,"column":73}},"6":{"start":{"line":14,"column":4},"end":{"line":14,"column":25}},"7":{"start":{"line":18,"column":0},"end":{"line":18,"column":27}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":20},"end":{"line":8,"column":21}},"loc":{"start":{"line":8,"column":82},"end":{"line":16,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":9,"column":29},"end":{"line":9,"column":30}},"loc":{"start":{"line":9,"column":50},"end":{"line":15,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":10,"column":4},"end":{"line":13,"column":null}},"type":"if","locations":[{"start":{"line":10,"column":4},"end":{"line":13,"column":null}},{"start":{"line":10,"column":4},"end":{"line":13,"column":null}}]}},"s":{"0":2,"1":2,"2":2,"3":6,"4":11,"5":3,"6":11,"7":2},"f":{"0":6,"1":11},"b":{"0":[3,8]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepMap.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepMap.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":72}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":54}},"2":{"start":{"line":8,"column":16},"end":{"line":21,"column":1}},"3":{"start":{"line":9,"column":2},"end":{"line":20,"column":5}},"4":{"start":{"line":10,"column":4},"end":{"line":18,"column":null}},"5":{"start":{"line":12,"column":6},"end":{"line":17,"column":8}},"6":{"start":{"line":19,"column":4},"end":{"line":19,"column":28}},"7":{"start":{"line":23,"column":0},"end":{"line":23,"column":23}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":16},"end":{"line":8,"column":17}},"loc":{"start":{"line":8,"column":77},"end":{"line":21,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":9,"column":32},"end":{"line":9,"column":33}},"loc":{"start":{"line":9,"column":53},"end":{"line":20,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":10,"column":4},"end":{"line":18,"column":null}},"type":"if","locations":[{"start":{"line":10,"column":4},"end":{"line":18,"column":null}},{"start":{"line":10,"column":4},"end":{"line":18,"column":null}}]}},"s":{"0":2,"1":2,"2":2,"3":6,"4":10,"5":3,"6":7,"7":2},"f":{"0":6,"1":10},"b":{"0":[3,7]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepFilter.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepFilter.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":74}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":54}},"2":{"start":{"line":8,"column":19},"end":{"line":21,"column":1}},"3":{"start":{"line":9,"column":2},"end":{"line":20,"column":7}},"4":{"start":{"line":12,"column":6},"end":{"line":18,"column":null}},"5":{"start":{"line":14,"column":8},"end":{"line":17,"column":11}},"6":{"start":{"line":19,"column":6},"end":{"line":19,"column":19}},"7":{"start":{"line":23,"column":0},"end":{"line":23,"column":26}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":19},"end":{"line":8,"column":20}},"loc":{"start":{"line":8,"column":86},"end":{"line":21,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":11,"column":9},"end":{"line":11,"column":10}},"loc":{"start":{"line":11,"column":30},"end":{"line":20,"column":5}}}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":6},"end":{"line":18,"column":null}},"type":"if","locations":[{"start":{"line":12,"column":6},"end":{"line":18,"column":null}},{"start":{"line":12,"column":6},"end":{"line":18,"column":null}}]},"1":{"loc":{"start":{"line":12,"column":10},"end":{"line":12,"column":31}},"type":"binary-expr","locations":[{"start":{"line":12,"column":10},"end":{"line":12,"column":31}},{"start":{"line":12,"column":35},"end":{"line":12,"column":60}}]}},"s":{"0":2,"1":2,"2":2,"3":8,"4":13,"5":4,"6":9,"7":2},"f":{"0":8,"1":13},"b":{"0":[4,9],"1":[13,13]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepFind.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepFind.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":60}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":54}},"2":{"start":{"line":8,"column":17},"end":{"line":27,"column":1}},"3":{"start":{"line":11,"column":2},"end":{"line":24,"column":5}},"4":{"start":{"line":12,"column":4},"end":{"line":16,"column":null}},"5":{"start":{"line":14,"column":6},"end":{"line":14,"column":57}},"6":{"start":{"line":15,"column":6},"end":{"line":15,"column":42}},"7":{"start":{"line":18,"column":4},"end":{"line":21,"column":null}},"8":{"start":{"line":19,"column":6},"end":{"line":19,"column":20}},"9":{"start":{"line":20,"column":6},"end":{"line":20,"column":18}},"10":{"start":{"line":23,"column":4},"end":{"line":23,"column":17}},"11":{"start":{"line":26,"column":2},"end":{"line":26,"column":15}},"12":{"start":{"line":29,"column":0},"end":{"line":29,"column":24}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":17},"end":{"line":8,"column":18}},"loc":{"start":{"line":8,"column":90},"end":{"line":27,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":11,"column":34},"end":{"line":11,"column":35}},"loc":{"start":{"line":11,"column":55},"end":{"line":24,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":4},"end":{"line":16,"column":null}},"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":16,"column":null}},{"start":{"line":12,"column":4},"end":{"line":16,"column":null}}]},"1":{"loc":{"start":{"line":12,"column":8},"end":{"line":12,"column":29}},"type":"binary-expr","locations":[{"start":{"line":12,"column":8},"end":{"line":12,"column":29}},{"start":{"line":12,"column":33},"end":{"line":12,"column":58}}]},"2":{"loc":{"start":{"line":18,"column":4},"end":{"line":21,"column":null}},"type":"if","locations":[{"start":{"line":18,"column":4},"end":{"line":21,"column":null}},{"start":{"line":18,"column":4},"end":{"line":21,"column":null}}]}},"s":{"0":2,"1":2,"2":2,"3":4,"4":7,"5":1,"6":1,"7":6,"8":2,"9":2,"10":4,"11":4,"12":2},"f":{"0":4,"1":7},"b":{"0":[1,6],"1":[7,7],"2":[2,4]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepForEach.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepForEach.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":60}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":54}},"2":{"start":{"line":8,"column":20},"end":{"line":16,"column":1}},"3":{"start":{"line":9,"column":2},"end":{"line":15,"column":5}},"4":{"start":{"line":10,"column":4},"end":{"line":13,"column":null}},"5":{"start":{"line":12,"column":6},"end":{"line":12,"column":55}},"6":{"start":{"line":14,"column":4},"end":{"line":14,"column":25}},"7":{"start":{"line":18,"column":0},"end":{"line":18,"column":27}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":20},"end":{"line":8,"column":21}},"loc":{"start":{"line":8,"column":82},"end":{"line":16,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":9,"column":29},"end":{"line":9,"column":30}},"loc":{"start":{"line":9,"column":50},"end":{"line":15,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":10,"column":4},"end":{"line":13,"column":null}},"type":"if","locations":[{"start":{"line":10,"column":4},"end":{"line":13,"column":null}},{"start":{"line":10,"column":4},"end":{"line":13,"column":null}}]},"1":{"loc":{"start":{"line":10,"column":8},"end":{"line":10,"column":29}},"type":"binary-expr","locations":[{"start":{"line":10,"column":8},"end":{"line":10,"column":29}},{"start":{"line":10,"column":33},"end":{"line":10,"column":58}}]}},"s":{"0":2,"1":2,"2":2,"3":6,"4":11,"5":3,"6":11,"7":2},"f":{"0":6,"1":11},"b":{"0":[3,8],"1":[11,10]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepMap.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/deepMap.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":74}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":54}},"2":{"start":{"line":8,"column":16},"end":{"line":21,"column":1}},"3":{"start":{"line":9,"column":2},"end":{"line":20,"column":5}},"4":{"start":{"line":10,"column":4},"end":{"line":18,"column":null}},"5":{"start":{"line":12,"column":6},"end":{"line":17,"column":8}},"6":{"start":{"line":19,"column":4},"end":{"line":19,"column":28}},"7":{"start":{"line":23,"column":0},"end":{"line":23,"column":23}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":16},"end":{"line":8,"column":17}},"loc":{"start":{"line":8,"column":77},"end":{"line":21,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":9,"column":32},"end":{"line":9,"column":33}},"loc":{"start":{"line":9,"column":53},"end":{"line":20,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":10,"column":4},"end":{"line":18,"column":null}},"type":"if","locations":[{"start":{"line":10,"column":4},"end":{"line":18,"column":null}},{"start":{"line":10,"column":4},"end":{"line":18,"column":null}}]},"1":{"loc":{"start":{"line":10,"column":8},"end":{"line":10,"column":29}},"type":"binary-expr","locations":[{"start":{"line":10,"column":8},"end":{"line":10,"column":29}},{"start":{"line":10,"column":33},"end":{"line":10,"column":58}}]}},"s":{"0":2,"1":2,"2":2,"3":6,"4":10,"5":3,"6":7,"7":2},"f":{"0":6,"1":10},"b":{"0":[3,7],"1":[10,9]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/filter.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/filter.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":44}},"1":{"start":{"line":7,"column":15},"end":{"line":9,"column":1}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":53}},"3":{"start":{"line":11,"column":0},"end":{"line":11,"column":22}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":15},"end":{"line":7,"column":16}},"loc":{"start":{"line":7,"column":78},"end":{"line":9,"column":1}}}},"branchMap":{},"s":{"0":2,"1":2,"2":4,"3":2},"f":{"0":4},"b":{}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/groupByType.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/groupByType.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":74}},"1":{"start":{"line":7,"column":20},"end":{"line":28,"column":1}},"2":{"start":{"line":12,"column":2},"end":{"line":27,"column":9}},"3":{"start":{"line":13,"column":22},"end":{"line":13,"column":73}},"4":{"start":{"line":14,"column":21},"end":{"line":14,"column":79}},"5":{"start":{"line":15,"column":16},"end":{"line":15,"column":63}},"6":{"start":{"line":17,"column":4},"end":{"line":19,"column":null}},"7":{"start":{"line":18,"column":6},"end":{"line":18,"column":20}},"8":{"start":{"line":21,"column":18},"end":{"line":21,"column":29}},"9":{"start":{"line":23,"column":4},"end":{"line":25,"column":null}},"10":{"start":{"line":30,"column":0},"end":{"line":30,"column":27}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":20},"end":{"line":7,"column":null}},"loc":{"start":{"line":11,"column":21},"end":{"line":28,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":43},"end":{"line":12,"column":44}},"loc":{"start":{"line":12,"column":89},"end":{"line":27,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":23},"end":{"line":9,"column":25}},"type":"default-arg","locations":[{"start":{"line":9,"column":23},"end":{"line":9,"column":25}}]},"1":{"loc":{"start":{"line":10,"column":9},"end":{"line":10,"column":15}},"type":"default-arg","locations":[{"start":{"line":10,"column":9},"end":{"line":10,"column":15}}]},"2":{"loc":{"start":{"line":13,"column":22},"end":{"line":13,"column":43}},"type":"binary-expr","locations":[{"start":{"line":13,"column":22},"end":{"line":13,"column":43}},{"start":{"line":13,"column":47},"end":{"line":13,"column":73}}]},"3":{"loc":{"start":{"line":14,"column":34},"end":{"line":14,"column":71}},"type":"cond-expr","locations":[{"start":{"line":14,"column":34},"end":{"line":14,"column":71}},{"start":{"line":14,"column":74},"end":{"line":14,"column":79}}]},"4":{"loc":{"start":{"line":15,"column":29},"end":{"line":15,"column":56}},"type":"cond-expr","locations":[{"start":{"line":15,"column":29},"end":{"line":15,"column":56}},{"start":{"line":15,"column":59},"end":{"line":15,"column":63}}]},"5":{"loc":{"start":{"line":17,"column":4},"end":{"line":19,"column":null}},"type":"if","locations":[{"start":{"line":17,"column":4},"end":{"line":19,"column":null}},{"start":{"line":17,"column":4},"end":{"line":19,"column":null}}]},"6":{"loc":{"start":{"line":25,"column":18},"end":{"line":25,"column":23}},"type":"binary-expr","locations":[{"start":{"line":25,"column":18},"end":{"line":25,"column":23}},{"start":{"line":25,"column":27},"end":{"line":25,"column":29}}]}},"s":{"0":2,"1":2,"2":3,"3":9,"4":9,"5":9,"6":9,"7":0,"8":9,"9":9,"10":2},"f":{"0":3,"1":9},"b":{"0":[0],"1":[0],"2":[9,9],"3":[6,3],"4":[6,3],"5":[0,9],"6":[9,6]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/hasChildren.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/hasChildren.ts","statementMap":{"0":{"start":{"line":3,"column":20},"end":{"line":4,"column":91}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":91}},"2":{"start":{"line":6,"column":0},"end":{"line":6,"column":27}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":3,"column":20},"end":{"line":3,"column":21}},"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":91}}}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":10},"end":{"line":4,"column":15}},"type":"binary-expr","locations":[{"start":{"line":4,"column":10},"end":{"line":4,"column":15}},{"start":{"line":4,"column":20},"end":{"line":4,"column":48}},{"start":{"line":4,"column":53},"end":{"line":4,"column":90}}]}},"s":{"0":8,"1":71,"2":8},"f":{"0":71},"b":{"0":[71,71,65]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/hasComplexChildren.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/hasComplexChildren.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":74}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":40}},"2":{"start":{"line":5,"column":27},"end":{"line":9,"column":null}},"3":{"start":{"line":6,"column":2},"end":{"line":9,"column":null}},"4":{"start":{"line":8,"column":45},"end":{"line":8,"column":78}},"5":{"start":{"line":12,"column":0},"end":{"line":12,"column":34}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":27},"end":{"line":5,"column":28}},"loc":{"start":{"line":6,"column":2},"end":{"line":9,"column":null}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":8,"column":4},"end":{"line":8,"column":5}},"loc":{"start":{"line":8,"column":45},"end":{"line":8,"column":78}}}},"branchMap":{"0":{"loc":{"start":{"line":6,"column":2},"end":{"line":6,"column":22}},"type":"binary-expr","locations":[{"start":{"line":6,"column":2},"end":{"line":6,"column":22}},{"start":{"line":7,"column":2},"end":{"line":9,"column":null}}]},"1":{"loc":{"start":{"line":8,"column":45},"end":{"line":8,"column":53}},"type":"binary-expr","locations":[{"start":{"line":8,"column":45},"end":{"line":8,"column":53}},{"start":{"line":8,"column":57},"end":{"line":8,"column":78}}]}},"s":{"0":6,"1":6,"2":6,"3":50,"4":52,"5":6},"f":{"0":50,"1":52},"b":{"0":[50,45],"1":[52,46]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/onlyText.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/onlyText.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":85}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":40}},"2":{"start":{"line":4,"column":22},"end":{"line":10,"column":1}},"3":{"start":{"line":5,"column":2},"end":{"line":7,"column":null}},"4":{"start":{"line":6,"column":4},"end":{"line":6,"column":14}},"5":{"start":{"line":9,"column":2},"end":{"line":9,"column":26}},"6":{"start":{"line":12,"column":17},"end":{"line":28,"column":1}},"7":{"start":{"line":13,"column":2},"end":{"line":15,"column":null}},"8":{"start":{"line":14,"column":4},"end":{"line":14,"column":35}},"9":{"start":{"line":17,"column":2},"end":{"line":27,"column":9}},"10":{"start":{"line":20,"column":4},"end":{"line":24,"column":null}},"11":{"start":{"line":21,"column":6},"end":{"line":21,"column":37}},"12":{"start":{"line":23,"column":6},"end":{"line":23,"column":65}},"13":{"start":{"line":26,"column":4},"end":{"line":26,"column":32}},"14":{"start":{"line":30,"column":0},"end":{"line":30,"column":24}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":4,"column":22},"end":{"line":4,"column":23}},"loc":{"start":{"line":4,"column":85},"end":{"line":10,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":12,"column":17},"end":{"line":12,"column":18}},"loc":{"start":{"line":12,"column":49},"end":{"line":28,"column":1}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":17,"column":43},"end":{"line":17,"column":44}},"loc":{"start":{"line":17,"column":86},"end":{"line":27,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":2},"end":{"line":7,"column":null}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":7,"column":null}},{"start":{"line":5,"column":2},"end":{"line":7,"column":null}}]},"1":{"loc":{"start":{"line":5,"column":6},"end":{"line":5,"column":34}},"type":"binary-expr","locations":[{"start":{"line":5,"column":6},"end":{"line":5,"column":34}},{"start":{"line":5,"column":38},"end":{"line":5,"column":52}},{"start":{"line":5,"column":56},"end":{"line":5,"column":82}}]},"2":{"loc":{"start":{"line":13,"column":2},"end":{"line":15,"column":null}},"type":"if","locations":[{"start":{"line":13,"column":2},"end":{"line":15,"column":null}},{"start":{"line":13,"column":2},"end":{"line":15,"column":null}}]},"3":{"loc":{"start":{"line":13,"column":6},"end":{"line":13,"column":34}},"type":"binary-expr","locations":[{"start":{"line":13,"column":6},"end":{"line":13,"column":34}},{"start":{"line":13,"column":38},"end":{"line":13,"column":63}}]},"4":{"loc":{"start":{"line":20,"column":4},"end":{"line":24,"column":null}},"type":"if","locations":[{"start":{"line":20,"column":4},"end":{"line":24,"column":null}},{"start":{"line":20,"column":4},"end":{"line":24,"column":null}}]}},"s":{"0":2,"1":2,"2":2,"3":16,"4":4,"5":12,"6":2,"7":17,"8":12,"9":5,"10":12,"11":4,"12":8,"13":12,"14":2},"f":{"0":16,"1":17,"2":12},"b":{"0":[4,12],"1":[16,15,14],"2":[12,5],"3":[17,13],"4":[4,8]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/groupByType.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/groupByType.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":60}},"1":{"start":{"line":7,"column":20},"end":{"line":23,"column":1}},"2":{"start":{"line":12,"column":2},"end":{"line":22,"column":9}},"3":{"start":{"line":13,"column":19},"end":{"line":13,"column":35}},"4":{"start":{"line":15,"column":4},"end":{"line":19,"column":null}},"5":{"start":{"line":16,"column":6},"end":{"line":16,"column":72}},"6":{"start":{"line":18,"column":6},"end":{"line":18,"column":60}},"7":{"start":{"line":21,"column":4},"end":{"line":21,"column":21}},"8":{"start":{"line":25,"column":0},"end":{"line":25,"column":27}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":20},"end":{"line":7,"column":null}},"loc":{"start":{"line":11,"column":21},"end":{"line":23,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":43},"end":{"line":12,"column":44}},"loc":{"start":{"line":12,"column":89},"end":{"line":22,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":23},"end":{"line":9,"column":25}},"type":"default-arg","locations":[{"start":{"line":9,"column":23},"end":{"line":9,"column":25}}]},"1":{"loc":{"start":{"line":10,"column":9},"end":{"line":10,"column":15}},"type":"default-arg","locations":[{"start":{"line":10,"column":9},"end":{"line":10,"column":15}}]},"2":{"loc":{"start":{"line":15,"column":4},"end":{"line":19,"column":null}},"type":"if","locations":[{"start":{"line":15,"column":4},"end":{"line":19,"column":null}},{"start":{"line":15,"column":4},"end":{"line":19,"column":null}}]},"3":{"loc":{"start":{"line":15,"column":8},"end":{"line":15,"column":29}},"type":"binary-expr","locations":[{"start":{"line":15,"column":8},"end":{"line":15,"column":29}},{"start":{"line":15,"column":33},"end":{"line":15,"column":63}},{"start":{"line":15,"column":67},"end":{"line":15,"column":93}}]},"4":{"loc":{"start":{"line":16,"column":35},"end":{"line":16,"column":56}},"type":"binary-expr","locations":[{"start":{"line":16,"column":35},"end":{"line":16,"column":56}},{"start":{"line":16,"column":60},"end":{"line":16,"column":62}}]},"5":{"loc":{"start":{"line":18,"column":29},"end":{"line":18,"column":44}},"type":"binary-expr","locations":[{"start":{"line":18,"column":29},"end":{"line":18,"column":44}},{"start":{"line":18,"column":48},"end":{"line":18,"column":50}}]}},"s":{"0":2,"1":2,"2":10,"3":17,"4":17,"5":6,"6":11,"7":17,"8":2},"f":{"0":10,"1":17},"b":{"0":[1],"1":[9],"2":[6,11],"3":[17,11,11],"4":[6,4],"5":[11,6]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/hasChildren.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/hasChildren.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":50}},"1":{"start":{"line":3,"column":20},"end":{"line":4,"column":60}},"2":{"start":{"line":4,"column":2},"end":{"line":4,"column":60}},"3":{"start":{"line":6,"column":0},"end":{"line":6,"column":27}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":3,"column":20},"end":{"line":3,"column":21}},"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":60}}}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":25}},"type":"binary-expr","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":25}},{"start":{"line":4,"column":29},"end":{"line":4,"column":60}}]}},"s":{"0":8,"1":8,"2":65,"3":8},"f":{"0":65},"b":{"0":[65,65]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/hasComplexChildren.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/hasComplexChildren.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":60}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":40}},"2":{"start":{"line":5,"column":27},"end":{"line":10,"column":null}},"3":{"start":{"line":6,"column":2},"end":{"line":10,"column":null}},"4":{"start":{"line":9,"column":45},"end":{"line":9,"column":78}},"5":{"start":{"line":13,"column":0},"end":{"line":13,"column":34}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":27},"end":{"line":5,"column":28}},"loc":{"start":{"line":6,"column":2},"end":{"line":10,"column":null}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":9,"column":4},"end":{"line":9,"column":5}},"loc":{"start":{"line":9,"column":45},"end":{"line":9,"column":78}}}},"branchMap":{"0":{"loc":{"start":{"line":6,"column":2},"end":{"line":6,"column":25}},"type":"binary-expr","locations":[{"start":{"line":6,"column":2},"end":{"line":6,"column":25}},{"start":{"line":7,"column":2},"end":{"line":7,"column":22}},{"start":{"line":8,"column":2},"end":{"line":10,"column":null}}]},"1":{"loc":{"start":{"line":9,"column":45},"end":{"line":9,"column":53}},"type":"binary-expr","locations":[{"start":{"line":9,"column":45},"end":{"line":9,"column":53}},{"start":{"line":9,"column":57},"end":{"line":9,"column":78}}]}},"s":{"0":6,"1":6,"2":6,"3":48,"4":52,"5":6},"f":{"0":48,"1":52},"b":{"0":[48,48,45],"1":[52,46]}}
,"/Users/fernandopasik/Sites/react-children-utilities/src/lib/onlyText.ts": {"path":"/Users/fernandopasik/Sites/react-children-utilities/src/lib/onlyText.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":71}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":40}},"2":{"start":{"line":4,"column":22},"end":{"line":10,"column":1}},"3":{"start":{"line":5,"column":2},"end":{"line":7,"column":null}},"4":{"start":{"line":6,"column":4},"end":{"line":6,"column":14}},"5":{"start":{"line":9,"column":2},"end":{"line":9,"column":26}},"6":{"start":{"line":12,"column":17},"end":{"line":28,"column":1}},"7":{"start":{"line":13,"column":2},"end":{"line":15,"column":null}},"8":{"start":{"line":14,"column":4},"end":{"line":14,"column":35}},"9":{"start":{"line":17,"column":2},"end":{"line":27,"column":9}},"10":{"start":{"line":20,"column":4},"end":{"line":24,"column":null}},"11":{"start":{"line":21,"column":6},"end":{"line":21,"column":47}},"12":{"start":{"line":23,"column":6},"end":{"line":23,"column":37}},"13":{"start":{"line":26,"column":4},"end":{"line":26,"column":32}},"14":{"start":{"line":30,"column":0},"end":{"line":30,"column":24}}},"fnMap":{"0":{"name":"(anonymous_1)","decl":{"start":{"line":4,"column":22},"end":{"line":4,"column":23}},"loc":{"start":{"line":4,"column":85},"end":{"line":10,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":12,"column":17},"end":{"line":12,"column":18}},"loc":{"start":{"line":12,"column":49},"end":{"line":28,"column":1}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":17,"column":43},"end":{"line":17,"column":44}},"loc":{"start":{"line":17,"column":86},"end":{"line":27,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":2},"end":{"line":7,"column":null}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":7,"column":null}},{"start":{"line":5,"column":2},"end":{"line":7,"column":null}}]},"1":{"loc":{"start":{"line":5,"column":6},"end":{"line":5,"column":34}},"type":"binary-expr","locations":[{"start":{"line":5,"column":6},"end":{"line":5,"column":34}},{"start":{"line":5,"column":38},"end":{"line":5,"column":52}},{"start":{"line":5,"column":56},"end":{"line":5,"column":82}}]},"2":{"loc":{"start":{"line":13,"column":2},"end":{"line":15,"column":null}},"type":"if","locations":[{"start":{"line":13,"column":2},"end":{"line":15,"column":null}},{"start":{"line":13,"column":2},"end":{"line":15,"column":null}}]},"3":{"loc":{"start":{"line":13,"column":6},"end":{"line":13,"column":34}},"type":"binary-expr","locations":[{"start":{"line":13,"column":6},"end":{"line":13,"column":34}},{"start":{"line":13,"column":38},"end":{"line":13,"column":63}}]},"4":{"loc":{"start":{"line":20,"column":4},"end":{"line":24,"column":null}},"type":"if","locations":[{"start":{"line":20,"column":4},"end":{"line":24,"column":null}},{"start":{"line":20,"column":4},"end":{"line":24,"column":null}}]},"5":{"loc":{"start":{"line":20,"column":8},"end":{"line":20,"column":29}},"type":"binary-expr","locations":[{"start":{"line":20,"column":8},"end":{"line":20,"column":29}},{"start":{"line":20,"column":33},"end":{"line":20,"column":51}}]}},"s":{"0":2,"1":2,"2":2,"3":16,"4":4,"5":12,"6":2,"7":17,"8":12,"9":5,"10":12,"11":8,"12":4,"13":12,"14":2},"f":{"0":16,"1":17,"2":12},"b":{"0":[4,12],"1":[16,15,14],"2":[12,5],"3":[17,13],"4":[8,4],"5":[12,8]}}
}

@@ -1,2 +0,2 @@

import { Children, cloneElement } from 'react';
import { Children, cloneElement, isValidElement } from 'react';
import hasComplexChildren from './hasComplexChildren';

@@ -7,3 +7,3 @@ const deepFilter = (children, deepFilterFn) => {

.map((child) => {
if (hasComplexChildren(child)) {
if (isValidElement(child) && hasComplexChildren(child)) {
// Clone the child that has children and filter them too

@@ -10,0 +10,0 @@ return cloneElement(child, Object.assign(Object.assign({}, child.props), { children: deepFilter(child.props.children, deepFilterFn) }));

@@ -1,2 +0,2 @@

import { Children } from 'react';
import { Children, isValidElement } from 'react';
import hasComplexChildren from './hasComplexChildren';

@@ -6,3 +6,3 @@ const deepFind = (children, deepFindFn) => {

Children.toArray(children).find((child) => {
if (hasComplexChildren(child)) {
if (isValidElement(child) && hasComplexChildren(child)) {
// Find inside the child that has children

@@ -9,0 +9,0 @@ found = deepFind(child.props.children, deepFindFn);

@@ -1,6 +0,6 @@

import { Children } from 'react';
import { Children, isValidElement } from 'react';
import hasComplexChildren from './hasComplexChildren';
const deepForEach = (children, deepForEachFn) => {
Children.forEach(children, (child) => {
if (hasComplexChildren(child)) {
if (isValidElement(child) && hasComplexChildren(child)) {
// Each inside the child that has children

@@ -7,0 +7,0 @@ deepForEach(child.props.children, deepForEachFn);

@@ -1,6 +0,6 @@

import { Children, cloneElement } from 'react';
import { Children, cloneElement, isValidElement } from 'react';
import hasComplexChildren from './hasComplexChildren';
const deepMap = (children, deepMapFn) => {
return Children.map(children, (child) => {
if (hasComplexChildren(child)) {
if (isValidElement(child) && hasComplexChildren(child)) {
// Clone the child that has children and map them too

@@ -7,0 +7,0 @@ return deepMapFn(cloneElement(child, Object.assign(Object.assign({}, child.props), { children: deepMap(child.props.children, deepMapFn) })));

import { Children, isValidElement } from 'react';
const groupByType = (children, types = [], rest = 'rest') => {
return Children.toArray(children).reduce((groups, child) => {
const isGrouped = isValidElement(child) && types.includes(child.type);
const addChild = isGrouped ? child.props.children : child;
const key = isGrouped ? child.type : rest;
if (typeof key !== 'string') {
return groups;
const newGroups = Object.assign({}, groups);
if (isValidElement(child) && typeof child.type === 'string' && types.includes(child.type)) {
newGroups[child.type] = [...(newGroups[child.type] || []), child];
}
const group = groups[key];
return Object.assign(Object.assign({}, groups), { [key]: [...(group || []), addChild] });
else {
newGroups[rest] = [...(newGroups[rest] || []), child];
}
return newGroups;
}, {});

@@ -13,0 +13,0 @@ };

import { ReactNode } from 'react';
declare const hasChildren: (child: ReactNode) => boolean;
declare const hasChildren: (element: ReactNode) => boolean;
export default hasChildren;
//# sourceMappingURL=hasChildren.d.ts.map

@@ -1,3 +0,4 @@

const hasChildren = (child) => Boolean(child && child.props && child.props.children);
import { isValidElement } from 'react';
const hasChildren = (element) => isValidElement(element) && Boolean(element.props.children);
export default hasChildren;
//# sourceMappingURL=hasChildren.js.map
import { Children, isValidElement } from 'react';
import hasChildren from './hasChildren';
const hasComplexChildren = (element) => hasChildren(element) &&
const hasComplexChildren = (element) => isValidElement(element) &&
hasChildren(element) &&
Children.toArray(element.props.children).reduce((response, child) => response || isValidElement(child), false);
export default hasComplexChildren;
//# sourceMappingURL=hasComplexChildren.js.map

@@ -15,7 +15,7 @@ import { Children, isValidElement } from 'react';

let newText;
if (!hasChildren(child)) {
newText = childToString(child);
if (isValidElement(child) && hasChildren(child)) {
newText = onlyText(child.props.children);
}
else {
newText = onlyText(child.props.children);
newText = childToString(child);
}

@@ -22,0 +22,0 @@ return text.concat(newText);

{
"name": "react-children-utilities",
"version": "2.0.0-beta.2",
"version": "2.0.0-rc.0",
"description": "Extended utils for React.Children opaque data structure",

@@ -42,2 +42,3 @@ "keywords": [

"test": "jest --coverage",
"thanks": "credits . --reporter markdown > THANKS.md",
"update:normalize": "cp -rf node_modules/normalize.css/normalize.css docs/_sass/normalize.scss",

@@ -53,9 +54,10 @@ "verify": "yarn lint && yarn check-types && yarn test && yarn build && yarn size",

"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.19",
"@types/jest": "^24.0.20",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.3",
"@typescript-eslint/eslint-plugin": "^2.5.0",
"@typescript-eslint/parser": "^2.5.0",
"@typescript-eslint/eslint-plugin": "^2.6.0",
"@typescript-eslint/parser": "^2.6.0",
"bundlesize": "^0.18.0",
"codecov": "^3.6.1",
"credits-cli": "^3.1.0",
"del-cli": "^3.0.0",

@@ -66,5 +68,5 @@ "enzyme": "^3.10.0",

"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.4.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.20.0",
"eslint-plugin-jest": "^23.0.2",
"eslint-plugin-jsx-a11y": "^6.2.3",

@@ -78,4 +80,4 @@ "eslint-plugin-prettier": "^3.1.1",

"jest": "^24.9.0",
"jest-environment-enzyme": "^7.1.1",
"jest-enzyme": "^7.1.1",
"jest-environment-enzyme": "^7.1.2",
"jest-enzyme": "^7.1.2",
"jest-junit": "^9.0.0",

@@ -90,3 +92,3 @@ "lint-staged": "^9.4.2",

"react-test-renderer": "^16.11.0",
"rollup": "^1.25.2",
"rollup": "^1.26.0",
"rollup-plugin-terser": "^5.1.2",

@@ -93,0 +95,0 @@ "ts-jest": "^24.1.0",

@@ -19,3 +19,3 @@ /// <reference types="react" />

groupByType: (children: import("react").ReactNode, types?: import("react").ReactNode[], rest?: string) => import("./lib/groupByType").GroupedChildren;
hasChildren: (child: import("react").ReactNode) => boolean;
hasChildren: (element: import("react").ReactNode) => boolean;
hasComplexChildren: (element: import("react").ReactNode) => boolean;

@@ -22,0 +22,0 @@ onlyText: (children: import("react").ReactNode) => string;

@@ -1,2 +0,2 @@

import{Children as e,isValidElement as t,cloneElement as r}from"react";const n=e=>Boolean(e&&e.t&&e.t.children),o=r=>n(r)&&e.toArray(r.t.children).reduce((e,r)=>e||t(r),!1),c=(t,n)=>e.toArray(t).filter(n).map(e=>o(e)?r(e,Object.assign(Object.assign({},e.t),{children:c(e.t.children,n)})):e),l=(t,r)=>{let n;return e.toArray(t).find(e=>o(e)?void 0!==(n=l(e.t.children,r)):!!r(e)&&(n=e,!0)),n},p=(t,r)=>{e.forEach(t,e=>{o(e)&&p(e.t.children,r),r(e)})},i=(t,n)=>e.map(t,e=>o(e)?n(r(e,Object.assign(Object.assign({},e.t),{children:i(e.t.children,n)}))):n(e)),a=(t,r)=>e.toArray(t).filter(r),d=(r,n=[],o="rest")=>e.toArray(r).reduce((e,r)=>{const c=t(r)&&n.includes(r.type),l=c?r.t.children:r,p=c?r.type:o;if("string"!=typeof p)return e;const i=e[p];return Object.assign(Object.assign({},e),{[p]:[...i||[],l]})},{}),b=e=>null==e||"boolean"==typeof e?"":e.toString(),j=r=>r instanceof Array||t(r)?e.toArray(r).reduce((e,t)=>{let r;return r=n(t)?j(t.t.children):b(t),e.concat(r)},""):b(r);var s=Object.assign(Object.assign({},e),{o:c,l:l,p:p,i:i,filter:a,j:d,s:n,O:o,h:j});export default s;export{c as deepFilter,l as deepFind,p as deepForEach,i as deepMap,a as filter,d as groupByType,n as hasChildren,o as hasComplexChildren,j as onlyText};
import{isValidElement as e,Children as t,cloneElement as r}from"react";const o=t=>e(t)&&Boolean(t.t.children),n=r=>e(r)&&o(r)&&t.toArray(r.t.children).reduce((t,r)=>t||e(r),!1),l=(o,c)=>t.toArray(o).filter(c).map(t=>e(t)&&n(t)?r(t,Object.assign(Object.assign({},t.t),{children:l(t.t.children,c)})):t),c=(r,o)=>{let l;return t.toArray(r).find(t=>e(t)&&n(t)?void 0!==(l=c(t.t.children,o)):!!o(t)&&(l=t,!0)),l},p=(r,o)=>{t.forEach(r,t=>{e(t)&&n(t)&&p(t.t.children,o),o(t)})},a=(o,l)=>t.map(o,t=>e(t)&&n(t)?l(r(t,Object.assign(Object.assign({},t.t),{children:a(t.t.children,l)}))):l(t)),d=(e,r)=>t.toArray(e).filter(r),i=(r,o=[],n="rest")=>t.toArray(r).reduce((t,r)=>{const l=Object.assign({},t);return e(r)&&"string"==typeof r.type&&o.includes(r.type)?l[r.type]=[...l[r.type]||[],r]:l[n]=[...l[n]||[],r],l},{}),b=e=>null==e||"boolean"==typeof e?"":e.toString(),h=r=>r instanceof Array||e(r)?t.toArray(r).reduce((t,r)=>{let n;return n=e(r)&&o(r)?h(r.t.children):b(r),t.concat(n)},""):b(r);var j=Object.assign(Object.assign({},t),{o:l,l:c,p:p,i:a,filter:d,h:i,j:o,s:n,O:h});export default j;export{l as deepFilter,c as deepFind,p as deepForEach,a as deepMap,d as filter,i as groupByType,o as hasChildren,n as hasComplexChildren,h as onlyText};
//# sourceMappingURL=react-children-utilities.min.js.map

@@ -1,2 +0,2 @@

import { Children, cloneElement, ReactElement, ReactNode } from 'react';
import { Children, cloneElement, isValidElement, ReactNode } from 'react';
import hasComplexChildren from './hasComplexChildren';

@@ -12,7 +12,7 @@

.map((child: ReactNode) => {
if (hasComplexChildren(child)) {
if (isValidElement(child) && hasComplexChildren(child)) {
// Clone the child that has children and filter them too
return cloneElement(child as ReactElement, {
...(child as ReactElement).props,
children: deepFilter((child as ReactElement).props.children, deepFilterFn),
return cloneElement(child, {
...child.props,
children: deepFilter(child.props.children, deepFilterFn),
});

@@ -19,0 +19,0 @@ }

@@ -1,2 +0,2 @@

import { Children, ReactNode, ReactElement } from 'react';
import { Children, isValidElement, ReactNode } from 'react';
import hasComplexChildren from './hasComplexChildren';

@@ -10,8 +10,10 @@

let found;
Children.toArray(children).find((child: ReactNode) => {
if (hasComplexChildren(child)) {
if (isValidElement(child) && hasComplexChildren(child)) {
// Find inside the child that has children
found = deepFind((child as ReactElement).props.children, deepFindFn);
found = deepFind(child.props.children, deepFindFn);
return typeof found !== 'undefined';
}
if (deepFindFn(child)) {

@@ -21,4 +23,6 @@ found = child;

}
return false;
});
return found;

@@ -25,0 +29,0 @@ };

@@ -1,2 +0,2 @@

import { Children, ReactElement, ReactNode } from 'react';
import { Children, isValidElement, ReactNode } from 'react';
import hasComplexChildren from './hasComplexChildren';

@@ -10,5 +10,5 @@

Children.forEach(children, (child: ReactNode) => {
if (hasComplexChildren(child)) {
if (isValidElement(child) && hasComplexChildren(child)) {
// Each inside the child that has children
deepForEach((child as ReactElement).props.children, deepForEachFn);
deepForEach(child.props.children, deepForEachFn);
}

@@ -15,0 +15,0 @@ deepForEachFn(child);

@@ -1,2 +0,2 @@

import { Children, cloneElement, ReactElement, ReactNode } from 'react';
import { Children, cloneElement, isValidElement, ReactNode } from 'react';
import hasComplexChildren from './hasComplexChildren';

@@ -10,8 +10,8 @@

return Children.map(children, (child: ReactNode) => {
if (hasComplexChildren(child)) {
if (isValidElement(child) && hasComplexChildren(child)) {
// Clone the child that has children and map them too
return deepMapFn(
cloneElement(child as ReactElement, {
...(child as ReactElement).props,
children: deepMap((child as ReactElement).props.children, deepMapFn),
cloneElement(child, {
...child.props,
children: deepMap(child.props.children, deepMapFn),
}),

@@ -18,0 +18,0 @@ );

@@ -1,2 +0,2 @@

import { Children, isValidElement, ReactNode, ReactElement } from 'react';
import { Children, isValidElement, ReactNode } from 'react';

@@ -13,16 +13,11 @@ export interface GroupedChildren {

return Children.toArray(children).reduce((groups: GroupedChildren, child: ReactNode) => {
const isGrouped = isValidElement(child) && types.includes(child.type);
const addChild = isGrouped ? (child as ReactElement).props.children : child;
const key = isGrouped ? (child as ReactElement).type : rest;
const newGroups = { ...groups };
if (typeof key !== 'string') {
return groups;
if (isValidElement(child) && typeof child.type === 'string' && types.includes(child.type)) {
newGroups[child.type] = [...(newGroups[child.type] || []), child];
} else {
newGroups[rest] = [...(newGroups[rest] || []), child];
}
const group = groups[key];
return {
...groups,
[key]: [...(group || []), addChild],
};
return newGroups;
}, {});

@@ -29,0 +24,0 @@ };

@@ -1,6 +0,6 @@

import { ReactNode, ReactElement } from 'react';
import { isValidElement, ReactNode } from 'react';
const hasChildren = (child: ReactNode): boolean =>
Boolean(child && (child as ReactElement).props && (child as ReactElement).props.children);
const hasChildren = (element: ReactNode): boolean =>
isValidElement(element) && Boolean(element.props.children);
export default hasChildren;

@@ -1,2 +0,2 @@

import { Children, isValidElement, ReactNode, ReactElement } from 'react';
import { Children, isValidElement, ReactNode } from 'react';

@@ -6,4 +6,5 @@ import hasChildren from './hasChildren';

const hasComplexChildren = (element: ReactNode): boolean =>
isValidElement(element) &&
hasChildren(element) &&
Children.toArray((element as ReactElement).props.children).reduce(
Children.toArray(element.props.children).reduce(
(response: boolean, child: ReactNode) => response || isValidElement(child),

@@ -10,0 +11,0 @@ false,

@@ -1,2 +0,2 @@

import { Children, ReactNode, ReactElement, ReactText, isValidElement } from 'react';
import { Children, isValidElement, ReactNode, ReactText } from 'react';
import hasChildren from './hasChildren';

@@ -20,6 +20,6 @@

if (!hasChildren(child)) {
if (isValidElement(child) && hasChildren(child)) {
newText = onlyText(child.props.children);
} else {
newText = childToString(child);
} else {
newText = onlyText((child as ReactElement).props.children);
}

@@ -26,0 +26,0 @@

# Credits for react-children-utilities
## react-children-utilities relies on the work of 231 people:
## react-children-utilities relies on the work of 232 people:

@@ -7,85 +7,118 @@

- **Sindre Sorhus** *sindresorhus@gmail.com* (125 packages)
- **Jon Schlinkert** *github@sellside.com* (61 packages)
- **Sindre Sorhus** *sindresorhus@gmail.com* (120 packages)
- **Jon Schlinkert** *github@sellside.com* (62 packages)
- **Jordan Harband** *ljharb@gmail.com* (30 packages)
- **Isaac Z. Schlueter** *isaacs@npmjs.com* (27 packages)
- **Jordan Harband** *ljharb@gmail.com* (26 packages)
- **John-David Dalton** *john.david.dalton@gmail.com* (17 packages)
- **Mario Nebl** *hello@herebecode.com* (15 packages)
- **John-David Dalton** *john.david.dalton@gmail.com* (15 packages)
- **Sebastian McKenzie** *sebmck@gmail.com* (14 packages)
- **James Halliday** *mail@substack.net* (13 packages)
- **Mathias Bynens** *mathias@qiwi.be* (10 packages)
- **Sebastian McKenzie** *sebmck@gmail.com* (11 packages)
- **Felix Böhm** *me@feedic.com* (10 packages)
- **Domenic Denicola** *domenic@domenicdenicola.com* (9 packages)
- **Rebecca Turner** *me@re-becca.org* (8 packages)
- **Benjamin Coe** *ben@npmjs.com* (8 packages)
- **Joshua Appelman** *jappelman@xebia.com* (8 packages)
- **JD Ballard** *i.am.qix@gmail.com* (7 packages)
- **Sam Verschueren** *sam.verschueren@gmail.com* (7 packages)
- **Mathias Buus** *mathiasbuus@gmail.com* (7 packages)
- **Domenic Denicola** *domenic@domenicdenicola.com* (8 packages)
- **Mikeal Rogers** *mikeal.rogers@gmail.com* (7 packages)
- **Joshua Appelman** *jappelman@xebia.com* (7 packages)
- **Benjamin Coe** *ben@npmjs.com* (7 packages)
- **Sam Verschueren** *sam.verschueren@gmail.com* (6 packages)
- **JD Ballard** *i.am.qix@gmail.com* (6 packages)
- **Steve Mao** *maochenyan@gmail.com* (6 packages)
- **Mathias Buus** *mathiasbuus@gmail.com* (6 packages)
- **Simon Lydell** (6 packages)
- **Feross Aboukhadijeh** *feross@feross.org* (5 packages)
- **Yusuke SUZUKI** *utatane.tea@gmail.com* (5 packages)
- **Krishnan Anantheswaran** *kananthmail-github@yahoo.com* (5 packages)
- **Simon Lydell** (5 packages)
- **Ben Newman** *bn@cs.stanford.edu* (4 packages)
- **Rich Harris** (4 packages)
- **Julian Gruber** *julian@juliangruber.com* (4 packages)
- **siddharthkp** (4 packages)
- **Logan Smyth** *loganfsmyth@gmail.com* (4 packages)
- **TJ Holowaychuk** *tj@vision-media.ca* (4 packages)
- **Ben Mosher** (4 packages)
- **TJ Holowaychuk** *tj@vision-media.ca* (4 packages)
- **Julian Gruber** *julian@juliangruber.com* (4 packages)
- **Feross Aboukhadijeh** *feross@feross.org* (4 packages)
- **George Zahariev** *z@georgezahariev.com* (4 packages)
- **Vsevolod Strukchinsky** *floatdrop@gmail.com* (3 packages)
- **Ingvar Stepanyan** *me@rreverser.com* (3 packages)
- **Forbes Lindesay** *forbes@lindesay.co.uk* (3 packages)
- **Nathan Rajlich** *nathan@tootallnate.net* (3 packages)
- **Evgeny Poberezkin** (3 packages)
- **Kevin Mårtensson** *kevinmartensson@gmail.com* (3 packages)
- Unknown (3 packages)
- **Felix Geisendörfer** *felix@debuggable.com* (3 packages)
- **James Talmage** *james@talmage.io* (3 packages)
- **Sebastian Mayr** *github@smayr.name* (3 packages)
- **Nicholas C. Zakas** *nicholas+npm@nczconsulting.com* (3 packages)
- **Elan Shanker** *elan.shanker+npm@gmail.com* (3 packages)
- **Jake Verbaten** *raynos2@gmail.com* (3 packages)
- **Sebastian Mayr** *github@smayr.name* (3 packages)
- **Evgeny Poberezkin** (3 packages)
- **Mathias Bynens** *mathias@qiwi.be* (3 packages)
- **Leland Richardson** *leland.richardson@airbnb.com* (3 packages)
- **Blaine Kasten** *blainekasten@gmail.com* (3 packages)
- **Felix Geisendörfer** *felix@debuggable.com* (3 packages)
- **Toru Nagashima** (3 packages)
- **Thorsten Lorenz** *thlorenz@gmx.de* (3 packages)
- **Matteo Collina** *hello@matteocollina.com* (3 packages)
- Unknown (3 packages)
- **Dominic Tarr** *dominic.tarr@gmail.com* (3 packages)
- **James Talmage** *james@talmage.io* (3 packages)
- **Forbes Lindesay** *forbes@lindesay.co.uk* (3 packages)
- **Ingvar Stepanyan** *me@rreverser.com* (3 packages)
- **Andres Suarez** *zertosh@gmail.com* (3 packages)
- **Naitik Shah** *n@daaku.org* (3 packages)
- **Nicolai Kamenzky** (3 packages)
- **Kyle E. Mitchell** *kyle@kemitchell.com* (3 packages)
- **Paul Miller** *paul+gh@paulmillr.com* (2 packages)
- **Kevin Mårtensson** *kevinmartensson@gmail.com* (2 packages)
- **Marijn Haverbeke** *marijnh@gmail.com* (2 packages)
- **Adrian Heine** (2 packages)
- **Andrew Goode** *andrewbgoode@gmail.com* (2 packages)
- **Jesse Beach** *splendidnoise@gmail.com* (2 packages)
- **Wez Furlong** *wez@fb.com* (2 packages)
- **Stefan Penner** *stefan.penner@gmail.com* (2 packages)
- **Thomas Watson Steen** *w@tson.dk* (2 packages)
- **Joshua Boy Nicolai Appelman** *joshua@jbna.nl* (2 packages)
- **Thorsten Lorenz** *thlorenz@gmx.de* (2 packages)
- **Stefan Judis** *stefanjudis@gmail.com* (2 packages)
- **Jake Teton-Landis** (2 packages)
- **Marijn Haverbeke** *marijnh@gmail.com* (2 packages)
- **Ethan Cohen** (2 packages)
- Unknown (2 packages)
- **Jesse Beach** *splendidnoise@gmail.com* (2 packages)
- Unknown (2 packages)
- **Jonathan Ong** *jonathanrichardong@gmail.com* (2 packages)
- **Lufty Wiranda** *lufty.wiranda@gmail.com* (2 packages)
- **Roy Riojas** (2 packages)
- **Gulp Team** *team@gulpjs.com* (2 packages)
- **Ahmad Nassri** *ahmad@ahmadnassri.com* (2 packages)
- **Joyent, Inc** (2 packages)
- **Simon Boudrias** *admin@simonboudrias.com* (2 packages)
- **Andres Suarez** *zertosh@gmail.com* (2 packages)
- **Rod Vagg** *r@va.gg* (2 packages)
- **Wez Furlong** *wez@fb.com* (2 packages)
- **Adrian Heine** (2 packages)
- **Joris van der Wel** *joris@jorisvanderwel.com* (2 packages)
- **Timothy Gu** *timothygu99@gmail.com* (2 packages)
- **Stefan Penner** *stefan.penner@gmail.com* (2 packages)
- **Thomas Watson Steen** *w@tson.dk* (2 packages)
- **Tim Oxley** *secoif@gmail.com* (2 packages)
- **Shinnosuke Watanabe** *snnskwtnb@gmail.com* (2 packages)
- **Vsevolod Strukchinsky** *floatdrop@gmail.com* (2 packages)
- **Terkel Gjervig** *terkel@terkel.com* (2 packages)
- **@monasticpanic Jason Quense** (2 packages)
- **Roly Fentanes** (2 packages)
- **Joshua Boy Nicolai Appelman** *joshua@jbna.nl* (2 packages)
- **Gajus Kuizinas** *gajus@gajus.com* (2 packages)
- **Ben Lesh** *ben@benlesh.com* (2 packages)
- **Roy Riojas** (2 packages)
- **Mihai Bazon** *mihai.bazon@gmail.com* (2 packages)
- **Microsoft Corp.** (2 packages)
- **Nick Fitzgerald** *nfitzgerald@mozilla.com* (1 package)
- **Logan Smyth** *loganfsmyth@gmail.com* (1 package)
- **suchipi** *me@suchipi.com* (1 package)
- **Ben Newman** *bn@cs.stanford.edu* (1 package)
- **Jeff Carpenter** *gcarpenterv@gmail.com* (1 package)
- **Elan Shanker** *elan.shanker+npm@gmail.com* (1 package)
- **Corey Hart** *corey@codenothing.com* (1 package)
- **Jonathan Ong** *jonathanrichardong@gmail.com* (1 package)
- **Paul Miller** *paul+gh@paulmillr.com* (1 package)
- **Joyent** (1 package)
- **Mark Cavage** *mcavage@gmail.com* (1 package)
- **kyldvs** (1 package)
- **Samuel Reed <samuel.trace.reed@gmail.com** (1 package)
- **Alex Indigo** *iam@alexindigo.com* (1 package)
- **AJ ONeal** *awesome@coolaj86.com* (1 package)
- **Michael Hart** *michael.hart.au@gmail.com* (1 package)
- **Matt Zabriskie** (1 package)
- **Thai Pangsakulyanont @dtinth** (1 package)
- **Brian Woodward** (1 package)
- **Erwin Mombay** *erwin.mombay@gmail.com* (1 package)
- **kumavis** (1 package)
- **Roman Shtylman** *shtylman@gmail.com* (1 package)
- **Huafu Gandon** *huafu.gandon@gmail.com* (1 package)
- **Dmitry Shirokov** *deadrunk@gmail.com* (1 package)
- **Matthew Mueller** *matt@lapwinglabs.com* (1 package)
- **Evan You** (1 package)
- **Ilya Radchenko** *ilya@burstcreations.com* (1 package)
- **Codecov** *hello@codecov.io* (1 package)
- **Heather Arthur** *fayearthur@gmail.com* (1 package)
- **DY** *dfcreative@gmail.com* (1 package)
- **David Clark** *david.dave.clark@gmail.com* (1 package)
- **André Cruz** *amdfcruz@gmail.com* (1 package)
- **Nikita Vasilyev** *me@elv1s.ru* (1 package)
- **Jon Sakas** *jon.sakas@gmail.com* (1 package)
- **Fredrik Nicol** *fredrik.nicol@gmail.com* (1 package)
- **The Spanish Inquisition** (1 package)
- **Trent Mick** *trentm@gmail.com* (1 package)
- **Sasha Koss** *koss@nocorp.me* (1 package)
- **Desmond Brand** *dmnd@desmondbrand.com* (1 package)
- **Thai Pangsakulyanont @dtinth** (1 package)
- **Felix Kling** (1 package)

@@ -95,12 +128,4 @@ - **Viacheslav Lotsmanov** *lotsmanov89@gmail.com* (1 package)

- **David Tudury** *david.tudury@gmail.com* (1 package)
- **Brian Woodward** (1 package)
- **suchipi** *me@suchipi.com* (1 package)
- **Justin Ridgewell** *justin@ridgewell.name* (1 package)
- **Jeremie Miller** *jeremie@jabber.org* (1 package)
- **Ryan Bennett** (1 package)
- **Kilian Valkhof** (1 package)
- **Erwin Mombay** *erwin.mombay@gmail.com* (1 package)
- **kumavis** (1 package)
- **Rich Harris** (1 package)
- **Roman Shtylman** *shtylman@gmail.com* (1 package)
- **Adrien Antoine** *adriantoine@gmail.com* (1 package)

@@ -110,9 +135,5 @@ - **Yehuda Katz, Tom Dale, Stefan Penner and contributors** (1 package)

- **Ariya Hidayat** *ariya.hidayat@gmail.com* (1 package)
- **Andrey Sitnik** *andrey@sitnik.ru* (1 package)
- **Henry Zhu** *hi@henryzoo.com* (1 package)
- **Jonathan Kim** *hello@jkimbo.com* (1 package)
- **Jeff Carpenter** *gcarpenterv@gmail.com* (1 package)
- **Teddy Katz** (1 package)
- **Yannick Croissant** *yannick.croissant+npm@gmail.com* (1 package)
- **Siddharth Doshi** *sidoshi@mail.com* (1 package)
- **Ben Briggs** *beneb.info@gmail.com* (1 package)
- **Joel Feenstra** *jrfeenst+esquery@gmail.com* (1 package)

@@ -124,4 +145,5 @@ - **Aleksandr Tsertkov** *tsertkov@gmail.com* (1 package)

- **Kevin Gravier** *kevin@mrkmg.com* (1 package)
- **Jason Chen** *jhchen7@gmail.com* (1 package)
- **Denis Malinochkin** (1 package)
- **Ramesh Nair** *ram@hiddentao.com* (1 package)
- **Joyent** (1 package)
- **Andrea Giammarchi** (1 package)

@@ -132,29 +154,19 @@ - **Ruben Verborgh** *ruben@verborgh.org* (1 package)

- **Dane Springmeyer** *dane@mapbox.com* (1 package)
- **Dmitry Shirokov** *deadrunk@gmail.com* (1 package)
- **Matthew Mueller** *matt@lapwinglabs.com* (1 package)
- **Nikita Skovoroda** *chalkerx@gmail.com* (1 package)
- **Philipp Dunkel** *pip@pipobscure.com* (1 package)
- **Mikola Lysenko** (1 package)
- **Paul Miller (https://paulmillr.com), Elan Shanker** (1 package)
- **Shahar Or** *mightyiampresence@gmail.com* (1 package)
- **Alex Wilson** *alex.wilson@joyent.com* (1 package)
- **kael** (1 package)
- **Ibrahim Al-Rajhi** *abrahamalrajhi@gmail.com* (1 package)
- **Yehuda Katz** *wycats@gmail.com* (1 package)
- **Mark Cavage** *mcavage@gmail.com* (1 package)
- **Thiago de Arruda** *tpadilha84@gmail.com* (1 package)
- **Evan You** (1 package)
- **Typicode** *typicode@gmail.com* (1 package)
- **kael** (1 package)
- **Jens Taylor** *jensyt@gmail.com* (1 package)
- **DC** *threedeecee@gmail.com* (1 package)
- **kyldvs** (1 package)
- **Qix** (1 package)
- **Tomek Wiszniewski** *t.wiszniewski@gmail.com* (1 package)
- **Hugh Kennedy** *hughskennedy@gmail.com* (1 package)
- **Ilya Radchenko** *ilya@burstcreations.com* (1 package)
- **Nick Fitzgerald** *nfitzgerald@mozilla.com* (1 package)
- **wayfind** (1 package)
- **Matt Phillips** (1 package)
- **Jason Palmer** (1 package)
- **Gustaf Andersson** *gustaf@me.com* (1 package)
- **Codecov** *hello@codecov.io* (1 package)
- **Vladimir Zapparov** *dervus.grim@gmail.com* (1 package)

@@ -164,4 +176,2 @@ - **Tom Wu** (1 package)

- **Elijah Insua** *tmpvar@gmail.com* (1 package)
- **Heather Arthur** *fayearthur@gmail.com* (1 package)
- **DY** *dfcreative@gmail.com* (1 package)
- **Zirro** *code@zirro.se* (1 package)

@@ -175,6 +185,8 @@ - **Kat Marchaán** *kzm@sykosomatic.org* (1 package)

- **Cameron Westland** *camwest@gmail.com* (1 package)
- **Samuel Reed <samuel.trace.reed@gmail.com** (1 package)
- **Brian Donovan** *me@brian-donovan.com* (1 package)
- **Andrey Okonetchnikov** *andrey@okonet.ru* (1 package)
- **Lufty Wiranda** *lufty.wiranda@gmail.com* (1 package)
- **Suhas Karanth** *sudo.suhas@gmail.com* (1 package)
- **Alex Indigo** *iam@alexindigo.com* (1 package)
- **Iiro Jäppinen** *iiro@jappinen.fi* (1 package)
- **Julien Fontanet** *julien.fontanet@isonoe.net* (1 package)
- **Stephen Sugden** *me@stephensugden.com* (1 package)

@@ -190,7 +202,6 @@ - **Vadim Demedes** *vdemedes@gmail.com* (1 package)

- **Mikael Brevik** (1 package)
- **Sergey Rubanov** *chi187@gmail.com* (1 package)
- **Meryn Stol** *merynstol@gmail.com* (1 package)
- **David Clark** *david.dave.clark@gmail.com* (1 package)
- **Diego Perini** *diego.perini@gmail.com* (1 package)
- **André Cruz** *amdfcruz@gmail.com* (1 package)
- **Xavier Damman** (1 package)
- **Adam Savitzky** *adam.savitzky@gmail.com* (1 package)
- **Javier Blanco** *http://jbgutierrez.info* (1 package)

@@ -203,42 +214,32 @@ - **Braveg1rl** *braveg1rl@outlook.com* (1 package)

- **James Kyle** *me@thejameskyle.com* (1 package)
- **Nikita Vasilyev** *me@elv1s.ru* (1 package)
- **Jon Sakas** *jon.sakas@gmail.com* (1 package)
- **Lupo Montero** (1 package)
- **Lupo Montero** *lupomontero@gmail.com* (1 package)
- **Kris Kowal** *kris@cixar.com* (1 package)
- **Chris Dickinson** *chris@neversaw.us* (1 package)
- **Tab Atkins Jr.** (1 package)
- **AJ ONeal** *awesome@coolaj86.com* (1 package)
- **Simen Bekkhus** *sbekkhus91@gmail.com* (1 package)
- **Tyler Kellen** *tyler@sleekcode.net* (1 package)
- **Glen Mailer** *glen@stainlessed.co.uk* (1 package)
- **Dmitry Soshnikov** (1 package)
- **Benjamin Tan** *demoneaux@gmail.com* (1 package)
- **'Julian Viereck'** *julian.viereck@gmail.com* (1 package)
- **darsain** (1 package)
- **The Spanish Inquisition** (1 package)
- **Jeremy Stashewsky** *jstash@gmail.com* (1 package)
- **Troy Goode** *troygoode@gmail.com* (1 package)
- **Trent Mick** *trentm@gmail.com* (1 package)
- **Bogdan Chadkin** *trysound@yandex.ru* (1 package)
- **Tilde, Inc. & Stefan Penner** (1 package)
- **Michael Hart** *michael.hart.au@gmail.com* (1 package)
- **amasad** (1 package)
- **Eric Ferraiuolo** *edf@ericf.me* (1 package)
- **Jimmy Cuadra** *jimmy@jimmycuadra.com* (1 package)
- **Steve King** *steve@mydev.co* (1 package)
- **Corey Hart** *corey@codenothing.com* (1 package)
- **DC** *threedeecee@gmail.com* (1 package)
- **The Linux Foundation** (1 package)
- **Matteo Collina** *hello@matteocollina.com* (1 package)
- **Shinnosuke Watanabe** *snnskwtnb@gmail.com* (1 package)
- **Alexandru Marasteanu** *hello@alexei.ro* (1 package)
- **Matthew Chase Whittemore** *mcwhittemore@gmail.com* (1 package)
- **Anthony McCormick** *anthony.mccormick AT gmail.com* (1 package)
- **Davyd McColl** *davydm@gmail.com* (1 package)
- **Anthony McCormick** *anthony.mccormick@gmail.com* (1 package)
- **fhinkel** (1 package)
- **Fábio Santos** *fabiosantosart@gmail.com* (1 package)
- **KARASZI István** *github@spam.raszi.hu* (1 package)
- **Marcel Klehr** *mklehr@gmx.net* (1 package)
- **Sasha Koss** *koss@nocorp.me* (1 package)
- **Kulshekhar Kabra** *kulshekhar@users.noreply.github.com* (1 package)
- **Klaus Meinhardt** (1 package)
- **TweetNaCl-js contributors** (1 package)
- **Mihai Bazon** *mihai.bazon@gmail.com* (1 package)
- **The Blacksmith** (1 package)
- **Alex Lam** *alexlamsl@gmail.com* (1 package)
- **Angelos Pikoulas** *agelos.pikoulas@gmail.com* (1 package)
- **Gary Court** *gary.court@gmail.com* (1 package)
- **Gregg Caines** (1 package)
- **Andrew Goode** *andrewbgoode@gmail.com* (1 package)
- **Zoltan Kochan** (1 package)

@@ -245,0 +246,0 @@ - **Einar Otto Stangvik** *einaro.s@gmail.com* (1 package)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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