@wireapp/commons
Advanced tools
Comparing version 0.1.18 to 0.1.19
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="0.1.19"></a> | ||
## [0.1.19](https://github.com/wireapp/wire-web-packages/tree/master/packages/commons/compare/@wireapp/commons@0.1.18...@wireapp/commons@0.1.19) (2018-06-29) | ||
**Note:** Version bump only for package @wireapp/commons | ||
<a name="0.1.18"></a> | ||
@@ -8,0 +16,0 @@ ## [0.1.18](https://github.com/wireapp/wire-web-packages/tree/master/packages/commons/compare/@wireapp/commons@0.1.17...@wireapp/commons@0.1.18) (2018-06-27) |
@@ -15,3 +15,3 @@ "use strict"; | ||
_a[exports.BROWSER.CHROME] = { major: 56, minor: 0 }, | ||
_a[exports.BROWSER.FIREFOX] = { major: 52, minor: 0 }, | ||
_a[exports.BROWSER.FIREFOX] = { major: 60, minor: 0 }, | ||
_a[exports.BROWSER.EDGE] = { major: 15, minor: 0 }, | ||
@@ -18,0 +18,0 @@ _a[exports.BROWSER.ELECTRON] = { major: 1, minor: 6 }, |
@@ -1,3 +0,3 @@ | ||
/*! @wireapp/commons v0.1.17 */ | ||
var commons=function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="/",t(t.s=0)}([function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(4);r.CommonConfig=n;var o=t(3);r.RandomUtil=o;var i=t(2);r.StringUtil=i;var u=t(1);r.UrlUtil=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pathWithParams=function(e,r){var t=window.location.search.replace(/^\?/,"").split("&").filter(function(e){return e});r&&t.push(r);var n=t.join("&");return e+(n.length?"?"+n:"")},r.getURLParameter=function(e){return(window.location.search.split(e+"=")[1]||"").split("&")[0]},r.hasURLParameter=function(e){return window.location.search.split(/\?|&/).map(function(e){return e.split("=")[0]}).some(function(r){return r===e})}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,r,t){"use strict";function n(e){return Math.floor(Math.random()*(e+1))}Object.defineProperty(r,"__esModule",{value:!0}),r.randomArrayElement=function(e){return e[n(e.length-1)]},r.randomInt=n},function(e,r,t){"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.BROWSER={CHROME:"chrome",EDGE:"microsoft edge",ELECTRON:"electron",FIREFOX:"firefox",IE:"ie",OPERA:"opera",SAFARI:"safari"},r.WEBAPP_SUPPORTED_BROWSERS=((n={})[r.BROWSER.CHROME]={major:56,minor:0},n[r.BROWSER.FIREFOX]={major:52,minor:0},n[r.BROWSER.EDGE]={major:15,minor:0},n[r.BROWSER.ELECTRON]={major:1,minor:6},n[r.BROWSER.OPERA]={major:43,minor:0},n)}]); | ||
/*! @wireapp/commons v0.1.18 */ | ||
var commons=function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="/",t(t.s=0)}([function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(4);r.CommonConfig=n;var o=t(3);r.RandomUtil=o;var i=t(2);r.StringUtil=i;var u=t(1);r.UrlUtil=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pathWithParams=function(e,r){var t=window.location.search.replace(/^\?/,"").split("&").filter(function(e){return e});r&&t.push(r);var n=t.join("&");return e+(n.length?"?"+n:"")},r.getURLParameter=function(e){return(window.location.search.split(e+"=")[1]||"").split("&")[0]},r.hasURLParameter=function(e){return window.location.search.split(/\?|&/).map(function(e){return e.split("=")[0]}).some(function(r){return r===e})}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,r,t){"use strict";function n(e){return Math.floor(Math.random()*(e+1))}Object.defineProperty(r,"__esModule",{value:!0}),r.randomArrayElement=function(e){return e[n(e.length-1)]},r.randomInt=n},function(e,r,t){"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.BROWSER={CHROME:"chrome",EDGE:"microsoft edge",ELECTRON:"electron",FIREFOX:"firefox",IE:"ie",OPERA:"opera",SAFARI:"safari"},r.WEBAPP_SUPPORTED_BROWSERS=((n={})[r.BROWSER.CHROME]={major:56,minor:0},n[r.BROWSER.FIREFOX]={major:60,minor:0},n[r.BROWSER.EDGE]={major:15,minor:0},n[r.BROWSER.ELECTRON]={major:1,minor:6},n[r.BROWSER.OPERA]={major:43,minor:0},n)}]); | ||
//# sourceMappingURL=commons.bundle.js.map |
@@ -1,3 +0,3 @@ | ||
/*! @wireapp/commons v0.1.17 */ | ||
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=5)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(4);e.CommonConfig=n;var o=r(3);e.RandomUtil=o;var i=r(2);e.StringUtil=i;var a=r(1);e.UrlUtil=a},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.capitalize=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},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";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:52,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){const n=r(7);n.keys().forEach(n)},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()})})})},function(t,e,r){var n={"./index.test.browser.js":5,"./util/UrlUtil.test.browser.js":6};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=7}]); | ||
/*! @wireapp/commons v0.1.18 */ | ||
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=5)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(4);e.CommonConfig=n;var o=r(3);e.RandomUtil=o;var i=r(2);e.StringUtil=i;var a=r(1);e.UrlUtil=a},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.capitalize=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},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";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){const n=r(7);n.keys().forEach(n)},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()})})})},function(t,e,r){var n={"./index.test.browser.js":5,"./util/UrlUtil.test.browser.js":6};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=7}]); | ||
//# sourceMappingURL=commons.test.bundle.js.map |
{ | ||
"dependencies": { | ||
"@types/node": "10.3.6" | ||
"@types/node": "10.5.0" | ||
}, | ||
@@ -41,3 +41,3 @@ "devDependencies": { | ||
"types": "./dist/commonjs/index.d.ts", | ||
"version": "0.1.18" | ||
"version": "0.1.19" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
43258
+ Added@types/node@10.5.0(transitive)
- Removed@types/node@10.3.6(transitive)
Updated@types/node@10.5.0