mongoose-softdelete icon indicating copy to clipboard operation
mongoose-softdelete copied to clipboard

Soft delete MongoDB documents

Results 7 mongoose-softdelete issues
Sort by recently updated
recently updated
newest added

Adding a type:"modue" treats the package as module which must be included using import statement and not require()

Hi im trying to use soft delete with typescript ``` Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /home/globant/Documents/repos/spybee/node_modules/mongoose-softdelete/src/mongoose-softdelete.js require() of ES modules is not supported. require() of /home/globant/Documents/repos/spybee/node_modules/mongoose-softdelete/src/mongoose-softdelete.js...

``` node_modules/mongoose-softdelete/index.d.ts:1:42 - error TS2305: Module '"mongoose"' has no exported member 'DocumentQuery'. 1 import { Document, Model, Query, Schema, DocumentQuery } from "mongoose"; ~~~~~~~~~~~~~ node_modules/mongoose-softdelete/index.d.ts:15:38 - error TS2314: Generic type...

Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.10.0 to 5.13.15. Changelog Sourced from mongoose's changelog. 5.13.15 / 2022-08-22 fix: backport fix for CVE-2022-2564 #12281 shubanker docs: fix broken link from findandmodify method deprecation #11366...

dependencies

Bumps [flat](https://github.com/hughsk/flat) to 5.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `flat` from 4.1.0 to 5.0.2 Commits e5ffd66 Release 5.0.2 fdb79d5 Update dependencies, refresh...

dependencies