stack3js 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +141 -2
- package/THIRD-PARTY-LICENSES.md +100 -0
- package/bin/stack3.mjs +4237 -0
- package/examples/future-tank.stack3.json +1 -0
- package/examples/traffic-cone-4view.png +0 -0
- package/package.json +25 -4
- package/viewer/dist/THIRD-PARTY-LICENSES.md +174 -0
- package/viewer/dist/assets/GLTFExporter--hziUXc8.js +1 -0
- package/viewer/dist/assets/ant-mech-angled-leg-4view-BO2qt1_k.png +0 -0
- package/viewer/dist/assets/ant-mech-body-4view-D9xVPpbc.png +0 -0
- package/viewer/dist/assets/ant-mech-center-leg-4view-BcphjF_G.png +0 -0
- package/viewer/dist/assets/compare-B6DWTZS9.css +1 -0
- package/viewer/dist/assets/compare-DJ8rV3Rn.js +6 -0
- package/viewer/dist/assets/compare.worker-DK2lJl0n.js +21 -0
- package/viewer/dist/assets/concrete-barrier-4view-7PsO3Ftq.png +0 -0
- package/viewer/dist/assets/emscripten-module-uFzwHH0Y.wasm +0 -0
- package/viewer/dist/assets/emscripten-module.browser-BcR5qphc.js +1 -0
- package/viewer/dist/assets/ffi-Boa1QuFa.js +1 -0
- package/viewer/dist/assets/fillet-rover-body-4-view-Chk8Mx4R.png +0 -0
- package/viewer/dist/assets/fillet-rover-wheel-4-view-B-F8flOC.png +0 -0
- package/viewer/dist/assets/hull-4view-BPPqJYUz.png +0 -0
- package/viewer/dist/assets/hull-base-color-4view-DrQmdT3h.png +0 -0
- package/viewer/dist/assets/hull-clay-4view-3Cu-4Hvr.png +0 -0
- package/viewer/dist/assets/hull-depth-4view-DCOdT5ev.png +0 -0
- package/viewer/dist/assets/hull-normal-4view-CvLaFITy.png +0 -0
- package/viewer/dist/assets/inspection-robot-body-4-view-CLMaHFYm.png +0 -0
- package/viewer/dist/assets/inspection-robot-wheel-4-view-27wRsxcs.png +0 -0
- package/viewer/dist/assets/plastic-barrier-4view-DQkTBW_i.png +0 -0
- package/viewer/dist/assets/presets-DwdZVYhs.js +1 -0
- package/viewer/dist/assets/preview-cache-DRF_H5pq.js +58 -0
- package/viewer/dist/assets/project-BzR9Ensg.css +1 -0
- package/viewer/dist/assets/project-D8tR6U-_.js +17 -0
- package/viewer/dist/assets/reconstruct.worker-Cf8iZwT3.js +21 -0
- package/viewer/dist/assets/script-engine-CLj7QMLe.js +6 -0
- package/viewer/dist/assets/style-CMUT8CmM.css +1 -0
- package/viewer/dist/assets/style-CWGgpweN.js +3947 -0
- package/viewer/dist/assets/tank-hull-4view-B4sMMkP5.png +0 -0
- package/viewer/dist/assets/tank-track-4view-DAIiMTy3.png +0 -0
- package/viewer/dist/assets/tank-turret-4view-Cx0FuNFu.png +0 -0
- package/viewer/dist/assets/traffic-cone-4view-DG-TkITx.png +0 -0
- package/viewer/dist/assets/viewer-CyGodHLY.js +2 -0
- package/viewer/dist/assets/wet-floor-sign-4view-CWJDyeTX.png +0 -0
- package/viewer/dist/compare.html +47 -0
- package/viewer/dist/examples/traffic-cone-4view.png +0 -0
- package/viewer/dist/index.html +147 -0
- package/viewer/dist/playground/index.html +3342 -0
- package/viewer/dist/project.html +83 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ev3rlit and stack3.js contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,142 @@
|
|
|
1
|
-
#
|
|
1
|
+
# CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
With Node.js 22.12 or later, install the CLI from npm.
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install -g stack3js
|
|
9
|
+
stack3 --version
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
The CLI is also available from [GitHub Releases](https://github.com/ev3rlit/stack3.js/releases).
|
|
13
|
+
|
|
14
|
+
## Commands
|
|
15
|
+
|
|
16
|
+
The command grammar is `stack3 <verb> <input> [options]`. Choose the output with `--format glb` or `--format stack`. A `.glb` output path also selects GLB automatically.
|
|
17
|
+
|
|
18
|
+
| Command | Purpose |
|
|
19
|
+
| --- | --- |
|
|
20
|
+
| `stack3 example <name>` | Copy the bundled `future-tank` project or `traffic-cone` atlas. Use `--output` to choose a destination. |
|
|
21
|
+
| `stack3 inspect <input>` | Report mapped and missing directions, image dimensions, and input warnings. |
|
|
22
|
+
| `stack3 build <input> --output <file.glb>` | Reconstruct a mesh and write a GLB. |
|
|
23
|
+
| `stack3 build <input> --format stack --output <directory>` | Reconstruct a runtime stack and write its slice data and metadata. |
|
|
24
|
+
| `stack3 view <directory>` | Open an exported stack in the local viewer. Add `--no-open` to print the URL without opening a tab. |
|
|
25
|
+
|
|
26
|
+
For an atlas, supply its reading order with `--layout`.
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
stack3 inspect crate-4view.png --layout top,left,front,rear
|
|
30
|
+
stack3 build crate-6view.png --layout top,left,front,rear,right,bottom --output crate.glb
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
For individual images, pass a JSON manifest. Paths are relative to that manifest. Add `right` and `bottom` for a six-view set.
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"views": {
|
|
38
|
+
"top": "crate-top.png",
|
|
39
|
+
"left": "crate-left.png",
|
|
40
|
+
"front": "crate-front.png",
|
|
41
|
+
"rear": "crate-rear.png"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
stack3 build crate-views.json --format stack --output crate-stack/
|
|
48
|
+
stack3 view crate-stack/
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
| Build option | Default | Effect |
|
|
52
|
+
| --- | --- | --- |
|
|
53
|
+
| `--texture-projection` | auto | For GLB output, use `top-contour` to project the TOP panel onto the upper surface while retaining elevation UVs on the walls |
|
|
54
|
+
| `--mesh-method` | marching-cubes | Choose `contour` for a plate extruded from the FRONT alpha outline |
|
|
55
|
+
| `--contour-hub` | off | Add a centered, turned hub to a contour mesh using TOP and LEFT |
|
|
56
|
+
| `--layers` | 48 | Vertical samples |
|
|
57
|
+
| `--spacing` | 1 | Multiply the gap between stack slices and the exported vertical bounds |
|
|
58
|
+
| `--profile` | silhouette | Choose `round` or `round-base` to fit elliptical cross-sections |
|
|
59
|
+
| `--resolution` | 96 | Samples on the longer horizontal axis, or radial segments for a contour hub |
|
|
60
|
+
| `--height` | 1 | Asset height in scene units |
|
|
61
|
+
| `--pivot` | ground | Use the bottom or center as the origin |
|
|
62
|
+
| `--threshold` | 238 | Background removal threshold for opaque PNGs |
|
|
63
|
+
|
|
64
|
+
Contour extrusion preserves islands and through-holes. FRONT and REAR paint the caps and the other views paint the side walls. The plate uses the full depth unless a round hub is requested. For a hub, provide a solid center in FRONT, a thin blade edge with a projecting axle in TOP and a centered collar in LEFT. Vertical layer count applies to grid reconstruction.
|
|
65
|
+
|
|
66
|
+
The stack bundle contains `stack.png` and `stack.json`. Its metadata records the atlas layout, slice order, dimensions, spacing, scale, and pivot.
|
|
67
|
+
|
|
68
|
+
Repeated builds reuse the local cache for matching input, format, and settings. Use `--no-cache` to bypass it or `STACK3_CACHE_DIR` to choose its location.
|
|
69
|
+
|
|
70
|
+
`view` and `project open` use the browser viewer bundled with the installed CLI. The preview server listens on loopback. Press Ctrl+C to close it.
|
|
71
|
+
|
|
72
|
+
[CLI requirements and completion check](https://github.com/ev3rlit/stack3.js/blob/main/docs/cli/README.md)
|
|
73
|
+
|
|
74
|
+
## Scene projects
|
|
75
|
+
|
|
76
|
+
A scene project stores embedded PNG assets, a hierarchy of nodes, per-object reconstruction settings, camera and renderer settings, and a playback clock. A node can be a group, or an instance of an embedded atlas. Multiple nodes can share the source bytes and use different settings.
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
stack3 project init yard.stack3.json --name "Test Yard"
|
|
80
|
+
stack3 project import yard.stack3.json body.png wheel.png --layout top,left,front,rear
|
|
81
|
+
stack3 project get yard.stack3.json
|
|
82
|
+
stack3 project schema
|
|
83
|
+
stack3 project open yard.stack3.json
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Use the IDs from `get` or `import` when building an action batch. An agent can create groups, instance an atlas, move nodes under a different parent, set per-object layer count or spacing, select nodes, and control the view and playback. The editor sees CLI changes automatically. Actions are atomic. Pass `--revision` when an edit depends on a specific project version.
|
|
87
|
+
|
|
88
|
+
```sh
|
|
89
|
+
stack3 project apply yard.stack3.json - <<'JSON'
|
|
90
|
+
[
|
|
91
|
+
{"action":"node.add","id":"vehicle","name":"Vehicle"},
|
|
92
|
+
{"action":"node.move","id":"BODY_NODE_ID","parentId":"vehicle"},
|
|
93
|
+
{"action":"node.move","id":"WHEEL_NODE_ID","parentId":"vehicle"},
|
|
94
|
+
{"action":"node.set","id":"BODY_NODE_ID","patch":{"settings":{"layers":72,"spacing":1.15,"resolution":128}}},
|
|
95
|
+
{"action":"node.set","id":"vehicle","patch":{"angularVelocity":[0,35,0]}},
|
|
96
|
+
{"action":"view.set","patch":{"backend":"gpu","selected":"vehicle"}},
|
|
97
|
+
{"action":"view.frame"},
|
|
98
|
+
{"action":"play.start"}
|
|
99
|
+
]
|
|
100
|
+
JSON
|
|
101
|
+
stack3 project open yard.stack3.json --playground
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Use `project open --no-open` to print a JSON object containing the local URL. `project get` returns scene data without base64 images. `project import` accepts multiple paths per call. Use separate calls or `atlas.embed` with `node.add` when the layouts differ. `project export <file> <node-id> --output <path>` exports one atlas-backed node using its settings. Placement and hierarchy remain in the project file.
|
|
105
|
+
|
|
106
|
+
The project Playground plays the editable scene. Nodes support linear and angular motion, inherited through the hierarchy. Use `play.nudge` to move or rotate a node temporarily. In scenes with no enabled scripts, the movement buttons and WASD use that same action. Reset clears temporary offsets and script state while preserving authored transforms and component settings.
|
|
107
|
+
|
|
108
|
+
Use **Inspector → Rendering** in Editor or Playground to select a part and switch between **Sprite stack** and **Marching Cubes (3D mesh)**. Use **Viewport → CPU rendering** in that tab to compare **Detail Normals**, **Subpixel AA**, and **Specular AA** during playback. Detail Normals uses texture luminance to perturb the surface normal. Subpixel AA resolves four depth and coverage samples per pixel independently of Supersampling. Specular AA broadens highlights based on normal variation. For the two lighting options, enable **Material lighting** on the parts being compared. The three controls are also available to `view.set` as `detailNormals`, `subpixelAA`, and `specularAA` with `backend: "cpu"`.
|
|
109
|
+
|
|
110
|
+
### Script components
|
|
111
|
+
|
|
112
|
+
Use `stack3 project components` to list the built-in components as JSON, or `stack3 project components wasd-vehicle` and `stack3 project components sprite-stack-wheel` to read their JavaScript and inspector field defaults.
|
|
113
|
+
|
|
114
|
+
Once the wheels are atlas-backed direct children of a vehicle root, attach the driver and four wheel components atomically.
|
|
115
|
+
|
|
116
|
+
```sh
|
|
117
|
+
stack3 project preset cart.stack3.json four-wheel vehicle
|
|
118
|
+
stack3 project preset cart.stack3.json four-wheel vehicle --wheels fl,fr,rl,rr
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Use the vehicle root's local −Z as forward and smaller X for its left side. The preset identifies wheels by name or shared atlas, or takes the four explicit node IDs in front-left, front-right, rear-left, rear-right order. It binds those IDs into the driver, derives initial wheelbase and radius from the scene, and prints the resulting assignments. Running it again keeps existing inspector values and authored poses. A conflicting customized component source returns an error before any changes are written.
|
|
122
|
+
|
|
123
|
+
For an assembled tank, run `stack3 project preset tank.stack3.json tracked-tank tank`. Place two atlas-backed Sprite stack tracks directly under the root, one on each side of local X, and name the tracks or their atlases with `track` or `tread`. Use a named `Turret pivot` child with the turret under it, or a direct turret node with its origin at the desired rotation center. The preset adds Tracked Drive, Turret Control, and two Track Belt components. Both presets are also in **Inspector → Presets** in Editor and Playground. In Play, WASD or the arrow keys drive the hull, and Q/E turn the turret. A stationary hull turn advances one belt and reverses the other. Belt rendering uses the original TOP atlas colors in both CPU and GPU Sprite stack previews.
|
|
124
|
+
|
|
125
|
+
Custom scripts can return `childTrackTravel` as a map from direct child ID to signed distance in the parent's movement units. The receiving track's script returns its `trackBelt` multiplier (−4 to 4). Reset clears playback-only belt offsets.
|
|
126
|
+
|
|
127
|
+
Select a node and use **Inspector → Script components → Add script**. Under **Edit script**, provide JavaScript defining `function update(input)` and an array of numeric inspector fields. Each field has `name`, `label`, `value`, `min`, `max`, and `step`. Save and enable the component, then press **Play** in the Playground. **Add WASD vehicle** inserts a complete driving script with adjustable speeds, steering, and wheel dimensions. That template expects forward along local −Z and uses child names containing “wheel” for roll; names starting with “Front” also steer.
|
|
128
|
+
|
|
129
|
+
```js
|
|
130
|
+
function update({ dt, keys, fields, state }) {
|
|
131
|
+
const x = (state.x ?? 0) + (keys.includes('KeyD') ? fields.speed * dt : 0);
|
|
132
|
+
return { state: { x }, translation: [x, 0, 0] };
|
|
133
|
+
}
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
For this example use `[{"name":"speed","label":"Speed","value":1,"min":0,"max":5,"step":0.1}]` for the field definitions.
|
|
137
|
+
|
|
138
|
+
Attach **Add Sprite Stack Wheel** to an atlas-backed child node to opt into wheel rendering. The parent script supplies that child's `childRotations` as roll around local X, steering around Y, and an optional tilt around Z. The wheel component returns `stackWheel: { rollScale, steeringScale }` (both from −4 to 4). In Sprite Stack mode the renderer applies roll by resampling the wheel volume onto horizontal slices and steers the whole wheel around its hub. In 3D mesh mode it rotates the mesh around the hub. The roll and steering multipliers can be set independently in the wheel inspector.
|
|
139
|
+
|
|
140
|
+
Each update receives elapsed seconds `dt`, the playback clock `time`, held physical key codes, current field values, the previous JSON `state`, the node’s authored `position` and `rotation`, and its direct `children` with IDs, names, and positions. Return absolute playback offsets relative to the authored pose in `translation` (XYZ units) and `rotation` (XYZ degrees), optional `childRotations` keyed by direct child ID (local XYZ degrees), and the JSON `state` for the next update. Scripts run only during live Play in each browser tab, inside a JavaScript VM with execution and memory limits. Pause freezes the preview, and Reset discards runtime state. Use **Viewport → Follow object** to track a scripted node with the camera.
|
|
141
|
+
|
|
142
|
+
The CLI can attach or edit a component with `script.set` (`nodeId`, `id`, and `patch`), detach it with `script.remove`, and select a camera target with `view.set` (`patch.follow`). See `project schema` for the full action shape.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# CLI third-party licenses
|
|
2
|
+
|
|
3
|
+
## d3-array - 3.2.5
|
|
4
|
+
|
|
5
|
+
Copyright 2010-2026 Mike Bostock
|
|
6
|
+
|
|
7
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
8
|
+
with or without fee is hereby granted, provided that the above copyright notice
|
|
9
|
+
and this permission notice appear in all copies.
|
|
10
|
+
|
|
11
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
12
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
13
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
14
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
15
|
+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
16
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
17
|
+
THIS SOFTWARE.
|
|
18
|
+
|
|
19
|
+
## d3-contour - 4.0.3
|
|
20
|
+
|
|
21
|
+
Copyright 2012-2026 Mike Bostock
|
|
22
|
+
|
|
23
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
24
|
+
with or without fee is hereby granted, provided that the above copyright notice
|
|
25
|
+
and this permission notice appear in all copies.
|
|
26
|
+
|
|
27
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
28
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
29
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
30
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
31
|
+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
32
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
33
|
+
THIS SOFTWARE.
|
|
34
|
+
|
|
35
|
+
## earcut - 3.2.4
|
|
36
|
+
|
|
37
|
+
ISC License
|
|
38
|
+
|
|
39
|
+
Copyright (c) 2026, Mapbox
|
|
40
|
+
|
|
41
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
42
|
+
with or without fee is hereby granted, provided that the above copyright notice
|
|
43
|
+
and this permission notice appear in all copies.
|
|
44
|
+
|
|
45
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
46
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
47
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
48
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
49
|
+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
50
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
51
|
+
THIS SOFTWARE.
|
|
52
|
+
|
|
53
|
+
## fflate - 0.8.3
|
|
54
|
+
|
|
55
|
+
MIT License
|
|
56
|
+
|
|
57
|
+
Copyright (c) 2026 Arjun Barrett
|
|
58
|
+
|
|
59
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
60
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
61
|
+
in the Software without restriction, including without limitation the rights
|
|
62
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
63
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
64
|
+
furnished to do so, subject to the following conditions:
|
|
65
|
+
|
|
66
|
+
The above copyright notice and this permission notice shall be included in all
|
|
67
|
+
copies or substantial portions of the Software.
|
|
68
|
+
|
|
69
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
70
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
71
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
72
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
73
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
74
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
75
|
+
SOFTWARE.
|
|
76
|
+
|
|
77
|
+
## simplify-js - 1.2.4
|
|
78
|
+
|
|
79
|
+
Copyright (c) 2017, Vladimir Agafonkin
|
|
80
|
+
All rights reserved.
|
|
81
|
+
|
|
82
|
+
Redistribution and use in source and binary forms, with or without modification, are
|
|
83
|
+
permitted provided that the following conditions are met:
|
|
84
|
+
|
|
85
|
+
1. Redistributions of source code must retain the above copyright notice, this list of
|
|
86
|
+
conditions and the following disclaimer.
|
|
87
|
+
|
|
88
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this list
|
|
89
|
+
of conditions and the following disclaimer in the documentation and/or other materials
|
|
90
|
+
provided with the distribution.
|
|
91
|
+
|
|
92
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
93
|
+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
94
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
95
|
+
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
96
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
97
|
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
98
|
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
|
99
|
+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
100
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|