util-nonempty 4.0.6 → 4.0.7

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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @name util-nonempty
3
3
  * @fileoverview Is the input (plain object, array, string or whatever) not empty?
4
- * @version 4.0.6
4
+ * @version 4.0.7
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/util-nonempty/}
@@ -9,7 +9,7 @@
9
9
 
10
10
  import isPlainObject from 'lodash.isplainobject';
11
11
 
12
- var version$1 = "4.0.6";
12
+ var version$1 = "4.0.7";
13
13
 
14
14
  const version = version$1;
15
15
  function nonEmpty(input) {
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @name util-nonempty
3
3
  * @fileoverview Is the input (plain object, array, string or whatever) not empty?
4
- * @version 4.0.6
4
+ * @version 4.0.7
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/util-nonempty/}
8
8
  */
9
9
 
10
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).utilNonempty={})}(this,(function(t){"use strict";var e,n,o=Object.prototype,r=Function.prototype.toString,c=o.hasOwnProperty,i=r.call(Object),f=o.toString,u=(e=Object.getPrototypeOf,n=Object,function(t){return e(n(t))});var l=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||"[object Object]"!=f.call(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=u(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&r.call(n)==i};t.nonEmpty=function(t){return null!=t&&(Array.isArray(t)||"string"==typeof t?!!t.length:l(t)?!!Object.keys(t).length:"number"==typeof t)},t.version="4.0.6",Object.defineProperty(t,"__esModule",{value:!0})}));
10
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).utilNonempty={})}(this,(function(t){"use strict";var e,n,o=Object.prototype,r=Function.prototype.toString,c=o.hasOwnProperty,i=r.call(Object),f=o.toString,u=(e=Object.getPrototypeOf,n=Object,function(t){return e(n(t))});var l=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||"[object Object]"!=f.call(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=u(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&r.call(n)==i};t.nonEmpty=function(t){return null!=t&&(Array.isArray(t)||"string"==typeof t?!!t.length:l(t)?!!Object.keys(t).length:"number"==typeof t)},t.version="4.0.7",Object.defineProperty(t,"__esModule",{value:!0})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "util-nonempty",
3
- "version": "4.0.6",
3
+ "version": "4.0.7",
4
4
  "description": "Is the input (plain object, array, string or whatever) not empty?",
5
5
  "keywords": [
6
6
  "array",
@@ -98,21 +98,21 @@
98
98
  "@rollup/plugin-strip": "^2.1.0",
99
99
  "@rollup/plugin-typescript": "^8.3.0",
100
100
  "@types/lodash.isplainobject": "^4.0.6",
101
- "@types/node": "^16.11.9",
101
+ "@types/node": "^16.11.10",
102
102
  "@types/tap": "^15.0.5",
103
- "@typescript-eslint/eslint-plugin": "^5.4.0",
104
- "@typescript-eslint/parser": "^5.4.0",
105
- "core-js": "^3.19.1",
103
+ "@typescript-eslint/eslint-plugin": "^5.5.0",
104
+ "@typescript-eslint/parser": "^5.5.0",
105
+ "core-js": "^3.19.2",
106
106
  "cross-env": "^7.0.3",
107
107
  "eslint": "^8.3.0",
108
- "lect": "^0.18.6",
109
- "rollup": "^2.60.0",
108
+ "lect": "^0.18.7",
109
+ "rollup": "^2.60.1",
110
110
  "rollup-plugin-ascii": "^0.0.3",
111
111
  "rollup-plugin-banner": "^0.2.1",
112
112
  "rollup-plugin-cleanup": "^3.2.1",
113
113
  "rollup-plugin-dts": "^4.0.1",
114
114
  "rollup-plugin-terser": "^7.0.2",
115
- "tap": "^15.1.2",
115
+ "tap": "^15.1.5",
116
116
  "tslib": "^2.3.1",
117
117
  "typescript": "^4.5.2"
118
118
  },