Skip to content

Commit e27efc9

Browse files
authored
Merge branch 'master' into feat/mongodb-5
Signed-off-by: Diana Lau <[email protected]>
2 parents 613cfe7 + 74cd2e7 commit e27efc9

File tree

9 files changed

+3701
-923
lines changed

9 files changed

+3701
-923
lines changed

.github/workflows/continuous-integration.yaml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
push:
55
branches:
66
- master
7-
- 5.x
7+
- 6.x
88
pull_request:
99
branches:
1010
- master
11-
- 5.x
11+
- 6.x
1212
schedule:
1313
- cron: '0 2 * * 1' # At 02:00 on Monday
1414

@@ -21,17 +21,16 @@ jobs:
2121
timeout-minutes: 15
2222
strategy:
2323
matrix:
24-
node-version: [18, 19, 20, 21]
24+
node-version: [20, 22, 24]
2525
mongodb-version:
26-
- '4.4'
2726
- '5.0'
2827
- '6.0'
2928
- '7.0'
3029
fail-fast: false
3130
steps:
32-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3332
- name: Use Node.js ${{ matrix.node-version }}
34-
uses: actions/setup-node@v3
33+
uses: actions/setup-node@v4
3534
with:
3635
node-version: ${{ matrix.node-version }}
3736
- name: Start MongoDB
@@ -71,9 +70,9 @@ jobs:
7170
name: Code Lint
7271
runs-on: ubuntu-latest
7372
steps:
74-
- uses: actions/checkout@v3
73+
- uses: actions/checkout@v4
7574
- name: Use Node.js 16
76-
uses: actions/setup-node@v3
75+
uses: actions/setup-node@v4
7776
with:
7877
node-version: 16
7978
- name: Bootstrap project
@@ -85,11 +84,11 @@ jobs:
8584
name: Commit Lint
8685
runs-on: ubuntu-latest
8786
steps:
88-
- uses: actions/checkout@v3
87+
- uses: actions/checkout@v4
8988
with:
9089
fetch-depth: 0
9190
- name: Use Node.js 16
92-
uses: actions/setup-node@v3
91+
uses: actions/setup-node@v4
9392
with:
9493
node-version: 16
9594
- name: Bootstrap project
@@ -105,13 +104,13 @@ jobs:
105104
security-events: write
106105
steps:
107106
- name: Checkout repository
108-
uses: actions/checkout@v3
107+
uses: actions/checkout@v4
109108

110109
- name: Initialize CodeQL
111-
uses: github/codeql-action/init@v2
110+
uses: github/codeql-action/init@v3
112111
with:
113112
languages: 'javascript'
114113
config-file: ./.github/codeql/codeql-config.yml
115114

116115
- name: Perform CodeQL Analysis
117-
uses: github/codeql-action/analyze@v2
116+
uses: github/codeql-action/analyze@v3

.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
coverage
3+
.idea
4+
.nyc_output/
5+
test
6+
.travis.yml

.travis.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ This module adopts the [Module Long Term Support (LTS)](http://github.com/CloudN
2222

2323
| Version | Status | Published | EOL | LoopBack | Juggler |
2424
| ---------- | -------------------- | --------- | -------------------- | ---------|----------|
25-
| 6.x | Current | Mar 2021 | Apr 2025 _(minimum)_ | 4 | 4.x |
26-
| 5.x | Active LTS | Jun 2019 | Apr 2023 | 3, 4 | 3.x, 4.x |
27-
| 4.x | Maintenance LTS | Nov 2018 | Apr 2021 | 3, 4 | 3.x, 4.x |
25+
| 6.x | Current | Mar 2021 | Apr 2028 _(minimum)_ | 4 | 4.x |
26+
| 5.x | End-of-Life | Jun 2019 | Apr 2023 | 3, 4 | 3.x, 4.x |
27+
| 4.x | End-of-Life | Nov 2018 | Apr 2021 | 3, 4 | 3.x, 4.x |
2828

2929
## Creating a MongoDB data source
3030

lib/mongodb.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ function MongoDB(settings, dataSource) {
197197
this.settings.enableOptimizedfindOrCreate === true ||
198198
this.settings.enableOptimizedFindOrCreate === true
199199
) {
200-
debug('Optimized findOrCreate is enabled by default, and the enableOptimizedFindOrCreate setting ' +
201-
'is ignored since v7.0.0.');
200+
debug('Optimized findOrCreate is enabled by default, ' +
201+
'and the enableOptimizedFindOrCreate setting is ignored since v7.0.0.');
202202
}
203203

204204
if (this.settings.enableGeoIndexing === true) {

0 commit comments

Comments
 (0)