Huge News!Announcing our $40M Series B led by Abstract Ventures.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 1.0.3 to 1.0.4

angular.d.ts

42

angular.js
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
var application = require("tns-core-modules/application");

@@ -13,11 +7,2 @@ require("./i18n");

var core_1 = require("@angular/core");
/**
* Translate in angular
* Usage:
* value | L:args
* Example:
* {{ 'My text' | L:10:20.356}}
* formats to: Mi text 10 and 20.356
* if 'My text' is defined as <string name="My text" formatted="false">Mi text %d and %f</string>
*/
var L = (function () {

@@ -31,12 +16,12 @@ function L() {

}
var _a;
return (_a = application.getResources()).L.apply(_a, [value].concat(more));
var _a;
};
L = __decorate([
core_1.Pipe({
name: 'L'
})
], L);
return L;
}());
L = __decorate([
core_1.Pipe({
name: 'L'
})
], L);
exports.L = L;

@@ -46,10 +31,11 @@ var NativeScriptI18nModule = (function () {

}
NativeScriptI18nModule = __decorate([
core_1.NgModule({
declarations: [L],
exports: [L]
})
], NativeScriptI18nModule);
return NativeScriptI18nModule;
}());
NativeScriptI18nModule = __decorate([
core_1.NgModule({
declarations: [L],
exports: [L]
})
], NativeScriptI18nModule);
exports.NativeScriptI18nModule = NativeScriptI18nModule;
//# sourceMappingURL=angular.js.map
{
"name": "nativescript-ssi-i18n",
"version": "1.0.3",
"version": "1.0.4",
"description": "An i18n nativescript plugin using native standards",

@@ -26,2 +26,4 @@ "main": "i18n",

"scripts": {
"tsc": "tsc -skipLibCheck",
"build": "npm i && ngc",
"test": "echo \"Error: no test specified\" && exit 1",

@@ -41,3 +43,3 @@ "postinstall": "node postinstall.js",

"globals": "^9.17.0",
"nativescript-hook": "^0.2.1",
"nativescript-hook": "~0.2.5",
"plist": "^2.1.0",

@@ -47,4 +49,12 @@ "xmldom": "^0.1.27"

"devDependencies": {
"tns-core-modules": "^3.1.1"
"nativescript-angular": "~7.2.3",
"@angular/core": "~7.2.0",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/compiler-cli": "~7.2.0",
"tns-core-modules": "^6.0.0",
"tns-platform-declarations": "^6.0.0",
"typescript": "~3.1.6",
"tslint": "~5.14.0"
}
}
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