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.1.1 to 4.1.2

4

lib/asset-css.js

@@ -30,3 +30,3 @@ 'use strict';

constructor({
crossorigin = '',
crossorigin = undefined,
pathname = '',

@@ -46,3 +46,3 @@ disabled = false,

`Value for argument variable "value", "${value}", is not valid`,
);
);

@@ -49,0 +49,0 @@ this[_pathname] = pathname;

@@ -51,4 +51,5 @@ 'use strict';

if (notEmpty(obj.crossorigin)) {
args.push(`crossorigin="${obj.crossorigin}"`);
if (obj.crossorigin || obj.crossorigin === '') {
if (obj.crossorigin === true) args.push(`crossorigin`);
else args.push(`crossorigin="${obj.crossorigin}"`);
}

@@ -55,0 +56,0 @@

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

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

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