canvas-context
Advanced tools
Comparing version 3.0.2 to 3.1.0
@@ -5,2 +5,11 @@ # Changelog | ||
# [3.1.0](https://github.com/dmnsgn/canvas-context/compare/v3.0.2...v3.1.0) (2021-10-02) | ||
### Features | ||
* add exports field to package.json ([1237509](https://github.com/dmnsgn/canvas-context/commit/12375095edb87e72dcde45600652707ffcf4492a)) | ||
## [3.0.2](https://github.com/dmnsgn/canvas-context/compare/v3.0.1...v3.0.2) (2021-04-14) | ||
@@ -7,0 +16,0 @@ |
{ | ||
"name": "canvas-context", | ||
"version": "3.0.2", | ||
"version": "3.1.0", | ||
"description": "Create a RenderingContext (2d, webgl, webgl2, bitmaprenderer, gpupresent), optionally offscreen for possible use in a Worker.", | ||
@@ -35,2 +35,3 @@ "keywords": [ | ||
"type": "module", | ||
"exports": "./index.js", | ||
"main": "index.js", | ||
@@ -37,0 +38,0 @@ "types": "types/index.d.ts", |
@@ -31,4 +31,4 @@ /** | ||
export type CanvasContextReturnValue = { | ||
canvas: HTMLCanvasElement | OffscreenCanvas; | ||
canvas: HTMLCanvasElement | any; | ||
context: RenderingContext; | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14261