⚙️ REST api with NodeJS(KoaJS) MongoDB and Jest Tests.

Overview

RESTRIS

Functional Backend implementation of REST api with NodeJS(KoaJS) MongoDB and Jest Tests.

Tests Passing

Tools

  • TypeScript
  • Node
  • KoaJS
  • MongoDB
  • Mongoose
  • Jest
  • Supertest
  • Swagger
  • Eslint
  • Prettier

Modules

  • userModel

APIs

  • userGet
  • userGetAll
  • userPost
  • userUpdate
  • userDelete

Auth Flow

  • login
  • validate user token
  • logout

Getting Started

  • clone this repo
# install dependencies
> yarn
# or
> yarn install

# copy .env file
> cp .env.example .env

# start project
> yarn start

# open in
http://localhost:9000/api/version
🔗 Demo:

[wip]

Comments
  • build(deps-dev): bump mongodb-memory-server-global from 6.9.3 to 8.10.2

    build(deps-dev): bump mongodb-memory-server-global from 6.9.3 to 8.10.2

    Bumps mongodb-memory-server-global from 6.9.3 to 8.10.2.

    Release notes

    Sourced from mongodb-memory-server-global's releases.

    v8.10.2

    8.10.2 (2022-12-11)

    Fixes

    • MongoBinaryDownload::httpDownload: update 403 error message links (b9307bd)

    v8.10.1

    8.10.1 (2022-11-25)

    Fixes

    • MongoInstance: move getting / downloading the binary before creating the launchTimeout (619d1fa), closes #719

    v8.10.0

    8.10.0 (2022-11-09)

    Features

    • MongoBinaryDownloadUrl: support native macos arm64 binaries for 6.0.0 and up (9b0dfb1), closes #714

    Dependencies

    • @​types/jest: upgrade to version 28.1.8 (7eaaeb1)
    • @​types/semver: upgrade to version 7.3.13 (aa5ca3b)
    • @typescript-eslint/*: upgrade to version 5.42.1 (038b07e)
    • doctoc: upgrade to version 2.2.1 (3c1deb9)
    • eslint: upgrade to version 8.27.0 (31fece5)
    • mongodb: upgrade to version 4.11.0 (999bc2c)
    • semver: upgrade to version 7.3.8 (9e09446)
    • tslib: upgrade to version 2.4.1 (5524cf6)

    v8.9.5

    8.9.5 (2022-10-31)

    Fixes

    • MongoMemoryServer: pass-through option "launchTimeout" correctly (6ffe62a), closes #710

    v8.9.4

    8.9.4 (2022-10-28)

    Fixes

    ... (truncated)

    Changelog

    Sourced from mongodb-memory-server-global's changelog.

    8.10.2 (2022-12-11)

    Fixes

    • MongoBinaryDownload::httpDownload: update 403 error message links (b9307bd)

    8.10.1 (2022-11-25)

    Fixes

    • MongoInstance: move getting / downloading the binary before creating the launchTimeout (619d1fa), closes #719

    8.10.0 (2022-11-09)

    Features

    • MongoBinaryDownloadUrl: support native macos arm64 binaries for 6.0.0 and up (9b0dfb1), closes #714

    Dependencies

    • @​types/jest: upgrade to version 28.1.8 (7eaaeb1)
    • @​types/semver: upgrade to version 7.3.13 (aa5ca3b)
    • @typescript-eslint/*: upgrade to version 5.42.1 (038b07e)
    • doctoc: upgrade to version 2.2.1 (3c1deb9)
    • eslint: upgrade to version 8.27.0 (31fece5)
    • mongodb: upgrade to version 4.11.0 (999bc2c)
    • semver: upgrade to version 7.3.8 (9e09446)
    • tslib: upgrade to version 2.4.1 (5524cf6)

    8.9.5 (2022-10-31)

    Fixes

    • MongoMemoryServer: pass-through option "launchTimeout" correctly (6ffe62a), closes #710

    8.9.4 (2022-10-28)

    Fixes

    • MongoInstance: add a timeout for the "launch" promise (f822856), closes #710

    8.9.3 (2022-09-25)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    Dependabot will merge this PR once CI passes on it, as requested by @biantris.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 3
  • build(deps): bump jest and @types/jest

    build(deps): bump jest and @types/jest

    Bumps jest and @types/jest. These dependencies needed to be updated together. Updates jest from 25.1.0 to 29.3.1

    Release notes

    Sourced from jest's releases.

    v29.3.1

    Fixes

    • [jest-config] Do not warn about preset in ProjectConfig #13583

    Performance

    • [jest-transform] Defer creation of cache directory #13420

    v29.3.0

    Features

    • [jest-runtime] Support WebAssembly (Wasm) imports in ESM modules (#13505)

    Fixes

    • [jest-config] Add config validation for projects option (#13565)
    • [jest-mock] Treat cjs modules as objects so they can be mocked (#13513)
    • [jest-worker] Throw an error instead of hanging when jest workers terminate unexpectedly (#13566)

    Chore & Maintenance

    • [@jest/transform] Update convert-source-map (#13509)
    • [docs] Mention toStrictEqual in UsingMatchers docs. (#13560)

    New Contributors

    Full Changelog: https://github.com/facebook/jest/compare/v29.2.2...v29.3.0

    v29.2.2

    Fixes

    • [@jest/test-sequencer] Make sure sharding does not produce empty groups (#13476)
    • [jest-circus] Test marked as todo are shown as todo when inside a focussed describe (#13504)
    • [jest-mock] Ensure mock resolved and rejected values are promises from correct realm (#13503)
    • [jest-snapshot] Don't highlight passing asymmetric property matchers in snapshot diff (#13480)

    Chore & Maintenance

    • [docs] Update link to Jest 28 upgrade guide in error message (#13483)
    • [jest-runner, jest-watcher] Update emittery (#13490)

    New Contributors

    ... (truncated)

    Changelog

    Sourced from jest's changelog.

    29.3.1

    Fixes

    • [jest-config] Do not warn about preset in ProjectConfig (#13583)

    Performance

    • [jest-transform] Defer creation of cache directory (#13420)

    29.3.0

    Features

    • [jest-runtime] Support WebAssembly (Wasm) imports in ESM modules (#13505)

    Fixes

    • [jest-config] Add config validation for projects option (#13565)
    • [jest-mock] Treat cjs modules as objects so they can be mocked (#13513)
    • [jest-worker] Throw an error instead of hanging when jest workers terminate unexpectedly (#13566)

    Chore & Maintenance

    • [@jest/transform] Update convert-source-map (#13509)
    • [docs] Mention toStrictEqual in UsingMatchers docs. (#13560)

    29.2.2

    Fixes

    • [@jest/test-sequencer] Make sure sharding does not produce empty groups (#13476)
    • [jest-circus] Test marked as todo are shown as todo when inside a focussed describe (#13504)
    • [jest-mock] Ensure mock resolved and rejected values are promises from correct realm (#13503)
    • [jest-snapshot] Don't highlight passing asymmetric property matchers in snapshot diff (#13480)

    Chore & Maintenance

    • [docs] Update link to Jest 28 upgrade guide in error message (#13483)
    • [jest-runner, jest-watcher] Update emittery (#13490)

    29.2.1

    Features

    • [@jest/globals, jest-mock] Add jest.Spied* utility types (#13440)

    Fixes

    • [jest-environment-node] make globalThis.performance writable for Node 19 and fake timers (#13467)

    ... (truncated)

    Commits
    Maintainer changes

    This version was pushed to npm by simenb, a new releaser for jest since your current version.


    Updates @types/jest from 28.1.6 to 29.2.3

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 3
  • build(deps): bump mongoose from 5.11.18 to 6.8.0

    build(deps): bump mongoose from 5.11.18 to 6.8.0

    Bumps mongoose from 5.11.18 to 6.8.0.

    Release notes

    Sourced from mongoose's releases.

    6.8.0 / 2022-12-05

    6.7.5 / 2022-11-30

    • fix(schema): copy indexes when calling add() with schema instance #12737 #12654
    • fix(query): handle deselecting _id when another field has schema-level select: false #12736 #12670
    • fix(types): support using UpdateQuery in bulkWrite() #12742 #12595
    • docs(middleware): added note about execution policy on subdocuments #12735 #12694 lpizzinidev
    • docs(validation): clarify context for update validators in validation docs #12738 #12655 IslandRhythms

    6.7.4 / 2022-11-28

    • fix: allow setting global strictQuery after Schema creation #12717 #12703 lpizzinidev
    • fix(cursor): make eachAsync() avoid modifying batch when mixing parallel and batchSize #12716
    • fix(types): infer virtuals in query results #12727 #12702 #12684
    • fix(types): correctly infer ReadonlyArray types in schema definitions #12720
    • fix(types): avoid typeof Query with generics for TypeScript 4.6 support #12712 #12688
    • chore: avoid bundling .tgz files when publishing #12725 hasezoey

    6.7.3 / 2022-11-22

    6.7.2 / 2022-11-07

    • fix(discriminator): skip copying base schema plugins if applyPlugins == false #12613 #12604 lpizzinidev
    • fix(types): add UUID to types #12650 #12593
    • fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
    • fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
    • fix(types): correct handling for model #12659 #12573
    • fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev

    ... (truncated)

    Changelog

    Sourced from mongoose's changelog.

    6.8.0 / 2022-12-05

    6.7.5 / 2022-11-30

    • fix(schema): copy indexes when calling add() with schema instance #12737 #12654
    • fix(query): handle deselecting _id when another field has schema-level select: false #12736 #12670
    • fix(types): support using UpdateQuery in bulkWrite() #12742 #12595
    • docs(middleware): added note about execution policy on subdocuments #12735 #12694 lpizzinidev
    • docs(validation): clarify context for update validators in validation docs #12738 #12655 IslandRhythms

    6.7.4 / 2022-11-28

    • fix: allow setting global strictQuery after Schema creation #12717 #12703 lpizzinidev
    • fix(cursor): make eachAsync() avoid modifying batch when mixing parallel and batchSize #12716
    • fix(types): infer virtuals in query results #12727 #12702 #12684
    • fix(types): correctly infer ReadonlyArray types in schema definitions #12720
    • fix(types): avoid typeof Query with generics for TypeScript 4.6 support #12712 #12688
    • chore: avoid bundling .tgz files when publishing #12725 hasezoey

    6.7.3 / 2022-11-22

    6.7.2 / 2022-11-07

    • fix(discriminator): skip copying base schema plugins if applyPlugins == false #12613 #12604 lpizzinidev
    • fix(types): add UUID to types #12650 #12593
    • fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
    • fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
    • fix(types): correct handling for model #12659 #12573
    • fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev

    ... (truncated)

    Commits
    • 82943da chore: release 6.8.0
    • 687dfe6 Merge pull request #12768 from Automattic/6.8
    • c561459 Merge branch 'master' into 6.8
    • 1717e16 Merge pull request #12769 from Automattic/revert-12751-dependabot/npm_and_yar...
    • 40dba69 Revert "chore(deps-dev): bump typescript from 4.8.4 to 4.9.3"
    • 7676f5c Merge branch 'master' into 6.8
    • efed0a4 Merge pull request #12723 from Automattic/vkarpov15/gh-12595
    • 170e6df Merge pull request #12750 from Automattic/dependabot/npm_and_yarn/master/sino...
    • 52cdf92 Merge pull request #12753 from Automattic/dependabot/npm_and_yarn/master/babe...
    • 51bb927 Merge pull request #12751 from Automattic/dependabot/npm_and_yarn/master/type...
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • build(deps-dev): bump babel-jest from 26.6.3 to 29.3.1

    build(deps-dev): bump babel-jest from 26.6.3 to 29.3.1

    Bumps babel-jest from 26.6.3 to 29.3.1.

    Release notes

    Sourced from babel-jest's releases.

    v29.3.1

    Fixes

    • [jest-config] Do not warn about preset in ProjectConfig #13583

    Performance

    • [jest-transform] Defer creation of cache directory #13420

    v29.3.0

    Features

    • [jest-runtime] Support WebAssembly (Wasm) imports in ESM modules (#13505)

    Fixes

    • [jest-config] Add config validation for projects option (#13565)
    • [jest-mock] Treat cjs modules as objects so they can be mocked (#13513)
    • [jest-worker] Throw an error instead of hanging when jest workers terminate unexpectedly (#13566)

    Chore & Maintenance

    • [@jest/transform] Update convert-source-map (#13509)
    • [docs] Mention toStrictEqual in UsingMatchers docs. (#13560)

    New Contributors

    Full Changelog: https://github.com/facebook/jest/compare/v29.2.2...v29.3.0

    v29.2.2

    Fixes

    • [@jest/test-sequencer] Make sure sharding does not produce empty groups (#13476)
    • [jest-circus] Test marked as todo are shown as todo when inside a focussed describe (#13504)
    • [jest-mock] Ensure mock resolved and rejected values are promises from correct realm (#13503)
    • [jest-snapshot] Don't highlight passing asymmetric property matchers in snapshot diff (#13480)

    Chore & Maintenance

    • [docs] Update link to Jest 28 upgrade guide in error message (#13483)
    • [jest-runner, jest-watcher] Update emittery (#13490)

    New Contributors

    ... (truncated)

    Changelog

    Sourced from babel-jest's changelog.

    29.3.1

    Fixes

    • [jest-config] Do not warn about preset in ProjectConfig #13583

    Performance

    • [jest-transform] Defer creation of cache directory #13420

    29.3.0

    Features

    • [jest-runtime] Support WebAssembly (Wasm) imports in ESM modules (#13505)

    Fixes

    • [jest-config] Add config validation for projects option (#13565)
    • [jest-mock] Treat cjs modules as objects so they can be mocked (#13513)
    • [jest-worker] Throw an error instead of hanging when jest workers terminate unexpectedly (#13566)

    Chore & Maintenance

    • [@jest/transform] Update convert-source-map (#13509)
    • [docs] Mention toStrictEqual in UsingMatchers docs. (#13560)

    29.2.2

    Fixes

    • [@jest/test-sequencer] Make sure sharding does not produce empty groups (#13476)
    • [jest-circus] Test marked as todo are shown as todo when inside a focussed describe (#13504)
    • [jest-mock] Ensure mock resolved and rejected values are promises from correct realm (#13503)
    • [jest-snapshot] Don't highlight passing asymmetric property matchers in snapshot diff (#13480)

    Chore & Maintenance

    • [docs] Update link to Jest 28 upgrade guide in error message (#13483)
    • [jest-runner, jest-watcher] Update emittery (#13490)

    29.2.1

    Features

    • [@jest/globals, jest-mock] Add jest.Spied* utility types (#13440)

    Fixes

    • [jest-environment-node] make globalThis.performance writable for Node 19 and fake timers (#13467)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • build(deps): bump swagger-jsdoc from 6.2.5 to 6.2.7

    build(deps): bump swagger-jsdoc from 6.2.5 to 6.2.7

    Bumps swagger-jsdoc from 6.2.5 to 6.2.7.

    Commits
    • b6e3c54 Merge pull request #345 from aleksey-a-maltsev/fix/extensions-multiple-webhooks
    • 7086903 Merge pull request #333 from Haegin/codespace-cccf
    • d3a2fa8 fix(extensions): add semicolon
    • e34baf4 fix(extensions): support multiple webhooks
    • 47a0e22 Update pinned version in package.json
    • 4ab3e51 Upgrade swagger-parser to fix vulnerability
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps): bump mongoose from 6.8.0 to 6.8.1

    build(deps): bump mongoose from 6.8.0 to 6.8.1

    Bumps mongoose from 6.8.0 to 6.8.1.

    Release notes

    Sourced from mongoose's releases.

    6.8.1 / 2022-12-19

    • fix(query): avoid throwing circular dependency error if same object is used in multiple properties #12774 orgads
    • fix(map): return value from super.delete() #12777 danbrud
    • fix(populate): handle virtual populate underneath document array with justOne=true and sort set where 1 element has only 1 result #12815 #12730
    • fix(update): handle embedded discriminators when casting array filters #12802 #12565
    • fix(populate): avoid calling transform if there's no populate results and using lean #12804 #12739
    • fix(model): prevent index creation on syncIndexes if not necessary #12785 #12250 lpizzinidev
    • fix(types): correctly infer this when using pre('updateOne') with { document: true, query: false } #12778
    • fix(types): make InferSchemaType: consider { required: boolean } required if it isn't explicitly false #12784 JavaScriptBach
    • docs: replace many occurrences of "localhost" with "127.0.0.1" #12811 #12741 hasezoey SadiqOnGithub
    • docs(mongoose): Added missing options to set #12810 lpizzinidev
    • docs: add info on $locals parameters to getters/setters tutorial #12814 #12550 IslandRhythms
    • docs: make Document.prototype.$clone() public #12803
    • docs(query): updated explanation for slice #12776 #12474 lpizzinidev
    • docs(middleware): fix broken links #12787 lpizzinidev
    • docs(queries): fixed broken links #12790 lpizzinidev
    Changelog

    Sourced from mongoose's changelog.

    6.8.1 / 2022-12-19

    • fix(query): avoid throwing circular dependency error if same object is used in multiple properties #12774 orgads
    • fix(map): return value from super.delete() #12777 danbrud
    • fix(populate): handle virtual populate underneath document array with justOne=true and sort set where 1 element has only 1 result #12815 #12730
    • fix(update): handle embedded discriminators when casting array filters #12802 #12565
    • fix(populate): avoid calling transform if there's no populate results and using lean #12804 #12739
    • fix(model): prevent index creation on syncIndexes if not necessary #12785 #12250 lpizzinidev
    • fix(types): correctly infer this when using pre('updateOne') with { document: true, query: false } #12778
    • fix(types): make InferSchemaType: consider { required: boolean } required if it isn't explicitly false #12784 JavaScriptBach
    • docs: replace many occurrences of "localhost" with "127.0.0.1" #12811 #12741 hasezoey SadiqOnGithub
    • docs(mongoose): Added missing options to set #12810 lpizzinidev
    • docs: add info on $locals parameters to getters/setters tutorial #12814 #12550 IslandRhythms
    • docs: make Document.prototype.$clone() public #12803
    • docs(query): updated explanation for slice #12776 #12474 lpizzinidev
    • docs(middleware): fix broken links #12787 lpizzinidev
    • docs(queries): fixed broken links #12790 lpizzinidev
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps): bump mongoose from 5.11.18 to 6.7.5

    build(deps): bump mongoose from 5.11.18 to 6.7.5

    Bumps mongoose from 5.11.18 to 6.7.5.

    Release notes

    Sourced from mongoose's releases.

    6.7.5 / 2022-11-30

    • fix(schema): copy indexes when calling add() with schema instance #12737 #12654
    • fix(query): handle deselecting _id when another field has schema-level select: false #12736 #12670
    • fix(types): support using UpdateQuery in bulkWrite() #12742 #12595
    • docs(middleware): added note about execution policy on subdocuments #12735 #12694 lpizzinidev
    • docs(validation): clarify context for update validators in validation docs #12738 #12655 IslandRhythms

    6.7.4 / 2022-11-28

    • fix: allow setting global strictQuery after Schema creation #12717 #12703 lpizzinidev
    • fix(cursor): make eachAsync() avoid modifying batch when mixing parallel and batchSize #12716
    • fix(types): infer virtuals in query results #12727 #12702 #12684
    • fix(types): correctly infer ReadonlyArray types in schema definitions #12720
    • fix(types): avoid typeof Query with generics for TypeScript 4.6 support #12712 #12688
    • chore: avoid bundling .tgz files when publishing #12725 hasezoey

    6.7.3 / 2022-11-22

    6.7.2 / 2022-11-07

    • fix(discriminator): skip copying base schema plugins if applyPlugins == false #12613 #12604 lpizzinidev
    • fix(types): add UUID to types #12650 #12593
    • fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
    • fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
    • fix(types): correct handling for model #12659 #12573
    • fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev

    6.7.1 / 2022-11-02

    • fix(query): select Map field with select: false when explicitly requested #12616 #12603 lpizzinidev
    • fix: correctly find paths underneath single nested document with an array of mixed #12605 #12530
    • fix(populate): better support for populating maps of arrays of refs #12601 #12494
    • fix(types): add missing create constructor signature override type #12585 naorpeled
    • fix(types): make array paths optional in inferred type of array default returns undefined #12649 #12420
    • fix(types): improve ValidateOpts type #12606 Freezystem
    • docs: add Lodash guide highlighting issues with cloneDeep() #12609
    • docs: removed v5 link from v6 docs #12641 #12624 lpizzinidev
    • docs: removed outdated connection example #12618 lpizzinidev

    6.7.0 / 2022-10-24

    ... (truncated)

    Changelog

    Sourced from mongoose's changelog.

    6.7.5 / 2022-11-30

    • fix(schema): copy indexes when calling add() with schema instance #12737 #12654
    • fix(query): handle deselecting _id when another field has schema-level select: false #12736 #12670
    • fix(types): support using UpdateQuery in bulkWrite() #12742 #12595
    • docs(middleware): added note about execution policy on subdocuments #12735 #12694 lpizzinidev
    • docs(validation): clarify context for update validators in validation docs #12738 #12655 IslandRhythms

    6.7.4 / 2022-11-28

    • fix: allow setting global strictQuery after Schema creation #12717 #12703 lpizzinidev
    • fix(cursor): make eachAsync() avoid modifying batch when mixing parallel and batchSize #12716
    • fix(types): infer virtuals in query results #12727 #12702 #12684
    • fix(types): correctly infer ReadonlyArray types in schema definitions #12720
    • fix(types): avoid typeof Query with generics for TypeScript 4.6 support #12712 #12688
    • chore: avoid bundling .tgz files when publishing #12725 hasezoey

    6.7.3 / 2022-11-22

    6.7.2 / 2022-11-07

    • fix(discriminator): skip copying base schema plugins if applyPlugins == false #12613 #12604 lpizzinidev
    • fix(types): add UUID to types #12650 #12593
    • fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
    • fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
    • fix(types): correct handling for model #12659 #12573
    • fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev

    6.7.1 / 2022-11-02

    • fix(query): select Map field with select: false when explicitly requested #12616 #12603 lpizzinidev
    • fix: correctly find paths underneath single nested document with an array of mixed #12605 #12530
    • fix(populate): better support for populating maps of arrays of refs #12601 #12494
    • fix(types): add missing create constructor signature override type #12585 naorpeled
    • fix(types): make array paths optional in inferred type of array default returns undefined #12649 #12420
    • fix(types): improve ValidateOpts type #12606 Freezystem
    • docs: add Lodash guide highlighting issues with cloneDeep() #12609
    • docs: removed v5 link from v6 docs #12641 #12624 lpizzinidev
    • docs: removed outdated connection example #12618 lpizzinidev

    6.7.0 / 2022-10-24

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps): bump mongoose from 5.11.18 to 6.7.4

    build(deps): bump mongoose from 5.11.18 to 6.7.4

    Bumps mongoose from 5.11.18 to 6.7.4.

    Release notes

    Sourced from mongoose's releases.

    6.7.4 / 2022-11-28

    • fix: allow setting global strictQuery after Schema creation #12717 #12703 lpizzinidev
    • fix(cursor): make eachAsync() avoid modifying batch when mixing parallel and batchSize #12716
    • fix(types): infer virtuals in query results #12727 #12702 #12684
    • fix(types): correctly infer ReadonlyArray types in schema definitions #12720
    • fix(types): avoid typeof Query with generics for TypeScript 4.6 support #12712 #12688
    • chore: avoid bundling .tgz files when publishing #12725 hasezoey

    6.7.3 / 2022-11-22

    6.7.2 / 2022-11-07

    • fix(discriminator): skip copying base schema plugins if applyPlugins == false #12613 #12604 lpizzinidev
    • fix(types): add UUID to types #12650 #12593
    • fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
    • fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
    • fix(types): correct handling for model #12659 #12573
    • fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev

    6.7.1 / 2022-11-02

    • fix(query): select Map field with select: false when explicitly requested #12616 #12603 lpizzinidev
    • fix: correctly find paths underneath single nested document with an array of mixed #12605 #12530
    • fix(populate): better support for populating maps of arrays of refs #12601 #12494
    • fix(types): add missing create constructor signature override type #12585 naorpeled
    • fix(types): make array paths optional in inferred type of array default returns undefined #12649 #12420
    • fix(types): improve ValidateOpts type #12606 Freezystem
    • docs: add Lodash guide highlighting issues with cloneDeep() #12609
    • docs: removed v5 link from v6 docs #12641 #12624 lpizzinidev
    • docs: removed outdated connection example #12618 lpizzinidev

    6.7.0 / 2022-10-24

    • feat: upgrade to mongodb driver 4.11.0 #12446
    • feat: add UUID Schema Type (BSON Buffer SubType 4) #12268 #3208 hasezoey
    • feat(aggregation): add $fill pipeline stage #12545 raphael-papazikas
    • feat(types+schema): allow defining schema paths using mongoose.Types.* to work around TS type inference issues #12352
    • feat(schema): add alias() method that makes it easier to define multiple aliases for a given path #12368
    • feat(model): add mergeHooks option to Model.discriminator() to avoid duplicate hooks #12542
    • feat(document): add $timestamps() method to set timestamps for save(), bulkSave(), and insertMany() #12540

    ... (truncated)

    Changelog

    Sourced from mongoose's changelog.

    6.7.4 / 2022-11-28

    • fix: allow setting global strictQuery after Schema creation #12717 #12703 lpizzinidev
    • fix(cursor): make eachAsync() avoid modifying batch when mixing parallel and batchSize #12716
    • fix(types): infer virtuals in query results #12727 #12702 #12684
    • fix(types): correctly infer ReadonlyArray types in schema definitions #12720
    • fix(types): avoid typeof Query with generics for TypeScript 4.6 support #12712 #12688
    • chore: avoid bundling .tgz files when publishing #12725 hasezoey

    6.7.3 / 2022-11-22

    6.7.2 / 2022-11-07

    • fix(discriminator): skip copying base schema plugins if applyPlugins == false #12613 #12604 lpizzinidev
    • fix(types): add UUID to types #12650 #12593
    • fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
    • fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
    • fix(types): correct handling for model #12659 #12573
    • fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev

    6.7.1 / 2022-11-02

    • fix(query): select Map field with select: false when explicitly requested #12616 #12603 lpizzinidev
    • fix: correctly find paths underneath single nested document with an array of mixed #12605 #12530
    • fix(populate): better support for populating maps of arrays of refs #12601 #12494
    • fix(types): add missing create constructor signature override type #12585 naorpeled
    • fix(types): make array paths optional in inferred type of array default returns undefined #12649 #12420
    • fix(types): improve ValidateOpts type #12606 Freezystem
    • docs: add Lodash guide highlighting issues with cloneDeep() #12609
    • docs: removed v5 link from v6 docs #12641 #12624 lpizzinidev
    • docs: removed outdated connection example #12618 lpizzinidev

    6.7.0 / 2022-10-24

    • feat: upgrade to mongodb driver 4.11.0 #12446
    • feat: add UUID Schema Type (BSON Buffer SubType 4) #12268 #3208 hasezoey
    • feat(aggregation): add $fill pipeline stage #12545 raphael-papazikas
    • feat(types+schema): allow defining schema paths using mongoose.Types.* to work around TS type inference issues #12352
    • feat(schema): add alias() method that makes it easier to define multiple aliases for a given path #12368
    • feat(model): add mergeHooks option to Model.discriminator() to avoid duplicate hooks #12542
    • feat(document): add $timestamps() method to set timestamps for save(), bulkSave(), and insertMany() #12540

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps-dev): bump mongodb-memory-server-global from 6.9.3 to 8.10.1

    build(deps-dev): bump mongodb-memory-server-global from 6.9.3 to 8.10.1

    Bumps mongodb-memory-server-global from 6.9.3 to 8.10.1.

    Release notes

    Sourced from mongodb-memory-server-global's releases.

    v8.10.1

    8.10.1 (2022-11-25)

    Fixes

    • MongoInstance: move getting / downloading the binary before creating the launchTimeout (619d1fa), closes #719

    v8.10.0

    8.10.0 (2022-11-09)

    Features

    • MongoBinaryDownloadUrl: support native macos arm64 binaries for 6.0.0 and up (9b0dfb1), closes #714

    Dependencies

    • @​types/jest: upgrade to version 28.1.8 (7eaaeb1)
    • @​types/semver: upgrade to version 7.3.13 (aa5ca3b)
    • @typescript-eslint/*: upgrade to version 5.42.1 (038b07e)
    • doctoc: upgrade to version 2.2.1 (3c1deb9)
    • eslint: upgrade to version 8.27.0 (31fece5)
    • mongodb: upgrade to version 4.11.0 (999bc2c)
    • semver: upgrade to version 7.3.8 (9e09446)
    • tslib: upgrade to version 2.4.1 (5524cf6)

    v8.9.5

    8.9.5 (2022-10-31)

    Fixes

    • MongoMemoryServer: pass-through option "launchTimeout" correctly (6ffe62a), closes #710

    v8.9.4

    8.9.4 (2022-10-28)

    Fixes

    • MongoInstance: add a timeout for the "launch" promise (f822856), closes #710

    v8.9.3

    8.9.3 (2022-09-25)

    Style

    ... (truncated)

    Changelog

    Sourced from mongodb-memory-server-global's changelog.

    8.10.1 (2022-11-25)

    Fixes

    • MongoInstance: move getting / downloading the binary before creating the launchTimeout (619d1fa), closes #719

    8.10.0 (2022-11-09)

    Features

    • MongoBinaryDownloadUrl: support native macos arm64 binaries for 6.0.0 and up (9b0dfb1), closes #714

    Dependencies

    • @​types/jest: upgrade to version 28.1.8 (7eaaeb1)
    • @​types/semver: upgrade to version 7.3.13 (aa5ca3b)
    • @typescript-eslint/*: upgrade to version 5.42.1 (038b07e)
    • doctoc: upgrade to version 2.2.1 (3c1deb9)
    • eslint: upgrade to version 8.27.0 (31fece5)
    • mongodb: upgrade to version 4.11.0 (999bc2c)
    • semver: upgrade to version 7.3.8 (9e09446)
    • tslib: upgrade to version 2.4.1 (5524cf6)

    8.9.5 (2022-10-31)

    Fixes

    • MongoMemoryServer: pass-through option "launchTimeout" correctly (6ffe62a), closes #710

    8.9.4 (2022-10-28)

    Fixes

    • MongoInstance: add a timeout for the "launch" promise (f822856), closes #710

    8.9.3 (2022-09-25)

    Style

    • MongoMemoryReplSet: update log to more current implementation (256d65b)
    • MongoMemoryServer.test: remove unused "ts-expect-error" directive (5020be8)

    Fixes

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps): bump mongoose from 5.11.18 to 6.7.3

    build(deps): bump mongoose from 5.11.18 to 6.7.3

    Bumps mongoose from 5.11.18 to 6.7.3.

    Release notes

    Sourced from mongoose's releases.

    6.7.3 / 2022-11-22

    6.7.2 / 2022-11-07

    • fix(discriminator): skip copying base schema plugins if applyPlugins == false #12613 #12604 lpizzinidev
    • fix(types): add UUID to types #12650 #12593
    • fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
    • fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
    • fix(types): correct handling for model #12659 #12573
    • fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev

    6.7.1 / 2022-11-02

    • fix(query): select Map field with select: false when explicitly requested #12616 #12603 lpizzinidev
    • fix: correctly find paths underneath single nested document with an array of mixed #12605 #12530
    • fix(populate): better support for populating maps of arrays of refs #12601 #12494
    • fix(types): add missing create constructor signature override type #12585 naorpeled
    • fix(types): make array paths optional in inferred type of array default returns undefined #12649 #12420
    • fix(types): improve ValidateOpts type #12606 Freezystem
    • docs: add Lodash guide highlighting issues with cloneDeep() #12609
    • docs: removed v5 link from v6 docs #12641 #12624 lpizzinidev
    • docs: removed outdated connection example #12618 lpizzinidev

    6.7.0 / 2022-10-24

    • feat: upgrade to mongodb driver 4.11.0 #12446
    • feat: add UUID Schema Type (BSON Buffer SubType 4) #12268 #3208 hasezoey
    • feat(aggregation): add $fill pipeline stage #12545 raphael-papazikas
    • feat(types+schema): allow defining schema paths using mongoose.Types.* to work around TS type inference issues #12352
    • feat(schema): add alias() method that makes it easier to define multiple aliases for a given path #12368
    • feat(model): add mergeHooks option to Model.discriminator() to avoid duplicate hooks #12542
    • feat(document): add $timestamps() method to set timestamps for save(), bulkSave(), and insertMany() #12540

    6.6.7 / 2022-10-21

    • fix: correct browser build and improve isAsyncFunction check for browser #12577 #12576 #12392
    • fix(query): allow overwriting discriminator key with overwriteDiscriminatorKey if strict: 'throw' #12578 #12513

    6.6.6 / 2022-10-20

    • fix(update): handle runValidators when using $set on a doc array in discriminator schema #12571 #12518

    ... (truncated)

    Changelog

    Sourced from mongoose's changelog.

    6.7.3 / 2022-11-22

    6.7.2 / 2022-11-07

    • fix(discriminator): skip copying base schema plugins if applyPlugins == false #12613 #12604 lpizzinidev
    • fix(types): add UUID to types #12650 #12593
    • fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
    • fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
    • fix(types): correct handling for model #12659 #12573
    • fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev

    6.7.1 / 2022-11-02

    • fix(query): select Map field with select: false when explicitly requested #12616 #12603 lpizzinidev
    • fix: correctly find paths underneath single nested document with an array of mixed #12605 #12530
    • fix(populate): better support for populating maps of arrays of refs #12601 #12494
    • fix(types): add missing create constructor signature override type #12585 naorpeled
    • fix(types): make array paths optional in inferred type of array default returns undefined #12649 #12420
    • fix(types): improve ValidateOpts type #12606 Freezystem
    • docs: add Lodash guide highlighting issues with cloneDeep() #12609
    • docs: removed v5 link from v6 docs #12641 #12624 lpizzinidev
    • docs: removed outdated connection example #12618 lpizzinidev

    6.7.0 / 2022-10-24

    • feat: upgrade to mongodb driver 4.11.0 #12446
    • feat: add UUID Schema Type (BSON Buffer SubType 4) #12268 #3208 hasezoey
    • feat(aggregation): add $fill pipeline stage #12545 raphael-papazikas
    • feat(types+schema): allow defining schema paths using mongoose.Types.* to work around TS type inference issues #12352
    • feat(schema): add alias() method that makes it easier to define multiple aliases for a given path #12368
    • feat(model): add mergeHooks option to Model.discriminator() to avoid duplicate hooks #12542
    • feat(document): add $timestamps() method to set timestamps for save(), bulkSave(), and insertMany() #12540

    6.6.7 / 2022-10-21

    • fix: correct browser build and improve isAsyncFunction check for browser #12577 #12576 #12392
    • fix(query): allow overwriting discriminator key with overwriteDiscriminatorKey if strict: 'throw' #12578 #12513

    6.6.6 / 2022-10-20

    • fix(update): handle runValidators when using $set on a doc array in discriminator schema #12571 #12518

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps-dev): bump mongodb-memory-server-global from 6.9.3 to 8.10.0

    build(deps-dev): bump mongodb-memory-server-global from 6.9.3 to 8.10.0

    Bumps mongodb-memory-server-global from 6.9.3 to 8.10.0.

    Release notes

    Sourced from mongodb-memory-server-global's releases.

    v8.10.0

    8.10.0 (2022-11-09)

    Features

    • MongoBinaryDownloadUrl: support native macos arm64 binaries for 6.0.0 and up (9b0dfb1), closes #714

    Dependencies

    • @​types/jest: upgrade to version 28.1.8 (7eaaeb1)
    • @​types/semver: upgrade to version 7.3.13 (aa5ca3b)
    • @typescript-eslint/*: upgrade to version 5.42.1 (038b07e)
    • doctoc: upgrade to version 2.2.1 (3c1deb9)
    • eslint: upgrade to version 8.27.0 (31fece5)
    • mongodb: upgrade to version 4.11.0 (999bc2c)
    • semver: upgrade to version 7.3.8 (9e09446)
    • tslib: upgrade to version 2.4.1 (5524cf6)

    v8.9.5

    8.9.5 (2022-10-31)

    Fixes

    • MongoMemoryServer: pass-through option "launchTimeout" correctly (6ffe62a), closes #710

    v8.9.4

    8.9.4 (2022-10-28)

    Fixes

    • MongoInstance: add a timeout for the "launch" promise (f822856), closes #710

    v8.9.3

    8.9.3 (2022-09-25)

    Style

    • MongoMemoryReplSet: update log to more current implementation (256d65b)
    • MongoMemoryServer.test: remove unused "ts-expect-error" directive (5020be8)

    Fixes

    • MongoMemoryReplSet: fix creating auth regardless of "enableAuth" (78d5aee)
    • MongoMemoryServer: dont set "extraConnectionOptions" when auth-object is disabled (80d6fe1)

    ... (truncated)

    Changelog

    Sourced from mongodb-memory-server-global's changelog.

    8.10.0 (2022-11-09)

    Features

    • MongoBinaryDownloadUrl: support native macos arm64 binaries for 6.0.0 and up (9b0dfb1), closes #714

    Dependencies

    • @​types/jest: upgrade to version 28.1.8 (7eaaeb1)
    • @​types/semver: upgrade to version 7.3.13 (aa5ca3b)
    • @typescript-eslint/*: upgrade to version 5.42.1 (038b07e)
    • doctoc: upgrade to version 2.2.1 (3c1deb9)
    • eslint: upgrade to version 8.27.0 (31fece5)
    • mongodb: upgrade to version 4.11.0 (999bc2c)
    • semver: upgrade to version 7.3.8 (9e09446)
    • tslib: upgrade to version 2.4.1 (5524cf6)

    8.9.5 (2022-10-31)

    Fixes

    • MongoMemoryServer: pass-through option "launchTimeout" correctly (6ffe62a), closes #710

    8.9.4 (2022-10-28)

    Fixes

    • MongoInstance: add a timeout for the "launch" promise (f822856), closes #710

    8.9.3 (2022-09-25)

    Style

    • MongoMemoryReplSet: update log to more current implementation (256d65b)
    • MongoMemoryServer.test: remove unused "ts-expect-error" directive (5020be8)

    Fixes

    • MongoMemoryReplSet: fix creating auth regardless of "enableAuth" (78d5aee)
    • MongoMemoryServer: dont set "extraConnectionOptions" when auth-object is disabled (80d6fe1)

    8.9.2 (2022-09-15)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
Releases(v1.0.0)
  • v1.0.0(Aug 11, 2022)

    What's Changed

    • feat(t): setup test by @biantris in https://github.com/biantris/restris/pull/7
    • feat(auth): add auth by @biantris in https://github.com/biantris/restris/pull/8
    • feat(user): add user module by @biantris in https://github.com/biantris/restris/pull/9
    • feat(c-u): add Changelog Updater action by @biantris in https://github.com/biantris/restris/pull/10

    New Contributors

    • @biantris made their first contribution in https://github.com/biantris/restris/pull/7

    Full Changelog: https://github.com/biantris/restris/commits/v1.0.0

    Source code(tar.gz)
    Source code(zip)
Owner
Beatriz Oliveira
Software Engineer | ReactTS | GraphQL | Relay | MongoDB | open source addict | 🏳️‍🌈 (she/her)
Beatriz Oliveira
API em NodeJS, utilizando banco de dados MongoDB (TypeORM), com cobertura de testes (coverages), utilizando o Jest

Api Backend Tindin Sobre API em NodeJS, utilizando banco de dados MongoDB (TypeORM), com cobertura de testes (coverages), utilizando o Jest. ?? app ur

Enéas Almeida 1 Jan 20, 2022
🥾 A simple way to do testing AWS Services and Jest or Serverless and Jest

jest-localstack-preset Install Install via yarn or npm $ yarn add https://github.com/thadeu/jest-localstack-preset.git or $ npm i https://github.com/t

thadeu 5 Oct 1, 2022
Example Serverless DynamoDB integration tests using Jest, TypeScript and the AWS CDK

serverless dynamodb integration tests ?? Example Serverless DynamoDB integration tests using Jest, TypeScript and the AWS CDK Introduction How to inte

Lee Gilmore 8 Nov 4, 2022
SAP Community Code Challenge: This repository contains an empty OpenUI5 application and end-to-end tests written with wdi5. Take part in the challenge and develop an app that passes the tests.

SAP Community Code Challenge - UI5 The change log describes notable changes in this package. Description This repository is the starting point for the

SAP Samples 8 Oct 24, 2022
A Jest runner that runs tests directly in bare Node.js, without virtualizing the environment.

jest-light-runner A Jest runner that runs tests directly in bare Node.js, without virtualizing the environment. Comparison with the default Jest runne

Nicolò Ribaudo 193 Dec 12, 2022
Debug your Jest tests. Effortlessly.🛠🖼

Jest Preview Debug your Jest tests. Effortlessly. ?? ?? Try Jest Preview Online. No downloads needed! Why jest-preview When writing tests using Jest,

Hung Viet Nguyen 2.1k Jan 4, 2023
Quickly bootstrap your next TypeScript REST API project. Node 16+, auto OpenAPI, Prettier+ESLint, Jest

REST API template with autogenerated OpenAPI Quickly bootstrap your next TypeScript REST API project with the most up to date template. Included a sam

null 6 Oct 1, 2022
This is a vanilla Node.js rest API created to show that it is possible to create a rest API using only vanilla Node.js

This is a vanilla Node.js rest API created to show that it is possible to create a rest API using only vanilla Node.js. But in most cases, I would recommend you to use something like Express in a production project for productivity purposes.

Eduardo Dantas 7 Jul 19, 2022
This will create a REST API using Express JS and MongoDB removing the hassle of creating everything from scratch.

rest-api-init Fastest way to create REST API with Node.js, Express.js & MongoDB. Prerequisites Node.js needs to be installed. MongoDB Compass needs to

Souvik Das 7 Dec 3, 2022
REST API built with Node.js, MongoDB, Mongoose & TypeScript. I also dabbled with Docker and Caddy for deployments

REST API with Node.js, Mongoose & TypeScript Note: This repository includes the postman collection for the finished API Note 2: Make sure you add .env

Manuchimso Oliver 2 Sep 16, 2022
A developer directory built on Next.js and MongoDB Atlas, deployed on Vercel with the Vercel + MongoDB integration.

MongoDB Starter – Developer Directory A developer directory built on Next.js and MongoDB Atlas, deployed on Vercel with the Vercel + MongoDB integrati

Vercel 246 Dec 20, 2022
Mongo Strict is a TypeScript based smart MongoDB ORM, It makes the usage of MongoDB safer, easier and faster with a better performance...

mongo-strict mongo-strict is compatible with mongo >= 5 Mongo Strict is a TypeScript-based smart MongoDB ORM, It makes the usage of MongoDB safer, eas

Mohamed Kamel 4 Sep 22, 2022
API Bate Papo UOL - A backend application developed using NodeJS and mongoDB

BatePapoUOL BackEnd My first backend project! Building an API to the most used brazillian chat app ages ago - Bate Papo UOL! Table of Contents Overvie

Lucas Azzolini Vieira 8 Apr 13, 2022
@Ifycode's buuk API (nodejs, expressjs, mongodb)

@Ifycode/buuks-express-api Hosted on Heroku: https://buuks-express-api.herokuapp.com "Buuks" instead of "books"... Another angle ?? The API allows an

Obiagba Mary Ifeoma 7 Apr 21, 2022
Uma Api dos 151 primeiros pokemons utilizando NodeJS, Typescript, Docker, MongoDB e Mongoose.

Pokedex API Tópicos Preview Sobre o Pokedex Api Tecnologias Instalação e uso Preview Clique aqui para ter acesso a um preview da Api. Sobre o Pokedex

Marlon Lacerda 3 Nov 27, 2022
A peroidic-table api built with Nodejs & Mongodb to help make frontend requests dealing with chemistry...

A peroidic-table api for frontend apps Usage Example (GET all elements) // GET /api/elements const ajio = require("ajio") ajio.baseUrl("https://apis-

John Daniels 3 May 24, 2022
A rest api which scrapes data from asianembed or asianload. Made using NodeJS, Express and Cheerio.

A rest api which scrapes data from asianembed or asianload. Made using NodeJS, Express and Cheerio.

null 6 Dec 6, 2022
🐞 A NodeJS module to access Bugzilla instances through the REST API.

Bugzilla | Typesafe access to Bugzilla's REST API. Very early work in progress, getting info from a bug or searching bugs is the main priority right n

Red Hat - Plumbers - Automation 3 Nov 1, 2022