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

@tsed/cli-plugin-mongoose

Package Overview
Dependencies
Maintainers
0
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsed/cli-plugin-mongoose - npm Package Compare versions

Comparing version 6.0.0-alpha.8 to 6.0.0-alpha.9

4

lib/esm/hooks/MongooseGenerateHook.js

@@ -6,3 +6,3 @@ var MongooseGenerateHook_1;

import { Injectable } from "@tsed/di";
import { camelCase, paramCase } from "change-case";
import { camelCase, kebabCase } from "change-case";
// @ts-ignore

@@ -65,3 +65,3 @@ import { plural } from "pluralize";

{
title: `Generate Mongoose configuration file to '${paramCase(ctx.name)}.config.ts'`,
title: `Generate Mongoose configuration file to '${kebabCase(ctx.name)}.config.ts'`,
task: () => this.cliMongoose.writeConfig(ctx.name, ctx)

@@ -68,0 +68,0 @@ },

import { __decorate, __metadata } from "tslib";
import { Inject, Injectable, ProjectPackageJson, SrcRendererService } from "@tsed/cli-core";
import { camelCase, constantCase, paramCase } from "change-case";
import { camelCase, constantCase, kebabCase } from "change-case";
import { basename, join } from "path";

@@ -11,5 +11,5 @@ import { TEMPLATE_DIR } from "../utils/templateDir.js";

symbolName: constantCase(name),
name: paramCase(name)
name: kebabCase(name)
}, {
output: `${paramCase(name)}.config.ts`,
output: `${kebabCase(name)}.config.ts`,
rootDir: join(this.srcRenderer.rootDir, "config", "mongoose"),

@@ -16,0 +16,0 @@ templateDir: TEMPLATE_DIR

{
"name": "@tsed/cli-plugin-mongoose",
"description": "Ts.ED CLI plugin. Add Mongoose support",
"version": "6.0.0-alpha.8",
"version": "6.0.0-alpha.9",
"type": "module",

@@ -24,10 +24,10 @@ "main": "./lib/esm/index.js",

"dependencies": {
"change-case": "4.1.2",
"change-case": "5.4.4",
"pluralize": "8.0.0",
"tslib": "2.3.1"
"tslib": "2.7.0"
},
"devDependencies": {
"@tsed/cli": "6.0.0-alpha.8",
"@tsed/cli-core": "6.0.0-alpha.8",
"@tsed/typescript": "6.0.0-alpha.8",
"@tsed/cli": "6.0.0-alpha.9",
"@tsed/cli-core": "6.0.0-alpha.9",
"@tsed/typescript": "6.0.0-alpha.9",
"cross-env": "7.0.3",

@@ -34,0 +34,0 @@ "typescript": "5.6.2",

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