@podium/utils
Advanced tools
Comparing version 5.0.0-next.5 to 5.0.0-next.6
@@ -0,1 +1,8 @@ | ||
# [5.0.0-next.6](https://github.com/podium-lib/utils/compare/v5.0.0-next.5...v5.0.0-next.6) (2021-04-30) | ||
### Bug Fixes | ||
* Improve ESM exports to account for dual module exports ([#123](https://github.com/podium-lib/utils/issues/123)) ([42ebb4f](https://github.com/podium-lib/utils/commit/42ebb4f3b560bd41fb15019654e60520cbb973a6)) | ||
# [5.0.0-next.5](https://github.com/podium-lib/utils/compare/v5.0.0-next.4...v5.0.0-next.5) (2021-04-27) | ||
@@ -2,0 +9,0 @@ |
@@ -21,3 +21,3 @@ 'use strict'; | ||
class PodiumHttpIncoming { | ||
class HttpIncoming { | ||
#development; | ||
@@ -199,4 +199,4 @@ #response; | ||
} | ||
} | ||
}// export default HttpIncoming; | ||
module.exports = PodiumHttpIncoming; | ||
module.exports = HttpIncoming; |
@@ -6,50 +6,26 @@ 'use strict'; | ||
var httpIncoming = require('./http-incoming.js'); | ||
var htmlDocument = require('./html-document.js'); | ||
var assetCss = require('./asset-css.js'); | ||
var assetJs = require('./asset-js.js'); | ||
var htmlDocument = require('./html-document.js'); | ||
var htmlUtils = require('./html-utils.js'); | ||
var utils = require('./utils.js'); | ||
var htmlUtils = require('./html-utils.js'); | ||
function _interopNamespaceDefaultOnly(e) { | ||
return Object.freeze({__proto__: null, 'default': e}); | ||
} | ||
var httpIncoming__namespace = /*#__PURE__*/_interopNamespaceDefaultOnly(httpIncoming); | ||
var assetCss__namespace = /*#__PURE__*/_interopNamespaceDefaultOnly(assetCss); | ||
var assetJs__namespace = /*#__PURE__*/_interopNamespaceDefaultOnly(assetJs); | ||
const {isString} = utils; | ||
const {isFunction} = utils; | ||
const {uriBuilder} = utils; | ||
const {uriIsRelative} = utils; | ||
const {pathnameBuilder} = utils; | ||
const {uriRelativeToAbsolute} = utils; | ||
const {setAtLocalsPodium} = utils; | ||
const {getFromLocalsPodium} = utils; | ||
const {duplicateOnLocalsPodium} = utils; | ||
const {serializeContext} = utils; | ||
const {deserializeContext} = utils; | ||
const {buildScriptElement} = htmlUtils; | ||
const {buildLinkElement} = htmlUtils; | ||
const HttpIncoming = httpIncoming__namespace; | ||
const template = htmlDocument.document; | ||
const AssetCss = assetCss__namespace; | ||
const AssetJs = assetJs__namespace; | ||
exports.AssetCss = AssetCss; | ||
exports.AssetJs = AssetJs; | ||
exports.HttpIncoming = HttpIncoming; | ||
exports.buildLinkElement = buildLinkElement; | ||
exports.buildScriptElement = buildScriptElement; | ||
exports.deserializeContext = deserializeContext; | ||
exports.duplicateOnLocalsPodium = duplicateOnLocalsPodium; | ||
exports.getFromLocalsPodium = getFromLocalsPodium; | ||
exports.isFunction = isFunction; | ||
exports.isString = isString; | ||
exports.pathnameBuilder = pathnameBuilder; | ||
exports.serializeContext = serializeContext; | ||
exports.setAtLocalsPodium = setAtLocalsPodium; | ||
exports.template = template; | ||
exports.uriBuilder = uriBuilder; | ||
exports.uriIsRelative = uriIsRelative; | ||
exports.uriRelativeToAbsolute = uriRelativeToAbsolute; | ||
exports.HttpIncoming = httpIncoming; | ||
exports.AssetCss = assetCss; | ||
exports.AssetJs = assetJs; | ||
exports.template = htmlDocument.document; | ||
exports.buildLinkElement = htmlUtils.buildLinkElement; | ||
exports.buildScriptElement = htmlUtils.buildScriptElement; | ||
exports.deserializeContext = utils.deserializeContext; | ||
exports.duplicateOnLocalsPodium = utils.duplicateOnLocalsPodium; | ||
exports.getFromLocalsPodium = utils.getFromLocalsPodium; | ||
exports.isFunction = utils.isFunction; | ||
exports.isString = utils.isString; | ||
exports.pathnameBuilder = utils.pathnameBuilder; | ||
exports.serializeContext = utils.serializeContext; | ||
exports.setAtLocalsPodium = utils.setAtLocalsPodium; | ||
exports.uriBuilder = utils.uriBuilder; | ||
exports.uriIsRelative = utils.uriIsRelative; | ||
exports.uriRelativeToAbsolute = utils.uriRelativeToAbsolute; |
@@ -15,3 +15,3 @@ import originalUrl from 'original-url'; | ||
export default class PodiumHttpIncoming { | ||
export default class HttpIncoming { | ||
#development; | ||
@@ -194,1 +194,2 @@ #response; | ||
}; | ||
// export default HttpIncoming; |
@@ -1,24 +0,24 @@ | ||
import * as Incoming from "./http-incoming.js"; | ||
import { document } from "./html-document.js"; | ||
import * as Css from "./asset-css.js"; | ||
import * as Js from "./asset-js.js"; | ||
import * as utils from "./utils.js" | ||
import * as html from "./html-utils.js" | ||
export { default as HttpIncoming } from './http-incoming.js'; | ||
export { default as AssetCss } from './asset-css.js'; | ||
export { default as AssetJs } from './asset-js.js'; | ||
export const {isString} = utils; | ||
export const {isFunction} = utils; | ||
export const {uriBuilder} = utils; | ||
export const {uriIsRelative} = utils; | ||
export const {pathnameBuilder} = utils; | ||
export const {uriRelativeToAbsolute} = utils; | ||
export const {setAtLocalsPodium} = utils; | ||
export const {getFromLocalsPodium} = utils; | ||
export const {duplicateOnLocalsPodium} = utils; | ||
export const {serializeContext} = utils; | ||
export const {deserializeContext} = utils; | ||
export const {buildScriptElement} = html; | ||
export const {buildLinkElement} = html; | ||
export const HttpIncoming = Incoming; | ||
export const template = document; | ||
export const AssetCss = Css; | ||
export const AssetJs = Js; | ||
export { document as template } from './html-document.js'; | ||
export { | ||
buildScriptElement, | ||
buildLinkElement, | ||
} from './html-utils.js'; | ||
export { | ||
duplicateOnLocalsPodium, | ||
uriRelativeToAbsolute, | ||
getFromLocalsPodium, | ||
deserializeContext, | ||
setAtLocalsPodium, | ||
serializeContext, | ||
pathnameBuilder, | ||
uriIsRelative, | ||
uriBuilder, | ||
isFunction, | ||
isString, | ||
} from './utils.js'; |
{ | ||
"name": "@podium/utils", | ||
"version": "5.0.0-next.5", | ||
"version": "5.0.0-next.6", | ||
"description": "Common generic utility methods shared by @podium modules.", | ||
@@ -62,6 +62,6 @@ "type": "module", | ||
"tap": "15.0.5", | ||
"prettier": "2.2.1" | ||
"prettier": "2.2.1", | ||
"@podium/schemas": "5.0.0-next.4" | ||
}, | ||
"dependencies": { | ||
"@podium/schemas": "5.0.0-next.4", | ||
"camelcase": "6.2.0", | ||
@@ -68,0 +68,0 @@ "original-url": "1.2.3" |
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
2
74664
18
1709
- Removed@podium/schemas@5.0.0-next.4
- Removed@podium/schemas@5.0.0-next.4(transitive)
- Removedajv@8.1.0(transitive)
- Removedajv-formats@2.0.2(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedjson-schema-traverse@1.0.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedrequire-from-string@2.0.2(transitive)
- Removeduri-js@4.4.1(transitive)