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
103
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.0.2 to 5.0.3

7

CHANGELOG.md

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

## [5.0.3](https://github.com/podium-lib/utils/compare/v5.0.2...v5.0.3) (2024-04-11)
### Bug Fixes
* ensure html-template lang attribute works in both layout and podlet ([2545ac8](https://github.com/podium-lib/utils/commit/2545ac851bfa119a60508ea8152fa4cd2a2e5b3f))
## [5.0.2](https://github.com/podium-lib/utils/compare/v5.0.1...v5.0.2) (2024-02-01)

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

3

lib/html-document.js

@@ -6,2 +6,3 @@ import * as utils from './html-utils.js';

let styles = incoming.css;
const lang = incoming.view.locale || incoming.context['podium-locale'] || incoming.context.locale || incoming.params.locale || 'en-US';

@@ -13,3 +14,3 @@ // backwards compatibility for scripts and styles

return `<!doctype html>
<html lang="${incoming.context.locale ? incoming.context.locale : 'en-US'}">
<html lang="${lang}">
<head>

@@ -16,0 +17,0 @@ <meta charset="${incoming.view.encoding ? incoming.view.encoding : 'utf-8'}">

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

@@ -44,6 +44,6 @@ "type": "module",

"@semantic-release/github": "9.2.6",
"@semantic-release/npm": "11.0.2",
"@semantic-release/npm": "11.0.3",
"@semantic-release/release-notes-generator": "12.1.0",
"benchmark": "2.1.4",
"eslint": "8.56.0",
"eslint": "8.57.0",
"eslint-config-airbnb-base": "15.0.0",

@@ -53,5 +53,5 @@ "eslint-config-prettier": "9.1.0",

"eslint-plugin-prettier": "5.1.3",
"@babel/eslint-parser": "7.23.10",
"@babel/eslint-parser": "7.24.1",
"tap": "16.3.10",
"prettier": "3.2.4",
"prettier": "3.2.5",
"@podium/schemas": "5.0.0"

@@ -58,0 +58,0 @@ },

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