@types/i18next-node-fs-backend
Advanced tools
Comparing version 0.0.30 to 2.1.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for i18next-node-fs-backend | ||
// Type definitions for i18next-node-fs-backend 2.1 | ||
// Project: https://github.com/i18next/i18next-node-fs-backend | ||
@@ -55,9 +55,12 @@ // Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher> | ||
class BackEnd { | ||
class Backend implements i18next.BackendModule<i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions> { | ||
type: "backend"; | ||
constructor(services?: any, options?: i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions); | ||
init(options?: i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions): void; | ||
init(services: i18next.Services, backendOptions?: i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions, i18nextOptions?: i18next.InitOptions): void; | ||
read(language: string, namespace: string, callback: i18next.ReadCallback): void; | ||
create(languages: string[], namespace: string, key: string, fallbackValue: string): void; | ||
} | ||
const module: typeof BackEnd; | ||
const module: typeof Backend; | ||
export = module; | ||
} |
{ | ||
"name": "@types/i18next-node-fs-backend", | ||
"version": "0.0.30", | ||
"version": "2.1.0", | ||
"description": "TypeScript definitions for i18next-node-fs-backend", | ||
@@ -19,12 +19,14 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/i18next-node-fs-backend" | ||
}, | ||
"scripts": {}, | ||
"dependencies": { | ||
"@types/i18next": "^2" | ||
"i18next": ">=17.0.11" | ||
}, | ||
"typesPublisherContentHash": "725cd3a4ba8536b019c14bfac7a8f2ac5d1989b899cd9725f204166c69de58c1", | ||
"typesPublisherContentHash": "18ddea6152ea511cfc8053a54573f4eb9a9811bb5933e49ede9bd122bd44ccef", | ||
"typeScriptVersion": "2.4" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 08 Sep 2018 01:20:16 GMT | ||
* Dependencies: i18next | ||
* Last updated: Mon, 19 Aug 2019 17:51:13 GMT | ||
* Dependencies: @types/i18next | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Cyril Schumacher <https://github.com/cyrilschumacher>, Silas Rech <https://github.com/lenovouser>. | ||
These definitions were written by Cyril Schumacher <https://github.com/cyrilschumacher>, and Silas Rech <https://github.com/lenovouser>. |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4768
56
1
+ Addedi18next@>=17.0.11
+ Added@babel/runtime@7.26.0(transitive)
+ Addedi18next@24.2.0(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
- Removed@types/i18next@^2
- Removed@types/i18next@2.3.41(transitive)