Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@podium/utils

Package Overview
Dependencies
Maintainers
6
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@podium/utils - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [5.2.0](https://github.com/podium-lib/utils/compare/v5.1.0...v5.2.0) (2024-09-05)
### Features
* add asset-type link header attribute and set to either style or script ([0a02da6](https://github.com/podium-lib/utils/commit/0a02da66d89ce0533f65de3036dace9d31d7b85d))
# [5.1.0](https://github.com/podium-lib/utils/compare/v5.0.7...v5.1.0) (2024-08-18)

@@ -2,0 +9,0 @@

2

lib/asset-css.js

@@ -231,3 +231,3 @@ import { uriIsRelative, pathnameBuilder } from './utils.js';

.map(([key, value]) => `${key}=${value}`);
return `<${this.#value}>; ${attrs.join('; ')}`;
return `<${this.#value}>; ${attrs.join('; ')}; asset-type=style`;
}

@@ -234,0 +234,0 @@

@@ -249,3 +249,3 @@ import { uriIsRelative, pathnameBuilder } from './utils.js';

});
return `<${this.#value}>; ${attrs.join('; ')}`;
return `<${this.#value}>; ${attrs.join('; ')}; asset-type=script`;
}

@@ -252,0 +252,0 @@

{
"name": "@podium/utils",
"version": "5.1.0",
"version": "5.2.0",
"description": "Common generic utility methods shared by @podium modules.",

@@ -43,20 +43,20 @@ "type": "module",

"devDependencies": {
"@babel/eslint-parser": "7.24.7",
"@babel/eslint-parser": "7.25.1",
"@podium/schemas": "5.0.1",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "11.1.0",
"@semantic-release/commit-analyzer": "13.0.0",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "9.2.6",
"@semantic-release/npm": "11.0.3",
"@semantic-release/release-notes-generator": "12.1.0",
"@types/node": "20.14.13",
"@semantic-release/github": "10.1.7",
"@semantic-release/npm": "12.0.1",
"@semantic-release/release-notes-generator": "14.0.1",
"@types/node": "20.16.2",
"benchmark": "2.1.4",
"eslint": "9.6.0",
"eslint": "9.9.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"globals": "15.8.0",
"npm-run-all2": "5.0.0",
"prettier": "3.3.2",
"eslint-plugin-prettier": "5.2.1",
"globals": "15.9.0",
"npm-run-all2": "5.0.2",
"prettier": "3.3.3",
"tap": "16.3.10",
"typescript": "5.5.2"
"typescript": "5.5.4"
},

@@ -63,0 +63,0 @@ "dependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc