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

@podium/utils

Package Overview
Dependencies
Maintainers
5
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 4.0.0 to 4.0.1

6

lib/html-document.js
'use strict';
const buildScriptTag = ({ value = '', type = 'default' }) => {
if (type === 'default') {
return `<script defer src="${value}" ></script>`;
if (type === 'esm') {
return `<script type="module" defer src="${value}" ></script>`;
}
return `<script type="${type}" defer src="${value}"></script>`;
return `<script defer src="${value}" ></script>`;
};

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

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

@@ -48,5 +48,5 @@ "license": "MIT",

"benchmark": "^2.1.4",
"eslint": "^5.16.0",
"eslint": "^6.0.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.16.0",

@@ -53,0 +53,0 @@ "eslint-plugin-prettier": "^3.0.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