hdr-canvas 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdr-canvas",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "HDR capable HTML canvas",
5
5
  "main": "dist/hdr-canvas.js",
6
6
  "files": [
@@ -44,15 +44,15 @@
44
44
  "@rollup/plugin-terser": "^0.4.4",
45
45
  "@rollup/plugin-typescript": "^11.1.6",
46
46
  "@types/eslint__js": "^8.42.3",
47
- "eslint": "^9.6.0",
48
- "prettier": "^3.3.2",
49
- "rimraf": "^6.0.0",
50
- "rollup": "^4.18.1",
47
+ "eslint": "^9.9.0",
48
+ "prettier": "^3.3.3",
49
+ "rimraf": "^6.0.1",
50
+ "rollup": "^4.21.0",
51
51
  "rollup-plugin-dts": "^6.1.1",
52
- "three": "^0.167.0",
52
+ "three": "^0.167.1",
53
53
  "tslib": "^2.6.3",
54
- "typescript": "^5.5.3",
55
- "typescript-eslint": "^8.0.0-alpha.10"
54
+ "typescript": "^5.5.4",
55
+ "typescript-eslint": "^8.2.0"
56
56
  },
57
57
  "dependencies": {
58
58
  "colorjs.io": "^0.5.2"
package/src/index.ts CHANGED
@@ -1,3 +1,7 @@
1
1
  export { Uint16Image } from "./Uint16Image";
2
2
  export { checkHDR, checkHDRCanvas } from "./hdr-check";
3
- export { initHDRCanvas, defaultGetContextHDR, resetGetContext } from "./hdr-canvas";
3
+ export {
4
+ initHDRCanvas,
5
+ defaultGetContextHDR,
6
+ resetGetContext,
7
+ } from "./hdr-canvas";
@@ -1,5 +1,5 @@
1
- import WebGPUBackend from 'three/addons/renderers/webgpu/WebGPUBackend.js';
2
- import { GPUFeatureName, GPUTextureFormat } from 'three/addons/renderers/webgpu/utils/WebGPUConstants.js';
1
+ import WebGPUBackend from 'three/renderers/webgpu/WebGPUBackend.js';
2
+ import { GPUFeatureName, GPUTextureFormat } from 'three/renderers/webgpu/utils/WebGPUConstants.js';
3
3
 
4
4
  class HDRWebGPUBackend extends WebGPUBackend {
5
5
 
@@ -1,7 +1,7 @@
1
1
  import WebGPU from './WebGPU.js';
2
2
 
3
- import Renderer from 'three/addons/renderers/common/Renderer.js';
4
- import WebGLBackend from 'three/addons/renderers/webgl/WebGLBackend.js';
3
+ import Renderer from 'three/renderers/common/Renderer.js';
4
+ import WebGLBackend from 'three/renderers/webgl/WebGLBackend.js';
5
5
  import HDRWebGPUBackend from './HDRWebGPUBackend.js';
6
6
 
7
7
  class HDRWebGPURenderer extends Renderer {