New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

select2

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

select2 - npm Package Compare versions

Comparing version 3.5.1 to 3.5.2-browserify

CONTRIBUTING.md

2

bower.json
{
"name": "select2",
"version": "3.5.1",
"version": "3.5.2",
"main": ["select2.js", "select2.css", "select2.png", "select2x2.png", "select2-spinner.gif"],

@@ -5,0 +5,0 @@ "dependencies": {

@@ -5,3 +5,3 @@ {

"description": "Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.",
"version": "3.5.1",
"version": "3.5.2",
"demo": "http://ivaynberg.github.io/select2/",

@@ -8,0 +8,0 @@ "keywords": [

@@ -5,3 +5,3 @@ {

"description": "Select2 is a jQuery based replacement for select boxes.",
"version": "3.5.1",
"version": "3.5.2",
"type": "component",

@@ -8,0 +8,0 @@ "homepage": "http://ivaynberg.github.io/select2/",

{
"name" : "select2",
"description": "Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.",
"description": "Browserify-ed version of Select2.",
"homepage": "http://ivaynberg.github.io/select2",
"author": "Igor Vaynberg",
"repository": {"type": "git", "url": "git://github.com/ivaynberg/select2.git"},
"main": "select2.js",
"version": "3.5.1",
"repository": {"type": "git", "url": "git://github.com/chrisjbaik/select2.git"},
"version": "3.5.2-browserify",
"jspm": {

@@ -10,0 +9,0 @@ "main": "select2",

@@ -30,3 +30,3 @@ Select2

-----
You can source Select2 directly from a [CDN like JSDliver](http://www.jsdelivr.com/#!select2), [download it from this GitHub repo](https://github.com/ivaynberg/select2/tags), or use one of the integrations below.
You can source Select2 directly from a CDN like [JSDliver](http://www.jsdelivr.com/#!select2) or [CDNJS](http://www.cdnjs.com/libraries/select2), [download it from this GitHub repo](https://github.com/ivaynberg/select2/tags), or use one of the integrations below.

@@ -38,3 +38,3 @@ Integrations

* [select2-rails](https://github.com/argerim/select2-rails) (Ruby on Rails)
* [AngularUI](http://angular-ui.github.com/#directives-select2) ([AngularJS](http://angularjs.org))
* [AngularUI](http://angular-ui.github.io/#ui-select) ([AngularJS](https://angularjs.org/))
* [Django](https://github.com/applegrew/django-select2)

@@ -71,5 +71,7 @@ * [Symfony](https://github.com/19Gerhard85/sfSelect2WidgetsPlugin)

Bug tracker
-----------
Community
---------
### Bug tracker
Have a bug? Please create an issue here on GitHub!

@@ -79,4 +81,3 @@

Mailing list
------------
### Mailing list

@@ -89,3 +90,12 @@ Have a question? Ask on our mailing list!

### IRC channel
Need help implementing Select2 in your project? Ask in our IRC channel!
**Network:** [Freenode](https://freenode.net/) (`chat.freenode.net`)
**Channel:** `#select2`
**Web access:** https://webchat.freenode.net/?channels=select2
Copyright and license

@@ -92,0 +102,0 @@ ---------------------

@@ -1,2 +0,2 @@

/**
/**
* Select2 Arabic translation.

@@ -13,3 +13,3 @@ *

formatInputTooLong: function (input, max) { var n = input.length - max; if (n == 1){ return "الرجاء إدخال حرف واحد على الأقل"; } return n == 2 ? "الرجاء إدخال حرفين على الأقل" : "الرجاء إدخال " + n + " على الأقل "; },
formatSelectionTooBig: function (limit) { if (n == 1){ return "يمكنك أن تختار إختيار واحد فقط"; } return n == 2 ? "يمكنك أن تختار إختيارين فقط" : "يمكنك أن تختار " + n + " إختيارات فقط"; },
formatSelectionTooBig: function (limit) { if (limit == 1){ return "يمكنك أن تختار إختيار واحد فقط"; } return limit == 2 ? "يمكنك أن تختار إختيارين فقط" : "يمكنك أن تختار " + limit + " إختيارات فقط"; },
formatLoadMore: function (pageNumber) { return "تحميل المزيد من النتائج…"; },

@@ -16,0 +16,0 @@ formatSearching: function () { return "البحث…"; }

@@ -8,2 +8,3 @@ /**

$.fn.select2.locales['es'] = {
formatMatches: function (matches) { if (matches === 1) { return "Un resultado disponible, presione enter para seleccionarlo."; } return matches + " resultados disponibles, use las teclas de dirección para navegar."; },
formatNoMatches: function () { return "No se encontraron resultados"; },

@@ -14,3 +15,4 @@ formatInputTooShort: function (input, min) { var n = min - input.length; return "Por favor, introduzca " + n + " car" + (n == 1? "ácter" : "acteres"); },

formatLoadMore: function (pageNumber) { return "Cargando más resultados…"; },
formatSearching: function () { return "Buscando…"; }
formatSearching: function () { return "Buscando…"; },
formatAjaxError: function() { return "La carga falló"; }
};

@@ -17,0 +19,0 @@

/**
* Select2 Polish translation.
*
*
* @author Jan Kondratowicz <jan@kondratowicz.pl>
* @author Uriy Efremochkin <efremochkin@uriy.me>
* @author Michał Połtyn <mike@poltyn.com>
* @author Damian Zajkowski <damian.zajkowski@gmail.com>
*/
(function ($) {
(function($) {
"use strict";
$.fn.select2.locales['pl'] = {
formatNoMatches: function () { return "Brak wyników"; },
formatInputTooShort: function (input, min) { return "Wpisz co najmniej" + character(min - input.length, "znak", "i"); },
formatInputTooLong: function (input, max) { return "Wpisana fraza jest za długa o" + character(input.length - max, "znak", "i"); },
formatSelectionTooBig: function (limit) { return "Możesz zaznaczyć najwyżej" + character(limit, "element", "y"); },
formatLoadMore: function (pageNumber) { return "Ładowanie wyników…"; },
formatSearching: function () { return "Szukanie…"; }
formatNoMatches: function() {
return "Brak wyników";
},
formatInputTooShort: function(input, min) {
return "Wpisz co najmniej" + character(min - input.length, "znak", "i");
},
formatInputTooLong: function(input, max) {
return "Wpisana fraza jest za długa o" + character(input.length - max, "znak", "i");
},
formatSelectionTooBig: function(limit) {
return "Możesz zaznaczyć najwyżej" + character(limit, "element", "y");
},
formatLoadMore: function(pageNumber) {
return "Ładowanie wyników…";
},
formatSearching: function() {
return "Szukanie…";
}
};

@@ -22,5 +35,21 @@

function character (n, word, pluralSuffix) {
return " " + n + " " + word + (n == 1 ? "" : n%10 < 5 && n%10 > 1 && (n%100 < 5 || n%100 > 20) ? pluralSuffix : "ów");
function character(n, word, pluralSuffix) {
//Liczba pojedyncza - brak suffiksu
//jeden znak
//jeden element
var suffix = '';
if (n > 1 && n < 5) {
//Liczaba mnoga ilość od 2 do 4 - własny suffiks
//Dwa znaki, trzy znaki, cztery znaki.
//Dwa elementy, trzy elementy, cztery elementy
suffix = pluralSuffix;
} else if (n == 0 || n >= 5) {
//Ilość 0 suffiks ów
//Liczaba mnoga w ilości 5 i więcej - suffiks ów (nie poprawny dla wszystkich wyrazów, np. 100 wiadomości)
//Zero znaków, Pięć znaków, sześć znaków, siedem znaków, osiem znaków.
//Zero elementów Pięć elementów, sześć elementów, siedem elementów, osiem elementów.
suffix = 'ów';
}
return " " + n + " " + word + suffix;
}
})(jQuery);

@@ -9,3 +9,4 @@ /**

formatNoMatches: function () { return "Nenhum resultado encontrado"; },
formatInputTooShort: function (input, min) { var n = min - input.length; return "Digite mais " + n + " caracter" + (n == 1? "" : "es"); },
formatAjaxError: function () { return "Erro na busca"; },
formatInputTooShort: function (input, min) { var n = min - input.length; return "Digite " + (min == 1 ? "" : "mais") + " " + n + " caracter" + (n == 1? "" : "es"); },
formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " caracter" + (n == 1? "" : "es"); },

@@ -12,0 +13,0 @@ formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },

@@ -30,3 +30,3 @@ /**

return "Prosím, zadajte o jeden znak menej";
} else if (n <= 4) {
} else if (n >= 2 && n <= 4) {
return "Prosím, zadajte o "+smallNumbers[n](true)+" znaky menej";

@@ -40,3 +40,3 @@ } else {

return "Môžete zvoliť len jednu položku";
} else if (limit <= 4) {
} else if (limit >= 2 && limit <= 4) {
return "Môžete zvoliť najviac "+smallNumbers[limit](false)+" položky";

@@ -43,0 +43,0 @@ } else {

@@ -14,3 +14,3 @@ {

],
"version": "3.5.1",
"version": "3.5.2",
"author": {

@@ -17,0 +17,0 @@ "name": "Igor Vaynberg",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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