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

nest-utilities-cli

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nest-utilities-cli - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

utils/string.utils.js

2

package.json
{
"name": "nest-utilities-cli",
"version": "1.0.14",
"version": "1.0.15",
"description": "",

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

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const string_utils_1 = require("../utils/string.utils");
exports.controllerTemplate = (name, schemaPath, servicePath) => `\

@@ -24,3 +25,3 @@ import { Controller } from "@nestjs/common";

.replace(/{name}/g, name)
.replace(/{servicePath}/g, servicePath)
.replace(/{schemaPath}/g, schemaPath);
.replace(/{servicePath}/g, string_utils_1.StringUtils.pathToImport(servicePath))
.replace(/{schemaPath}/g, string_utils_1.StringUtils.pathToImport(schemaPath));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const string_utils_1 = require("../utils/string.utils");
exports.schemaTemplate = (name, interfacePath) => `\

@@ -23,2 +24,2 @@ import mongoose, { Document } from "mongoose";

.replace(/{name}/g, name)
.replace(/{interfacePath}/g, interfacePath);
.replace(/{interfacePath}/g, string_utils_1.StringUtils.pathToImport(interfacePath));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const string_utils_1 = require("../utils/string.utils");
exports.serviceTemplate = (name, schemaPath) => `\

@@ -33,2 +34,2 @@ import { Injectable } from "@nestjs/common";

.replace(/{name}/g, name)
.replace(/{schemaPath}/g, schemaPath);
.replace(/{schemaPath}/g, string_utils_1.StringUtils.pathToImport(schemaPath));
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