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

@aws-amplify/codegen-ui

Package Overview
Dependencies
Maintainers
8
Versions
645
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/codegen-ui - npm Package Compare versions

Comparing version 1.1.1-alpha.278 to 1.1.1-alpha.279

7

dist/lib/studio-node.d.ts

@@ -22,2 +22,9 @@ import { StudioComponent, StudioComponentChild } from './types';

getOverrideKey(): string;
/**
*
* Parse the override key to get the component type
* Example: Flex.Flex[0].Flex[0].Button[0], Button
*
*/
static getComponentTypeFromOverrideKey(overrideKey: string): string;
}

@@ -43,4 +43,20 @@ "use strict";

}
/**
*
* Parse the override key to get the component type
* Example: Flex.Flex[0].Flex[0].Button[0], Button
*
*/
static getComponentTypeFromOverrideKey(overrideKey) {
const splitOverrideKeys = overrideKey.split('.');
// for root component
if (splitOverrideKeys.length === 1) {
return splitOverrideKeys[0];
}
const lastOverrideKey = splitOverrideKeys[splitOverrideKeys.length - 1];
const openBracketIndex = lastOverrideKey.indexOf('[');
return lastOverrideKey.substring(0, openBracketIndex);
}
}
exports.StudioNode = StudioNode;
//# sourceMappingURL=studio-node.js.map

4

package.json
{
"name": "@aws-amplify/codegen-ui",
"version": "1.1.1-alpha.278+eba7f1f",
"version": "1.1.1-alpha.279+f511f2c",
"description": "generic component code generation interface definitions",

@@ -53,3 +53,3 @@ "author": "Amazon Web Services",

},
"gitHead": "eba7f1fa3c868bee4722e94b440b06cb6ace98ee"
"gitHead": "f511f2cb3aed5c85d60bd2bad7775b21199a784d"
}

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