angular-translate-loader-url
Advanced tools
Comparing version 2.19.0 to 2.19.1
/*! | ||
* angular-translate - v2.19.0 - 2021-09-02 | ||
* angular-translate - v2.19.1 - 2024-01-21 | ||
* | ||
* Copyright (c) 2021 The angular-translate team, Pascal Precht; Licensed MIT | ||
* Copyright (c) 2024 The angular-translate team, Pascal Precht; Licensed MIT | ||
*/ | ||
@@ -6,0 +6,0 @@ (function (root, factory) { |
/*! | ||
* angular-translate - v2.19.0 - 2021-09-02 | ||
* angular-translate - v2.19.1 - 2024-01-21 | ||
* | ||
* Copyright (c) 2021 The angular-translate team, Pascal Precht; Licensed MIT | ||
* Copyright (c) 2024 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(r,n){"use strict";return function(e){if(!e||!e.url)throw new Error("Couldn't use urlLoader since no url is given!");var t={};return t[e.queryParameter||"lang"]=e.key,n(angular.extend({url:e.url,params:t,method:"GET"},e.$http)).then(function(e){return e.data},function(){return r.reject(e.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.19.0", | ||
"version": "2.19.1", | ||
"main": "./angular-translate-loader-url.js", | ||
@@ -10,4 +10,4 @@ "ignore": [], | ||
"dependencies": { | ||
"angular-translate": "~2.19.0" | ||
"angular-translate": "~2.19.1" | ||
} | ||
} |
{ | ||
"name": "angular-translate-loader-url", | ||
"version": "2.19.0", | ||
"version": "2.19.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.19.0" | ||
"angular-translate": "~2.19.1" | ||
} | ||
} |
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
Updatedangular-translate@~2.19.1