i18next-fs-backend
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -27,3 +27,3 @@ "use strict"; | ||
var isDeno = typeof Deno !== 'undefined'; | ||
var YAML = typeof global !== 'undefined' ? global.jsyaml : typeof window !== 'undefined' ? window.jsyaml : undefined; | ||
var YAML = typeof YAMLDummy !== 'undefined' && YAMLDummy.safeLoad ? YAMLDummy : typeof global !== 'undefined' ? global.jsyaml : typeof window !== 'undefined' ? window.jsyaml : undefined; | ||
var fs = fsMod ? fsMod["default"] || fsMod : undefined; // because of strange export | ||
@@ -30,0 +30,0 @@ |
@@ -27,3 +27,3 @@ "use strict"; | ||
var isDeno = typeof Deno !== 'undefined'; | ||
var YAML = typeof global !== 'undefined' ? global.jsyaml : typeof window !== 'undefined' ? window.jsyaml : undefined; | ||
var YAML = typeof YAMLDummy !== 'undefined' && YAMLDummy.safeLoad ? YAMLDummy : typeof global !== 'undefined' ? global.jsyaml : typeof window !== 'undefined' ? window.jsyaml : undefined; | ||
var fs = fsMod ? fsMod["default"] || fsMod : undefined; // because of strange export | ||
@@ -30,0 +30,0 @@ |
@@ -7,3 +7,3 @@ import JSON5 from './formats/json5.js' | ||
const isDeno = typeof Deno !== 'undefined' | ||
const YAML = typeof global !== 'undefined' ? global.jsyaml : (typeof window !== 'undefined' ? window.jsyaml : undefined) | ||
const YAML = typeof YAMLDummy !== 'undefined' && YAMLDummy.safeLoad ? YAMLDummy : typeof global !== 'undefined' ? global.jsyaml : (typeof window !== 'undefined' ? window.jsyaml : undefined) | ||
const fs = fsMod ? (fsMod.default || fsMod) : undefined // because of strange export | ||
@@ -10,0 +10,0 @@ |
@@ -7,3 +7,3 @@ import JSON5 from './formats/json5.js' | ||
const isDeno = typeof Deno !== 'undefined' | ||
const YAML = typeof global !== 'undefined' ? global.jsyaml : (typeof window !== 'undefined' ? window.jsyaml : undefined) | ||
const YAML = typeof YAMLDummy !== 'undefined' && YAMLDummy.safeLoad ? YAMLDummy : typeof global !== 'undefined' ? global.jsyaml : (typeof window !== 'undefined' ? window.jsyaml : undefined) | ||
const fs = fsMod ? (fsMod.default || fsMod) : undefined // because of strange export | ||
@@ -10,0 +10,0 @@ |
{ | ||
"name": "i18next-fs-backend", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
239551