Skip to content

Commit

Permalink
Bumps (#148)
Browse files Browse the repository at this point in the history
* bumps


---------

Signed-off-by: Alberto Ricart <[email protected]>
  • Loading branch information
aricart authored Nov 19, 2024
1 parent b8bb419 commit 95ee79a
Show file tree
Hide file tree
Showing 23 changed files with 91 additions and 61 deletions.
2 changes: 1 addition & 1 deletion bin/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { cli } from "https://deno.land/x/cobra@v0.0.9/mod.ts";
import { cli } from "jsr:@aricart/cobra@0.0.13";
import * as esbuild from "npm:[email protected]";
// Import the Wasm build on platforms where running subprocesses is not
// permitted, such as Deno Deploy, or when running without `--allow-run`.
Expand Down
29 changes: 29 additions & 0 deletions bin/check-dep-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,15 @@ for (const dir of dirs) {
dmm.update(moduleName, v);
await dmm.store(d);
}

const onuid = dmm.has("@nats-io/nuid");
if (onuid) {
nuid = nuid.max(onuid);
}
const onkeys = dmm.has("@nats-io/nkeys");
if (onkeys) {
nkeys = nkeys.max(onkeys);
}
}
const nmm = await NodeModule.load(d);
if (nmm) {
Expand Down Expand Up @@ -334,12 +343,32 @@ for (const d of dirs) {
dmm.update("@nats-io/nuid", nuid);
await dmm.store(d);
}
if (dmm.has("@nats-io/nkeys")) {
dmm.update("@nats-io/nkeys", nkeys);
await dmm.store(d);
}
}
const nmm = await NodeModule.load(d);
if (nmm) {
if (nmm.has("@nats-io/nuid")) {
nmm.update("@nats-io/nuid", nuid);
await nmm.store(d);
}
if (nmm.has("@nats-io/nkeys")) {
nmm.update("@nats-io/nkeys", nkeys);
await nmm.store(d);
}
}

