is-object-empty2 1.0.8 → 1.1.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.
@@ -20,7 +20,7 @@ jobs:
20
20
  - uses: actions/checkout@v4
21
21
  - uses: actions/setup-node@v4
22
22
  with:
23
- node-version: lts/*
23
+ node-version: lts/krypton
24
24
 
25
25
  - run: npm install
26
26
  - run: npm test
@@ -41,7 +41,7 @@ jobs:
41
41
  - uses: actions/checkout@v4
42
42
  - uses: actions/setup-node@v4
43
43
  with:
44
- node-version: lts/*
44
+ node-version: lts/krypton
45
45
  registry-url: https://registry.npmjs.org/
46
46
 
47
47
  - run: npm install
package/README.md CHANGED
@@ -54,7 +54,7 @@ console.log(isObjectEmpty2(undefined)); // false
54
54
 
55
55
  ## TypeScript
56
56
  ```javascript
57
- import isObjectEmpty2 = require('is-object-empty2');
57
+ import isObjectEmpty2 from 'is-object-empty2';
58
58
 
59
59
  const testValues: unknown[] = [
60
60
  {},
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * is-object-empty2 - 📦 Tiny utility to check if a value is a plain empty object in JavaScript and TypeScript
3
- * @version: v1.0.8
3
+ * @version: v1.1.0
4
4
  * @link: https://github.com/tutyamxx/is-object-empty2
5
5
  * @license: MIT
6
6
  **/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-object-empty2",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "description": "📦 Tiny utility to check if a value is a plain empty object in JavaScript or TypeScript",
5
5
  "main": "index.js",
6
6
  "module": "index.js",