@misk/common
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Common=t():(e.Misk=e.Misk||{},e.Misk.Common=t())}("undefined"!=typeof window?window:this,function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},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=1)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.externals=function(e){const t={};return Object.keys(e).forEach((r,o)=>{t[r]=e.hasOwnProperty(r)?Array.isArray(e[r])?e[r].join(""):e[r]:r}),t}({"@blueprintjs/core":["Blueprint","Core"],"@blueprintjs/icons":["Blueprint","Icons"],axios:"Axios","connected-react-router":"ConnectedReactRouter",dayjs:"Dayjs",history:"HistoryNPM",immutable:"Immutable",react:"React","react-dom":"ReactDom","react-helmet":"ReactHelmet","react-hot-loader":"ReactHotLoader","react-redux":"ReactRedux","react-router":"ReactRouter","react-router-dom":"ReactRouterDom","react-router-redux":"ReactRouterRedux",redux:"Redux","redux-saga":"ReduxSaga","styled-components":"StyledComponents"})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(0))}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Common=t():(e.Misk=e.Misk||{},e.Misk.Common=t())}("undefined"!=typeof window?window:this,function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},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}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(1))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeExternals=(e=>{const t={};return Object.keys(e).map((r,o)=>{t[r]={commonjs:r,commonjs2:r,amd:r,root:e[r]}}),t}),t.externals=t.makeExternals({"@blueprintjs/core":["Blueprint","Core"],"@blueprintjs/icons":["Blueprint","Icons"],axios:"Axios","connected-react-router":"ConnectedReactRouter",dayjs:"Dayjs",history:"HistoryNPM",immutable:"Immutable",react:"React","react-dom":"ReactDom","react-helmet":"ReactHelmet","react-hot-loader":"ReactHotLoader","react-redux":"ReactRedux","react-router":"ReactRouter","react-router-dom":"ReactRouterDom","react-router-redux":"ReactRouterRedux",redux:"Redux","redux-saga":"ReduxSaga","styled-components":"StyledComponents"})}])}); | ||
//# sourceMappingURL=common.js.map |
@@ -1,4 +0,19 @@ | ||
export interface IExternal { | ||
export interface IInExternal { | ||
[key: string]: string | string[]; | ||
} | ||
export declare const externals: IExternal; | ||
export interface IOutExternal { | ||
[key: string]: { | ||
amd: string; | ||
commonjs: string; | ||
commonjs2: string; | ||
root: string | string[]; | ||
}; | ||
} | ||
/** | ||
* | ||
* @param inExternals : IExternal | ||
* | ||
* Create Webpack compatible externals object with compatible entries for amd, commonjs, commonjs2, root | ||
*/ | ||
export declare const makeExternals: (inExternals: IInExternal) => IOutExternal; | ||
export declare const externals: IOutExternal; |
@@ -10,3 +10,3 @@ import { IconName } from "@blueprintjs/icons"; | ||
[key: string]: IMiskAdminTab; | ||
toJS: any; | ||
toJS?: any; | ||
} |
{ | ||
"name": "@misk/common", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Microservice Kontainer Common Libraries, Externals, Styles", | ||
@@ -5,0 +5,0 @@ "author": "Square/Misk Authors (https://github.com/square/misk/graphs/contributors)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
4361273
4894