@readium/shared 2.1.2 → 2.1.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readium/shared",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "type": "module",
5
5
  "description": "Shared models to be used across other Readium projects and implementations in Typescript",
6
6
  "author": "readium",
@@ -58,18 +58,18 @@
58
58
  }
59
59
  ],
60
60
  "devDependencies": {
61
- "@babel/core": "^7.28.3",
62
- "@babel/preset-env": "^7.28.3",
63
- "@babel/preset-typescript": "^7.27.1",
64
- "@size-limit/file": "^11.2.0",
61
+ "@babel/core": "^7.28.6",
62
+ "@babel/preset-env": "^7.28.6",
63
+ "@babel/preset-typescript": "^7.28.5",
64
+ "@size-limit/file": "^12.0.0",
65
65
  "@types/jest": "^30.0.0",
66
- "babel-jest": "^30.1.1",
67
- "css-selector-generator": "^3.6.9",
68
- "jest": "^30.1.1",
69
- "size-limit": "^11.2.0",
70
- "ts-jest": "^29.4.1",
66
+ "babel-jest": "^30.2.0",
67
+ "css-selector-generator": "^3.8.0",
68
+ "jest": "^30.2.0",
69
+ "size-limit": "^12.0.0",
70
+ "ts-jest": "^29.4.6",
71
71
  "tslib": "^2.8.1",
72
72
  "typescript": "^5.9.3",
73
- "vite": "^7.2.4"
73
+ "vite": "^7.3.1"
74
74
  }
75
75
  }
@@ -9,7 +9,7 @@
9
9
  export class LocalizedString {
10
10
  public readonly translations: { [key: string]: string };
11
11
 
12
- public static readonly UNDEFINED_LANGUAGE = 'undefined';
12
+ public static readonly UNDEFINED_LANGUAGE = 'und';
13
13
  public static readonly LANGUAGE_EN = 'en';
14
14
 
15
15
  /**
@@ -5,7 +5,7 @@ export declare class LocalizedString {
5
5
  readonly translations: {
6
6
  [key: string]: string;
7
7
  };
8
- static readonly UNDEFINED_LANGUAGE = "undefined";
8
+ static readonly UNDEFINED_LANGUAGE = "und";
9
9
  static readonly LANGUAGE_EN = "en";
10
10
  /**
11
11
  * translations can be a string or a collection of language/translation pairs,