@oino-ts/db 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,7 +60,7 @@ exports.OINODbApiResult = OINODbApiResult;
60
60
  */
61
61
  class OINODbHtmlTemplate extends index_js_1.OINOHtmlTemplate {
62
62
  /** Locale validation regex */
63
- static LOCALE_REGEX = /^(\w\w)(\-\w\w)?$/g;
63
+ static LOCALE_REGEX = /^(\w\w)(\-\w\w)?$/;
64
64
  /** Locale formatter */
65
65
  _locale;
66
66
  /**
@@ -56,7 +56,7 @@ export class OINODbApiResult extends OINOResult {
56
56
  */
57
57
  export class OINODbHtmlTemplate extends OINOHtmlTemplate {
58
58
  /** Locale validation regex */
59
- static LOCALE_REGEX = /^(\w\w)(\-\w\w)?$/g;
59
+ static LOCALE_REGEX = /^(\w\w)(\-\w\w)?$/;
60
60
  /** Locale formatter */
61
61
  _locale;
62
62
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oino-ts/db",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "OINO TS library package for publishing an SQL database tables as a REST API.",
5
5
  "author": "Matias Kiviniemi (pragmatta)",
6
6
  "license": "MPL-2.0",
@@ -19,12 +19,12 @@
19
19
  "module": "./dist/esm/index.js",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "dependencies": {
22
- "@oino-ts/common": "0.4.3"
22
+ "@oino-ts/common": "0.4.4"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "^20.14.10",
26
26
  "@types/bun": "^1.1.14",
27
- "@oino-ts/types": "0.4.3",
27
+ "@oino-ts/types": "0.4.4",
28
28
  "typedoc": "^0.25.13"
29
29
  },
30
30
  "files": [
package/src/OINODbApi.ts CHANGED
@@ -62,7 +62,7 @@ export class OINODbApiResult extends OINOResult {
62
62
  */
63
63
  export class OINODbHtmlTemplate extends OINOHtmlTemplate {
64
64
  /** Locale validation regex */
65
- static LOCALE_REGEX:RegExp = /^(\w\w)(\-\w\w)?$/g
65
+ static LOCALE_REGEX:RegExp = /^(\w\w)(\-\w\w)?$/
66
66
  /** Locale formatter */
67
67
  protected _locale:Intl.DateTimeFormat|null
68
68