is-object-empty2 1.0.1 → 1.0.2

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/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -31,7 +31,7 @@ $ npm i is-object-empty2
31
31
 
32
32
  # JavaScript
33
33
  ```javascript
34
- const isObjectEmpty2 = require('is-object-empty');
34
+ const isObjectEmpty2 = require('is-object-empty2');
35
35
 
36
36
  console.log(isObjectEmpty2({})); // true
37
37
  console.log(isObjectEmpty2({ a: 1 })); // false
@@ -42,7 +42,7 @@ console.log(isObjectEmpty2(undefined)); // false
42
42
 
43
43
  # TypeScript
44
44
  ```javascript
45
- import isObjectEmpty2 = require('is-object-empty');
45
+ import isObjectEmpty2 = require('is-object-empty2');
46
46
 
47
47
  const testValues: unknown[] = [
48
48
  {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-object-empty2",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
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
  "types": "index.d.ts",