arrayiffy-if-string
Advanced tools
Comparing version 3.11.32 to 3.11.33
/** | ||
* arrayiffy-if-string | ||
* Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else. | ||
* Version: 3.11.32 | ||
* Version: 3.11.33 | ||
* Author: Roy Revelt, Codsen Ltd | ||
@@ -6,0 +6,0 @@ * License: MIT |
/** | ||
* arrayiffy-if-string | ||
* Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else. | ||
* Version: 3.11.32 | ||
* Version: 3.11.33 | ||
* Author: Roy Revelt, Codsen Ltd | ||
@@ -13,3 +13,3 @@ * License: MIT | ||
typeof define === 'function' && define.amd ? define(factory) : | ||
(global = global || self, global.arrayiffyIfString = factory()); | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.arrayiffyIfString = factory()); | ||
}(this, (function () { 'use strict'; | ||
@@ -16,0 +16,0 @@ |
/** | ||
* arrayiffy-if-string | ||
* Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else. | ||
* Version: 3.11.32 | ||
* Version: 3.11.33 | ||
* Author: Roy Revelt, Codsen Ltd | ||
@@ -6,0 +6,0 @@ * License: MIT |
/** | ||
* arrayiffy-if-string | ||
* Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else. | ||
* Version: 3.11.32 | ||
* Version: 3.11.33 | ||
* Author: Roy Revelt, Codsen Ltd | ||
@@ -10,2 +10,2 @@ * License: MIT | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).arrayiffyIfString=t()}(this,(function(){"use strict";return function(e){return"string"==typeof e?e.length>0?[e]:[]:e}})); | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).arrayiffyIfString=n()}(this,(function(){"use strict";return function(e){return"string"==typeof e?e.length>0?[e]:[]:e}})); |
{ | ||
"name": "arrayiffy-if-string", | ||
"version": "3.11.32", | ||
"version": "3.11.33", | ||
"description": "Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else.", | ||
@@ -118,2 +118,3 @@ "license": "MIT", | ||
"nyc-arg": [ | ||
"--exclude=**/*.cjs.js", | ||
"--exclude=**/*.umd.js" | ||
@@ -124,17 +125,22 @@ ], | ||
"devDependencies": { | ||
"@babel/core": "^7.9.6", | ||
"@babel/preset-env": "^7.9.6", | ||
"@rollup/plugin-babel": "^5.0.0", | ||
"@rollup/plugin-commonjs": "^11.1.0", | ||
"@rollup/plugin-node-resolve": "^7.1.3", | ||
"@rollup/plugin-strip": "^1.3.2", | ||
"@babel/core": "^7.11.1", | ||
"@babel/plugin-proposal-class-properties": "^7.10.4", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.11.0", | ||
"@babel/plugin-proposal-optional-chaining": "^7.11.0", | ||
"@babel/preset-env": "^7.11.0", | ||
"@rollup/plugin-babel": "^5.1.0", | ||
"@rollup/plugin-commonjs": "^14.0.0", | ||
"@rollup/plugin-node-resolve": "^8.4.0", | ||
"@rollup/plugin-strip": "^2.0.0", | ||
"benchmark": "^2.1.4", | ||
"lect": "^0.13.2", | ||
"rollup": "^2.8.2", | ||
"eslint": "^7.6.0", | ||
"lect": "^0.13.8", | ||
"rollup": "^2.23.1", | ||
"rollup-plugin-ascii": "^0.0.3", | ||
"rollup-plugin-banner": "^0.2.1", | ||
"rollup-plugin-cleanup": "^3.1.1", | ||
"rollup-plugin-terser": "^5.3.0", | ||
"tap": "^14.10.7" | ||
"rollup-plugin-terser": "^6.1.0", | ||
"tap": "^14.10.8" | ||
} | ||
} |
@@ -57,3 +57,3 @@ # arrayiffy-if-string | ||
| **ES module** build that Webpack/Rollup understands. Untranspiled ES6 code with `import`/`export`. | `module` | `dist/arrayiffy-if-string.esm.js` | 501 B | | ||
| **UMD build** for browsers, transpiled, minified, containing `iife`'s and has all dependencies baked-in | `browser` | `dist/arrayiffy-if-string.umd.js` | 555 B | | ||
| **UMD build** for browsers, transpiled, minified, containing `iife`'s and has all dependencies baked-in | `browser` | `dist/arrayiffy-if-string.umd.js` | 597 B | | ||
@@ -60,0 +60,0 @@ **[⬆ back to top](#)** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15652
19