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

@jupyterlab/translation

Package Overview
Dependencies
Maintainers
10
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 4.2.0-beta.1 to 4.2.0-beta.2

3

lib/base.d.ts

@@ -6,3 +6,3 @@ import { ITranslator, TranslationBundle } from './tokens';

*/
declare class NullTranslator implements ITranslator {
export declare class NullTranslator implements ITranslator {
constructor(bundle: TranslationBundle);

@@ -18,2 +18,1 @@ readonly languageCode: string;

export declare const nullTranslator: NullTranslator;
export {};

@@ -8,3 +8,3 @@ // Copyright (c) Jupyter Development Team.

*/
class NullTranslator {
export class NullTranslator {
constructor(bundle) {

@@ -11,0 +11,0 @@ this.languageCode = 'en';

/**
* A plural form function.
*/
type PluralForm = (n: number) => number;
export type PluralForm = (n: number) => number;
/**
* Metadata for a language pack.
*/
interface IJsonDataHeader {
export interface IJsonDataHeader {
/**

@@ -30,3 +30,3 @@ * Language locale. Example: es_CO, es-CO.

*/
interface IJsonDataMessages {
export interface IJsonDataMessages {
/**

@@ -40,3 +40,3 @@ * Translation strings for a given msg_id.

*/
interface IJsonData extends IJsonDataMessages {
export interface IJsonData extends IJsonDataMessages {
/**

@@ -50,3 +50,3 @@ * Metadata of the language bundle.

*/
interface IOptions {
export interface IOptions {
/**

@@ -53,0 +53,0 @@ * Language locale. Example: es_CO, es-CO.

{
"name": "@jupyterlab/translation",
"version": "4.2.0-beta.1",
"version": "4.2.0-beta.2",
"description": "JupyterLab - Translation services",

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

"clean": "rimraf lib tsconfig.tsbuildinfo",
"docs": "typedoc src",
"test": "jest",

@@ -42,10 +41,10 @@ "test:cov": "jest --collect-coverage",

"dependencies": {
"@jupyterlab/coreutils": "^6.2.0-beta.1",
"@jupyterlab/rendermime-interfaces": "^3.10.0-beta.1",
"@jupyterlab/services": "^7.2.0-beta.1",
"@jupyterlab/statedb": "^4.2.0-beta.1",
"@jupyterlab/coreutils": "^6.2.0-beta.2",
"@jupyterlab/rendermime-interfaces": "^3.10.0-beta.2",
"@jupyterlab/services": "^7.2.0-beta.2",
"@jupyterlab/statedb": "^4.2.0-beta.2",
"@lumino/coreutils": "^2.1.2"
},
"devDependencies": {
"@jupyterlab/testing": "^4.2.0-beta.1",
"@jupyterlab/testing": "^4.2.0-beta.2",
"@types/jest": "^29.2.0",

@@ -52,0 +51,0 @@ "jest": "^29.2.0",

@@ -11,3 +11,3 @@ // Copyright (c) Jupyter Development Team.

*/
class NullTranslator implements ITranslator {
export class NullTranslator implements ITranslator {
constructor(bundle: TranslationBundle) {

@@ -14,0 +14,0 @@ this._languageBundle = bundle;

@@ -21,3 +21,3 @@ /* ----------------------------------------------------------------------------

*/
type PluralForm = (n: number) => number;
export type PluralForm = (n: number) => number;

@@ -27,3 +27,3 @@ /**

*/
interface IJsonDataHeader {
export interface IJsonDataHeader {
/**

@@ -53,3 +53,3 @@ * Language locale. Example: es_CO, es-CO.

*/
interface IJsonDataMessages {
export interface IJsonDataMessages {
/**

@@ -64,3 +64,3 @@ * Translation strings for a given msg_id.

*/
interface IJsonData extends IJsonDataMessages {
export interface IJsonData extends IJsonDataMessages {
/**

@@ -75,3 +75,3 @@ * Metadata of the language bundle.

*/
interface IOptions {
export interface IOptions {
/**

@@ -78,0 +78,0 @@ * Language locale. Example: es_CO, es-CO.

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