@lumiscaphe/viewer 4.1.5 → 4.1.7
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/dist/Viewer.d.ts +2 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -5
- package/patches/twgl.js+5.5.3.patch +27 -0
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumiscaphe/viewer",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.7",
|
|
4
4
|
"description": "Lumiscaphe 3D Viewer",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
9
9
|
"scripts": {
|
|
10
|
+
"postinstall": "patch-package",
|
|
10
11
|
"dev": "rollup -c rollup.config.js -w",
|
|
11
12
|
"build": "rollup -c rollup.config.js",
|
|
12
13
|
"build-prod": "rollup -c rollup.config.js --environment NODE_ENV:production",
|
|
@@ -26,11 +27,12 @@
|
|
|
26
27
|
"@rollup/plugin-typescript": "~11.1.0",
|
|
27
28
|
"@types/debounce-promise": "~3.1.3",
|
|
28
29
|
"@types/regression": "~2.0.0",
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "~6.
|
|
30
|
-
"@typescript-eslint/parser": "~6.
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "~6.13.0",
|
|
31
|
+
"@typescript-eslint/parser": "~6.13.0",
|
|
31
32
|
"cross-env": "~7.0.0",
|
|
32
|
-
"eslint": "~8.
|
|
33
|
+
"eslint": "~8.54.0",
|
|
33
34
|
"husky": "~8.0.0",
|
|
35
|
+
"patch-package": "~8.0.0",
|
|
34
36
|
"postcss": "~8.4.0",
|
|
35
37
|
"postcss-cssnext": "~3.1.0",
|
|
36
38
|
"postcss-reporter": "~7.0.0",
|
|
@@ -40,7 +42,7 @@
|
|
|
40
42
|
"rollup-plugin-postcss": "~4.0.0",
|
|
41
43
|
"stylelint": "~15.11.0",
|
|
42
44
|
"stylelint-config-standard": "~34.0.0",
|
|
43
|
-
"typescript": "~5.
|
|
45
|
+
"typescript": "~5.3.0",
|
|
44
46
|
"typescript-plugin-css-modules": "~5.0.0"
|
|
45
47
|
}
|
|
46
48
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
diff --git a/node_modules/twgl.js/dist/.DS_Store b/node_modules/twgl.js/dist/.DS_Store
|
|
2
|
+
new file mode 100644
|
|
3
|
+
index 0000000..2913b59
|
|
4
|
+
Binary files /dev/null and b/node_modules/twgl.js/dist/.DS_Store differ
|
|
5
|
+
diff --git a/node_modules/twgl.js/dist/5.x/twgl-full.module.js b/node_modules/twgl.js/dist/5.x/twgl-full.module.js
|
|
6
|
+
index dd530b7..21e9e74 100644
|
|
7
|
+
--- a/node_modules/twgl.js/dist/5.x/twgl-full.module.js
|
|
8
|
+
+++ b/node_modules/twgl.js/dist/5.x/twgl-full.module.js
|
|
9
|
+
@@ -6308,14 +6308,14 @@ function loadCubemapFromUrls(gl, tex, options, callback) {
|
|
10
|
+
} else {
|
|
11
|
+
gl.texImage2D(faceTarget, level, internalFormat, format, type, img);
|
|
12
|
+
}
|
|
13
|
+
-
|
|
14
|
+
- if (shouldAutomaticallySetTextureFilteringForSize(options)) {
|
|
15
|
+
- gl.generateMipmap(target);
|
|
16
|
+
- }
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if (numToLoad === 0) {
|
|
21
|
+
+ if (shouldAutomaticallySetTextureFilteringForSize(options)) {
|
|
22
|
+
+ gl.generateMipmap(target);
|
|
23
|
+
+ }
|
|
24
|
+
+
|
|
25
|
+
callback(errors.length ? errors : undefined, tex, imgs);
|
|
26
|
+
}
|
|
27
|
+
};
|