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

babel-plugin-openui5-support

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-openui5-support - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json
{
"name": "babel-plugin-openui5-support",
"description": "Handle support tool loading behavior for UI5",
"version": "0.0.4",
"version": "0.0.5",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "author": "Christoph Kraemer <chr.kraemer@sap.com>",

@@ -65,7 +65,7 @@ export default function ({ types: t }) {

const arg2 = args[1];
if (arg1.type !== 'ArrayExpression' && arg2.type !== 'Identifier') {
if (arg1.type !== 'ArrayExpression' || arg2.type !== 'Identifier') {
return;
}
if (arg1.elements.length !== 1 && arg1.elements[0].type !== 'Literal') {
if (arg1.elements.length !== 1 || arg1.elements[0].type !== 'StringLiteral') {
return;

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