@napi-rs/canvas 0.1.20 → 0.1.21

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/CHANGELOG.md +12 -0
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [0.1.21](https://github.com/Brooooooklyn/canvas/compare/v0.1.20...v0.1.21) (2022-03-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * BlendMode::Source should be copy instead of source ([a010fba](https://github.com/Brooooooklyn/canvas/commit/a010fba4c8e7ae3bed2e8119c6862c98e5a466b4))
7
+ * prevent segmentation fault if mesuring empty text ([2117ddb](https://github.com/Brooooooklyn/canvas/commit/2117ddbb413df47df8a716eb66e79eb552b2a986))
8
+ * should not throw if fill/stroke style is invalid ([0d12337](https://github.com/Brooooooklyn/canvas/commit/0d12337e8ed6590a4788fd7758e30a77db312577))
9
+ * stroke/fill text should treat \n as space ([4c9ac1e](https://github.com/Brooooooklyn/canvas/commit/4c9ac1e60b8a16b5209d83e115947cd7cbbf273e))
10
+
11
+
12
+
1
13
  ## [0.1.20](https://github.com/Brooooooklyn/canvas/compare/v0.1.19...v0.1.20) (2022-02-15)
2
14
 
3
15
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@napi-rs/canvas",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "Canvas for Node.js with skia backend",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/Brooooooklyn/canvas.git",
@@ -81,12 +81,12 @@
81
81
  "eslint-config-prettier": "^8.3.0",
82
82
  "eslint-plugin-import": "^2.25.4",
83
83
  "eslint-plugin-prettier": "^4.0.0",
84
- "eslint-plugin-sonarjs": "^0.11.0",
84
+ "eslint-plugin-sonarjs": "^0.12.0",
85
85
  "husky": "^7.0.4",
86
86
  "lint-staged": "^12.3.3",
87
87
  "lodash": "^4.17.21",
88
88
  "npm-run-all": "^4.1.5",
89
- "pinst": "^2.1.6",
89
+ "pinst": "^3.0.0",
90
90
  "png.js": "^0.2.1",
91
91
  "prettier": "^2.5.1",
92
92
  "putasset": "^5.0.3",
@@ -124,14 +124,14 @@
124
124
  "arrowParens": "always"
125
125
  },
126
126
  "optionalDependencies": {
127
- "@napi-rs/canvas-win32-x64-msvc": "0.1.20",
128
- "@napi-rs/canvas-darwin-x64": "0.1.20",
129
- "@napi-rs/canvas-linux-x64-gnu": "0.1.20",
130
- "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.20",
131
- "@napi-rs/canvas-linux-x64-musl": "0.1.20",
132
- "@napi-rs/canvas-linux-arm64-gnu": "0.1.20",
133
- "@napi-rs/canvas-linux-arm64-musl": "0.1.20",
134
- "@napi-rs/canvas-darwin-arm64": "0.1.20",
135
- "@napi-rs/canvas-android-arm64": "0.1.20"
127
+ "@napi-rs/canvas-win32-x64-msvc": "0.1.21",
128
+ "@napi-rs/canvas-darwin-x64": "0.1.21",
129
+ "@napi-rs/canvas-linux-x64-gnu": "0.1.21",
130
+ "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.21",
131
+ "@napi-rs/canvas-linux-x64-musl": "0.1.21",
132
+ "@napi-rs/canvas-linux-arm64-gnu": "0.1.21",
133
+ "@napi-rs/canvas-linux-arm64-musl": "0.1.21",
134
+ "@napi-rs/canvas-darwin-arm64": "0.1.21",
135
+ "@napi-rs/canvas-android-arm64": "0.1.21"
136
136
  }
137
137
  }