Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@nativescript/appversion
Advanced tools
Read the current Package ID and Version (name and code) of your NativeScript app.
Run the following command from the root of your project:
tns plugin add @nativescript/appversion
To use this plugin you must first require / import it:
var appversion = require("@nativescript/appversion");
import * as appversion from "@nativescript/appversion";
getVersionNameSync
is the same as getVersionName
, except it doesn't return a Promise.
appversion.getVersionName().then(function(v) {
console.log("Your app's version is: " + v);
});
appversion.getVersionName().then((v: string) => {
console.log("Your app's version is: " + v);
});
appversion.getVersionCode().then(function(v) {
console.log("Your app's version code is: " + v);
});
appversion.getVersionCode().then((v: string) => {
console.log("Your app's version code is: " + v);
});
appversion.getAppId().then(function(id) {
console.log("Your app's id is: " + id);
});
appversion.getAppId().then((id: string) => {
console.log("Your app's id is: " + id);
});
FAQs
Read the version of your NativeScript app
The npm package @nativescript/appversion receives a total of 267 weekly downloads. As such, @nativescript/appversion popularity was classified as not popular.
We found that @nativescript/appversion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.