Skip to content

Commit

Permalink
ENGDX-590: mongo-memory-server-action Package Bumps (#30)
Browse files Browse the repository at this point in the history
* address criticals

* node 18

* yarn fix

* ncc

* Commit from GitHub Actions (pull-request)

Signed-off-by: NeoBot <[email protected]>

* changelog

---------

Signed-off-by: NeoBot <[email protected]>
Co-authored-by: NeoBot <[email protected]>
  • Loading branch information
neogibson and neobot1 authored Jul 5, 2024
1 parent 1bdb3a0 commit dc96110
Show file tree
Hide file tree
Showing 9 changed files with 1,199 additions and 171 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 18
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 18
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 18
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ coverage
node_modules

# Editors
.idea
.vscode

# OS metadata
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.2.2] - 2024-07-02

- Update a number of packages to address critical and high vulnerabilities.

## [1.2.1] - 2022-05-27

- Add max-pool-size parameter option
Expand Down
21 changes: 4 additions & 17 deletions build/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mongo-memory-server-action",
"description": "Support MongoDB-dependent GitHub Workflows",
"version": "1.2.1",
"version": "1.2.2",
"repository": {
"type": "git",
"url": "[email protected]:neofinancial/mongo-memory-server-action.git"
Expand Down Expand Up @@ -31,7 +31,7 @@
"@types/jest": "^26.0.23",
"@types/mongodb": "^3.6.19",
"@types/node": "^15.12.5",
"@vercel/ncc": "^0.28.6",
"@vercel/ncc": "^0.38.1",
"eslint": "^7.29.0",
"eslint-config-neo": "^0.6.2",
"jest": "^27.0.6",
Expand Down
2 changes: 1 addition & 1 deletion test/factory.memory-server-factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('MemoryServerFactory', () => {
expectedVersion
);

await expect(promise).rejects.toThrow(`options.port should be >= 0 and < 65536. Received ${badPort}.`);
await expect(promise).rejects.toThrow(`options.port should be >= 0 and < 65536. Received type number (${badPort}).`);
});

test('unfortunately does NOT throw an error when provided a dbName that is too long', async () => {
Expand Down
Loading

0 comments on commit dc96110

Please sign in to comment.