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.2.4 to 4.2.5

7

lib/http-incoming.js

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

const urlFromRequest = (request) => {
const urlFromRequest = request => {
try {

@@ -79,6 +79,5 @@ const url = originalUrl(request);

set podlets(value) {
if (!Array.isArray(value))
throw new Error(`Value for property ".podlets" must be an Array`);
const podlets = Array.isArray(value) ? value : [value];
value.forEach(podlet => {
podlets.forEach(podlet => {
if (podlet.css) {

@@ -85,0 +84,0 @@ podlet.css.forEach(item => {

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

@@ -51,8 +51,8 @@ "license": "MIT",

"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.0.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-import": "2.20.1",
"eslint-config-airbnb-base": "14.1.0",
"eslint-config-prettier": "6.10.1",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-prettier": "3.1.2",
"jest": "25.1.0",
"prettier": "1.19.1"
"jest": "25.2.6",
"prettier": "2.0.2"
},

@@ -62,4 +62,4 @@ "dependencies": {

"original-url": "1.2.3",
"camelcase": "5.3.1"
"camelcase": "6.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