@opfr/canvas 0.4.1 → 0.5.0

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/dist/index.es.js +1 -2
  2. package/package.json +4 -4
package/dist/index.es.js CHANGED
@@ -1476,8 +1476,7 @@ function Ci(t, e, n) {
1476
1476
  if (typeof t == "string") {
1477
1477
  if (t = Me(jt, t), t === null)
1478
1478
  return this;
1479
- } else
1480
- Math.abs(t) < 16 && !n && (t = t * 60);
1479
+ } else Math.abs(t) < 16 && !n && (t = t * 60);
1481
1480
  return !this._isUTC && e && (i = ne(this)), this._offset = t, this._isUTC = !0, i != null && this.add(i, "m"), s !== t && (!e || this._changeInProgress ? fn(
1482
1481
  this,
1483
1482
  L(t - s, "m"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opfr/canvas",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "private": false,
5
5
  "description": "OPFR canvas",
6
6
  "author": "Matthieu VEIGA",
@@ -8,9 +8,9 @@
8
8
  "prepublish": "npm run build",
9
9
  "build": " vite build && tsc"
10
10
  },
11
- "peerDependencies": {
11
+ "dependencies": {
12
12
  "@napi-rs/canvas": "0.x",
13
- "@opfr/utils-lang": "0.x"
13
+ "@opfr/utils-lang": "^0.9.0"
14
14
  },
15
15
  "main": "dist/index.umd.js",
16
16
  "module": "dist/index.es.js",
@@ -29,5 +29,5 @@
29
29
  "node_modules",
30
30
  "dist"
31
31
  ],
32
- "gitHead": "193bc2fc91cbc7a87da9e9d173ae6cedc1d65664"
32
+ "gitHead": "a4545c596b74fa4a8a7357f9092a6d6c519865ed"
33
33
  }