diff --git a/.publish/ai/package.json b/.publish/ai/package.json index 68d15da0..e39ee398 100644 --- a/.publish/ai/package.json +++ b/.publish/ai/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/ai", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "Zero-dependency Claude (Anthropic) client for WrNexus apps.", "license": "MIT", diff --git a/.publish/authz/package.json b/.publish/authz/package.json index f9c39ecb..aeb282fb 100644 --- a/.publish/authz/package.json +++ b/.publish/authz/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/authz", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/authz — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/cli/package.json b/.publish/cli/package.json index 43b84780..e5555e60 100644 --- a/.publish/cli/package.json +++ b/.publish/cli/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/cli", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/cli — part of the WrNexus framework.", "license": "MIT", @@ -28,16 +28,16 @@ "wrnexus": "./dist/index.js" }, "dependencies": { - "@wrnexus/core": "^0.2.40", - "@wrnexus/router": "^0.2.40", - "@wrnexus/csr": "^0.2.40", - "@wrnexus/compiler": "^0.2.40", - "@wrnexus/styles": "^0.2.40", - "@wrnexus/dev-server": "^0.2.40", - "@wrnexus/ui": "^0.2.40", - "@wrnexus/validation": "^0.2.40", - "@wrnexus/i18n": "^0.2.40", - "@wrnexus/db": "^0.2.40" + "@wrnexus/core": "^0.2.41", + "@wrnexus/router": "^0.2.41", + "@wrnexus/csr": "^0.2.41", + "@wrnexus/compiler": "^0.2.41", + "@wrnexus/styles": "^0.2.41", + "@wrnexus/dev-server": "^0.2.41", + "@wrnexus/ui": "^0.2.41", + "@wrnexus/validation": "^0.2.41", + "@wrnexus/i18n": "^0.2.41", + "@wrnexus/db": "^0.2.41" }, "files": [ "dist" diff --git a/.publish/compiler/package.json b/.publish/compiler/package.json index a124e596..231a4c2e 100644 --- a/.publish/compiler/package.json +++ b/.publish/compiler/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/compiler", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/compiler — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/core/package.json b/.publish/core/package.json index 3f79c415..f5da1235 100644 --- a/.publish/core/package.json +++ b/.publish/core/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/core", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/core — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/csr/package.json b/.publish/csr/package.json index 6f85140e..9431bf41 100644 --- a/.publish/csr/package.json +++ b/.publish/csr/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/csr", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/csr — part of the WrNexus framework.", "license": "MIT", @@ -21,7 +21,7 @@ } }, "dependencies": { - "@wrnexus/core": "^0.2.40" + "@wrnexus/core": "^0.2.41" }, "files": [ "dist" diff --git a/.publish/db/package.json b/.publish/db/package.json index 8e57960c..e6bc5353 100644 --- a/.publish/db/package.json +++ b/.publish/db/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/db", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/db — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/dev-server/package.json b/.publish/dev-server/package.json index 79bbb107..ddb7bd57 100644 --- a/.publish/dev-server/package.json +++ b/.publish/dev-server/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/dev-server", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/dev-server — part of the WrNexus framework.", "license": "MIT", @@ -25,18 +25,18 @@ } }, "dependencies": { - "@wrnexus/core": "^0.2.40", - "@wrnexus/router": "^0.2.40", - "@wrnexus/ssr": "^0.2.40", - "@wrnexus/csr": "^0.2.40", - "@wrnexus/compiler": "^0.2.40", - "@wrnexus/styles": "^0.2.40", - "@wrnexus/ui": "^0.2.40", - "@wrnexus/validation": "^0.2.40", - "@wrnexus/i18n": "^0.2.40", - "@wrnexus/db": "^0.2.40", - "@wrnexus/pubsub": "^0.2.40", - "@wrnexus/uploader": "^0.2.40" + "@wrnexus/core": "^0.2.41", + "@wrnexus/router": "^0.2.41", + "@wrnexus/ssr": "^0.2.41", + "@wrnexus/csr": "^0.2.41", + "@wrnexus/compiler": "^0.2.41", + "@wrnexus/styles": "^0.2.41", + "@wrnexus/ui": "^0.2.41", + "@wrnexus/validation": "^0.2.41", + "@wrnexus/i18n": "^0.2.41", + "@wrnexus/db": "^0.2.41", + "@wrnexus/pubsub": "^0.2.41", + "@wrnexus/uploader": "^0.2.41" }, "files": [ "dist" diff --git a/.publish/encryption/package.json b/.publish/encryption/package.json index 80995f1d..bef05ff2 100644 --- a/.publish/encryption/package.json +++ b/.publish/encryption/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/encryption", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/encryption — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/helpers/package.json b/.publish/helpers/package.json index 73c99174..9ac0508a 100644 --- a/.publish/helpers/package.json +++ b/.publish/helpers/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/helpers", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "Safe convenience helpers for WrNexus request contexts and common application flows.", "license": "MIT", @@ -21,7 +21,7 @@ } }, "dependencies": { - "@wrnexus/core": "^0.2.40" + "@wrnexus/core": "^0.2.41" }, "files": [ "dist" diff --git a/.publish/i18n/package.json b/.publish/i18n/package.json index deab10b6..468a3372 100644 --- a/.publish/i18n/package.json +++ b/.publish/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/i18n", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/i18n — part of the WrNexus framework.", "license": "MIT", @@ -21,7 +21,7 @@ } }, "dependencies": { - "@wrnexus/core": "^0.2.40" + "@wrnexus/core": "^0.2.41" }, "files": [ "dist" diff --git a/.publish/jwt/package.json b/.publish/jwt/package.json index 6eed4070..bce0879f 100644 --- a/.publish/jwt/package.json +++ b/.publish/jwt/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/jwt", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/jwt — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/mobile/package.json b/.publish/mobile/package.json index acefd9f4..3294b438 100644 --- a/.publish/mobile/package.json +++ b/.publish/mobile/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/mobile", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/mobile — part of the WrNexus framework.", "license": "MIT", @@ -21,7 +21,7 @@ } }, "dependencies": { - "@wrnexus/native": "^0.2.40" + "@wrnexus/native": "^0.2.41" }, "files": [ "dist" diff --git a/.publish/native/package.json b/.publish/native/package.json index 0e3e52f8..aba318dc 100644 --- a/.publish/native/package.json +++ b/.publish/native/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/native", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/native — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/oauth/package.json b/.publish/oauth/package.json index ce7e2ce5..6e64059e 100644 --- a/.publish/oauth/package.json +++ b/.publish/oauth/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/oauth", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/oauth — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/pubsub/package.json b/.publish/pubsub/package.json index 8e48af3d..eedf8a6e 100644 --- a/.publish/pubsub/package.json +++ b/.publish/pubsub/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/pubsub", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/pubsub — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/queue/package.json b/.publish/queue/package.json index a7d49871..af24e5da 100644 --- a/.publish/queue/package.json +++ b/.publish/queue/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/queue", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/queue — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/reactive/package.json b/.publish/reactive/package.json index 252c4fae..ef5b26e8 100644 --- a/.publish/reactive/package.json +++ b/.publish/reactive/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/reactive", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/reactive — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/router/package.json b/.publish/router/package.json index c8c764b7..684487a6 100644 --- a/.publish/router/package.json +++ b/.publish/router/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/router", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/router — part of the WrNexus framework.", "license": "MIT", @@ -21,8 +21,8 @@ } }, "dependencies": { - "@wrnexus/compiler": "^0.2.40", - "@wrnexus/core": "^0.2.40" + "@wrnexus/compiler": "^0.2.41", + "@wrnexus/core": "^0.2.41" }, "files": [ "dist" diff --git a/.publish/ssr/package.json b/.publish/ssr/package.json index efc3935b..57c29688 100644 --- a/.publish/ssr/package.json +++ b/.publish/ssr/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/ssr", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/ssr — part of the WrNexus framework.", "license": "MIT", @@ -21,7 +21,7 @@ } }, "dependencies": { - "@wrnexus/core": "^0.2.40" + "@wrnexus/core": "^0.2.41" }, "files": [ "dist" diff --git a/.publish/styles/package.json b/.publish/styles/package.json index 8df22da9..b3242ccf 100644 --- a/.publish/styles/package.json +++ b/.publish/styles/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/styles", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/styles — part of the WrNexus framework.", "license": "MIT", @@ -21,7 +21,7 @@ } }, "dependencies": { - "@wrnexus/uploader": "^0.2.40" + "@wrnexus/uploader": "^0.2.41" }, "files": [ "dist" diff --git a/.publish/test/package.json b/.publish/test/package.json index 40c8bed4..0f6b2690 100644 --- a/.publish/test/package.json +++ b/.publish/test/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/test", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/test — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/tracking/package.json b/.publish/tracking/package.json index 1cdd67a8..72907004 100644 --- a/.publish/tracking/package.json +++ b/.publish/tracking/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/tracking", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/tracking — part of the WrNexus framework.", "license": "MIT", diff --git a/.publish/ui/package.json b/.publish/ui/package.json index d42e1882..9f275b89 100644 --- a/.publish/ui/package.json +++ b/.publish/ui/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/ui", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/ui — part of the WrNexus framework.", "license": "MIT", @@ -22,7 +22,7 @@ "./ui.css": "./ui.css" }, "dependencies": { - "@wrnexus/core": "^0.2.40" + "@wrnexus/core": "^0.2.41" }, "files": [ "dist", diff --git a/.publish/uploader/package.json b/.publish/uploader/package.json index 460d5cff..449539c4 100644 --- a/.publish/uploader/package.json +++ b/.publish/uploader/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/uploader", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/uploader — part of the WrNexus framework.", "license": "MIT", @@ -21,7 +21,7 @@ } }, "dependencies": { - "@wrnexus/core": "^0.2.40" + "@wrnexus/core": "^0.2.41" }, "files": [ "dist" diff --git a/.publish/validation/package.json b/.publish/validation/package.json index f76c971a..51dfcf9b 100644 --- a/.publish/validation/package.json +++ b/.publish/validation/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/validation", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "description": "@wrnexus/validation — part of the WrNexus framework.", "license": "MIT", diff --git a/packages/ai/package.json b/packages/ai/package.json index 39d47abb..580828f9 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/ai", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "description": "Zero-dependency Claude (Anthropic) client for WrNexus apps.", diff --git a/packages/authz/package.json b/packages/authz/package.json index 92e3c467..be48f241 100644 --- a/packages/authz/package.json +++ b/packages/authz/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/authz", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/cli/package.json b/packages/cli/package.json index 6f2a3420..13498c86 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/cli", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/cli/src/update.ts b/packages/cli/src/update.ts index 50fee246..fcf6cb98 100644 --- a/packages/cli/src/update.ts +++ b/packages/cli/src/update.ts @@ -438,6 +438,15 @@ const MIGRATIONS: Migration[] = [ // No generated application files require automatic migration. }, }, + { + version: "0.2.41", + id: "conditions-bug", + description: + "Adds server-rendered component each/if blocks and fixes dynamic component rendering.", + apply() { + // No generated application files require automatic migration. + }, + }, ]; /** Release tooling uses this to require an explicit migration entry per version. */ diff --git a/packages/compiler/package.json b/packages/compiler/package.json index eb568be1..d3183cfa 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/compiler", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/core/package.json b/packages/core/package.json index 1d871af4..fef118d0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/core", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/csr/package.json b/packages/csr/package.json index 8b93ae7b..f416ee3f 100644 --- a/packages/csr/package.json +++ b/packages/csr/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/csr", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/csr/src/reactive-runtime.ts b/packages/csr/src/reactive-runtime.ts index 55d50c48..0d12eccb 100644 --- a/packages/csr/src/reactive-runtime.ts +++ b/packages/csr/src/reactive-runtime.ts @@ -816,10 +816,22 @@ export const REACTIVE_RUNTIME = String.raw` expression || "", ).trim(); + // Remove an optional trailing semicolon. + if ( + source.charAt( + source.length - 1, + ) === ";" + ) { + source = source + .slice(0, -1) + .trim(); + } + /* - * Array spread: + * Array literals containing spreads: * * [...openIndexes, index] + * [first, ...otherItems] */ if ( source.charAt(0) === "[" && @@ -828,42 +840,57 @@ export const REACTIVE_RUNTIME = String.raw` ) === "]" && source.indexOf("...") !== -1 ) { - var inner = source.slice(1, -1); + var arraySource = source.slice( + 1, + -1, + ); - var parts = splitTopLevel( - inner, + var arrayParts = splitTopLevel( + arraySource, ",", ); - var values = []; + var arrayResult = []; - parts.forEach(function (part) { - var item = part.trim(); + arrayParts.forEach(function ( + part, + ) { + var partSource = + part.trim(); + + if (!partSource) { + return; + } if ( - item.slice(0, 3) === "..." + partSource.slice(0, 3) === + "..." ) { - var spreadValue = + var spreadResult = evaluateExpression( - item.slice(3), + partSource + .slice(3) + .trim(), read, ); if ( - Array.isArray(spreadValue) + Array.isArray( + spreadResult, + ) ) { Array.prototype.push.apply( - values, - spreadValue, + arrayResult, + spreadResult, ); } return; } - values.push( + arrayResult.push( evaluateExpression( - item, + partSource, read, ), ); @@ -871,98 +898,151 @@ export const REACTIVE_RUNTIME = String.raw` return { matched: true, - value: values, + value: arrayResult, }; } /* - * Array methods with expression callbacks: - * - * list.filter((item) => item !== value) - * list.map((item, index) => item.title) + * First recognize the array method call without + * trying to parse the callback in the same regex. */ - var callbackMatch = - /^([\s\S]+)\.(filter|map|some|every|find|findIndex)\(\s*(?:\(\s*([A-Za-z_$][A-Za-z0-9_$]*)\s*(?:,\s*([A-Za-z_$][A-Za-z0-9_$]*))?\s*\)|([A-Za-z_$][A-Za-z0-9_$]*))\s*=>\s*([\s\S]+)\)$/.exec( + var methodMatch = + /^([\s\S]+)\.(filter|map|some|every|find|findIndex)\(\s*([\s\S]*)\s*\)$/.exec( source, ); - if (callbackMatch) { - var collection = - evaluateExpression( - callbackMatch[1].trim(), - read, - ); - - var method = callbackMatch[2]; - - var itemName = - callbackMatch[3] || - callbackMatch[5]; - - var indexName = - callbackMatch[4]; - - var callbackBody = - callbackMatch[6].trim(); - - if (!Array.isArray(collection)) { - collection = []; - } - - var callback = function ( - itemValue, - itemIndex, - ) { - return evaluateExpression( - callbackBody, - function (name) { - if (name === itemName) { - return itemValue; - } - - if ( - indexName && - name === indexName - ) { - return itemIndex; - } - - return read(name); - }, - ); - }; - - var result; - - if (method === "filter") { - result = - collection.filter(callback); - } else if (method === "map") { - result = - collection.map(callback); - } else if (method === "some") { - result = - collection.some(callback); - } else if (method === "every") { - result = - collection.every(callback); - } else if (method === "find") { - result = - collection.find(callback); - } else { - result = - collection.findIndex(callback); - } - + if (!methodMatch) { return { - matched: true, - value: result, + matched: false, + value: undefined, }; } + var collectionSource = + methodMatch[1].trim(); + + var method = + methodMatch[2]; + + var callbackSource = + methodMatch[3].trim(); + + /* + * Supported callbacks: + * + * item => item.active + * (item) => item.active + * (item, index) => index > 0 + */ + var callbackMatch = + /^(?:\(\s*([A-Za-z_$][A-Za-z0-9_$]*)\s*(?:,\s*([A-Za-z_$][A-Za-z0-9_$]*)\s*)?\)|([A-Za-z_$][A-Za-z0-9_$]*))\s*=>\s*([\s\S]+)$/.exec( + callbackSource, + ); + + if (!callbackMatch) { + return { + matched: false, + value: undefined, + }; + } + + var itemName = + callbackMatch[1] || + callbackMatch[3]; + + var indexName = + callbackMatch[2]; + + var callbackBody = + callbackMatch[4].trim(); + + /* + * Support expression bodies wrapped in parentheses: + * + * item => ( + * item.active + * ) + */ + if ( + callbackBody.charAt(0) === + "(" && + callbackBody.charAt( + callbackBody.length - 1, + ) === ")" + ) { + callbackBody = callbackBody + .slice(1, -1) + .trim(); + } + + var collection = + evaluateExpression( + collectionSource, + read, + ); + + if (!Array.isArray(collection)) { + collection = []; + } + + var callback = function ( + itemValue, + itemIndex, + ) { + return evaluateExpression( + callbackBody, + function (name) { + if (name === itemName) { + return itemValue; + } + + if ( + indexName && + name === indexName + ) { + return itemIndex; + } + + return read(name); + }, + ); + }; + + var result; + + if (method === "filter") { + result = + collection.filter(callback); + } else if ( + method === "map" + ) { + result = + collection.map(callback); + } else if ( + method === "some" + ) { + result = + collection.some(callback); + } else if ( + method === "every" + ) { + result = + collection.every(callback); + } else if ( + method === "find" + ) { + result = + collection.find(callback); + } else { + result = + collection.findIndex( + callback, + ); + } + return { - matched: false, - value: undefined, + matched: true, + value: result, }; } @@ -974,7 +1054,9 @@ export const REACTIVE_RUNTIME = String.raw` expr, read, ) { - expr = String(expr || "").trim(); + expr = String( + expr || "", + ).trim(); var special = evaluateSpecialExpression( @@ -988,6 +1070,7 @@ export const REACTIVE_RUNTIME = String.raw` var tokens = tokenizeExpression(expr); + var index = 0; function peek() { return tokens[index]; } function next() { return tokens[index++]; } diff --git a/packages/db/package.json b/packages/db/package.json index 76ba7c64..a18afad2 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/db", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/dev-server/package.json b/packages/dev-server/package.json index a0780d33..2791057c 100644 --- a/packages/dev-server/package.json +++ b/packages/dev-server/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/dev-server", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/encryption/package.json b/packages/encryption/package.json index 133b2a69..e2e4e09e 100644 --- a/packages/encryption/package.json +++ b/packages/encryption/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/encryption", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/helpers/package.json b/packages/helpers/package.json index 68e09ab2..77454ec0 100644 --- a/packages/helpers/package.json +++ b/packages/helpers/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/helpers", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "description": "Safe convenience helpers for WrNexus request contexts and common application flows.", diff --git a/packages/i18n/package.json b/packages/i18n/package.json index ca7fa7d7..b6badec3 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/i18n", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/jwt/package.json b/packages/jwt/package.json index 8316b589..37371ba3 100644 --- a/packages/jwt/package.json +++ b/packages/jwt/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/jwt", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/mobile/package.json b/packages/mobile/package.json index 606a73dc..ead0a2f1 100644 --- a/packages/mobile/package.json +++ b/packages/mobile/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/mobile", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/native/package.json b/packages/native/package.json index 892a7745..7f912226 100644 --- a/packages/native/package.json +++ b/packages/native/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/native", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/oauth/package.json b/packages/oauth/package.json index 8d874f37..838ddbd8 100644 --- a/packages/oauth/package.json +++ b/packages/oauth/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/oauth", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/pubsub/package.json b/packages/pubsub/package.json index 85a4677d..c9eaa3ca 100644 --- a/packages/pubsub/package.json +++ b/packages/pubsub/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/pubsub", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/queue/package.json b/packages/queue/package.json index 4cfed455..98acd7c0 100644 --- a/packages/queue/package.json +++ b/packages/queue/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/queue", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/reactive/package.json b/packages/reactive/package.json index 13d43540..30166950 100644 --- a/packages/reactive/package.json +++ b/packages/reactive/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/reactive", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/router/package.json b/packages/router/package.json index de8cae3c..97fb9cff 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/router", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/ssr/package.json b/packages/ssr/package.json index 825e32b8..e90f235a 100644 --- a/packages/ssr/package.json +++ b/packages/ssr/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/ssr", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/styles/package.json b/packages/styles/package.json index 035111d6..4922ff6e 100644 --- a/packages/styles/package.json +++ b/packages/styles/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/styles", - "version": "0.2.40", + "version": "0.2.41", "type": "module", "main": "src/index.ts", "exports": { diff --git a/packages/test/package.json b/packages/test/package.json index cdcf07d4..b2660144 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/test", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/tracking/package.json b/packages/tracking/package.json index cb361ca2..909aa23b 100644 --- a/packages/tracking/package.json +++ b/packages/tracking/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/tracking", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/ui/package.json b/packages/ui/package.json index 04f0c744..84417c3b 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/ui", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/uploader/package.json b/packages/uploader/package.json index 09634f30..7a3bef9e 100644 --- a/packages/uploader/package.json +++ b/packages/uploader/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/uploader", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/packages/validation/package.json b/packages/validation/package.json index 3e12fbbb..75162c65 100644 --- a/packages/validation/package.json +++ b/packages/validation/package.json @@ -1,6 +1,6 @@ { "name": "@wrnexus/validation", - "version": "0.2.40", + "version": "0.2.41", "private": true, "type": "module", "main": "src/index.ts", diff --git a/update-package-versions.mjs b/update-package-versions.mjs index 2e18dc5e..d2521623 100644 --- a/update-package-versions.mjs +++ b/update-package-versions.mjs @@ -1,7 +1,7 @@ import { existsSync, readdirSync, readFileSync, writeFileSync } from "node:fs"; import { join } from "node:path"; -const version = "0.2.40"; +const version = "0.2.41"; const dependencyGroups = [ "dependencies",