@skyra/i18next-backend
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,11 @@ # Changelog | ||
# [@skyra/i18next-backend@1.0.2](https://github.com/skyra-project/archid-components/compare/@skyra/i18next-backend@1.0.1...@skyra/i18next-backend@1.0.2) - (2022-07-17) | ||
## 🐛 Bug Fixes | ||
- Bump deps and use tsup dts ([7c1cb5d](https://github.com/skyra-project/archid-components/commit/7c1cb5d2baa1b9b92665f9b44e355cb0e318b687)) | ||
- **deps:** Update all non-major dependencies (#123) ([906d844](https://github.com/skyra-project/archid-components/commit/906d844797464bb14a3b5e0ebe87efb7723d362a)) | ||
- **deps:** Update all non-major dependencies (#118) ([86d2f87](https://github.com/skyra-project/archid-components/commit/86d2f87b63d5b9b485387e7b48e2114581a6eafd)) | ||
- **deps:** Update all non-major dependencies (#116) ([67a5515](https://github.com/skyra-project/archid-components/commit/67a55152775b859f4c289e63d549f01901a5c1d0)) | ||
# [@skyra/i18next-backend@1.0.1](https://github.com/skyra-project/archid-components/compare/@skyra/i18next-backend@1.0.0...@skyra/i18next-backend@1.0.1) - (2022-06-19) | ||
@@ -7,0 +16,0 @@ |
@@ -1,6 +0,5 @@ | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import type { BackendModule, InitOptions, ReadCallback, Services } from 'i18next'; | ||
import { type PathLike } from 'node:fs'; | ||
export declare class Backend implements BackendModule<Backend.Options> { | ||
import { BackendModule, Services, InitOptions, ReadCallback } from 'i18next'; | ||
import { PathLike } from 'node:fs'; | ||
declare class Backend implements BackendModule<Backend.Options> { | ||
readonly type = "backend"; | ||
@@ -19,3 +18,3 @@ private paths; | ||
} | ||
export declare namespace Backend { | ||
declare namespace Backend { | ||
interface Options { | ||
@@ -25,3 +24,3 @@ paths: readonly PathResolvable[]; | ||
} | ||
export declare type PathResolvable = string | URL | ((language: string, namespace: string) => PathLike); | ||
declare type PathResolvable = string | URL | ((language: string, namespace: string) => PathLike); | ||
declare module 'i18next' { | ||
@@ -32,2 +31,3 @@ interface InitOptions { | ||
} | ||
//# sourceMappingURL=index.d.ts.map | ||
export { Backend, PathResolvable }; |
{ | ||
"name": "@skyra/i18next-backend", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A filesystem-based backend for i18next", | ||
@@ -17,5 +17,4 @@ "author": "@skyra", | ||
"scripts": { | ||
"build": "tsup && tsc -b src", | ||
"watch": "tsup --watch --onSuccess \"tsc -b src\"", | ||
"watch:types": "tsc -b src -w", | ||
"build": "tsup", | ||
"watch": "tsup --watch", | ||
"lint": "eslint src --ext ts --fix -c ../../package.json", | ||
@@ -30,6 +29,6 @@ "prepack": "yarn build", | ||
"devDependencies": { | ||
"@favware/cliff-jumper": "^1.8.3", | ||
"@types/node": "^18.0.0", | ||
"i18next": "^21.8.10", | ||
"tsup": "^6.1.2", | ||
"@favware/cliff-jumper": "^1.8.5", | ||
"@types/node": "^18.0.5", | ||
"i18next": "^21.8.14", | ||
"tsup": "^6.1.3", | ||
"typescript": "^4.7.4" | ||
@@ -36,0 +35,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
20569
216