@napi-rs/canvas 0.1.7 → 0.1.8
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 +2 -0
- package/README.md +1 -9
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# `skr canvas`
|
|
2
2
|
|
|
3
3
|

|
|
4
|
-

|
|
5
5
|
[](https://packagephobia.com/result?p=@napi-rs/canvas)
|
|
6
6
|
[](https://npmcharts.com/compare/@napi-rs/canvas?minimal=true)
|
|
7
7
|
|
|
@@ -37,14 +37,6 @@ npm install @napi-rs/canvas
|
|
|
37
37
|
|
|
38
38
|
## System requirement
|
|
39
39
|
|
|
40
|
-
### `x64`
|
|
41
|
-
|
|
42
|
-
Because skia relies heavily on the [`AVX2`](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX2) instructions, the CPU needs to be at least [`Intel haswell`](<https://en.wikipedia.org/wiki/Haswell_(microarchitecture)>), [`AMD Excavator`](<https://en.wikipedia.org/wiki/Excavator_(microarchitecture)>) (Intel Core 4th+/AMD Excavator+) or newer architecture for use on **Windows** and **Linux**.
|
|
43
|
-
|
|
44
|
-
On `macOS`, the CPU needs to be at least Intel [`Intel ivybridge`](<https://en.wikipedia.org/wiki/Ivy_Bridge_(microarchitecture)>) (Intel Core 3th+).
|
|
45
|
-
|
|
46
|
-
> Because Github Actions only provide `ivybridge` CPU on macOS CI, so we need support back to `ivybridge` CPU on macOS to run tests in CI.
|
|
47
|
-
|
|
48
40
|
### `arm64`
|
|
49
41
|
|
|
50
42
|
[**_cortex-a57_**](https://en.wikipedia.org/wiki/ARM_Cortex-A57) or newer CPU architecture on **Linux**.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@napi-rs/canvas",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Canvas for Node.js with skia backend",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "https://github.com/Brooooooklyn/canvas.git",
|
|
@@ -66,33 +66,33 @@
|
|
|
66
66
|
"@jimp/custom": "^0.16.1",
|
|
67
67
|
"@jimp/jpeg": "^0.16.1",
|
|
68
68
|
"@jimp/png": "^0.16.1",
|
|
69
|
-
"@napi-rs/cli": "^1.
|
|
70
|
-
"@octokit/rest": "^18.
|
|
71
|
-
"@swc-node/register": "^1.3.
|
|
72
|
-
"@types/lodash": "^4.14.
|
|
73
|
-
"@typescript-eslint/eslint-plugin": "^4.
|
|
74
|
-
"@typescript-eslint/parser": "^4.
|
|
69
|
+
"@napi-rs/cli": "^1.3.3",
|
|
70
|
+
"@octokit/rest": "^18.10.0",
|
|
71
|
+
"@swc-node/register": "^1.3.5",
|
|
72
|
+
"@types/lodash": "^4.14.173",
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "^4.31.1",
|
|
74
|
+
"@typescript-eslint/parser": "^4.31.1",
|
|
75
75
|
"ava": "^3.15.0",
|
|
76
76
|
"benny": "^3.6.15",
|
|
77
77
|
"canvas": "^2.8.0",
|
|
78
|
-
"canvaskit-wasm": "^0.
|
|
78
|
+
"canvaskit-wasm": "^0.30.0",
|
|
79
79
|
"chalk": "^4.1.2",
|
|
80
80
|
"conventional-changelog-cli": "^2.1.1",
|
|
81
81
|
"eslint": "^7.32.0",
|
|
82
82
|
"eslint-config-prettier": "^8.3.0",
|
|
83
|
-
"eslint-plugin-import": "^2.
|
|
83
|
+
"eslint-plugin-import": "^2.24.2",
|
|
84
84
|
"eslint-plugin-prettier": "^4.0.0",
|
|
85
85
|
"eslint-plugin-sonarjs": "^0.10.0",
|
|
86
|
-
"husky": "^7.0.
|
|
86
|
+
"husky": "^7.0.2",
|
|
87
87
|
"lint-staged": "^11.1.2",
|
|
88
88
|
"lodash": "^4.17.21",
|
|
89
89
|
"npm-run-all": "^4.1.5",
|
|
90
90
|
"pinst": "^2.1.6",
|
|
91
91
|
"png.js": "^0.2.1",
|
|
92
|
-
"prettier": "^2.
|
|
92
|
+
"prettier": "^2.4.1",
|
|
93
93
|
"putasset": "^5.0.3",
|
|
94
|
-
"skia-canvas": "^0.9.
|
|
95
|
-
"typescript": "^4.3
|
|
94
|
+
"skia-canvas": "^0.9.25",
|
|
95
|
+
"typescript": "^4.4.3"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
98
|
"@node-rs/helper": "^1.2.1"
|
|
@@ -134,14 +134,14 @@
|
|
|
134
134
|
"parser": "typescript"
|
|
135
135
|
},
|
|
136
136
|
"optionalDependencies": {
|
|
137
|
-
"@napi-rs/canvas-win32-x64-msvc": "
|
|
138
|
-
"@napi-rs/canvas-darwin-x64": "
|
|
139
|
-
"@napi-rs/canvas-linux-x64-gnu": "
|
|
140
|
-
"@napi-rs/canvas-linux-arm-gnueabihf": "
|
|
141
|
-
"@napi-rs/canvas-linux-x64-musl": "
|
|
142
|
-
"@napi-rs/canvas-linux-arm64-gnu": "
|
|
143
|
-
"@napi-rs/canvas-linux-arm64-musl": "
|
|
144
|
-
"@napi-rs/canvas-darwin-arm64": "
|
|
145
|
-
"@napi-rs/canvas-android-arm64": "
|
|
137
|
+
"@napi-rs/canvas-win32-x64-msvc": "0.1.8",
|
|
138
|
+
"@napi-rs/canvas-darwin-x64": "0.1.8",
|
|
139
|
+
"@napi-rs/canvas-linux-x64-gnu": "0.1.8",
|
|
140
|
+
"@napi-rs/canvas-linux-arm-gnueabihf": "0.1.8",
|
|
141
|
+
"@napi-rs/canvas-linux-x64-musl": "0.1.8",
|
|
142
|
+
"@napi-rs/canvas-linux-arm64-gnu": "0.1.8",
|
|
143
|
+
"@napi-rs/canvas-linux-arm64-musl": "0.1.8",
|
|
144
|
+
"@napi-rs/canvas-darwin-arm64": "0.1.8",
|
|
145
|
+
"@napi-rs/canvas-android-arm64": "0.1.8"
|
|
146
146
|
}
|
|
147
147
|
}
|