@thi.ng/hiccup-css 2.1.35 → 2.1.38

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 (3) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/package.json +11 -11
  3. package/units.js +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-01-10T15:20:19Z
3
+ - **Last updated**: 2023-02-10T14:03:10Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,14 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [2.1.37](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.1.37) (2023-02-10)
13
+
14
+ #### 🩹 Bug fixes
15
+
16
+ - allow negative values for px ([340d542](https://github.com/thi-ng/umbrella/commit/340d542))
17
+ Swap use of unsigned shift for OR `0`
18
+ Fixes issue [#383](https://github.com/thi-ng/umbrella/issues/383)
19
+
12
20
  ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.1.0) (2021-11-17)
13
21
 
14
22
  #### 🚀 Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-css",
3
- "version": "2.1.35",
3
+ "version": "2.1.38",
4
4
  "description": "CSS from nested JS data structures",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,18 +34,18 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.6.3",
38
- "@thi.ng/checks": "^3.3.7",
39
- "@thi.ng/errors": "^2.2.8",
40
- "@thi.ng/transducers": "^8.3.30"
37
+ "@thi.ng/api": "^8.7.2",
38
+ "@thi.ng/checks": "^3.3.9",
39
+ "@thi.ng/errors": "^2.2.11",
40
+ "@thi.ng/transducers": "^8.3.33"
41
41
  },
42
42
  "devDependencies": {
43
- "@microsoft/api-extractor": "^7.33.7",
44
- "@thi.ng/testament": "^0.3.9",
45
- "rimraf": "^3.0.2",
43
+ "@microsoft/api-extractor": "^7.34.2",
44
+ "@thi.ng/testament": "^0.3.11",
45
+ "rimraf": "^4.1.2",
46
46
  "tools": "^0.0.1",
47
- "typedoc": "^0.23.22",
48
- "typescript": "^4.9.4"
47
+ "typedoc": "^0.23.24",
48
+ "typescript": "^4.9.5"
49
49
  },
50
50
  "keywords": [
51
51
  "array",
@@ -127,5 +127,5 @@
127
127
  ],
128
128
  "year": 2016
129
129
  },
130
- "gitHead": "3f0b3e2a7c82aefc7e46fb4338369836b5e1b8cf\n"
130
+ "gitHead": "cafa4ecea90fb681949dc3885a5bd6ddefa38b51\n"
131
131
  }
package/units.js CHANGED
@@ -2,7 +2,7 @@ export const em = (x) => `${x}em`;
2
2
  export const ex = (x) => `${x}ex`;
3
3
  export const rem = (x) => `${x}rem`;
4
4
  export const percent = (x) => `${x}%`;
5
- export const px = (x) => `${x >>> 0}px`;
5
+ export const px = (x) => `${x | 0}px`;
6
6
  export const vh = (x) => `${x}vh`;
7
7
  export const vw = (x) => `${x}vw`;
8
8
  export const ms = (x) => `${x >>> 0}ms`;