
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
nativescript-material-datetimepicker
Advanced tools
NativeScript Plugin to use Material Design Date and Time Picker
This plugin is a wrapper around android.app.DatePickerDialog for Android.
It is not compatible with iOS yet.

tns plugin add nativescript-material-datetimepicker
NativeScript Core
const MDTPicker = require("nativescript-material-datetimepicker").MaterialDatetimepicker();
const mDtpicker = new MDTPicker();
// Pick Date
exports.selectDate = function() {
mDtpicker.pickDate()
.then((result) => {
console.log("Date is: " + result.day + "-" + result.month + "-" + result.year);
})
.catch((error) => {
console.log("Error: " + error);
});
};
// Pick Time
exports.selectTime = function() {
mDtpicker.pickTime()
.then((result) => {
console.log("time", "Time is: " + result.hour + ":" + result.minute);
})
.catch((error) => {
console.log("Error: " + error);
});
};
pickDate(): Promise<{}>;
Returns a promise that resolves to date object date: { day: number, month: number, year: number }
pickTime(is24HourView?): Promise<{}>;
Returns a promise that resolves to time object time: { hour: number, minute: number }
Passing true to this API, shows a 24hr View timepicker.
Apache License Version 2.0, January 2004
FAQs
NativeScript Plugin to use Material Design Date and Time Picker
We found that nativescript-material-datetimepicker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.