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

einstein-cli

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

einstein-cli - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

7

actions/create-react-default-compilation.js

@@ -13,9 +13,10 @@ "use strict";

const CreateReactAndCompileDefault = async (args) => {
const fileName = (0, kebab_case_1.default)(args.name);
const className = (0, pascal_case_1.default)(fileName);
args.name = className;
const isFail = await (0, create_1.default)(args);
if (isFail)
return (1);
const fileName = (0, kebab_case_1.default)(args.name);
const className = (0, pascal_case_1.default)(fileName);
// compile data and apply to files
const isFailCompile = await (0, compile_1.default)(Object.assign(Object.assign({}, args), { name: className, data: [
const isFailCompile = await (0, compile_1.default)(Object.assign(Object.assign({}, args), { data: [
{ '{{__TEMPLATE__CLASS__NAME__}}': className },

@@ -22,0 +23,0 @@ { '__TEMPLATE__FILE__NAME__': className }

{
"name": "einstein-cli",
"version": "0.0.15",
"version": "0.0.16",
"main": "bin/einstein.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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