Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/node-gettext

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/node-gettext - npm Package Compare versions

Comparing version 2.0.1 to 3.0.0

8

node-gettext/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for node-gettext 2.0
// Type definitions for node-gettext 3.0
// Project: http://github.com/alexanderwallin/node-gettext

@@ -8,3 +8,3 @@ // Definitions by: Sameer K.C. <https://github.com/sameercaresu>

declare class GetText {
constructor(options?: { debug: boolean; });
constructor(options?: { debug?: boolean; sourceLocale?: string });
addTranslations(locale: string, domain: string, translations: object): void;

@@ -20,4 +20,4 @@ dgettext(domain: string, msgid: string): string;

npgettext(msgctxt: string, msgid: string, msgidPlural: string, count: number): string;
off(eventName: 'error', callback: (error: string) => void): void;
on(eventName: 'error', callback: (error: string) => void): void;
off(eventName: 'error', callback: (error: any) => void): void;
on(eventName: 'error', callback: (error: any) => void): void;
pgettext(msgctxt: string, msgid: string): string;

@@ -24,0 +24,0 @@ setLocale(locale: string): void;

{
"name": "@types/node-gettext",
"version": "2.0.1",
"version": "3.0.0",
"description": "TypeScript definitions for node-gettext",

@@ -14,3 +14,3 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -23,4 +23,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "5ad6a88f66522a023682a3ef3636649d5e1cbd952469a738aa4e6b365f4f23d8",
"typeScriptVersion": "2.2"
"typesPublisherContentHash": "03922bba31b46404d326f7da2064a6eb6a239eab58ee1dad6a9f4107e2e39f53",
"typeScriptVersion": "2.8"
}

@@ -5,9 +5,9 @@ # Installation

# Summary
This package contains type definitions for node-gettext ( http://github.com/alexanderwallin/node-gettext ).
This package contains type definitions for node-gettext (http://github.com/alexanderwallin/node-gettext).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-gettext
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-gettext.
Additional Details
* Last updated: Wed, 27 Feb 2019 18:26:16 GMT
### Additional Details
* Last updated: Tue, 07 Apr 2020 16:03:21 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Sameer K.C. <https://github.com/sameercaresu>.
These definitions were written by [Sameer K.C.](https://github.com/sameercaresu).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc