New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-accelerometer

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-accelerometer - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

11

index.ios.js
Object.defineProperty(exports, "__esModule", { value: true });
var accManager;
var isListening = false;
var main_queue = dispatch_get_current_queue();
function getNativeDelay(options) {

@@ -31,6 +32,8 @@ if (!options || !options.sensorDelay) {

accManager.startAccelerometerUpdatesToQueueWithHandler(queue, function (data, error) {
wrappedCallback({
x: data.acceleration.x,
y: data.acceleration.y,
z: data.acceleration.z
dispatch_async(main_queue, function () {
wrappedCallback({
x: data.acceleration.x,
y: data.acceleration.y,
z: data.acceleration.z
});
});

@@ -37,0 +40,0 @@ });

{
"name": "nativescript-accelerometer",
"version": "2.0.0",
"version": "2.0.1",
"description": "NativeScript accelerometer plugin.",

@@ -5,0 +5,0 @@ "main": "index.js",

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