@discord/intl-loader-core 0.19.0 → 0.19.1

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": "@discord/intl-loader-core",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "license": "MIT",
5
5
  "description": "Core utilities for writing loaders and transformers using @discord/intl",
6
6
  "author": "Jon Egeland",
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "chokidar": "^3.6.0",
30
30
  "debug": "^4.3.6",
31
- "@discord/intl-message-database": "0.19.0"
31
+ "@discord/intl-message-database": "0.19.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/debug": "^4.1.12",
@@ -164,7 +164,7 @@ class MessageDefinitionsTransformer {
164
164
  * @returns {string[]}
165
165
  */
166
166
  createLoaderAndBinds() {
167
- switch (this.options.bindMode) {
167
+ switch (this.options.bindMode ?? 'proxy') {
168
168
  case 'proxy':
169
169
  return [
170
170
  `const ${this.loaderName} = createLoader(_localeMap, _defaultLocale);`,