Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ionic-native/geolocation

Package Overview
Dependencies
Maintainers
3
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/geolocation - npm Package Compare versions

Comparing version 3.6.1 to 3.7.0

65

index.js

@@ -1,6 +0,11 @@

var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -56,6 +61,6 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

*/
export var Geolocation = (function (_super) {
var Geolocation = (function (_super) {
__extends(Geolocation, _super);
function Geolocation() {
_super.apply(this, arguments);
return _super !== null && _super.apply(this, arguments) || this;
}

@@ -93,27 +98,27 @@ /**

};
Geolocation.decorators = [
{ type: Injectable },
];
/** @nocollapse */
Geolocation.ctorParameters = function () { return []; };
__decorate([
Cordova({
callbackOrder: 'reverse'
}),
__metadata('design:type', Function),
__metadata('design:paramtypes', [Object]),
__metadata('design:returntype', Promise)
], Geolocation.prototype, "getCurrentPosition", null);
Geolocation = __decorate([
Plugin({
pluginName: 'Geolocation',
plugin: 'cordova-plugin-geolocation',
pluginRef: 'navigator.geolocation',
repo: 'https://github.com/apache/cordova-plugin-geolocation',
platforms: ['Android', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone']
}),
__metadata('design:paramtypes', [])
], Geolocation);
return Geolocation;
}(IonicNativePlugin));
Geolocation.decorators = [
{ type: Injectable },
];
/** @nocollapse */
Geolocation.ctorParameters = function () { return []; };
__decorate([
Cordova({
callbackOrder: 'reverse'
}),
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object]),
__metadata("design:returntype", Promise)
], Geolocation.prototype, "getCurrentPosition", null);
Geolocation = __decorate([
Plugin({
pluginName: 'Geolocation',
plugin: 'cordova-plugin-geolocation',
pluginRef: 'navigator.geolocation',
repo: 'https://github.com/apache/cordova-plugin-geolocation',
platforms: ['Android', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone']
})
], Geolocation);
export { Geolocation };
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"Geolocation":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"Geolocation","plugin":"cordova-plugin-geolocation","pluginRef":"navigator.geolocation","repo":"https://github.com/apache/cordova-plugin-geolocation","platforms":["Android","Firefox OS","iOS","Ubuntu","Windows","Windows Phone"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"getCurrentPosition":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}],"watchPosition":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"Geolocation":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"Geolocation","plugin":"cordova-plugin-geolocation","pluginRef":"navigator.geolocation","repo":"https://github.com/apache/cordova-plugin-geolocation","platforms":["Android","Firefox OS","iOS","Ubuntu","Windows","Windows Phone"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"getCurrentPosition":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}],"watchPosition":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"Coordinates":{"__symbolic":"interface"},"Geoposition":{"__symbolic":"interface"},"PositionError":{"__symbolic":"interface"},"GeolocationOptions":{"__symbolic":"interface"},"Geolocation":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"Geolocation","plugin":"cordova-plugin-geolocation","pluginRef":"navigator.geolocation","repo":"https://github.com/apache/cordova-plugin-geolocation","platforms":["Android","Firefox OS","iOS","Ubuntu","Windows","Windows Phone"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"getCurrentPosition":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}],"watchPosition":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"Coordinates":{"__symbolic":"interface"},"Geoposition":{"__symbolic":"interface"},"PositionError":{"__symbolic":"interface"},"GeolocationOptions":{"__symbolic":"interface"},"Geolocation":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"Geolocation","plugin":"cordova-plugin-geolocation","pluginRef":"navigator.geolocation","repo":"https://github.com/apache/cordova-plugin-geolocation","platforms":["Android","Firefox OS","iOS","Ubuntu","Windows","Windows Phone"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"getCurrentPosition":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}],"watchPosition":[{"__symbolic":"method"}]}}}}]
{
"name": "@ionic-native/geolocation",
"version": "3.6.1",
"version": "3.7.0",
"description": "Ionic Native - Native plugins for ionic apps",

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

Sorry, the diff of this file is not supported yet

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