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 7.1.0 to 7.1.1

8

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

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

},
"bugs": "https://github.com/Bounced-Inc/mongoose-tsgen/issues",
"bugs": "https://github.com/francescov1/mongoose-tsgen/issues",
"dependencies": {

@@ -59,3 +59,3 @@ "@oclif/command": "^1.8.0",

],
"homepage": "https://github.com/Bounced-Inc/mongoose-tsgen",
"homepage": "https://github.com/francescov1/mongoose-tsgen",
"keywords": [

@@ -74,3 +74,3 @@ "mongoose",

},
"repository": "Bounced-Inc/mongoose-tsgen",
"repository": "francescov1/mongoose-tsgen",
"scripts": {

@@ -77,0 +77,0 @@ "posttest": "eslint . --ext .ts --config .eslintrc",

@@ -7,3 +7,3 @@ # mongoose-tsgen

[![npm](https://img.shields.io/npm/dt/mongoose-tsgen)](https://www.npmjs.com/package/mongoose-tsgen)
[![License](https://img.shields.io/npm/l/mongoose-tsgen.svg)](https://github.com/Bounced-Inc/mongoose-tsgen/blob/master/package.json)
[![License](https://img.shields.io/npm/l/mongoose-tsgen.svg)](https://github.com/francescov1/mongoose-tsgen/blob/master/package.json)

@@ -40,3 +40,3 @@ <!-- [![Downloads/week](https://img.shields.io/npm/dw/mongoose-tsgen.svg)](https://npmjs.org/package/mongoose-tsgen) -->

> For previous Mongoose versions, install mongoose-tsgen v6.0.10 with `npm install mongoose-tsgen@6.0.10` and see [its README](https://github.com/Bounced-Inc/mongoose-tsgen/blob/12d2f693957f61776d5b6addf23a8b051c99294c/README.md) for instructions.
> For previous Mongoose versions, install mongoose-tsgen v6.0.10 with `npm install mongoose-tsgen@6.0.10` and see [its README](https://github.com/francescov1/mongoose-tsgen/blob/12d2f693957f61776d5b6addf23a8b051c99294c/README.md) for instructions.

@@ -151,3 +151,3 @@ - [x] All Mongoose types, arrays and maps

_See code: [src/index.ts](https://github.com/Bounced-Inc/mongoose-tsgen/blob/master/src/index.ts)_
_See code: [src/index.ts](https://github.com/francescov1/mongoose-tsgen/blob/master/src/index.ts)_

@@ -358,3 +358,3 @@ <!-- commandsstop -->

- [ ] <b>In progress:</b> The generating piece of `src/helpers/parser.ts` needs to be rewritten using [ts-morph](https://github.com/dsherret/ts-morph). Currently it builds the interfaces by appending generated lines of code to a string sequentially, with no knowledge of the AST. This leads to pretty confusing logic, using the TS compiler API would simplify it a ton.
- [ ] Add CLI option to type `_id` fields as a string rather than an ObjectId on lean version of documents (see [#7](https://github.com/Bounced-Inc/mongoose-tsgen/issues/7)).
- [ ] Add CLI option to type `_id` fields as a string rather than an ObjectId on lean version of documents (see [#7](https://github.com/francescov1/mongoose-tsgen/issues/7)).
- [ ] Cut down node_modules by using peer dependencies (i.e. mongoose) and stripping oclif.
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