New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@react-ddd/cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-ddd/cli - npm Package Compare versions

Comparing version
0.0.7
to
0.0.8
+3
-1
dist/commands/gen_commands/hook.js

@@ -11,2 +11,3 @@ "use strict";

const caseify_1 = __importDefault(require("#helpers/caseify"));
const fp_1 = require("lodash/fp");
const template = path_1.default.join(__dirname, 'hook_template');

@@ -32,2 +33,3 @@ const options = {

const config = await (0, loadConfig_1.default)(args);
const name = (0, fp_1.replace)(/^use/, '', args.name);
(0, generator_1.default)(template, {

@@ -37,3 +39,3 @@ config,

...args,
name: (0, caseify_1.default)(args.name),
name: (0, caseify_1.default)(name),
},

@@ -40,0 +42,0 @@ });

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const fp_1 = require("lodash/fp");
const spinalCase_1 = __importDefault(require("./spinalCase"));
exports.default = (name) => ({
camel: (0, fp_1.camelCase)(name),
spinal: (0, spinalCase_1.default)(name),
spinal: (0, fp_1.kebabCase)(name),
pascal: (0, fp_1.flow)(fp_1.camelCase, (0, fp_1.replace)(/^(.)/, fp_1.toUpper))(name),
});
{
"name": "@react-ddd/cli",
"version": "0.0.7",
"version": "0.0.8",
"description": "Code generation",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fp_1 = require("lodash/fp");
exports.default = (0, fp_1.flow)(fp_1.snakeCase, (0, fp_1.replace)(/_/g, '-'));

Sorry, the diff of this file is not supported yet