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

mongoose-tsgen

Package Overview
Dependencies
Maintainers
1
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-tsgen - npm Package Compare versions

Comparing version 9.4.1 to 9.4.2

3

lib/helpers/tsReader.js

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

project: foundPath,
experimentalResolver: true,
compilerOptions: {

@@ -347,3 +348,3 @@ module: "commonjs"

tsConfig.compilerOptions.paths = Object.assign(Object.assign({}, extendedConfig.compilerOptions.paths), tsConfig.compilerOptions.paths);
// We only want to set the base URL if its not already set, since the child tsconfig should always overwrite extended tsconfigs.
// We only want to set the base URL if its not already set, since the child tsconfig should always overwrite extended tsconfigs.
// So the first child we find with a base URL be the final base URL

@@ -350,0 +351,0 @@ if (extendedConfig.compilerOptions.baseUrl && !tsConfig.compilerOptions.baseUrl) {

@@ -149,2 +149,5 @@ "use strict";

try {
if (process.env.DEBUG) {
console.log("parser: Attempting to import model from path: " + singleModelPath);
}
exportedData = require(singleModelPath);

@@ -151,0 +154,0 @@ }

{
"name": "mongoose-tsgen",
"description": "A Typescript interface generator for Mongoose that works out of the box.",
"version": "9.4.1",
"version": "9.4.2",
"author": "Francesco Virga @francescov1",

@@ -24,3 +24,3 @@ "bin": {

"ts-morph": "^19.0.0",
"ts-node": "^9.1.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^3.9.0",

@@ -27,0 +27,0 @@ "tslib": "^1.13.0"

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