@ionic-native/geolocation
Advanced tools
Comparing version 3.1.0-alpha.1 to 3.1.0-alpha.2
13
index.js
@@ -7,2 +7,5 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
import { Injectable } from '@angular/core'; | ||
@@ -82,7 +85,10 @@ import { Cordova, Plugin } from '@ionic-native/core'; | ||
/** @nocollapse */ | ||
Geolocation.ctorParameters = function () { return []; }; | ||
Geolocation.ctorParameters = []; | ||
__decorate([ | ||
Cordova({ | ||
callbackOrder: 'reverse' | ||
}) | ||
}), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [Object]), | ||
__metadata('design:returntype', Promise) | ||
], Geolocation.prototype, "getCurrentPosition", null); | ||
@@ -95,5 +101,6 @@ Geolocation = __decorate([ | ||
repo: 'https://github.com/apache/cordova-plugin-geolocation' | ||
}) | ||
}), | ||
__metadata('design:paramtypes', []) | ||
], Geolocation); | ||
return Geolocation; | ||
}()); |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"Geolocation":{"__symbolic":"class","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"}]},{"__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","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"}]},{"__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","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"}]},{"__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.1.0-alpha.1", | ||
"version": "3.1.0-alpha.2", | ||
"description": "Ionic Native - Native plugins for ionic apps", | ||
@@ -11,4 +11,4 @@ "module": "index.js", | ||
"@angular/core": "2.2.1", | ||
"@ionic-native/core": "3.1.0-alpha.1", | ||
"@ionic-native/utils": "3.1.0-alpha.1", | ||
"@ionic-native/core": "3.1.0-alpha.2", | ||
"@ionic-native/utils": "3.1.0-alpha.2", | ||
"rxjs": "5.0.0-beta.12" | ||
@@ -15,0 +15,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
257
0
12041