Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gem-analyzer

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gem-analyzer - npm Package Compare versions

Comparing version 1.6.10 to 1.6.12

14

index.js

@@ -68,3 +68,3 @@ import { camelToKebabCase } from '@mantou/gem/lib/utils';

};
detail.staticProperties.push(prop);
let isPartOrSlot = false;
const staticPorpDecorators = staticPropDeclaration.getDecorators();

@@ -74,2 +74,3 @@ for (const decorator of staticPorpDecorators) {

if (slotDecoratorName.includes(decoratorName)) {
isPartOrSlot = true;
prop.slot = camelToKebabCase(staticPropName);

@@ -79,2 +80,3 @@ detail.slots.push(prop.slot);

else if (partDecoratorName.includes(decoratorName)) {
isPartOrSlot = true;
prop.part = camelToKebabCase(staticPropName);

@@ -84,2 +86,5 @@ detail.parts.push(prop.part);

}
if (!isPartOrSlot) {
detail.staticProperties.push(prop);
}
}

@@ -192,3 +197,3 @@ const staticMethodDeclarations = declaration.getStaticMethods();

if (elementDecoratior) {
result.push({
const detail = {
...parseElement(declaration),

@@ -200,3 +205,6 @@ name: elementDecoratior

.replace(/('|"|`)?(\S*)\1/, '$2'),
});
};
if (!detail.constructorName.startsWith('_')) {
result.push(detail);
}
}

@@ -203,0 +211,0 @@ }

{
"name": "gem-analyzer",
"version": "1.6.10",
"version": "1.6.12",
"description": "gem analyzer",

@@ -15,3 +15,3 @@ "main": "index.js",

"dependencies": {
"@mantou/gem": "^1.6.10"
"@mantou/gem": "^1.6.12"
},

@@ -18,0 +18,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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