Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
270 commits
Select commit Hold shift + click to select a range
d1865ed
npm audit
icebob Aug 12, 2021
c41485e
Publish
icebob Aug 12, 2021
aa897bd
interface DbServiceSettings
0x0a0d Aug 30, 2021
db22b78
cache
0x0a0d Aug 30, 2021
405f4df
find action
0x0a0d Aug 30, 2021
5203598
methods
0x0a0d Aug 30, 2021
0020d94
optional clearCache
0x0a0d Aug 30, 2021
beb01d7
sanitizeParams
0x0a0d Aug 30, 2021
d577930
Update README.md
icebob Aug 31, 2021
b70c19a
fix mongoose search with query.$or
0x0a0d Sep 11, 2021
b8277b0
Merge pull request #284 from 0x0a0d/fix_mongoose_search
icebob Sep 12, 2021
b88e1a8
DbAdapter should return void
0x0a0d Sep 30, 2021
c6ab63a
DbAdapter should return void
0x0a0d Sep 30, 2021
4155094
Merge pull request #286 from 0x0a0d/init_should_return_void
icebob Oct 3, 2021
963a8f5
Merge pull request #279 from 0x0a0d/ts_improve
icebob Oct 17, 2021
cc2c0e5
update deps
icebob Oct 17, 2021
11139ec
Publish
icebob Oct 17, 2021
a2b7491
cover typo double space
0x0a0d Oct 27, 2021
a1687dd
fix settings populates d.ts
0x0a0d Oct 27, 2021
d606374
Merge pull request #294 from 0x0a0d/fix_ts_populates
icebob Nov 1, 2021
313f874
feat: Add typescript support
devalexandre Nov 15, 2021
de8288c
feat: alter type in construct
devalexandre Nov 15, 2021
14ef65e
Merge branch 'moleculerjs:master' into ts-support
devalexandre Nov 19, 2021
fbd3498
fix: Add Examples for typescript mixins
devalexandre Nov 19, 2021
1a99a2a
fix: Add config for examples for typescript mixins
devalexandre Nov 22, 2021
c6443d9
fix: remove typescript example
devalexandre Nov 22, 2021
aef4ff4
fix: remove Sequelize type
devalexandre Nov 23, 2021
8d8ed4f
correct params for _get, _remove
0x0a0d Dec 8, 2021
0822f99
Merge pull request #300 from 0x0a0d/fix_ts_populates
icebob Dec 8, 2021
db1fb8d
Add sequelize 6 as peer deps. Resolves #298
icebob Jan 2, 2022
b7bd814
Merge pull request #297 from devalexandre/ts-support
icebob Jan 8, 2022
f1de2b3
Merge pull request #293 from 0x0a0d/cover_typo_double_space
icebob Jan 8, 2022
c42be8c
audit fix, bump year
icebob Jan 9, 2022
922c982
Publish
icebob Jan 9, 2022
cc9cc07
fix: count just the right number of row
Jan 10, 2022
976e831
Added #304 test coverage
Jan 11, 2022
d3f895c
use "as" value rather than the real name
Jan 11, 2022
96af6dd
fix #305 - Async custom validation + tests
Jan 14, 2022
eb62b47
Merge pull request #306 from DenisFerrero/bugfix#305
icebob Jan 16, 2022
024e740
Merge pull request #304 from DenisFerrero/master
icebob Jan 17, 2022
86347fe
allow access raw document before be transformed on entity events
0x0a0d Mar 30, 2022
67d9d2e
correct test
0x0a0d Mar 30, 2022
1e27122
add test entityChanged
0x0a0d Mar 30, 2022
c4b7dc3
add test entityChanged
0x0a0d Mar 30, 2022
8cd9dfa
d.ts: optional methods
0x0a0d Mar 31, 2022
4fba5f2
d.ts: fix _id not existed in T
0x0a0d Mar 31, 2022
069ff3e
fix: packages/moleculer-db/package.json & packages/moleculer-db/packa…
snyk-bot Apr 7, 2022
900b33e
fix: RegExp throw error if `search` startsWith '.' or '+'
0x0a0d Apr 18, 2022
5e4c40d
Merge pull request #316 from 0x0a0d/crash_regexp
icebob Apr 19, 2022
3d5c6e4
Merge pull request #315 from moleculerjs/snyk-fix-f2231882b48b1799245…
icebob May 25, 2022
1232420
changelog
icebob May 25, 2022
a81ea18
npm audit fix
icebob May 25, 2022
9811202
lockfile
icebob May 25, 2022
06504c9
Publish
icebob May 25, 2022
74a11ad
fix changelog
icebob May 25, 2022
7d5e57b
fix(mongoose): add a more readable error
thib3113 Jul 22, 2022
7e3dda3
Merge pull request #322 from thib3113/patch-1
icebob Jul 28, 2022
8397a7a
Merge pull request #235 from mikegin/master
icebob Aug 3, 2022
1508d7a
update deps
icebob Aug 13, 2022
d6e5378
switch to GH actions
icebob Aug 13, 2022
606bff1
fix test
icebob Aug 15, 2022
d82c29e
Publish
icebob Aug 15, 2022
b3a8d38
Prisma adapter - first blood
noluckjustskill Aug 17, 2022
38d8b8d
Add example
noluckjustskill Aug 18, 2022
dad41f6
Update readme
noluckjustskill Aug 18, 2022
3b71196
Publish
noluckjustskill Aug 18, 2022
92b2d29
Update types definition
noluckjustskill Aug 18, 2022
848d361
Publish
noluckjustskill Aug 18, 2022
d7a800c
Update example
noluckjustskill Aug 18, 2022
6896f10
Publish
noluckjustskill Aug 18, 2022
633810b
Add keywords
noluckjustskill Aug 19, 2022
ea993c1
Publish
noluckjustskill Aug 19, 2022
effe2a8
Change moleculer peer deps version
noluckjustskill Aug 19, 2022
005f858
Publish
noluckjustskill Aug 19, 2022
b329f8f
skip test executiin under Node 14
icebob Aug 21, 2022
0d85fb4
skip prisma package under 14
icebob Aug 21, 2022
211f60a
skip prisma package under 14
icebob Aug 21, 2022
83440f2
skip prisma package under 14
icebob Aug 21, 2022
5a0414b
Move schema to examples
noluckjustskill Aug 22, 2022
a8337c1
Publish
noluckjustskill Aug 22, 2022
84fbe39
Prisma schema in package root
noluckjustskill Aug 22, 2022
3f6072f
Merge pull request #323 from noluckjustskill/master
icebob Aug 27, 2022
284b2d0
update changelog
icebob Aug 27, 2022
d2a77b1
Publish
icebob Aug 27, 2022
39d83bb
feat: add mongoose 6
devalexandre Sep 11, 2022
86fd315
feat: add mongoose 6
devalexandre Sep 11, 2022
4293321
fix: Skipping test node 10
devalexandre Sep 27, 2022
9ca101b
fix: update mongoose version and ci.yml
devalexandre Sep 27, 2022
332a38d
Merge pull request #324 from devalexandre/feature/moongose6
icebob Oct 1, 2022
d6c163a
Publish
icebob Oct 23, 2022
71be5b8
Fix bug - populate not working - idField mapped to undefined
Oct 28, 2022
b6166ad
minor improving
icebob Nov 6, 2022
a532cc3
fix custom idField and encodeID issue
icebob Nov 6, 2022
f34e6c6
Merge pull request #327 from someone635/populate-not-working-bug-origDoc
icebob Nov 6, 2022
7584904
fix #328
thib3113 Nov 6, 2022
e7155f0
Merge pull request #329 from thib3113/master
icebob Nov 7, 2022
ea966a9
Publish
icebob Nov 7, 2022
5c827ba
Add before entity lifecycle events
someone635 Nov 12, 2022
10b0c99
add deep populate
someone635 Nov 21, 2022
788790c
add should deeply populate one group test
someone635 Nov 21, 2022
9547db1
improve tests + comments
someone635 Nov 22, 2022
432cfb6
Merge pull request #331 from someone635/deep-populate
icebob Nov 27, 2022
1416aa7
update.d.ts
icebob Nov 27, 2022
885da7f
add mongo adapter d.ts
icebob Nov 27, 2022
a1d80c5
settings.populates may have "_invalid" as key
0x0a0d Dec 17, 2022
008af39
update d.ts
icebob Dec 17, 2022
8c8bf33
update d.ts
icebob Dec 17, 2022
c035fa0
Merge pull request #334 from 0x0a0d/cylution/fix-special-populate-key
icebob Dec 17, 2022
f26871e
Merge pull request #330 from someone635/beforeEntity-lifecycles
icebob Dec 17, 2022
1bf713c
rename var to easily understand
0x0a0d Dec 17, 2022
567f11d
fix unsafe check
0x0a0d Dec 17, 2022
5cb787c
should return here
0x0a0d Dec 17, 2022
e4c36c1
add test
0x0a0d Dec 17, 2022
11ea385
add test
0x0a0d Dec 17, 2022
1405c0e
Merge pull request #335 from 0x0a0d/cylution/fix-authorizeFields-unsa…
icebob Dec 17, 2022
9a33b27
update changelog
icebob Dec 17, 2022
c2c6149
Merge branch 'master' of github.com:moleculerjs/moleculer-db
icebob Dec 17, 2022
7a34698
Publish
icebob Dec 17, 2022
34e6e67
changelog
icebob Dec 17, 2022
1feddbe
feat: allow filter object fields inside an array
0x0a0d Dec 20, 2022
5973063
feat: allow filter object fields inside an array
0x0a0d Dec 20, 2022
5e9df0c
feat: allow filter object fields inside an array
0x0a0d Dec 20, 2022
6e8db33
split improve
0x0a0d Dec 18, 2022
dbd80d6
imp: if param.fields is empty, use this.settings.fields directly
0x0a0d Dec 18, 2022
90cf480
feat: add settings.excludeFields
0x0a0d Mar 26, 2022
b685b31
chore: update README.md
0x0a0d Dec 20, 2022
9b586e6
feat(excludeFields): add method tests
0x0a0d Dec 31, 2022
449f0d5
Merge pull request #340 from 0x0a0d/cylution/imp-filterFields
icebob Jan 2, 2023
19001b4
Merge pull request #339 from 0x0a0d/cylution/string-to-array-split-im…
icebob Jan 2, 2023
340113d
feat(excludeFields): sanitizeParams & test
0x0a0d Jan 2, 2023
d5ff055
Merge pull request #341 from 0x0a0d/cylution/2-feat-excludeFields-new
icebob Jan 12, 2023
4c51c98
Fix constructor signature of MongoDB adapter in TypeScript
ostracod Jan 25, 2023
e95f59c
Revert version number in package.json of MongoDB adapter
ostracod Jan 29, 2023
3add2a9
Merge pull request #346 from ostracod/master
icebob Jan 30, 2023
4fef18b
bump dep mongoose
0x0a0d Jan 30, 2023
2d29008
Merge pull request #347 from 0x0a0d/fix/mongoose-cast
icebob Jan 31, 2023
cda49dd
changelog
icebob Feb 11, 2023
cfc1454
Publish
icebob Feb 11, 2023
5825b16
fix(excludeFields): prevent client from bypassing settings.excludeFields
0x0a0d Feb 14, 2023
ebb06e0
fix(excludeFields): add excludeFields to cache key
0x0a0d Feb 14, 2023
710b122
Merge pull request #349 from 0x0a0d/cylution/1-fix-excludeFields
icebob Feb 19, 2023
a0a6374
Merge pull request #350 from 0x0a0d/cylution/2-fix-excludeFields-cache
icebob Feb 19, 2023
00f4544
update changelog
icebob Feb 19, 2023
f3697b4
Publish
icebob Feb 19, 2023
0a981e2
Create users.js
Freezystem Apr 30, 2023
c411e18
Update posts.js
Freezystem Apr 30, 2023
7c26f1d
Create virtuals.spec.js
Freezystem Apr 30, 2023
dfd1e96
pre-populate entity virtuals if virtuals population is requested
Freezystem May 3, 2023
c847a89
use transform to directly retrieve document id instead of document
Freezystem May 3, 2023
311d14f
fix tests
Freezystem May 3, 2023
7c36610
fix mongoose unit tests
Freezystem May 4, 2023
41095fd
fix moleculer-db unit tests
Freezystem May 4, 2023
fd5c77c
Update Mongoose Adapter Readme
ccampanale Jun 2, 2023
0b5a04a
Merge pull request #358 from ccampanale/patch-1
icebob Jun 11, 2023
bd72933
skip mongoose integration test in old node versions
icebob Jun 11, 2023
4f542dc
add integration test step in CI
Freezystem Jul 11, 2023
7771c3b
fix ::1 issue above Node 16
icebob Jul 12, 2023
6ccc04b
Merge pull request #354 from Freezystem/patch-1
icebob Jul 12, 2023
f7e0fcc
update changelog
icebob Jul 15, 2023
4b3227b
Publish
icebob Jul 15, 2023
394bde3
Fixes #363
icebob Aug 6, 2023
464133e
fix(moleculer-db-adapter-mongoose): remove connecting error/warning, …
thib3113 Aug 22, 2023
69749af
remove console.log + keep a consistent coding style.
thib3113 Aug 22, 2023
e5d6858
fix: packages/moleculer-db-adapter-mongo/package.json & packages/mole…
snyk-bot Aug 30, 2023
e5996da
use asPromise()
thib3113 Sep 22, 2023
77d3619
fix return values
icebob Sep 24, 2023
2b2abbd
fix unit test
icebob Sep 24, 2023
35c7df8
Merge pull request #367 from thib3113/issue-361
icebob Sep 24, 2023
45a84ac
Merge pull request #369 from moleculerjs/snyk-fix-5aa1d20840919044ce9…
icebob Sep 24, 2023
7e34595
select _id only if no match clause + populate refPath virtuals
Freezystem Oct 5, 2023
86cd2d7
create dedicated adapter method to handle virtuals
Freezystem Oct 6, 2023
450b56e
add ability to switch between native mongoose and moleculer virtuals …
Freezystem Oct 6, 2023
ca8d22b
Merge branch 'master' into entity_events
0x0a0d Oct 9, 2023
5b23efc
add beforeEntity
0x0a0d Oct 9, 2023
7568109
fix test
0x0a0d Oct 9, 2023
7ab6a52
add unit test for mapVirtualsToLocalFields method
Freezystem Oct 19, 2023
055adc1
Merge pull request #313 from 0x0a0d/entity_events
icebob Oct 22, 2023
906f90a
add adapter benchmark
icebob Oct 22, 2023
3a87421
rename function
icebob Oct 22, 2023
2702ad1
Merge pull request #337 from 0x0a0d/cylution/fix-fields-unsafe
icebob Oct 22, 2023
d3ce10a
avoid using _.get() when possible
Freezystem Oct 24, 2023
a424fe7
Merge pull request #371 from Freezystem/fix.virtuals-with-match-clause
icebob Nov 12, 2023
c74e7b6
audit fix
icebob Nov 12, 2023
27e410c
Publish
icebob Nov 12, 2023
072f1b6
update lock files
icebob Nov 19, 2023
2c62b5c
#359: Revert #304
Jan 11, 2024
bbf591f
Merge pull request #377 from DenisFerrero/master
icebob Feb 3, 2024
a3eb0bb
Case insensitive search
Feb 7, 2024
f7a6b6a
Merge branch 'moleculerjs:master' into master
DenisFerrero Feb 7, 2024
1caaf8f
Dedicated parameter for case insensitive search #381
Apr 29, 2024
0604bb7
fix: updated ecmaVersion to 2022
JS-AK Jun 19, 2024
deb2b87
add moleculer 0.15 peer deps
icebob Jul 28, 2024
b8026d6
Publish
icebob Jul 28, 2024
326e5b6
Replace deprecated findByIdAndRemove with findByIdAndDelete
ivan-varga-rs Aug 10, 2024
7cabc0b
remove bluebird from moleculer-db-adapter-mongoose
Freezystem Aug 23, 2024
e236f02
remove bluebird from moleculer-db-adapter-mongo
Freezystem Aug 23, 2024
26d9b21
Merge pull request #386 from Freezystem/fix/remove-bluebird-from-mong…
icebob Aug 24, 2024
c7609c7
Merge pull request #387 from Freezystem/fix/remove-bluebird-from-mong…
icebob Aug 24, 2024
f3135cc
Merge pull request #385 from ivan-varga-rs/master
icebob Aug 24, 2024
eaa6897
Merge pull request #381 from DenisFerrero/master
icebob Aug 24, 2024
93ff4e5
npm audit fix
icebob Aug 24, 2024
834c359
bump year
icebob Aug 24, 2024
b2e4dcc
prisma adapter is moved to https://github.com/noluckjustskill/molecul…
icebob Aug 24, 2024
a63bd04
fix badges
icebob Aug 24, 2024
ee39037
Publish
icebob Aug 24, 2024
315ddf8
fix: added custom .eslintrc.js for moleculer-db-adapter-mongoose
JS-AK Aug 25, 2024
7a84991
Merge pull request #389 from JS-AK/fix/eslint/bump-ecma-version
icebob Aug 25, 2024
b050ada
remove bluebird from moleculer-db-adapter-sequelize
Freezystem Aug 26, 2024
66046e4
remove bluebird from moleculer-db-adapter-couchdb-nano
Freezystem Aug 26, 2024
10adf5e
Merge pull request #390 from Freezystem/fix/remove-bluebird-from-sequ…
icebob Aug 26, 2024
1b3cbf6
Merge pull request #391 from Freezystem/fix/remove-bluebird-from-couc…
icebob Aug 26, 2024
fb30cec
remove bluebird from moleculer-db-adapter-knex
Freezystem Aug 27, 2024
d52b9ef
run npm audit fix
Freezystem Aug 27, 2024
82f1955
remove bluebird from moleculer-db
Freezystem Aug 27, 2024
315779f
use sanitized params instead of original ones
Freezystem Aug 27, 2024
666a35d
fix tests
Freezystem Aug 27, 2024
ef97b43
Merge pull request #393 from Freezystem/fix/remove-bluebird-from-knex…
icebob Sep 30, 2024
29f8600
Merge pull request #392 from Freezystem/fix/remove-bluebird-from-mole…
icebob Sep 30, 2024
65a2950
adapt mongoose adapter to be compatible with mongoose 6, 7 and 8
Freezystem Aug 27, 2024
97158d4
run npm audit fix
Freezystem Oct 16, 2024
93df56e
fix example checker
icebob Jan 29, 2025
ee3e024
ci newer nodes
icebob Jan 29, 2025
1306a4e
Merge pull request #397 from Freezystem/feat/upgrade-to-mongoose-8
icebob Jan 29, 2025
fe4f576
Publish
icebob Jan 29, 2025
e679804
Merge remote-tracking branch 'origin' into fix/populate-param-parsing
Freezystem Jan 29, 2025
0a3689f
rollback package-lock.json to v1
Freezystem Feb 4, 2025
16f86b7
fix: use own object flattening function that supports ObjectIds
Freezystem Feb 4, 2025
e1cf694
Merge pull request #394 from Freezystem/fix/populate-param-parsing
icebob Feb 4, 2025
07f4b77
remove flatten invalid second argument
Freezystem Feb 4, 2025
e749fcf
skip test if node version is under 14
Freezystem Feb 4, 2025
41d815b
try another fix for lower node version
Freezystem Feb 4, 2025
4eb9a95
simplify isPlainObject check
Freezystem Feb 5, 2025
2e5a734
Mimic ObjectId class in test
Freezystem Feb 5, 2025
83a336b
Merge pull request #402 from Freezystem/fix/useDotNotation-flatten-fn
icebob Feb 5, 2025
78fff9e
version bump
icebob Feb 17, 2025
e00ff38
Case insensitive search caching
Feb 26, 2025
95d87b1
Merge pull request #403 from DenisFerrero/master
icebob Apr 29, 2025
2b4b52b
Publish
icebob Apr 29, 2025
42ab733
Update for Moleculer v0.15 compatibility
Mar 27, 2026
7158142
Update CI to Node 22 only (Moleculer 0.15 minimum)
Mar 27, 2026
1c02eee
Use moleculer@0.15.0-beta2 in devDependencies until stable release
Mar 27, 2026
d7f4658
Update package-lock.json files for moleculer 0.15.0-beta2
Mar 27, 2026
18393bb
Migrate mongoose adapter tests to mixin pattern for 0.15 compat
Mar 27, 2026
2d0ea47
Add Node 24 to CI test matrix
Mar 27, 2026
0cf91fd
Update moleculer to stable ^0.15.0 and moleculer-cli to ^0.9.0
Mar 28, 2026
efeea40
Update sub-package lockfiles for moleculer 0.15.0 stable
Mar 28, 2026
9c83711
Update CHANGELOGs for Moleculer 0.15 compatibility and update README …
Mar 28, 2026
06754af
Merge pull request #410 from moleculerjs/next
icebob Mar 28, 2026
e834f43
Publish
icebob Mar 28, 2026
9720afc
fix changelog versions
icebob Mar 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI test

