Skip to content

Commit

Permalink
without knowing the exact root couse this change should fix #49
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Jul 30, 2024
1 parent d7dc352 commit e00693d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion lib/fs.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if (typeof require !== 'undefined') {
var f = require('fs')
if (f.default) f = f.default
if (f && f.default) f = f.default
exports.default = f
module.exports = exports.default
}
2 changes: 1 addition & 1 deletion lib/path.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if (typeof require !== 'undefined') {
var path = require('path')
if (path.default) path = path.default
if (path && path.default) path = path.default
exports.default = path
module.exports = exports.default
}
2 changes: 1 addition & 1 deletion licence
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2023 i18next
Copyright (c) 2024 i18next

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,27 @@
"module": "./esm/index.js",
"types": "./index.d.mts",
"devDependencies": {
"@babel/cli": "7.23.4",
"@babel/core": "7.23.5",
"@babel/preset-env": "7.23.5",
"@babel/cli": "7.24.8",
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.2",
"babel-plugin-add-module-exports": "1.0.4",
"dtslint": "4.2.1",
"eslint": "8.55.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.3.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-require-path-exists": "1.1.9",
"eslint-plugin-standard": "5.0.0",
"expect.js": "0.3.1",
"i18next": "23.7.8",
"i18next": "23.12.2",
"js-yaml": "4.1.0",
"json5": "2.2.3",
"mocha": "10.2.0",
"mocha": "10.7.0",
"tslint": "5.20.1",
"tsd": "0.29.0",
"typescript": "5.3.3",
"uglify-js": "3.17.4"
"tsd": "0.31.1",
"typescript": "5.5.4",
"uglify-js": "3.19.1"
},
"description": "i18next-fs-backend is a backend layer for i18next using in Node.js and for Deno to load translations from the filesystem.",
"keywords": [
Expand Down

0 comments on commit e00693d

Please sign in to comment.