@podium/utils
Advanced tools
Comparing version 4.4.37 to 4.4.38
@@ -0,1 +1,8 @@ | ||
## [4.4.38](https://github.com/podium-lib/utils/compare/v4.4.37...v4.4.38) (2022-12-07) | ||
### Bug Fixes | ||
* correct typescript definitions for assets ([6b39222](https://github.com/podium-lib/utils/commit/6b392229f4a2ad254080c617990cb7faa457ac33)) | ||
## [4.4.37](https://github.com/podium-lib/utils/compare/v4.4.36...v4.4.37) (2022-11-14) | ||
@@ -2,0 +9,0 @@ |
@@ -9,23 +9,9 @@ import { IncomingMessage, ServerResponse } from 'http'; | ||
export interface AssetCss extends PodiumAsset { | ||
as?: Pick<HTMLLinkElement, 'as'>; | ||
crossorigin?: Pick<HTMLLinkElement, 'crossOrigin'>; | ||
disabled?: Pick<HTMLLinkElement, 'disabled'>; | ||
hreflang?: Pick<HTMLLinkElement, 'hreflang'>; | ||
title?: Pick<HTMLLinkElement, 'title'>; | ||
media?: Pick<HTMLLinkElement, 'media'>; | ||
rel?: Pick<HTMLLinkElement, 'rel'>; | ||
type?: Pick<HTMLLinkElement, 'type'>; | ||
} | ||
export type AssetCss = Pick<HTMLLinkElement, 'as' | 'crossOrigin' | 'disabled' | 'hreflang' | 'title' | 'media' | 'rel' | 'type'> & | ||
PodiumAsset; | ||
export interface AssetJs extends PodiumAsset { | ||
referrerpolicy?: Pick<HTMLScriptElement, 'referrerPolicy'>; | ||
crossorigin?: Pick<HTMLScriptElement, 'crossOrigin'>; | ||
integrity?: Pick<HTMLScriptElement, 'integrity'>; | ||
nomodule?: Pick<HTMLScriptElement, 'noModule'>; | ||
async?: Pick<HTMLScriptElement, 'async'>; | ||
defer?: Pick<HTMLScriptElement, 'defer'>; | ||
type?: Pick<HTMLScriptElement, 'type'>; | ||
export type AssetJs = Pick<HTMLScriptElement, 'referrerPolicy' | 'crossOrigin' | 'integrity' | 'noModule' | 'async' | 'defer' | 'type'> & | ||
PodiumAsset & { | ||
data?: DOMStringMap; | ||
} | ||
}; | ||
@@ -32,0 +18,0 @@ export class HttpIncoming<T = { [key: string]: unknown }> { |
{ | ||
"name": "@podium/utils", | ||
"version": "4.4.37", | ||
"version": "4.4.38", | ||
"description": "Common generic utility methods shared by @podium modules.", | ||
@@ -53,10 +53,10 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@semantic-release/changelog": "6.0.1", | ||
"@semantic-release/changelog": "6.0.2", | ||
"@semantic-release/commit-analyzer": "9.0.2", | ||
"@semantic-release/git": "10.0.1", | ||
"@semantic-release/github": "8.0.6", | ||
"@semantic-release/github": "8.0.7", | ||
"@semantic-release/npm": "9.0.1", | ||
"@semantic-release/release-notes-generator": "10.0.3", | ||
"benchmark": "2.1.4", | ||
"eslint": "8.26.0", | ||
"eslint": "8.28.0", | ||
"eslint-config-airbnb-base": "15.0.0", | ||
@@ -67,3 +67,3 @@ "eslint-config-prettier": "8.5.0", | ||
"jest": "28.1.3", | ||
"prettier": "2.7.1", | ||
"prettier": "2.8.0", | ||
"semantic-release": "19.0.5" | ||
@@ -70,0 +70,0 @@ }, |
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
48920
833