@joystick.js/node-canary 0.0.0-canary.92 → 0.0.0-canary.93

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.
@@ -48,6 +48,10 @@ var getTranslations_default = async (paths = {}, req = {}) => {
48
48
  const browserLanguages = parseBrowserLanguages(req?.headers["accept-language"]);
49
49
  const languagePreferences = getLanguagePreferenceRegexes(req?.context?.user?.language, browserLanguages);
50
50
  let matchingFile = null;
51
+ console.log({
52
+ languageFiles,
53
+ languagePreferences
54
+ });
51
55
  for (let i = 0; i < languagePreferences.length; i += 1) {
52
56
  const languageRegex = languagePreferences[i];
53
57
  const match = languageFiles.find((languageFile) => !!languageFile.match(languageRegex));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
- "version": "0.0.0-canary.92",
3
+ "version": "0.0.0-canary.93",
4
4
  "type": "module",
5
5
  "description": "A Node.js framework for building web apps.",
6
6
  "main": "./dist/index.js",