Skip to content

Commit

Permalink
[TESTS] removed old dev depedencies (#223)
Browse files Browse the repository at this point in the history
* [FIX] CJS portion of the bundle was not working as the nats.js was missing. This usage is only supported for testing as it requires shimming

* [DEPS] removed old dev dependencies as they are not needed, made tests use `websocket` dev dependency

* [BUMP] node test version and dependencies.md
  • Loading branch information
aricart authored Nov 2, 2023
1 parent f28c664 commit a0154cf
Show file tree
Hide file tree
Showing 6 changed files with 540 additions and 4,650 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/natsws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
test:
strategy:
matrix:
node-version: [16.x]
node-version: [21.x]
deno-version: [1.36.4]
environment: CI
runs-on: ubuntu-latest
Expand Down
17 changes: 17 additions & 0 deletions cjs/nats.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright 2013-2020 The NATS Authors
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
"use strict";

module.exports = require("../lib/src/mod");
1 change: 0 additions & 1 deletion dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ This file lists the dependencies used in this repository.
| https://github.com/nats-io/[email protected] | Apache-2.0 |
| Dev Dependencies | |
| @types/node | MIT |
| browser-env | MIT |
| nats-jwt | MIT |
| ava | MIT |
| minimist | MIT |
Expand Down
Loading

0 comments on commit a0154cf

Please sign in to comment.