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

@lokalise/node-api

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lokalise/node-api - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

dist/interfaces/language_mapping.d.ts

1

dist/http_client/base.js

@@ -27,2 +27,3 @@ "use strict";

if (!options["headers"]) {
/* istanbul ignore next */
options["headers"] = {};

@@ -29,0 +30,0 @@ }

3

dist/interfaces/download_file_params.d.ts

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

import { LanguageMapping } from "./language_mapping";
export interface DownloadFileParams {

@@ -26,3 +27,3 @@ format: string;

webhook_url?: string;
language_mapping?: object;
language_mapping?: LanguageMapping[];
icu_numeric?: boolean;

@@ -29,0 +30,0 @@ escape_percent?: boolean;

# Changelog
## 7.0.1 (10-Nov-2021)
* Fixed `language_mapping ` for `DownloadFileParams` (thanks, @dhensby)
* Test with Node 17; remove Node 11 from test matrix (EOL)
## 7.0.0 (25-Oct-2021)

@@ -4,0 +9,0 @@

@@ -36,2 +36,4 @@ ---

You can also check [this repo containing some usage examples](https://github.com/bodrovis-learning/Lokalise-APIv2-Samples).
## Usage

@@ -38,0 +40,0 @@

@@ -71,3 +71,3 @@ import { Options } from "got";

webhook_url?: string;
language_mapping?: object;
language_mapping?: LanguageMapping[];
icu_numeric?: boolean;

@@ -83,2 +83,7 @@ escape_percent?: boolean;

export interface LanguageMapping {
original_language_iso: string;
custom_language_iso: string;
}
export interface File {

@@ -85,0 +90,0 @@ filename: string;

{
"name": "@lokalise/node-api",
"version": "7.0.0",
"version": "7.0.1",
"description": "Official Lokalise API 2.0 Node.js client",

@@ -26,5 +26,5 @@ "license": "BSD-3-Clause",

"@types/mocha": "^9.0.0",
"@types/node": "^16.11.4",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"acorn": "^8.5.0",

@@ -34,3 +34,3 @@ "chai": "^4.2.0",

"dotenv": "^10.0.0",
"eslint": "^8.1.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.0.0",

@@ -37,0 +37,0 @@ "eslint-plugin-node": "^11.1.0",

@@ -44,2 +44,4 @@ # Lokalise API v2 official Node.js client

You can also check [this repo containing some usage examples](https://github.com/bodrovis-learning/Lokalise-APIv2-Samples).
## License

@@ -46,0 +48,0 @@

@@ -44,2 +44,3 @@ import { RequestError, Response, Options } from "got";

if (!options["headers"]) {
/* istanbul ignore next */
options["headers"] = {};

@@ -46,0 +47,0 @@ }

@@ -0,1 +1,3 @@

import { LanguageMapping } from "./language_mapping";
export interface DownloadFileParams {

@@ -26,3 +28,3 @@ format: string;

webhook_url?: string;
language_mapping?: object;
language_mapping?: LanguageMapping[];
icu_numeric?: boolean;

@@ -29,0 +31,0 @@ escape_percent?: boolean;

Sorry, the diff of this file is not supported yet

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