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.19.0 to 2.19.1

4

angular-translate-loader-url.js
/*!
* 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"
}
}
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