@wireapp/commons
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="0.3.4"></a> | ||
## [0.3.4](https://github.com/wireapp/wire-web-packages/tree/master/packages/commons/compare/@wireapp/commons@0.3.3...@wireapp/commons@0.3.4) (2018-07-24) | ||
**Note:** Version bump only for package @wireapp/commons | ||
<a name="0.3.3"></a> | ||
@@ -8,0 +16,0 @@ ## [0.3.3](https://github.com/wireapp/wire-web-packages/tree/master/packages/commons/compare/@wireapp/commons@0.3.2...@wireapp/commons@0.3.3) (2018-07-18) |
@@ -1,3 +0,3 @@ | ||
/*! @wireapp/commons v0.3.2 */ | ||
/*! @wireapp/commons v0.3.3 */ | ||
var commons=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);t.CommonConfig=n;var o=r(2);t.ArrayUtil=o;var i=r(3);t.RandomUtil=i;var u=r(4);t.StringUtil=u;var a=r(5);t.UrlUtil=a;var c=r(6);t.ValidationUtil=c},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BROWSER={CHROME:"chrome",EDGE:"microsoft edge",ELECTRON:"electron",FIREFOX:"firefox",IE:"ie",OPERA:"opera",SAFARI:"safari"},t.WEBAPP_SUPPORTED_BROWSERS=((n={})[t.BROWSER.CHROME]={major:56,minor:0},n[t.BROWSER.FIREFOX]={major:60,minor:0},n[t.BROWSER.EDGE]={major:15,minor:0},n[t.BROWSER.ELECTRON]={major:1,minor:6},n[t.BROWSER.OPERA]={major:43,minor:0},n)},function(e,t,r){"use strict";function n(e){return Array.from(new Set(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.getDeduplicatedUnion=function(e,t){return n(e.concat(t))},t.getDifference=function(e,t){return e.filter(function(e){return!t.includes(e)})},t.getIntersection=function(e,t){return e.filter(function(e){return t.includes(e)})},t.removeDuplicates=n},function(e,t,r){"use strict";function n(e){return Math.floor(Math.random()*(e+1))}Object.defineProperty(t,"__esModule",{value:!0}),t.randomArrayElement=function(e){return e[n(e.length-1)]},t.randomInt=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathWithParams=function(e,t){var r=window.location.search.replace(/^\?/,"").split("&").filter(function(e){return e});t&&r.push(t);var n=r.join("&");return e+(n.length?"?"+n:"")},t.getURLParameter=function(e){return(window.location.search.split(e+"=")[1]||"").split("&")[0]},t.hasURLParameter=function(e){return window.location.search.split(/\?|&/).map(function(e){return e.split("=")[0]}).some(function(t){return t===e})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUUIDv4=function(e){return/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(e.toLowerCase())}}]); | ||
//# sourceMappingURL=commons.bundle.js.map |
@@ -1,3 +0,3 @@ | ||
/*! @wireapp/commons v0.3.2 */ | ||
/*! @wireapp/commons v0.3.3 */ | ||
var commons=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r(r.s=7)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1);e.CommonConfig=n;var o=r(2);e.ArrayUtil=o;var i=r(3);e.RandomUtil=i;var a=r(4);e.StringUtil=a;var u=r(5);e.UrlUtil=u;var c=r(6);e.ValidationUtil=c},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.BROWSER={CHROME:"chrome",EDGE:"microsoft edge",ELECTRON:"electron",FIREFOX:"firefox",IE:"ie",OPERA:"opera",SAFARI:"safari"},e.WEBAPP_SUPPORTED_BROWSERS=((n={})[e.BROWSER.CHROME]={major:56,minor:0},n[e.BROWSER.FIREFOX]={major:60,minor:0},n[e.BROWSER.EDGE]={major:15,minor:0},n[e.BROWSER.ELECTRON]={major:1,minor:6},n[e.BROWSER.OPERA]={major:43,minor:0},n)},function(t,e,r){"use strict";function n(t){return Array.from(new Set(t))}Object.defineProperty(e,"__esModule",{value:!0}),e.getDeduplicatedUnion=function(t,e){return n(t.concat(e))},e.getDifference=function(t,e){return t.filter(function(t){return!e.includes(t)})},e.getIntersection=function(t,e){return t.filter(function(t){return e.includes(t)})},e.removeDuplicates=n},function(t,e,r){"use strict";function n(t){return Math.floor(Math.random()*(t+1))}Object.defineProperty(e,"__esModule",{value:!0}),e.randomArrayElement=function(t){return t[n(t.length-1)]},e.randomInt=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.capitalize=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pathWithParams=function(t,e){var r=window.location.search.replace(/^\?/,"").split("&").filter(function(t){return t});e&&r.push(e);var n=r.join("&");return t+(n.length?"?"+n:"")},e.getURLParameter=function(t){return(window.location.search.split(t+"=")[1]||"").split("&")[0]},e.hasURLParameter=function(t){return window.location.search.split(/\?|&/).map(function(t){return t.split("=")[0]}).some(function(e){return e===t})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isUUIDv4=function(t){return/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t.toLowerCase())}},function(t,e,r){const n=r(8);n.keys().forEach(n)},function(t,e,r){var n={"./index.test.browser.js":7,"./util/UrlUtil.test.browser.js":9};function o(t){var e=i(t);return r(e)}function i(t){var e=n[t];if(!(e+1)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return e}o.keys=function(){return Object.keys(n)},o.resolve=i,t.exports=o,o.id=8},function(t,e,r){"use strict";r.r(e);var n=r(0);describe("UrlUtil",()=>{describe('"pathWithParams"',()=>{it("keeps URL if no additional params are given",t=>{const e=n.UrlUtil.pathWithParams("https://wire.com/");expect(e).toEqual("https://wire.com/"),t()}),it("constructs path with queries from plain path",t=>{const e=n.UrlUtil.pathWithParams("https://wire.com/","q=1");expect(e).toEqual("https://wire.com/?q=1"),t()}),it("constructs path with queries from a path with queries",t=>{const e=n.UrlUtil.pathWithParams("https://wire.com/?q=1","b=2");expect(e).toEqual("https://wire.com/?q=1?b=2"),t()})}),describe('"getURLParameter"',()=>{it("returns empty string if parameter does not exist",t=>{const e=n.UrlUtil.getURLParameter("q");expect(e).toEqual(""),t()})}),describe('"hasURLParameter"',()=>{it("returns false if parameter does not exist",t=>{const e=n.UrlUtil.hasURLParameter("q");expect(e).toEqual(!1),t()})})})}]); | ||
//# sourceMappingURL=commons.test.bundle.js.map |
@@ -14,3 +14,3 @@ { | ||
"typescript": "2.9.2", | ||
"webpack": "4.16.1", | ||
"webpack": "4.16.2", | ||
"webpack-cli": "3.1.0" | ||
@@ -42,3 +42,3 @@ }, | ||
"types": "./dist/commonjs/index.d.ts", | ||
"version": "0.3.3" | ||
"version": "0.3.4" | ||
} |
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
54281