@untemps/utils 1.2.0 → 1.3.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";function t(r,n){return t=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},t(r,n)}function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function n(e,o,u){return n=r()?Reflect.construct:function(r,n,e){var o=[null];o.push.apply(o,n);var u=new(Function.bind.apply(r,o));return e&&t(u,e.prototype),u},n.apply(null,arguments)}function e(t,r){if(t){if("string"==typeof t)return o(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,r):void 0}}function o(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}exports._construct=n,exports._slicedToArray=function(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var e,o,u=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(e=n.next()).done)&&(u.push(e.value),!r||u.length!==r);a=!0);}catch(t){l=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return u}(t,r)||e(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()},exports._toConsumableArray=function(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||e(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()};
@@ -0,0 +1 @@
1
+ "use strict";var r=require('../_rollupPluginBabelHelpers-ff3cb692.cjs');module.exports=function(e){return e.reduce((function(e,o){var n=r._slicedToArray(o,3),u=n[0],t=n[1],a=n[2];return u&&t?[].concat(r._toConsumableArray(e),[t]):!u&&a?[].concat(r._toConsumableArray(e),[a]):e}),[]).join(" ")};
@@ -1 +1 @@
1
- "use strict";function t(r,n){return t=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},t(r,n)}function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function n(e,o,u){return n=r()?Reflect.construct:function(r,n,e){var o=[null];o.push.apply(o,n);var u=new(Function.bind.apply(r,o));return e&&t(u,e.prototype),u},n.apply(null,arguments)}function e(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(!t)return;if("string"==typeof t)return o(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,r)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}module.exports=function(t,r){return n(Function,e(Object.keys(r)).concat(["return `".concat(t,"`")])).apply(void 0,e(Object.values(r)))};
1
+ "use strict";var e=require('../_rollupPluginBabelHelpers-ff3cb692.cjs');module.exports=function(r,t){return e._construct(Function,e._toConsumableArray(Object.keys(t)).concat(["return `".concat(r,"`")])).apply(void 0,e._toConsumableArray(Object.values(t)))};
@@ -0,0 +1 @@
1
+ function t(r,n){return t=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},t(r,n)}function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function n(e,o,u){return n=r()?Reflect.construct:function(r,n,e){var o=[null];o.push.apply(o,n);var u=new(Function.bind.apply(r,o));return e&&t(u,e.prototype),u},n.apply(null,arguments)}function e(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var e,o,u=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(e=n.next()).done)&&(u.push(e.value),!r||u.length!==r);a=!0);}catch(t){l=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return u}(t,r)||u(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||u(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,r){if(t){if("string"==typeof t)return a(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,r):void 0}}function a(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}export{e as _,o as a,n as b};
@@ -0,0 +1 @@
1
+ import{_ as r,a as e}from'../_rollupPluginBabelHelpers-2b6ee930.mjs';var a=function(a){return a.reduce((function(a,n){var o=r(n,3),t=o[0],u=o[1],c=o[2];return t&&u?[].concat(e(a),[u]):!t&&c?[].concat(e(a),[c]):a}),[]).join(" ")};export{a as default};
@@ -1 +1 @@
1
- function t(r,n){return t=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},t(r,n)}function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function n(e,o,u){return n=r()?Reflect.construct:function(r,n,e){var o=[null];o.push.apply(o,n);var u=new(Function.bind.apply(r,o));return e&&t(u,e.prototype),u},n.apply(null,arguments)}function e(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(!t)return;if("string"==typeof t)return o(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,r)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}var u=function(t,r){return n(Function,e(Object.keys(r)).concat(["return `".concat(t,"`")])).apply(void 0,e(Object.values(r)))};export{u as default};
1
+ import{b as e,a}from'../_rollupPluginBabelHelpers-2b6ee930.mjs';var t=function(t,r){return e(Function,a(Object.keys(r)).concat(["return `".concat(t,"`")])).apply(void 0,a(Object.values(r)))};export{t as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@untemps/utils",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "",
5
5
  "repository": "git@github.com:untemps/utils.git",
6
6
  "keywords": [],