ts-tree-structure
Advanced tools
Comparing version
{ | ||
"name": "ts-tree-structure", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Manipulate and traverse tree-like structures in TypeScript.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -25,3 +25,3 @@ # ts-tree-structure | ||
```js | ||
const Tree = require('ts-tree-structure'); | ||
const Tree = require('ts-tree-structure').default; | ||
@@ -34,4 +34,5 @@ const tree = new Tree(); | ||
```html | ||
<script src="https://unpkg.com/ts-tree-structure/"></script> | ||
<script src="https://unpkg.com/ts-tree-structure/umd/ts-tree-structure.min.js"></script> | ||
<script> | ||
var Tree = Tree.default; | ||
var tree = new Tree(); | ||
@@ -38,0 +39,0 @@ var root = tree.parse({ id: 1, name: 'foo', children: [{ id: 11, name: 'bar' }]}); |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
44797
0.14%187
0.54%0
-100%