const map = await ImportMap.load(d);
if (map) {
if (map.has("@nats-io/nuid")) {
map.update("@nats-io/nuid", nuid);
await map.store(d);
}
if (map.has("@nats-io/nkeys")) {
map.update("@nats-io/nkeys", nkeys);
await map.store(d);
}
}
}
4 changes: 2 additions & 2 deletions core/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/nats-core",
"version": "3.0.0-40",
"version": "3.0.0-42",
"exports": {
".": "./src/mod.ts",
"./internal": "./src/internal_mod.ts"
Expand Down Expand Up @@ -35,7 +35,7 @@
"test": "deno test -A --parallel --reload tests/ --import-map=./import_map.json"
},
"imports": {
"@nats-io/nkeys": "jsr:@nats-io/nkeys@1.2.0-7",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-2",
"@nats-io/nuid": "jsr:@nats-io/[email protected]"
}
}
4 changes: 2 additions & 2 deletions core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/nats-core",
"version": "3.0.0-40",
"version": "3.0.0-42",
"files": [
"lib/",
"LICENSE",
Expand Down Expand Up @@ -34,7 +34,7 @@
},
"description": "nats-core library - this library implements all the base functionality for NATS javascript clients",
"dependencies": {
"@nats-io/nkeys": "1.2.0-7",
"@nats-io/nkeys": "2.0.0-2",
"@nats-io/nuid": "2.0.1-2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion core/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// This file is generated - do not edit
export const version = "3.0.0-40";
export const version = "3.0.0-42";
3 changes: 2 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@
"./kv",
"./obj",
"./services"
]
],
"nodeModulesDir": "auto"
}
4 changes: 2 additions & 2 deletions jetstream/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/jetstream",
"version": "3.0.0-27",
"version": "3.0.0-29",
"exports": {
".": "./src/mod.ts",
"./internal": "./src/internal_mod.ts"
Expand Down Expand Up @@ -33,6 +33,6 @@
"test": "deno test -A --parallel --reload --trace-leaks --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-40"
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-42"
}
}
8 changes: 4 additions & 4 deletions jetstream/import_map.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"imports": {
"@nats-io/nkeys": "jsr:@nats-io/nkeys@1.2.0-4",
"@nats-io/nuid": "jsr:@nats-io/[email protected]",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-40",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-40/internal",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-2",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.1-2",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-42",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-42/internal",
"test_helpers": "../test_helpers/mod.ts",
"@std/io": "jsr:@std/[email protected]"
}
Expand Down
4 changes: 2 additions & 2 deletions jetstream/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/jetstream",
"version": "3.0.0-27",
"version": "3.0.0-29",
"files": [
"lib/",
"LICENSE",
Expand Down Expand Up @@ -34,7 +34,7 @@
},
"description": "jetstream library - this library implements all the base functionality for NATS JetStream for javascript clients",
"dependencies": {
"@nats-io/nats-core": "3.0.0-40"
"@nats-io/nats-core": "3.0.0-42"
},
"devDependencies": {
"@types/node": "^22.7.6",
Expand Down
6 changes: 3 additions & 3 deletions kv/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/kv",
"version": "3.0.0-21",
"version": "3.0.0-23",
"exports": {
".": "./src/mod.ts",
"./internal": "./src/internal_mod.ts"
Expand Down Expand Up @@ -33,7 +33,7 @@
"test": "deno test -A --parallel --reload --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-40",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-27"
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-42",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-29"
}
}
12 changes: 6 additions & 6 deletions kv/import_map.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-40",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-40/internal",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-27",
"@nats-io/jetstream/internal": "jsr:@nats-io/jetstream@~3.0.0-27/internal",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-42",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-42/internal",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-29",
"@nats-io/jetstream/internal": "jsr:@nats-io/jetstream@~3.0.0-29/internal",
"test_helpers": "../test_helpers/mod.ts",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@1.2.0-4",
"@nats-io/nuid": "jsr:@nats-io/[email protected]",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-2",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.1-2",
"@std/io": "jsr:@std/[email protected]"
}
}
6 changes: 3 additions & 3 deletions kv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/kv",
"version": "3.0.0-21",
"version": "3.0.0-23",
"files": [
"lib/",
"LICENSE",
Expand Down Expand Up @@ -34,8 +34,8 @@
},
"description": "kv library - this library implements all the base functionality for NATS KV javascript clients",
"dependencies": {
"@nats-io/jetstream": "3.0.0-27",
"@nats-io/nats-core": "3.0.0-40"
"@nats-io/jetstream": "3.0.0-29",
"@nats-io/nats-core": "3.0.0-42"
},
"devDependencies": {
"@types/node": "^22.7.6",
Expand Down
6 changes: 3 additions & 3 deletions obj/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/obj",
"version": "3.0.0-22",
"version": "3.0.0-24",
"exports": {
".": "./src/mod.ts",
"./internal": "./src/internal_mod.ts"
Expand Down Expand Up @@ -33,7 +33,7 @@
"test": "deno test -A --parallel --reload --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-40",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-27"
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-42",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-29"
}
}
12 changes: 6 additions & 6 deletions obj/import_map.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-40",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-40/internal",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-27",
"@nats-io/jetstream/internal": "jsr:@nats-io/jetstream@~3.0.0-27/internal",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-42",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-42/internal",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-29",
"@nats-io/jetstream/internal": "jsr:@nats-io/jetstream@~3.0.0-29/internal",
"test_helpers": "../test_helpers/mod.ts",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@1.2.0-4",
"@nats-io/nuid": "jsr:@nats-io/[email protected]",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-2",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.1-2",
"@std/io": "jsr:@std/[email protected]"
}
}
6 changes: 3 additions & 3 deletions obj/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/obj",
"version": "3.0.0-22",
"version": "3.0.0-24",
"files": [
"lib/",
"LICENSE",
Expand Down Expand Up @@ -34,8 +34,8 @@
},
"description": "obj library - this library implements all the base functionality for NATS objectstore for javascript clients",
"dependencies": {
"@nats-io/jetstream": "3.0.0-27",
"@nats-io/nats-core": "3.0.0-40"
"@nats-io/jetstream": "3.0.0-29",
"@nats-io/nats-core": "3.0.0-42"
},
"devDependencies": {
"@types/node": "^22.7.6",
Expand Down
4 changes: 2 additions & 2 deletions services/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/services",
"version": "3.0.0-16",
"version": "3.0.0-18",
"exports": {
".": "./src/mod.ts",
"./internal": "./src/internal_mod.ts"
Expand Down Expand Up @@ -33,6 +33,6 @@
"test": "deno test -A --parallel --reload --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-40"
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-42"
}
}
8 changes: 4 additions & 4 deletions services/import_map.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-40",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-40/internal",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-42",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-42/internal",
"test_helpers": "../test_helpers/mod.ts",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@1.2.0-4",
"@nats-io/nuid": "jsr:@nats-io/[email protected]",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-2",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.1-2",
"@std/io": "jsr:@std/[email protected]"
}
}
4 changes: 2 additions & 2 deletions services/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/services",
"version": "3.0.0-16",
"version": "3.0.0-18",
"files": [
"lib/",
"LICENSE",
Expand Down Expand Up @@ -34,7 +34,7 @@
},
"description": "services library - this library implements all the base functionality for NATS services for javascript clients",
"dependencies": {
"@nats-io/nats-core": "3.0.0-40"
"@nats-io/nats-core": "3.0.0-42"
},
"devDependencies": {
"@types/node": "^22.7.6",
Expand Down
8 changes: 4 additions & 4 deletions transport-deno/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/transport-deno",
"version": "3.0.0-15",
"version": "3.0.0-16",
"exports": {
".": "./src/mod.ts"
},
Expand All @@ -20,8 +20,8 @@
},
"imports": {
"@std/io": "jsr:@std/[email protected]",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-40",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@1.2.0-4",
"@nats-io/nuid": "jsr:@nats-io/[email protected]"
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-42",
"@nats-io/nkeys": "jsr:@nats-io/nkeys@~2.0.0-2",
"@nats-io/nuid": "jsr:@nats-io/nuid@~2.0.1-2"
}
}
2 changes: 1 addition & 1 deletion transport-deno/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// This file is generated - do not edit
export const version = "3.0.0-15";
export const version = "3.0.0-16";
4 changes: 2 additions & 2 deletions transport-node/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions transport-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/transport-node",
"version": "3.0.0-26",
"version": "3.0.0-27",
"description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system",
"keywords": [
"nats",
Expand Down Expand Up @@ -54,8 +54,8 @@
"node": ">= 18.0.0"
},
"dependencies": {
"@nats-io/nats-core": "3.0.0-40",
"@nats-io/nkeys": "1.2.0-7",
"@nats-io/nats-core": "3.0.0-42",
"@nats-io/nkeys": "2.0.0-2",
"@nats-io/nuid": "2.0.1-2"
},
"devDependencies": {
Expand All @@ -64,8 +64,8 @@
"nats-jwt": "^0.0.9",
"shx": "^0.3.3",
"typescript": "5.6.3",
"@nats-io/jetstream": "3.0.0-27",
"@nats-io/kv": "3.0.0-21",
"@nats-io/obj": "3.0.0-22"
"@nats-io/jetstream": "3.0.0-29",
"@nats-io/kv": "3.0.0-23",
"@nats-io/obj": "3.0.0-24"
}
}
2 changes: 1 addition & 1 deletion transport-node/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// This file is generated - do not edit
export const version = "3.0.0-26";
export const version = "3.0.0-27";

0 comments on commit 95ee79a

Please sign in to comment.