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

angular-translate-loader-url

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-translate-loader-url - npm Package Compare versions

Comparing version 2.17.0 to 2.17.1

4

angular-translate-loader-url.js
/*!
* angular-translate - v2.17.0 - 2017-12-21
* angular-translate - v2.17.1 - 2018-04-16
*
* Copyright (c) 2017 The angular-translate team, Pascal Precht; Licensed MIT
* Copyright (c) 2018 The angular-translate team, Pascal Precht; Licensed MIT
*/

@@ -6,0 +6,0 @@ (function (root, factory) {

/*!
* angular-translate - v2.17.0 - 2017-12-21
* angular-translate - v2.17.1 - 2018-04-16
*
* Copyright (c) 2017 The angular-translate team, Pascal Precht; Licensed MIT
* Copyright (c) 2018 The angular-translate team, Pascal Precht; Licensed MIT
*/
!function(e,t){"function"==typeof define&&define.amd?define([],function(){return t()}):"object"==typeof module&&module.exports?module.exports=t():t()}(0,function(){function e(e,t){"use strict";return function(r){if(!r||!r.url)throw new Error("Couldn't use urlLoader since no url is given!");var n={};return n[r.queryParameter||"lang"]=r.key,t(angular.extend({url:r.url,params:n,method:"GET"},r.$http)).then(function(e){return e.data},function(){return e.reject(r.key)})}}return e.$inject=["$q","$http"],angular.module("pascalprecht.translate").factory("$translateUrlLoader",e),e.displayName="$translateUrlLoader","pascalprecht.translate"});
{
"name": "angular-translate-loader-url",
"description": "A plugin for Angular Translate",
"version": "2.17.0",
"version": "2.17.1",
"main": "./angular-translate-loader-url.js",

@@ -10,4 +10,4 @@ "ignore": [],

"dependencies": {
"angular-translate": "~2.17.0"
"angular-translate": "~2.17.1"
}
}
{
"name": "angular-translate-loader-url",
"version": "2.17.0",
"version": "2.17.1",
"description": "Creates a loading function for a typical dynamic url pattern: \"locale.php?lang=en_US\", \"locale.php?lang=de_DE\", \"locale.php?language=nl_NL\" etc. Prefixing the specified url, the current requested, language id will be applied with \"?{queryParameter}={key}\". Using this service, the response of these urls must be an object of key-value pairs.",

@@ -22,4 +22,4 @@ "main": "angular-translate-loader-url.js",

"dependencies": {
"angular-translate": "~2.17.0"
"angular-translate": "~2.17.1"
}
}
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