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

nativescript-ssi-i18n

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-ssi-i18n - npm Package Compare versions

Comparing version

to
1.0.1

2

i18n.android.js

@@ -25,2 +25,2 @@ require('globals');

application.setResources(applicationResources);
global.L = L;
global.L = L;

@@ -0,14 +1,11 @@

/// <reference path="./node_modules/tns-platform-declarations/ios.d.ts" />
require('globals');
const application = require("tns-core-modules/application");
const utils = require("tns-core-modules/utils/utils");
const format = require('format');
const bundle = utils.ios.getter(NSBundle, NSBundle.mainBundle);
const bundle = NSBundle.mainBundle;
const L = function () {
if (arguments.length == 1) {
arguments[0] = bundle.localizedStringForKeyValueTable(arguments[0], '', null);
} else if (arguments.length == 2) {
arguments[0] = bundle.localizedStringForKeyValueTable(arguments[0], '', arguments[1]);
}
arguments[0] = bundle.localizedStringForKeyValueTable(arguments[0], '', null);
return format.apply(this, arguments);

@@ -15,0 +12,0 @@ };

{
"name": "nativescript-ssi-i18n",
"version": "1.0.0",
"version": "1.0.1",
"description": "An i18n nativescript plugin using native standards",
"main": "i18n",
"nativescript": {
"platforms": {
"android": "3.1.1",
"ios": "3.1.0"
},
"hooks": [
{
"type": "before-prepare",
"script": "lib/before-prepare.js",
"inject": true
}
],
"tns-ios": {
"version": "3.1.0"
},
"tns-android": {
"version": "3.1.1"
"platforms": {
"android": "3.1.1",
"ios": "3.1.0"
},
"hooks": [
{
"type": "before-prepare",
"script": "lib/before-prepare.js",
"inject": true
}
]
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "node postinstall.js",
"preuninstall": "node preuninstall.js"
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "node postinstall.js",
"preuninstall": "node preuninstall.js"
},
"keywords": [
"nativescript",
"i18n"
"nativescript",
"i18n"
],
"author": "Dan Tamas",
"author": "SimpleC, LLC",
"license": "MIT",
"repository": "EddyVerbruggen/nativescript-i18n",
"repository": "simplec-dev/nativescript-i18n",
"dependencies": {
"format": "^0.2.2",
"globals": "^9.17.0",
"nativescript-hook": "^0.2.1",
"plist": "^2.1.0",
"xmldom": "^0.1.27"
"format": "^0.2.2",
"globals": "^9.17.0",
"nativescript-hook": "~0.2.5",
"plist": "^2.1.0",
"xmldom": "^0.1.27"
},
"devDependencies": {
"tns-core-modules": "^3.1.1"
"tns-core-modules": "~6.0.0",
"tns-platform-declarations": "~6.0.0"
}
}
}