on:
push: {}
pull_request: {}

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: Install dependencies
run: npm run setup

- name: Execute unit tests
run: npm run test:unit

- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.9.0
with:
mongodb-version: 4.4

- name: Execute integration tests
run: npm run test:integration
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

23 changes: 21 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"program": "${workspaceRoot}/dev",
"cwd": "${workspaceRoot}",
"args": [
"moleculer-db-adapter-mongo",
"issue"
"moleculer-db-adapter-mongoose",
"simple"
]
},
{
Expand All @@ -28,6 +28,25 @@
"stopOnEntry": true

},
{
"type": "node",
"request": "launch",
"name": "Launch benchmark",
"program": "${workspaceRoot}/benchmark/index.js",
"cwd": "${workspaceRoot}",
"args": [
"common"
]
},
{
"name": "Attach by Benchmark",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
{
"type": "node",
"request": "launch",
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
![Moleculer logo](https://moleculer.services/images/banner.png)

![CI test](https://github.com/moleculerjs/moleculer-db/workflows/CI%20test/badge.svg)
[![Build Status](https://travis-ci.org/moleculerjs/moleculer-db.svg?branch=master)](https://travis-ci.org/moleculerjs/moleculer-db)
[![Coverage Status](https://coveralls.io/repos/github/moleculerjs/moleculer-db/badge.svg?branch=master)](https://coveralls.io/github/moleculerjs/moleculer-db?branch=master)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ea41176f5d764839969633e854b9905a)](https://www.codacy.com/app/mereg-norbert/moleculer-db?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=moleculerjs/moleculer-db&amp;utm_campaign=Badge_Grade)
[![Maintainability](https://api.codeclimate.com/v1/badges/0c7fa55afd189410eff3/maintainability)](https://codeclimate.com/github/moleculerjs/moleculer-db/maintainability)
[![Known Vulnerabilities](https://snyk.io/test/github/moleculerjs/moleculer-db/badge.svg)](https://snyk.io/test/github/moleculerjs/moleculer-db)
[![Join the chat at https://gitter.im/moleculerjs/moleculer](https://badges.gitter.im/moleculerjs/moleculer.svg)](https://gitter.im/moleculerjs/moleculer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Discord chat](https://img.shields.io/discord/585148559155003392)](https://discord.gg/TSEcDRP)

# Official DB addons for Moleculer framework

Expand Down Expand Up @@ -57,6 +57,6 @@ $ npm run release
The project is available under the [MIT license](https://tldrlegal.com/license/mit-license).

# Contact
Copyright (c) 2016-2020 MoleculerJS
Copyright (c) 2016-2026 MoleculerJS

[![@moleculerjs](https://img.shields.io/badge/github-moleculerjs-green.svg)](https://github.com/moleculerjs) [![@MoleculerJS](https://img.shields.io/badge/twitter-MoleculerJS-blue.svg)](https://twitter.com/MoleculerJS)
25 changes: 25 additions & 0 deletions benchmark/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
env: {
node: true,
commonjs: true,
es6: true
},
extends: ["eslint:recommended"],
parserOptions: {
sourceType: "module",
ecmaVersion: 2017,
ecmaFeatures: {
experimentalObjectRestSpread: true
}
},
rules: {
indent: ["warn", "tab", { SwitchCase: 1 }],
quotes: ["warn", "double"],
semi: ["error", "always"],
"no-var": ["warn"],
"no-console": ["off"],
"no-unused-vars": ["off"],
"no-trailing-spaces": ["error"],
"security/detect-possible-timing-attacks": ["off"]
}
};
3 changes: 3 additions & 0 deletions benchmark/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"use strict";

require("./suites/" + (process.argv[2] || "common"));
1 change: 1 addition & 0 deletions benchmark/suites/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tmp/
Loading