New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kth/cortina-block

Package Overview
Dependencies
Maintainers
8
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kth/cortina-block - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

2

dist/format-blocks.js

@@ -9,2 +9,4 @@ "use strict";

const formatImgSrc = (htmlString, baseUrl) => {
if (htmlString.includes('<script'))
return htmlString;
const { window } = new jsdom_1.default.JSDOM(htmlString);

@@ -11,0 +13,0 @@ const document = window.document;

2

package.json
{
"name": "@kth/cortina-block",
"version": "6.1.0",
"version": "6.1.1",
"description": "Node.js module for fetching Cortina blocks and optionally cache using Redis.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -26,12 +26,10 @@ # @kth/cortina-block

'',
cortinaMiddleware(
{
blockApiUrl,
siteName,
localeText,
resourceUrl,
blocksConfig,
},
redisConfig
)
cortinaMiddleware({
blockApiUrl,
siteName,
localeText,
resourceUrl,
blocksConfig,
redisConfig,
})
)

@@ -38,0 +36,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