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

@ui5/webcomponents-react-cli

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/webcomponents-react-cli - npm Package Compare versions

Comparing version 1.27.0 to 1.28.2

18

dist/util/formatters.js

@@ -1,2 +0,1 @@

import TurndownService from 'turndown';
let ui5TagNameToComponentNameMap = {};

@@ -6,19 +5,2 @@ export function setGlobalTagNameMap(map) {

}
const turndownService = new TurndownService({
headingStyle: 'atx',
codeBlockStyle: 'fenced'
});
turndownService.addRule('ui5-link', {
filter: (node) => node.nodeName === 'UI5-LINK' && !!node.getAttribute('href'),
replacement: (content, node) => {
// @ts-expect-error: types seem to be incorrect
const href = node.getAttribute('href');
// @ts-expect-error: types seem to be incorrect
let title = node.getAttribute('title') ?? '';
if (title) {
title = ` "${title}"`;
}
return `[${content}](${href}${title})`;
}
});
function replaceUi5TagNames(text) {

@@ -25,0 +7,0 @@ let newText = text.replaceAll(/`([\w\d-]+)`/g, (match, tagName) => {

7

package.json

@@ -6,3 +6,3 @@ {

"license": "Apache-2.0",
"version": "1.27.0",
"version": "1.28.2",
"type": "module",

@@ -36,6 +36,5 @@ "types": "./dist/index.d.ts",

"dependencies": {
"dedent": "^1.5.1",
"turndown": "^7.1.2"
"dedent": "^1.5.1"
},
"gitHead": "762c9e538452cf51061a0b4c066ce85192970ca4"
"gitHead": "aec9ddb88312b1602a680e57693781743aa19183"
}
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