recast-navigation 0.7.3 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/index.cjs +2 -0
- package/package.json +13 -9
- package/three.cjs +2 -0
- package/index.js +0 -2
- package/three.js +0 -2
package/README.md
CHANGED
|
@@ -27,13 +27,13 @@ This library provides high level APIs that make it easy to get started creating
|
|
|
27
27
|
|
|
28
28
|
## Installation
|
|
29
29
|
|
|
30
|
-
This package ships as ECMAScript modules, and is compatible with Node.js and browser environments.
|
|
30
|
+
This package ships as both ECMAScript modules and CJS, and is compatible with Node.js and browser environments.
|
|
31
31
|
|
|
32
32
|
**CDN**
|
|
33
33
|
|
|
34
34
|
```html
|
|
35
35
|
<script type="module">
|
|
36
|
-
import { generateSoloNavMesh } from 'https://www.unpkg.com/@recast-navigation/core@0.
|
|
36
|
+
import { generateSoloNavMesh } from 'https://www.unpkg.com/@recast-navigation/core@0.9.0/dist/index.mjs';
|
|
37
37
|
</script>
|
|
38
38
|
```
|
|
39
39
|
|
package/index.cjs
ADDED
package/package.json
CHANGED
|
@@ -18,27 +18,31 @@
|
|
|
18
18
|
"email": "isaac@isaacmason.com",
|
|
19
19
|
"url": "https://isaacmason.com/"
|
|
20
20
|
},
|
|
21
|
-
"version": "0.
|
|
21
|
+
"version": "0.9.0",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"homepage": "https://github.com/isaac-mason/recast-navigation-js",
|
|
24
24
|
"bugs": {
|
|
25
25
|
"url": "https://github.com/isaac-mason/recast-navigation-js/issues"
|
|
26
26
|
},
|
|
27
|
-
"
|
|
28
|
-
"
|
|
27
|
+
"main": "./index.cjs",
|
|
28
|
+
"module": "./index.js",
|
|
29
29
|
"types": "./index.d.ts",
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
|
-
"import": "./index.
|
|
32
|
+
"import": "./index.mjs",
|
|
33
|
+
"require": "./index.cjs"
|
|
33
34
|
},
|
|
34
35
|
"./three": {
|
|
35
|
-
"import": "./three.
|
|
36
|
+
"import": "./three.mjs",
|
|
37
|
+
"require": "./index.cjs"
|
|
36
38
|
}
|
|
37
39
|
},
|
|
38
40
|
"files": [
|
|
39
41
|
"index.js",
|
|
42
|
+
"index.cjs",
|
|
40
43
|
"index.d.ts",
|
|
41
44
|
"three.js",
|
|
45
|
+
"three.cjs",
|
|
42
46
|
"three.d.ts",
|
|
43
47
|
"LICENSE",
|
|
44
48
|
"README.md"
|
|
@@ -50,15 +54,15 @@
|
|
|
50
54
|
"build-storybook": "storybook build"
|
|
51
55
|
},
|
|
52
56
|
"dependencies": {
|
|
53
|
-
"@recast-navigation/core": "0.
|
|
54
|
-
"@recast-navigation/three": "0.
|
|
57
|
+
"@recast-navigation/core": "0.9.0",
|
|
58
|
+
"@recast-navigation/three": "0.9.0"
|
|
55
59
|
},
|
|
56
60
|
"devDependencies": {
|
|
57
61
|
"@babel/core": "^7.22.11",
|
|
58
62
|
"@mdx-js/react": "^2.3.0",
|
|
59
63
|
"@pmndrs/assets": "^1.6.0",
|
|
60
64
|
"@react-three/csg": "^3.0.0",
|
|
61
|
-
"@react-three/drei": "^9.
|
|
65
|
+
"@react-three/drei": "^9.83.9",
|
|
62
66
|
"@react-three/fiber": "^8.12.0",
|
|
63
67
|
"@rollup/plugin-commonjs": "^25.0.4",
|
|
64
68
|
"@rollup/plugin-multi-entry": "^6.0.0",
|
|
@@ -84,7 +88,7 @@
|
|
|
84
88
|
"rollup-plugin-filesize": "^10.0.0",
|
|
85
89
|
"storybook": "^7.3.2",
|
|
86
90
|
"suspend-react": "^0.1.3",
|
|
87
|
-
"three": "^0.
|
|
91
|
+
"three": "^0.156.1",
|
|
88
92
|
"three-pathfinding": "^1.2.0"
|
|
89
93
|
},
|
|
90
94
|
"packageManager": "yarn@3.2.2"
|
package/three.cjs
ADDED
package/index.js
DELETED
package/three.js
DELETED