diff --git a/changelog.md b/changelog.md index d86fda9..729175d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,12 @@ Changelog ========= +0.21.1 (????-??-??) +------------------- + +* Export server version string + + 0.21.0 (2023-02-14) ------------------- diff --git a/package-lock.json b/package-lock.json index 23c156d..60b746a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@curveball/core", - "version": "0.20.0", + "version": "0.21.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@curveball/core", - "version": "0.20.0", + "version": "0.21.0", "license": "MIT", "dependencies": { - "@curveball/kernel": ">=0.21.0 <1", + "@curveball/kernel": ">=0.21.1 <1", "@types/ws": "^8.5.3", "raw-body": "^2.4.1", "ws": "^8.5.0" @@ -37,7 +37,7 @@ "node": ">=14.4" }, "peerDependencies": { - "@curveball/kernel": ">=0.21.0 <1" + "@curveball/kernel": ">=0.21.1 <1" } }, "node_modules/@ampproject/remapping": { @@ -485,9 +485,9 @@ } }, "node_modules/@curveball/kernel": { - "version": "0.21.0", - "resolved": "https://registry.npmjs.org/@curveball/kernel/-/kernel-0.21.0.tgz", - "integrity": "sha512-TwjUNSpxBaptSHjbIFIyv2RYbEnYz8nVLp/qSGcHPbAwfcPvpiBNqMEg2ZKL7IUIYUICvd8I11xgIcwQMMHr4Q==", + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/@curveball/kernel/-/kernel-0.21.1.tgz", + "integrity": "sha512-VnbnDmxuzFyaGxTrROFCm6xVGj+f8m8RSKG/TWTARayA93JrI7f7cDlD47FWPhVB0zLiH2ctSAc8ltvKI+AMow==", "dependencies": { "@curveball/http-errors": "^0.5.0", "@types/ws": "^8.5.3", @@ -1354,9 +1354,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001451", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001451.tgz", - "integrity": "sha512-XY7UbUpGRatZzoRft//5xOa69/1iGJRBlrieH6QYrkKLIFn3m7OVEJ81dSrKoy2BnKsdbX5cLrOispZNYo9v2w==", + "version": "1.0.30001456", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001456.tgz", + "integrity": "sha512-XFHJY5dUgmpMV25UqaD4kVq2LsiaU5rS8fb0f17pCoXQiQslzmFgnfOxfvo1bTpTqf7dwG/N/05CnLCnOEKmzA==", "dev": true, "funding": [ { @@ -1658,9 +1658,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.295", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.295.tgz", - "integrity": "sha512-lEO94zqf1bDA3aepxwnWoHUjA8sZ+2owgcSZjYQy0+uOSEclJX0VieZC+r+wLpSxUHRd6gG32znTWmr+5iGzFw==", + "version": "1.4.302", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.302.tgz", + "integrity": "sha512-Uk7C+7aPBryUR1Fwvk9VmipBcN9fVsqBO57jV2ZjTm+IZ6BMNqu7EDVEg2HxCNufk6QcWlFsBkhQyQroB2VWKw==", "dev": true }, "node_modules/emoji-regex": { @@ -1854,9 +1854,9 @@ } }, "node_modules/esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.2.tgz", + "integrity": "sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==", "dev": true, "dependencies": { "estraverse": "^5.1.0" @@ -4663,9 +4663,9 @@ "integrity": "sha512-aZ+l+BME9+BQwq3Mc+j9nal9D9lThubCRdirZYSjEuCn1Gc+lpsx1ETlvZ508Ac7ZleK7Zhg18TewOioRCk0Ew==" }, "@curveball/kernel": { - "version": "0.21.0", - "resolved": "https://registry.npmjs.org/@curveball/kernel/-/kernel-0.21.0.tgz", - "integrity": "sha512-TwjUNSpxBaptSHjbIFIyv2RYbEnYz8nVLp/qSGcHPbAwfcPvpiBNqMEg2ZKL7IUIYUICvd8I11xgIcwQMMHr4Q==", + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/@curveball/kernel/-/kernel-0.21.1.tgz", + "integrity": "sha512-VnbnDmxuzFyaGxTrROFCm6xVGj+f8m8RSKG/TWTARayA93JrI7f7cDlD47FWPhVB0zLiH2ctSAc8ltvKI+AMow==", "requires": { "@curveball/http-errors": "^0.5.0", "@types/ws": "^8.5.3", @@ -5302,9 +5302,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001451", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001451.tgz", - "integrity": "sha512-XY7UbUpGRatZzoRft//5xOa69/1iGJRBlrieH6QYrkKLIFn3m7OVEJ81dSrKoy2BnKsdbX5cLrOispZNYo9v2w==", + "version": "1.0.30001456", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001456.tgz", + "integrity": "sha512-XFHJY5dUgmpMV25UqaD4kVq2LsiaU5rS8fb0f17pCoXQiQslzmFgnfOxfvo1bTpTqf7dwG/N/05CnLCnOEKmzA==", "dev": true }, "chai": { @@ -5522,9 +5522,9 @@ } }, "electron-to-chromium": { - "version": "1.4.295", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.295.tgz", - "integrity": "sha512-lEO94zqf1bDA3aepxwnWoHUjA8sZ+2owgcSZjYQy0+uOSEclJX0VieZC+r+wLpSxUHRd6gG32znTWmr+5iGzFw==", + "version": "1.4.302", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.302.tgz", + "integrity": "sha512-Uk7C+7aPBryUR1Fwvk9VmipBcN9fVsqBO57jV2ZjTm+IZ6BMNqu7EDVEg2HxCNufk6QcWlFsBkhQyQroB2VWKw==", "dev": true }, "emoji-regex": { @@ -5667,9 +5667,9 @@ "dev": true }, "esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.2.tgz", + "integrity": "sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==", "dev": true, "requires": { "estraverse": "^5.1.0" diff --git a/package.json b/package.json index 56484be..426e48b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@curveball/core", - "version": "0.20.0", + "version": "0.21.0", "description": "Curveball is a framework writting in Typescript for Node.js", "type": "module", "exports": { @@ -34,13 +34,13 @@ "url": "git+https://github.com/curveball/core.git" }, "dependencies": { - "@curveball/kernel": ">=0.21.0 <1", + "@curveball/kernel": ">=0.21.1 <1", "@types/ws": "^8.5.3", "raw-body": "^2.4.1", "ws": "^8.5.0" }, "peerDependencies": { - "@curveball/kernel": ">=0.21.0 <1" + "@curveball/kernel": ">=0.21.1 <1" }, "devDependencies": { "@curveball/http-errors": "^0.5.0", diff --git a/src/index.ts b/src/index.ts index e7385a4..ca498ba 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,4 +17,6 @@ export { Context, // For backwards compatibility Context as BaseContext, + + VERSION, } from '@curveball/kernel';