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

@jupyterlab/translation

Package Overview
Dependencies
Maintainers
28
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/translation - npm Package Compare versions

Comparing version 3.1.6 to 3.1.7

38

lib/tokens.d.ts

@@ -20,6 +20,44 @@ import { DataConnector, IDataConnector } from '@jupyterlab/statedb';

}
/**
* Bundle of gettext-based translation functions.
*
* The calls to the functions in this bundle will be automatically
* extracted by `jupyterlab-translate` package to generate translation
* template files if the bundle is assigned to:
* - variable named `trans`,
* - public attribute named `trans` (`this.trans`),
* - private attribute named `trans` (`this._trans`),
* - `trans` attribute `props` variable (`props.trans`),
* - `trans` attribute `props` attribute (`this.props.trans`)
*/
export declare type TranslationBundle = {
/**
* Alias for `gettext` (translate strings without number inflection)
* @param msgid message (text to translate)
* @param args
*/
__(msgid: string, ...args: any[]): string;
/**
* Alias for `ngettext` (translate accounting for plural forms)
* @param msgid message for singular
* @param msgid_plural message for plural
* @param n determines which plural form to use
* @param args
*/
_n(msgid: string, msgid_plural: string, n: number, ...args: any[]): string;
/**
* Alias for `pgettext` (translate in given context)
* @param msgctxt context
* @param msgid message (text to translate)
* @param args
*/
_p(msgctxt: string, msgid: string, ...args: any[]): string;
/**
* Alias for `npgettext` (translate accounting for plural forms in given context)
* @param msgctxt context
* @param msgid message for singular
* @param msgid_plural message for plural
* @param n number used to determine which plural form to use
* @param args
*/
_np(msgctxt: string, msgid: string, msgid_plural: string, n: number, ...args: any[]): string;

@@ -26,0 +64,0 @@ gettext(msgid: string, ...args: any[]): string;

13

package.json
{
"name": "@jupyterlab/translation",
"version": "3.1.6",
"version": "3.1.7",
"description": "JupyterLab - Translation services",

@@ -35,3 +35,2 @@ "keywords": [

"eslint:check": "eslint . --ext .ts,.tsx",
"prepublishOnly": "npm run build",
"test": "jest",

@@ -44,9 +43,9 @@ "test:cov": "jest --collect-coverage",

"dependencies": {
"@jupyterlab/coreutils": "^5.1.6",
"@jupyterlab/services": "^6.1.6",
"@jupyterlab/statedb": "^3.1.6",
"@jupyterlab/coreutils": "^5.1.7",
"@jupyterlab/services": "^6.1.7",
"@jupyterlab/statedb": "^3.1.7",
"@lumino/coreutils": "^1.5.3"
},
"devDependencies": {
"@jupyterlab/testutils": "^3.1.6",
"@jupyterlab/testutils": "^3.1.7",
"@types/jest": "^26.0.10",

@@ -60,3 +59,3 @@ "jest": "^26.4.2",

},
"gitHead": "b095caf52936d631e254f1a6a7f031e8c140c9f7"
"gitHead": "6a080862fa1c166826bee641f3b0eacaa4b1b551"
}

Sorry, the diff of this file is not supported yet

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