@napi-rs/canvas 0.1.100 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +0 -3
  2. package/package.json +26 -23
package/README.md CHANGED
@@ -9,9 +9,6 @@
9
9
 
10
10
  Google Skia binding to Node.js via [Node-API](https://napi.rs), **0 System dependencies!**
11
11
 
12
- ⚠️ This project is in pre-release stage. And there may be some bugs.<br/>
13
- For details on planned features and future direction please refer to the [Roadmap](https://github.com/Brooooooklyn/canvas/issues/113).
14
-
15
12
  [中文文档](./README-zh.md)
16
13
 
17
14
  # Install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@napi-rs/canvas",
3
- "version": "0.1.100",
3
+ "version": "1.0.1",
4
4
  "description": "Canvas for Node.js with skia backend",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -69,8 +69,8 @@
69
69
  "lint": "oxlint",
70
70
  "prepublishOnly": "pinst --disable && napi prepublish -t npm",
71
71
  "postpublish": "pinst --enable",
72
- "test:ci": "ava -c 1",
73
- "test": "ava",
72
+ "test:ci": "NODE_OPTIONS='--import=core-js/proposals/iterator-helpers.js' ava -c 1",
73
+ "test": "NODE_OPTIONS='--import=core-js/proposals/iterator-helpers.js' ava",
74
74
  "e2e": "yarn workspace @napi-rs/canvas-e2e-webpack test",
75
75
  "version": "napi version && conventional-changelog -p angular -i CHANGELOG.md -s && git add ."
76
76
  },
@@ -88,20 +88,20 @@
88
88
  "@types/lodash": "^4.17.21",
89
89
  "@types/node": "^25.0.3",
90
90
  "@types/semver": "^7",
91
- "ava": "^7.0.0",
91
+ "ava": "^8.0.0",
92
92
  "canvas": "^3.2.0",
93
93
  "canvaskit-wasm": "^0.41.0",
94
94
  "colorette": "^2.0.20",
95
95
  "conventional-changelog-cli": "^5.0.0",
96
96
  "core-js": "^3.47.0",
97
97
  "echarts": "^6.0.0",
98
- "electron": "^41.0.0",
98
+ "electron": "^42.0.0",
99
99
  "husky": "^9.1.7",
100
- "lint-staged": "^16.2.7",
100
+ "lint-staged": "^17.0.0",
101
101
  "lodash": "^4.17.21",
102
- "npm-run-all2": "^8.0.4",
102
+ "npm-run-all2": "^9.0.0",
103
103
  "oxlint": "^1.34.0",
104
- "oxlint-tsgolint": "^0.22.0",
104
+ "oxlint-tsgolint": "^0.23.0",
105
105
  "pinst": "^3.0.0",
106
106
  "png.js": "^0.2.1",
107
107
  "prettier": "^3.7.4",
@@ -125,9 +125,9 @@
125
125
  "--import=@oxc-node/core/register",
126
126
  "--import=core-js/proposals/promise-with-resolvers.js"
127
127
  ],
128
- "extensions": {
129
- "ts": "module"
130
- },
128
+ "extensions": [
129
+ "ts"
130
+ ],
131
131
  "files": [
132
132
  "__test__/**/*.spec.ts",
133
133
  "scripts/__test__/**/*.spec.ts"
@@ -151,7 +151,7 @@
151
151
  "type": "github",
152
152
  "url": "https://github.com/sponsors/Brooooooklyn"
153
153
  },
154
- "packageManager": "yarn@4.14.1",
154
+ "packageManager": "yarn@4.17.0",
155
155
  "dependenciesMeta": {
156
156
  "canvas": {
157
157
  "built": true
@@ -160,17 +160,20 @@
160
160
  "built": true
161
161
  }
162
162
  },
163
+ "resolutions": {
164
+ "@napi-rs/canvas": "workspace:"
165
+ },
163
166
  "optionalDependencies": {
164
- "@napi-rs/canvas-linux-x64-gnu": "0.1.100",
165
- "@napi-rs/canvas-darwin-x64": "0.1.100",
166
- "@napi-rs/canvas-win32-x64-msvc": "0.1.100",
167
- "@napi-rs/canvas-win32-arm64-msvc": "0.1.100",
168
- "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.100",
169
- "@napi-rs/canvas-linux-x64-musl": "0.1.100",
170
- "@napi-rs/canvas-linux-arm64-gnu": "0.1.100",
171
- "@napi-rs/canvas-linux-arm64-musl": "0.1.100",
172
- "@napi-rs/canvas-darwin-arm64": "0.1.100",
173
- "@napi-rs/canvas-android-arm64": "0.1.100",
174
- "@napi-rs/canvas-linux-riscv64-gnu": "0.1.100"
167
+ "@napi-rs/canvas-linux-x64-gnu": "1.0.1",
168
+ "@napi-rs/canvas-darwin-x64": "1.0.1",
169
+ "@napi-rs/canvas-win32-x64-msvc": "1.0.1",
170
+ "@napi-rs/canvas-win32-arm64-msvc": "1.0.1",
171
+ "@napi-rs/canvas-linux-arm-gnueabihf": "1.0.1",
172
+ "@napi-rs/canvas-linux-x64-musl": "1.0.1",
173
+ "@napi-rs/canvas-linux-arm64-gnu": "1.0.1",
174
+ "@napi-rs/canvas-linux-arm64-musl": "1.0.1",
175
+ "@napi-rs/canvas-darwin-arm64": "1.0.1",
176
+ "@napi-rs/canvas-android-arm64": "1.0.1",
177
+ "@napi-rs/canvas-linux-riscv64-gnu": "1.0.1"
175
178
  }
176
179
  }