
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
ovh-angular-mondial-relay
Advanced tools

<mondial-relay data-ng-model="myRelay"></mondial-relay>
bower install ovh-angular-mondial-relay --save
npm install ovh-angular-mondial-relay --save
In your app.js, inject the module
angular.module("myModule", ["ovh-angular-mondial-relay"]);
In your index.html, inject scripts and styles
<script src="bower_components/mondial-relay/dist/mondial-relay.min.js"></script>
<link rel="stylesheet" href="bower_components/mondial-relay/dist/mondial-relay.min.css" />
Translations are available in xml files in folder https://github.com/ovh-ux/ovh-angular-mondial-relay/blob/master/src/mondial-relay/translations
The more convinent is to convert these files in json and provide partial translation files via mondialRelayProvider
You need 2 services to request API:
SupplyMondialRelay (https://api.ovh.com/1.0/supply/mondialRelay)User (https://api.ovh.com/1.0/me)
If not provided, these 2 services will be injected from OvhApiServices so be sure to either provide the services or include OvhApiServices
as a dependency of your project (see: https://github.com/ovh-ux/ovh-api-services).angular.module("myApp").service("SupplyMondialRelay", function ($q) {
return {
Lexi: function () {
return {
search: function (filter) {
// perform the request here
return $q.when(response);
}
}
}
}
});
where filter is a json object containing:
where response is a json like:
{
"status": "ok",
"error": null,
"result": {
"referenceAddress": "Route de Gorrekear, 29260 Le Folgoët, France",
"relayPoints": [
{
"country": "fr",
"distance": 1477,
"lat": 48.5720143,
"lng": -4.3266499,
"name": "VERT ANIS",
"opening": {
"sunday": null,
"wednesday": [
{
"start": "0900",
"end": "1200"
},
{
"start": "1400",
"end": "1900"
}
]
},
"zipcode": "29260",
"mapUrl": "https://ww2.mondialrelay.com/public/permanent/plan_relais.aspx?ens=BDOVHSAS11&num=043966&pays=FR&crc=79C55FC21A44C73C1D90749C2B510F34",
"city": "LESNEVEN",
"pictureUrl": "https://www.mondialrelay.fr/media/51887/encart-suivi-de-colis_899x160.jpg",
"id": "043966",
"address": "PLACE DE L EUROPE",
"closing": null
},
]
}
}
angular.module("myApp").service("User", function ($q) {
return {
Lexi: function () {
return {
get: function (filter) {
// perform the request here
return $q.when({
country: "fr", // country is mendatory
zip: "29260", // zip or city can be provided
city: "Le Folgoët"
});
}
}
}
}
});
git clone https://github.com/ovh-ux/ovh-angular-mondial-relay.git
cd ovh-angular-mondial-relay
npm install
bower install
You've developed a new cool feature ? Fixed an annoying bug ? We'd be happy to hear from you !
Have a look in CONTRIBUTING.md
If you use literal text, you must declare it as a translation, only in the french translation file https://github.com/ovh-ux/ovh-angular-mondial-relay/blob/master/src/mondial-relay/translations/Messages_fr_FR.xml
npm test
grunt ngdocs
See https://github.com/ovh/ovh-angular-mondial-relay/blob/master/LICENSE
FAQs
Display a map to select mondial relay
The npm package ovh-angular-mondial-relay receives a total of 2 weekly downloads. As such, ovh-angular-mondial-relay popularity was classified as not popular.
We found that ovh-angular-mondial-relay demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.