New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

onesky-utils

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onesky-utils - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

lib/globals.js
'strict mode';
'use strict';

@@ -4,0 +4,0 @@ var _globals = {

@@ -54,3 +54,4 @@

locale: options.language,
timestamp: options.hash.timestamp.toString()
timestamp: options.hash.timestamp.toString(),
is_allow_translation_same_as_original: (options.allowSameAsOriginal || false).toString()
}

@@ -57,0 +58,0 @@ };

{
"name": "onesky-utils",
"version": "1.0.0",
"version": "1.1.0",
"description": "Node.js utils for working with OneSky translation service.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -25,3 +25,3 @@ # nodejs-onesky-utils [![Build Status](https://travis-ci.org/brainly/nodejs-onesky-utils.svg?branch=master)](https://travis-ci.org/brainly/nodejs-onesky-utils) [![Code Climate](https://codeclimate.com/github/brainly/nodejs-onesky-utils/badges/gpa.svg)](https://codeclimate.com/github/brainly/nodejs-onesky-utils) [![npm version](https://badge.fury.io/js/onesky-utils.svg)](http://badge.fury.io/js/onesky-utils)

```
### getMultiLingualFile
### getMultilingualFile

@@ -40,3 +40,3 @@ ```js

onesky.getMultiLingualFile(options).then(function(content) {
onesky.getMultilingualFile(options).then(function(content) {
console.log(content);

@@ -93,3 +93,3 @@ }).catch(function(error) {

### getMultiLingualFile(options)
### getMultilingualFile(options)
Downloads multi-language translations from OneSky.

@@ -119,2 +119,3 @@

- **options.keepStrings** Boolean saying if already uploaded strings not present on this file should be deprecated or keept
- **options.allowSameAsOriginal** Keep the translations that are the same as source text (Optional. Defaults to `false`)
- **options.secret** - `secret` and `apiKey` are used for authentication

@@ -121,0 +122,0 @@ - **options.apiKey**

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