Socket
Socket
Sign inDemoInstall

nativescript-vibrate

Package Overview
Dependencies
0
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.1 to 2.1.2

5

CHANGELOG.md
# Change Log
## [v2.1.2](https://github.com/bazzite/nativescript-vibrate/tree/v2.1.2) (2018-10-15)
- Update some dependencies
- Fix vibration on iOS ([#19](https://github.com/bazzite/nativescript-vibrate/pull/19)), (thanks to [EddyVerbruggen](https://github.com/EddyVerbruggen))
## [v2.1.1](https://github.com/bazzite/nativescript-vibrate/tree/v2.1.1) (2018-07-13)

@@ -4,0 +9,0 @@

31

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

@@ -14,16 +14,15 @@ "main": "vibrate",

"scripts": {
"tsc": "tsc -skipLibCheck",
"build": "npm i && tsc && npm run build.native",
"tsc": "tsc",
"build": "npm run tsc && npm run build.native",
"build.native": "node scripts/build-native.js",
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link",
"test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch",
"test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch",
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && npx rimraf -- package-lock.json && cd ../src",
"test.android": "npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch",
"test.ios": "npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch",
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"",
"plugin.link": "npm link && cd ../demo && npm link nativescript-vibrate && cd ../src",
"plugin.tscwatch": "npm run tsc -- -w",
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles",
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles",
"demo.reset": "cd ../demo && rimraf platforms",
"demo.ios": "npm run tsc && cd ../demo && tns run ios --syncAllFiles --emulator",
"demo.android": "npm run tsc && cd ../demo && tns run android --syncAllFiles --emulator",
"demo.reset": "cd ../demo && npx rimraf -- hooks node_modules platforms package-lock.json",
"plugin.prepare": "npm run build && cd ../demo && tns plugin remove nativescript-vibrate && tns plugin add ../src",
"clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link",
"clean": "npm run demo.reset && npx rimraf -- node_modules package-lock.json && npm i",
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'",

@@ -54,8 +53,8 @@ "prepack": "npm run build.native"

"prompt": "^1.0.0",
"rimraf": "^2.5.0",
"rimraf": "^2.6.2",
"semver": "^5.5.0",
"tns-core-modules": "^4.0.0",
"tns-platform-declarations": "^4.0.0",
"tslint": "^5.0.0",
"typescript": "~2.7.2"
"tns-core-modules": "^4.2.0",
"tns-platform-declarations": "^4.2.0",
"tslint": "^5.11.0",
"typescript": "~2.8.2"
},

@@ -62,0 +61,0 @@ "dependencies": {},

@@ -12,3 +12,3 @@ [![Bazzite Project](https://img.shields.io/badge/Bazzite-project-blue.svg)](https://www.bazzite.com/docs/nativescript-vibrate?utm_source=github&utm_medium=readme&utm_campaign=nativescript-vibrate)

*Read this in other languages: [English](README.md), [Español](README.es.md)*
*Read this in other languages: [English](README.md), [Español][documentation-es]*

@@ -106,2 +106,3 @@ ## Installation

[documentation]: https://www.bazzite.com/docs/nativescript-vibrate?utm_source=github&utm_medium=readme&utm_campaign=nativescript-vibrate
[documentation-es]: https://www.bazzite.com/es/docs/nativescript-vibrate?utm_source=github&utm_medium=readme&utm_campaign=nativescript-vibrate
[contributing]: https://www.bazzite.com/docs/nativescript-vibrate/contributing?utm_source=github&utm_medium=readme&utm_campaign=nativescript-vibrate

@@ -108,0 +109,0 @@ [code-of-conduct]: https://www.bazzite.com/open-source/code-of-conduct?utm_source=github&utm_medium=readme&utm_campaign=nativescript-vibrate

@@ -13,3 +13,3 @@ "use strict";

Vibrate.prototype.vibrate = function (time, repeat) {
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
AudioServicesPlaySystemSoundWithCompletion(1352, null);
};

@@ -16,0 +16,0 @@ Vibrate.prototype.cancel = function () {

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