Socket
Socket
Sign inDemoInstall

@podium/utils

Package Overview
Dependencies
Maintainers
5
Versions
102
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-next.1 to 4.1.0-next.2

index.d.ts

13

lib/asset-css.js

@@ -17,2 +17,3 @@ 'use strict';

const _media = Symbol('podium:asset:css:media');
const _type = Symbol('podium:asset:css:type');
const _rel = Symbol('podium:asset:css:rel');

@@ -43,2 +44,3 @@ const _as = Symbol('podium:asset:css:as');

media = '',
type = 'text/css',
rel = 'stylesheet',

@@ -61,2 +63,3 @@ as = '',

this[_media] = media;
this[_type] = type;
this[_rel] = rel;

@@ -116,2 +119,10 @@ this[_as] = as;

get type() {
return this[_type];
}
set type(value) {
this[_type] = value;
}
get href() {

@@ -149,2 +160,3 @@ return this.value;

media: toUndefined(this.media),
type: this.type,
rel: this.rel,

@@ -184,2 +196,3 @@ as: toUndefined(this.as),

args.push(`type="${this.type}"`);
args.push(`rel="${this.rel}"`);

@@ -186,0 +199,0 @@

6

package.json
{
"name": "@podium/utils",
"version": "4.1.0-next.1",
"version": "4.1.0-next.2",
"description": "Common generic utility methods shared by @podium modules.",

@@ -21,5 +21,7 @@ "license": "MIT",

"files": [
"lib"
"lib",
"index.d.ts"
],
"main": "./lib/main.js",
"types": "index.d.ts",
"scripts": {

@@ -26,0 +28,0 @@ "lint": "eslint .",

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