@monogrid/gainmap-js 3.0.4 → 3.0.5
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/CHANGELOG.md +7 -0
- package/dist/{QuadRenderer-C4ionbnq.js → QuadRenderer-6HrRQdJM.js} +1 -1
- package/dist/{_commonjsHelpers-DXfhkIdK.js → _commonjsHelpers-Bp8wfxdl.js} +1 -1
- package/dist/{compress-CQEeAo-R.js → compress-D7K92XO0.js} +1 -1
- package/dist/decode.js +2 -2
- package/dist/{decode.umd.js → decode.umd.cjs} +1 -1
- package/dist/encode.js +3 -3
- package/dist/{encode.umd.js → encode.umd.cjs} +1 -1
- package/dist/libultrahdr.js +1 -1
- package/dist/{libultrahdr.umd.js → libultrahdr.umd.cjs} +5 -5
- package/dist/worker-interface.js +2 -2
- package/dist/{worker-interface.umd.js → worker-interface.umd.cjs} +1 -1
- package/dist/worker.js +3 -3
- package/dist/{worker.umd.js → worker.umd.cjs} +1 -1
- package/package.json +13 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.0.5](https://github.com/MONOGRID/gainmap-js/compare/v3.0.4...v3.0.5) (2024-04-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **package.json:** publint fixes so that package is correctly imported in next.js ([#36](https://github.com/MONOGRID/gainmap-js/issues/36)) ([490df10](https://github.com/MONOGRID/gainmap-js/commit/490df10f401a82267595dd9e161cc6a0bbce3d94))
|
|
7
|
+
|
|
1
8
|
## [3.0.4](https://github.com/MONOGRID/gainmap-js/compare/v3.0.3...v3.0.4) (2024-04-02)
|
|
2
9
|
|
|
3
10
|
|
package/dist/decode.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @monogrid/gainmap-js v3.0.
|
|
2
|
+
* @monogrid/gainmap-js v3.0.5
|
|
3
3
|
* With ❤️, by MONOGRID <rnd@monogrid.com>
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { Q as QuadRenderer } from './QuadRenderer-
|
|
6
|
+
import { Q as QuadRenderer } from './QuadRenderer-6HrRQdJM.js';
|
|
7
7
|
import { ShaderMaterial, Vector3, NoBlending, SRGBColorSpace, LinearSRGBColorSpace, HalfFloatType, Loader, LoadingManager, Texture, UVMapping, ClampToEdgeWrapping, LinearFilter, LinearMipMapLinearFilter, RGBAFormat, UnsignedByteType, FileLoader } from 'three';
|
|
8
8
|
|
|
9
9
|
const vertexShader = /* glsl */ `
|
package/dist/encode.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @monogrid/gainmap-js v3.0.
|
|
2
|
+
* @monogrid/gainmap-js v3.0.5
|
|
3
3
|
* With ❤️, by MONOGRID <rnd@monogrid.com>
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { c as compress } from './compress-
|
|
6
|
+
import { c as compress } from './compress-D7K92XO0.js';
|
|
7
7
|
import { DataTexture, RGBAFormat, UVMapping, RepeatWrapping, LinearFilter, LinearSRGBColorSpace, ShaderMaterial, Vector3, NoBlending, UnsignedByteType, ACESFilmicToneMapping, LinearToneMapping, CineonToneMapping, ReinhardToneMapping, SRGBColorSpace, Vector2, WebGLRenderTarget, NearestFilter, ClampToEdgeWrapping, FloatType, DataUtils } from 'three';
|
|
8
|
-
import { Q as QuadRenderer } from './QuadRenderer-
|
|
8
|
+
import { Q as QuadRenderer } from './QuadRenderer-6HrRQdJM.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Utility function to obtain a `DataTexture` from various input formats
|
package/dist/libultrahdr.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @monogrid/gainmap-js v3.0.
|
|
2
|
+
* @monogrid/gainmap-js v3.0.5
|
|
3
3
|
* With ❤️, by MONOGRID <rnd@monogrid.com>
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
13
13
|
var Module = (() => {
|
|
14
|
-
var _scriptDir = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('libultrahdr.umd.
|
|
14
|
+
var _scriptDir = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('libultrahdr.umd.cjs', document.baseURI).href));
|
|
15
15
|
|
|
16
16
|
return (
|
|
17
17
|
async function(moduleArg = {}) {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
// TODO: Swap all `require()`'s with `import()`'s?
|
|
108
108
|
const { createRequire } = await import('module');
|
|
109
109
|
/** @suppress{duplicate} */
|
|
110
|
-
var require$1 = createRequire((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('libultrahdr.umd.
|
|
110
|
+
var require$1 = createRequire((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('libultrahdr.umd.cjs', document.baseURI).href)));
|
|
111
111
|
// These modules will usually be used on Node.js. Load them eagerly to avoid
|
|
112
112
|
// the complexity of lazy-loading.
|
|
113
113
|
var fs = require$1('fs');
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
// EXPORT_ES6 + ENVIRONMENT_IS_NODE always requires use of import.meta.url,
|
|
120
120
|
// since there's no way getting the current absolute path of the module when
|
|
121
121
|
// support for that is not available.
|
|
122
|
-
scriptDirectory = require$1('url').fileURLToPath(new URL('./', (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('libultrahdr.umd.
|
|
122
|
+
scriptDirectory = require$1('url').fileURLToPath(new URL('./', (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('libultrahdr.umd.cjs', document.baseURI).href)))); // includes trailing slash
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
// include: node_shell_read.js
|
|
@@ -709,7 +709,7 @@
|
|
|
709
709
|
}
|
|
710
710
|
} else {
|
|
711
711
|
// Use bundler-friendly `new URL(..., import.meta.url)` pattern; works in browsers too.
|
|
712
|
-
wasmBinaryFile = new URL('libultrahdr-esm.wasm', (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('libultrahdr.umd.
|
|
712
|
+
wasmBinaryFile = new URL('libultrahdr-esm.wasm', (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('libultrahdr.umd.cjs', document.baseURI).href))).href;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
715
|
function getBinarySync(file) {
|
package/dist/worker-interface.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @monogrid/gainmap-js v3.0.
|
|
2
|
+
* @monogrid/gainmap-js v3.0.5
|
|
3
3
|
* With ❤️, by MONOGRID <rnd@monogrid.com>
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
6
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-Bp8wfxdl.js';
|
|
7
7
|
|
|
8
8
|
var lib$1;
|
|
9
9
|
var hasRequiredLib$1;
|
package/dist/worker.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @monogrid/gainmap-js v3.0.
|
|
2
|
+
* @monogrid/gainmap-js v3.0.5
|
|
3
3
|
* With ❤️, by MONOGRID <rnd@monogrid.com>
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
7
|
-
import { c as compress } from './compress-
|
|
6
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-Bp8wfxdl.js';
|
|
7
|
+
import { c as compress } from './compress-D7K92XO0.js';
|
|
8
8
|
|
|
9
9
|
var isPromise$2 = {exports: {}};
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monogrid/gainmap-js",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "A Javascript (TypeScript) Port of Adobe Gainmap Technology for storing HDR Images using an SDR Image + a gain map",
|
|
5
5
|
"homepage": "https://github.com/MONOGRID/gainmap-js#readme",
|
|
6
6
|
"repository": {
|
|
@@ -28,31 +28,36 @@
|
|
|
28
28
|
"path": "./node_modules/cz-conventional-changelog"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"main": "dist/decode.umd.
|
|
31
|
+
"main": "dist/decode.umd.cjs",
|
|
32
32
|
"module": "dist/decode.js",
|
|
33
33
|
"types": "dist/decode.d.ts",
|
|
34
34
|
"sideEffects": false,
|
|
35
35
|
"type": "module",
|
|
36
36
|
"exports": {
|
|
37
37
|
".": {
|
|
38
|
+
"types": "./dist/decode.d.ts",
|
|
38
39
|
"import": "./dist/decode.js",
|
|
39
|
-
"
|
|
40
|
+
"default": "./dist/decode.umd.cjs"
|
|
40
41
|
},
|
|
41
42
|
"./encode": {
|
|
43
|
+
"types": "./dist/encode.d.ts",
|
|
42
44
|
"import": "./dist/encode.js",
|
|
43
|
-
"
|
|
45
|
+
"default": "./dist/encode.umd.cjs"
|
|
44
46
|
},
|
|
45
47
|
"./libultrahdr": {
|
|
48
|
+
"types": "./dist/libultrahdr.d.ts",
|
|
46
49
|
"import": "./dist/libultrahdr.js",
|
|
47
|
-
"
|
|
50
|
+
"default": "./dist/libultrahdr.umd.cjs"
|
|
48
51
|
},
|
|
49
52
|
"./worker": {
|
|
53
|
+
"types": "./dist/worker.d.ts",
|
|
50
54
|
"import": "./dist/worker.js",
|
|
51
|
-
"
|
|
55
|
+
"default": "./dist/worker.umd.cjs"
|
|
52
56
|
},
|
|
53
57
|
"./worker-interface": {
|
|
58
|
+
"types": "./dist/worker-interface.d.ts",
|
|
54
59
|
"import": "./dist/worker-interface.js",
|
|
55
|
-
"
|
|
60
|
+
"default": "./dist/worker-interface.umd.cjs"
|
|
56
61
|
}
|
|
57
62
|
},
|
|
58
63
|
"typesVersions": {
|
|
@@ -80,7 +85,7 @@
|
|
|
80
85
|
"start": "concurrently -n rollup,servez -c magenta,green \"rollup -c -w\" \"servez\"",
|
|
81
86
|
"test": "nyc --reporter=text --reporter=lcov playwright test",
|
|
82
87
|
"test:startserver": "rollup -c && servez",
|
|
83
|
-
"test:docker": "docker run --rm --network host -v $(pwd):/work -w /work -it -u $(id -u ${USER}):$(id -g ${USER}) mcr.microsoft.com/playwright:v1.
|
|
88
|
+
"test:docker": "docker run --rm --network host -v $(pwd):/work -w /work -it -u $(id -u ${USER}):$(id -g ${USER}) mcr.microsoft.com/playwright:v1.42.1-jammy /bin/bash",
|
|
84
89
|
"test:codegen": "playwright codegen http://localhost:8080",
|
|
85
90
|
"prepack": "npm run build",
|
|
86
91
|
"check": "concurrently -c auto npm:check:*",
|