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
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 4.1.0 to 4.1.1

4

lib/asset-js.js

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

referrerpolicy = '',
crossorigin = '',
crossorigin = undefined,
integrity = '',

@@ -136,3 +136,3 @@ pathname = '',

referrerpolicy: toUndefined(this.referrerpolicy),
crossorigin: toUndefined(this.crossorigin),
crossorigin: this.crossorigin,
integrity: toUndefined(this.integrity),

@@ -139,0 +139,0 @@ nomodule: toUndefined(this.nomodule),

@@ -23,4 +23,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}"`);
}

@@ -27,0 +28,0 @@

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

@@ -50,15 +50,15 @@ "license": "MIT",

"benchmark": "^2.1.4",
"eslint": "^6.0.0",
"eslint": "^6.6.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-prettier": "^3.0.0",
"jest": "^24.7.0",
"prettier": "^1.16.4"
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"jest": "^24.9.0",
"prettier": "^1.18.2"
},
"dependencies": {
"@podium/schemas": "4.0.0",
"camelcase": "^5.3.0",
"original-url": "^1.2.1"
"camelcase": "^5.3.1",
"original-url": "^1.2.3"
}
}
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