Socket
Socket
Sign inDemoInstall

nativescript-vibrate

Package Overview
Dependencies
10
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

package-lock.json

2

package.json
{
"name": "nativescript-vibrate",
"version": "2.0.0",
"version": "2.0.1",
"description": "A vibrate NativeScript plugin for Android and iOS",

@@ -5,0 +5,0 @@ "main": "vibrate",

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var vibrate_common_1 = require("./vibrate.common");
var app = require("tns-core-modules/application");
var Vibrate = (function (_super) {

@@ -22,4 +23,5 @@ __extends(Vibrate, _super);

else {
var pattern_1 = Array.create('long', param.length);
pattern_1.forEach(function (element, index) { pattern_1[index] = element; });
var patternLength = param.length;
var pattern_1 = Array.create('long', patternLength);
param.forEach(function (value, index) { pattern_1[index] = value; });
this.service.vibrate(pattern_1, repeat);

@@ -26,0 +28,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc