foxts 5.6.0 → 5.7.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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.isObjectEmpty=function(t){for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r))return!1;return!0};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t){for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r))return!1;return!0}export{t as isObjectEmpty};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foxts",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"description": "Opinionated collection of common TypeScript utils by @SukkaW",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/SukkaW/foxts"
|
|
@@ -208,6 +208,12 @@
|
|
|
208
208
|
"require": "./dist/is-network-error/index.js",
|
|
209
209
|
"default": "./dist/is-network-error/index.js"
|
|
210
210
|
},
|
|
211
|
+
"./is-object-empty": {
|
|
212
|
+
"types": "./dist/is-object-empty/index.d.ts",
|
|
213
|
+
"import": "./dist/is-object-empty/index.mjs",
|
|
214
|
+
"require": "./dist/is-object-empty/index.js",
|
|
215
|
+
"default": "./dist/is-object-empty/index.js"
|
|
216
|
+
},
|
|
211
217
|
"./is-probably-ip": {
|
|
212
218
|
"types": "./dist/is-probably-ip/index.d.ts",
|
|
213
219
|
"import": "./dist/is-probably-ip/index.mjs",
|
|
@@ -353,7 +359,7 @@
|
|
|
353
359
|
"@swc-node/register": "^1.11.1",
|
|
354
360
|
"@swc/core": "^1.15.43",
|
|
355
361
|
"@types/mocha": "^10.0.10",
|
|
356
|
-
"@types/node": "^22.20.
|
|
362
|
+
"@types/node": "^22.20.1",
|
|
357
363
|
"@types/sinon": "^21.0.1",
|
|
358
364
|
"bumpp": "^10.4.1",
|
|
359
365
|
"earl": "^2.0.0",
|