nucleation 0.2.18 → 0.3.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/Autostack.d.ts +43 -0
- package/Autostack.mjs +134 -0
- package/BlockPos.d.ts +28 -0
- package/BlockPos.mjs +129 -0
- package/BlockState.d.ts +39 -0
- package/BlockState.mjs +134 -0
- package/Brush.d.ts +59 -0
- package/Brush.mjs +203 -0
- package/BuildingTool.d.ts +29 -0
- package/BuildingTool.mjs +74 -0
- package/ChunkMeshResult.d.ts +75 -0
- package/ChunkMeshResult.mjs +253 -0
- package/CircuitBuilder.d.ts +118 -0
- package/CircuitBuilder.mjs +516 -0
- package/DefinitionRegion.d.ts +274 -0
- package/DefinitionRegion.mjs +973 -0
- package/Diff.d.ts +88 -0
- package/Diff.mjs +316 -0
- package/Dimensions.d.ts +28 -0
- package/Dimensions.mjs +129 -0
- package/ExecutionMode.d.ts +42 -0
- package/ExecutionMode.mjs +127 -0
- package/Fingerprint.d.ts +44 -0
- package/Fingerprint.mjs +197 -0
- package/InterpolationSpace.d.ts +25 -0
- package/InterpolationSpace.mjs +73 -0
- package/IoLayout.d.ts +26 -0
- package/IoLayout.mjs +81 -0
- package/IoLayoutBuilder.d.ts +73 -0
- package/IoLayoutBuilder.mjs +315 -0
- package/IoType.d.ts +41 -0
- package/IoType.mjs +125 -0
- package/ItemModelConfig.d.ts +65 -0
- package/ItemModelConfig.mjs +223 -0
- package/ItemModelPackBuilder.d.ts +32 -0
- package/ItemModelPackBuilder.mjs +104 -0
- package/ItemModelResult.d.ts +72 -0
- package/ItemModelResult.mjs +268 -0
- package/ItemScale.d.ts +31 -0
- package/ItemScale.mjs +132 -0
- package/LayoutFunction.d.ts +52 -0
- package/LayoutFunction.mjs +159 -0
- package/MchprsWorld.d.ts +131 -0
- package/MchprsWorld.mjs +423 -0
- package/MeshBounds.d.ts +40 -0
- package/MeshBounds.mjs +180 -0
- package/MeshConfig.d.ts +101 -0
- package/MeshConfig.mjs +306 -0
- package/MeshJob.d.ts +44 -0
- package/MeshJob.mjs +116 -0
- package/MeshPhase.d.ts +38 -0
- package/MeshPhase.mjs +90 -0
- package/MeshProgress.d.ts +32 -0
- package/MeshProgress.mjs +133 -0
- package/MeshResult.d.ts +60 -0
- package/MeshResult.mjs +206 -0
- package/MultiMeshResult.d.ts +50 -0
- package/MultiMeshResult.mjs +166 -0
- package/Nbt.d.ts +50 -0
- package/Nbt.mjs +161 -0
- package/NucleationError.d.ts +36 -0
- package/NucleationError.mjs +104 -0
- package/OutputCondition.d.ts +45 -0
- package/OutputCondition.mjs +129 -0
- package/README.md +28 -197
- package/RawMeshExport.d.ts +74 -0
- package/RawMeshExport.mjs +243 -0
- package/RedstoneGraph.d.ts +58 -0
- package/RedstoneGraph.mjs +242 -0
- package/RegionBounds.d.ts +41 -0
- package/RegionBounds.mjs +181 -0
- package/RenderConfig.d.ts +66 -0
- package/RenderConfig.mjs +170 -0
- package/Renderer.d.ts +35 -0
- package/Renderer.mjs +139 -0
- package/ResourcePack.d.ts +105 -0
- package/ResourcePack.mjs +447 -0
- package/ResourcePackList.d.ts +32 -0
- package/ResourcePackList.mjs +96 -0
- package/Schematic.d.ts +655 -0
- package/Schematic.mjs +2647 -0
- package/SchematicBuilder.d.ts +103 -0
- package/SchematicBuilder.mjs +401 -0
- package/SchematicRegions.d.ts +93 -0
- package/SchematicRegions.mjs +411 -0
- package/Scripting.d.ts +40 -0
- package/Scripting.mjs +138 -0
- package/Sdf.d.ts +31 -0
- package/Sdf.mjs +107 -0
- package/Shape.d.ts +108 -0
- package/Shape.mjs +336 -0
- package/SortStrategy.d.ts +86 -0
- package/SortStrategy.mjs +272 -0
- package/Store.d.ts +83 -0
- package/Store.mjs +369 -0
- package/StoreIo.d.ts +71 -0
- package/StoreIo.mjs +292 -0
- package/TextureAtlas.d.ts +40 -0
- package/TextureAtlas.mjs +122 -0
- package/TextureInfo.d.ts +34 -0
- package/TextureInfo.mjs +148 -0
- package/TypedCircuitExecutor.d.ts +101 -0
- package/TypedCircuitExecutor.mjs +378 -0
- package/Value.d.ts +73 -0
- package/Value.mjs +275 -0
- package/WorldChunkView.d.ts +63 -0
- package/WorldChunkView.mjs +201 -0
- package/WorldSink.d.ts +50 -0
- package/WorldSink.mjs +177 -0
- package/WorldStream.d.ts +45 -0
- package/WorldStream.mjs +184 -0
- package/diplomat-runtime.d.ts +15 -0
- package/diplomat-runtime.mjs +774 -0
- package/diplomat-wasm.mjs +52 -0
- package/diplomat.config.mjs +6 -0
- package/index.d.ts +113 -0
- package/index.mjs +116 -0
- package/{nucleation_bg.wasm → nucleation.wasm} +0 -0
- package/package.json +19 -41
- package/LICENSE +0 -21
- package/api.js +0 -608
- package/nucleation-cdn-loader.js +0 -15
- package/nucleation-original.js +0 -8383
- package/nucleation.d.ts +0 -2947
- package/nucleation.js +0 -36
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import cfg from './diplomat.config.mjs';
|
|
2
|
+
import {readString8} from './diplomat-runtime.mjs'
|
|
3
|
+
|
|
4
|
+
let wasm;
|
|
5
|
+
|
|
6
|
+
const imports = {
|
|
7
|
+
env: {
|
|
8
|
+
diplomat_console_debug_js(ptr, len) {
|
|
9
|
+
console.debug(readString8(wasm, ptr, len));
|
|
10
|
+
},
|
|
11
|
+
diplomat_console_error_js(ptr, len) {
|
|
12
|
+
console.error(readString8(wasm, ptr, len));
|
|
13
|
+
},
|
|
14
|
+
diplomat_console_info_js(ptr, len) {
|
|
15
|
+
console.info(readString8(wasm, ptr, len));
|
|
16
|
+
},
|
|
17
|
+
diplomat_console_log_js(ptr, len) {
|
|
18
|
+
console.log(readString8(wasm, ptr, len));
|
|
19
|
+
},
|
|
20
|
+
diplomat_console_warn_js(ptr, len) {
|
|
21
|
+
console.warn(readString8(wasm, ptr, len));
|
|
22
|
+
},
|
|
23
|
+
diplomat_throw_error_js(ptr, len) {
|
|
24
|
+
throw new Error(readString8(wasm, ptr, len));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if (globalThis.process?.getBuiltinModule) {
|
|
30
|
+
// Node (>=22)
|
|
31
|
+
const fs = globalThis.process.getBuiltinModule('fs');
|
|
32
|
+
const wasmFile = new Uint8Array(fs.readFileSync(cfg['wasm_path']));
|
|
33
|
+
const loadedWasm = await WebAssembly.instantiate(wasmFile, imports);
|
|
34
|
+
wasm = loadedWasm.instance.exports;
|
|
35
|
+
} else if (globalThis.process) {
|
|
36
|
+
// Node (<22)
|
|
37
|
+
const fs = await import('fs');
|
|
38
|
+
const wasmFile = new Uint8Array(fs.readFileSync(cfg['wasm_path']));
|
|
39
|
+
const loadedWasm = await WebAssembly.instantiate(wasmFile, imports);
|
|
40
|
+
wasm = loadedWasm.instance.exports;
|
|
41
|
+
} else {
|
|
42
|
+
// Browser
|
|
43
|
+
const loadedWasm = await WebAssembly.instantiateStreaming(fetch(cfg['wasm_path']), imports);
|
|
44
|
+
wasm = loadedWasm.instance.exports;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
wasm.diplomat_init();
|
|
48
|
+
if (cfg['init'] !== undefined) {
|
|
49
|
+
cfg['init'](wasm);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export default wasm;
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
|
|
2
|
+
export { codepoint } from './diplomat-runtime';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export { RegionBounds, RegionBounds_obj } from "./RegionBounds"
|
|
6
|
+
|
|
7
|
+
export { ItemScale, ItemScale_obj } from "./ItemScale"
|
|
8
|
+
|
|
9
|
+
export { MeshBounds, MeshBounds_obj } from "./MeshBounds"
|
|
10
|
+
|
|
11
|
+
export { MeshProgress, MeshProgress_obj } from "./MeshProgress"
|
|
12
|
+
|
|
13
|
+
export { TextureInfo, TextureInfo_obj } from "./TextureInfo"
|
|
14
|
+
|
|
15
|
+
export { BlockPos, BlockPos_obj } from "./BlockPos"
|
|
16
|
+
|
|
17
|
+
export { Dimensions, Dimensions_obj } from "./Dimensions"
|
|
18
|
+
|
|
19
|
+
export { Autostack } from "./Autostack"
|
|
20
|
+
|
|
21
|
+
export { Brush } from "./Brush"
|
|
22
|
+
|
|
23
|
+
export { BuildingTool } from "./BuildingTool"
|
|
24
|
+
|
|
25
|
+
export { Shape } from "./Shape"
|
|
26
|
+
|
|
27
|
+
export { DefinitionRegion } from "./DefinitionRegion"
|
|
28
|
+
|
|
29
|
+
export { SchematicRegions } from "./SchematicRegions"
|
|
30
|
+
|
|
31
|
+
export { Diff } from "./Diff"
|
|
32
|
+
|
|
33
|
+
export { Fingerprint } from "./Fingerprint"
|
|
34
|
+
|
|
35
|
+
export { ChunkMeshResult } from "./ChunkMeshResult"
|
|
36
|
+
|
|
37
|
+
export { ItemModelConfig } from "./ItemModelConfig"
|
|
38
|
+
|
|
39
|
+
export { ItemModelPackBuilder } from "./ItemModelPackBuilder"
|
|
40
|
+
|
|
41
|
+
export { ItemModelResult } from "./ItemModelResult"
|
|
42
|
+
|
|
43
|
+
export { MeshConfig } from "./MeshConfig"
|
|
44
|
+
|
|
45
|
+
export { MeshJob } from "./MeshJob"
|
|
46
|
+
|
|
47
|
+
export { MeshResult } from "./MeshResult"
|
|
48
|
+
|
|
49
|
+
export { MultiMeshResult } from "./MultiMeshResult"
|
|
50
|
+
|
|
51
|
+
export { RawMeshExport } from "./RawMeshExport"
|
|
52
|
+
|
|
53
|
+
export { ResourcePack } from "./ResourcePack"
|
|
54
|
+
|
|
55
|
+
export { ResourcePackList } from "./ResourcePackList"
|
|
56
|
+
|
|
57
|
+
export { TextureAtlas } from "./TextureAtlas"
|
|
58
|
+
|
|
59
|
+
export { Nbt } from "./Nbt"
|
|
60
|
+
|
|
61
|
+
export { RenderConfig } from "./RenderConfig"
|
|
62
|
+
|
|
63
|
+
export { Renderer } from "./Renderer"
|
|
64
|
+
|
|
65
|
+
export { BlockState } from "./BlockState"
|
|
66
|
+
|
|
67
|
+
export { Schematic } from "./Schematic"
|
|
68
|
+
|
|
69
|
+
export { SchematicBuilder } from "./SchematicBuilder"
|
|
70
|
+
|
|
71
|
+
export { Scripting } from "./Scripting"
|
|
72
|
+
|
|
73
|
+
export { Sdf } from "./Sdf"
|
|
74
|
+
|
|
75
|
+
export { CircuitBuilder } from "./CircuitBuilder"
|
|
76
|
+
|
|
77
|
+
export { ExecutionMode } from "./ExecutionMode"
|
|
78
|
+
|
|
79
|
+
export { IoLayout } from "./IoLayout"
|
|
80
|
+
|
|
81
|
+
export { IoLayoutBuilder } from "./IoLayoutBuilder"
|
|
82
|
+
|
|
83
|
+
export { IoType } from "./IoType"
|
|
84
|
+
|
|
85
|
+
export { LayoutFunction } from "./LayoutFunction"
|
|
86
|
+
|
|
87
|
+
export { MchprsWorld } from "./MchprsWorld"
|
|
88
|
+
|
|
89
|
+
export { OutputCondition } from "./OutputCondition"
|
|
90
|
+
|
|
91
|
+
export { RedstoneGraph } from "./RedstoneGraph"
|
|
92
|
+
|
|
93
|
+
export { SortStrategy } from "./SortStrategy"
|
|
94
|
+
|
|
95
|
+
export { TypedCircuitExecutor } from "./TypedCircuitExecutor"
|
|
96
|
+
|
|
97
|
+
export { Value } from "./Value"
|
|
98
|
+
|
|
99
|
+
export { Store } from "./Store"
|
|
100
|
+
|
|
101
|
+
export { StoreIo } from "./StoreIo"
|
|
102
|
+
|
|
103
|
+
export { WorldChunkView } from "./WorldChunkView"
|
|
104
|
+
|
|
105
|
+
export { WorldSink } from "./WorldSink"
|
|
106
|
+
|
|
107
|
+
export { WorldStream } from "./WorldStream"
|
|
108
|
+
|
|
109
|
+
export { InterpolationSpace } from "./InterpolationSpace"
|
|
110
|
+
|
|
111
|
+
export { MeshPhase } from "./MeshPhase"
|
|
112
|
+
|
|
113
|
+
export { NucleationError } from "./NucleationError"
|
package/index.mjs
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export { RegionBounds } from "./RegionBounds.mjs"
|
|
4
|
+
|
|
5
|
+
export { ItemScale } from "./ItemScale.mjs"
|
|
6
|
+
|
|
7
|
+
export { MeshBounds } from "./MeshBounds.mjs"
|
|
8
|
+
|
|
9
|
+
export { MeshProgress } from "./MeshProgress.mjs"
|
|
10
|
+
|
|
11
|
+
export { TextureInfo } from "./TextureInfo.mjs"
|
|
12
|
+
|
|
13
|
+
export { BlockPos } from "./BlockPos.mjs"
|
|
14
|
+
|
|
15
|
+
export { Dimensions } from "./Dimensions.mjs"
|
|
16
|
+
|
|
17
|
+
export { Autostack } from "./Autostack.mjs"
|
|
18
|
+
|
|
19
|
+
export { Brush } from "./Brush.mjs"
|
|
20
|
+
|
|
21
|
+
export { BuildingTool } from "./BuildingTool.mjs"
|
|
22
|
+
|
|
23
|
+
export { Shape } from "./Shape.mjs"
|
|
24
|
+
|
|
25
|
+
export { DefinitionRegion } from "./DefinitionRegion.mjs"
|
|
26
|
+
|
|
27
|
+
export { SchematicRegions } from "./SchematicRegions.mjs"
|
|
28
|
+
|
|
29
|
+
export { Diff } from "./Diff.mjs"
|
|
30
|
+
|
|
31
|
+
export { Fingerprint } from "./Fingerprint.mjs"
|
|
32
|
+
|
|
33
|
+
export { ChunkMeshResult } from "./ChunkMeshResult.mjs"
|
|
34
|
+
|
|
35
|
+
export { ItemModelConfig } from "./ItemModelConfig.mjs"
|
|
36
|
+
|
|
37
|
+
export { ItemModelPackBuilder } from "./ItemModelPackBuilder.mjs"
|
|
38
|
+
|
|
39
|
+
export { ItemModelResult } from "./ItemModelResult.mjs"
|
|
40
|
+
|
|
41
|
+
export { MeshConfig } from "./MeshConfig.mjs"
|
|
42
|
+
|
|
43
|
+
export { MeshJob } from "./MeshJob.mjs"
|
|
44
|
+
|
|
45
|
+
export { MeshResult } from "./MeshResult.mjs"
|
|
46
|
+
|
|
47
|
+
export { MultiMeshResult } from "./MultiMeshResult.mjs"
|
|
48
|
+
|
|
49
|
+
export { RawMeshExport } from "./RawMeshExport.mjs"
|
|
50
|
+
|
|
51
|
+
export { ResourcePack } from "./ResourcePack.mjs"
|
|
52
|
+
|
|
53
|
+
export { ResourcePackList } from "./ResourcePackList.mjs"
|
|
54
|
+
|
|
55
|
+
export { TextureAtlas } from "./TextureAtlas.mjs"
|
|
56
|
+
|
|
57
|
+
export { Nbt } from "./Nbt.mjs"
|
|
58
|
+
|
|
59
|
+
export { RenderConfig } from "./RenderConfig.mjs"
|
|
60
|
+
|
|
61
|
+
export { Renderer } from "./Renderer.mjs"
|
|
62
|
+
|
|
63
|
+
export { BlockState } from "./BlockState.mjs"
|
|
64
|
+
|
|
65
|
+
export { Schematic } from "./Schematic.mjs"
|
|
66
|
+
|
|
67
|
+
export { SchematicBuilder } from "./SchematicBuilder.mjs"
|
|
68
|
+
|
|
69
|
+
export { Scripting } from "./Scripting.mjs"
|
|
70
|
+
|
|
71
|
+
export { Sdf } from "./Sdf.mjs"
|
|
72
|
+
|
|
73
|
+
export { CircuitBuilder } from "./CircuitBuilder.mjs"
|
|
74
|
+
|
|
75
|
+
export { ExecutionMode } from "./ExecutionMode.mjs"
|
|
76
|
+
|
|
77
|
+
export { IoLayout } from "./IoLayout.mjs"
|
|
78
|
+
|
|
79
|
+
export { IoLayoutBuilder } from "./IoLayoutBuilder.mjs"
|
|
80
|
+
|
|
81
|
+
export { IoType } from "./IoType.mjs"
|
|
82
|
+
|
|
83
|
+
export { LayoutFunction } from "./LayoutFunction.mjs"
|
|
84
|
+
|
|
85
|
+
export { MchprsWorld } from "./MchprsWorld.mjs"
|
|
86
|
+
|
|
87
|
+
export { OutputCondition } from "./OutputCondition.mjs"
|
|
88
|
+
|
|
89
|
+
export { RedstoneGraph } from "./RedstoneGraph.mjs"
|
|
90
|
+
|
|
91
|
+
export { SortStrategy } from "./SortStrategy.mjs"
|
|
92
|
+
|
|
93
|
+
export { TypedCircuitExecutor } from "./TypedCircuitExecutor.mjs"
|
|
94
|
+
|
|
95
|
+
export { Value } from "./Value.mjs"
|
|
96
|
+
|
|
97
|
+
export { Store } from "./Store.mjs"
|
|
98
|
+
|
|
99
|
+
export { StoreIo } from "./StoreIo.mjs"
|
|
100
|
+
|
|
101
|
+
export { WorldChunkView } from "./WorldChunkView.mjs"
|
|
102
|
+
|
|
103
|
+
export { WorldSink } from "./WorldSink.mjs"
|
|
104
|
+
|
|
105
|
+
export { WorldStream } from "./WorldStream.mjs"
|
|
106
|
+
|
|
107
|
+
export { InterpolationSpace } from "./InterpolationSpace.mjs"
|
|
108
|
+
|
|
109
|
+
export { MeshPhase } from "./MeshPhase.mjs"
|
|
110
|
+
|
|
111
|
+
export { NucleationError } from "./NucleationError.mjs"
|
|
112
|
+
|
|
113
|
+
import wasm from "./diplomat-wasm.mjs";
|
|
114
|
+
import {FUNCTION_PARAM_ALLOC, internalConstructor} from "./diplomat-runtime.mjs";
|
|
115
|
+
|
|
116
|
+
FUNCTION_PARAM_ALLOC.reserve(internalConstructor, wasm, 52);
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,51 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nucleation",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "A high-performance Minecraft schematic parser and utility library",
|
|
3
5
|
"type": "module",
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
+
"main": "index.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./index.d.ts",
|
|
10
|
+
"default": "./index.mjs"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"*.mjs",
|
|
15
|
+
"*.d.ts",
|
|
16
|
+
"nucleation.wasm",
|
|
17
|
+
"diplomat.config.mjs"
|
|
6
18
|
],
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=18"
|
|
21
|
+
},
|
|
10
22
|
"repository": {
|
|
11
23
|
"type": "git",
|
|
12
24
|
"url": "git+https://github.com/Schem-at/Nucleation.git"
|
|
13
25
|
},
|
|
14
|
-
"files": [
|
|
15
|
-
"nucleation.js",
|
|
16
|
-
"nucleation-original.js",
|
|
17
|
-
"nucleation.d.ts",
|
|
18
|
-
"nucleation_bg.wasm",
|
|
19
|
-
"nucleation_bg.d.ts",
|
|
20
|
-
"nucleation-cdn-loader.js",
|
|
21
|
-
"api.js",
|
|
22
|
-
"README.md"
|
|
23
|
-
],
|
|
24
|
-
"main": "./nucleation.js",
|
|
25
|
-
"types": "./nucleation.d.ts",
|
|
26
|
-
"sideEffects": [
|
|
27
|
-
"./snippets/*"
|
|
28
|
-
],
|
|
29
|
-
"keywords": [
|
|
30
|
-
"minecraft",
|
|
31
|
-
"schematic",
|
|
32
|
-
"parser",
|
|
33
|
-
"voxel"
|
|
34
|
-
],
|
|
35
|
-
"module": "./nucleation.js",
|
|
36
|
-
"exports": {
|
|
37
|
-
".": {
|
|
38
|
-
"import": "./nucleation.js",
|
|
39
|
-
"types": "./nucleation.d.ts"
|
|
40
|
-
},
|
|
41
|
-
"./cdn-loader": {
|
|
42
|
-
"import": "./nucleation-cdn-loader.js"
|
|
43
|
-
},
|
|
44
|
-
"./api": {
|
|
45
|
-
"import": "./api.js"
|
|
46
|
-
},
|
|
47
|
-
"./package.json": "./package.json"
|
|
48
|
-
},
|
|
49
26
|
"homepage": "https://github.com/Schem-at/Nucleation",
|
|
50
|
-
"author": "Nano <nano@schem.at>"
|
|
27
|
+
"author": "Nano <nano@schem.at>",
|
|
28
|
+
"license": "MIT"
|
|
51
29
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Schem-at
|
|
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.
|