datatables.net-select-bs
Advanced tools
Comparing version 1.4.0 to 1.5.0
/*! Bootstrap 3 styling wrapper for Select | ||
* ©2018 SpryMedia Ltd - datatables.net/license | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
@@ -16,13 +16,22 @@ | ||
if ( ! root ) { | ||
// CommonJS environments without a window global must pass a | ||
// root. This will give an error otherwise | ||
root = window; | ||
} | ||
if ( ! $ || ! $.fn.dataTable ) { | ||
$ = require('datatables.net-bs')(root, $).$; | ||
if ( ! $ ) { | ||
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window | ||
require('jquery') : | ||
require('jquery')( root ); | ||
} | ||
if ( ! $.fn.dataTable.select ) { | ||
if ( ! $.fn.dataTable ) { | ||
require('datatables.net-bs')(root, $); | ||
} | ||
if ( ! $.fn.dataTable ) { | ||
require('datatables.net-select')(root, $); | ||
} | ||
return factory( $, root, root.document ); | ||
@@ -36,5 +45,9 @@ }; | ||
}(function( $, window, document, undefined ) { | ||
'use strict'; | ||
var DataTable = $.fn.dataTable; | ||
return $.fn.dataTable; | ||
})); | ||
return DataTable; | ||
})); |
@@ -1,5 +0,4 @@ | ||
/*! | ||
Bootstrap 3 styling wrapper for Select | ||
©2018 SpryMedia Ltd - datatables.net/license | ||
*/ | ||
(function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net-bs","datatables.net-select"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,b){a||(a=window);b&&b.fn.dataTable||(b=require("datatables.net-bs")(a,b).$);b.fn.dataTable.select||require("datatables.net-select")(a,b);return c(b,a,a.document)}:c(jQuery,window,document)})(function(c,a,b,d){return c.fn.dataTable}); | ||
/*! Bootstrap 3 styling wrapper for Select | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs","datatables.net-select"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net-bs")(e,t),t.fn.dataTable||require("datatables.net-select")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,a){"use strict";return e.fn.dataTable}); |
@@ -5,8 +5,10 @@ { | ||
"main": "js/select.bootstrap.js", | ||
"module": "js/select.bootstrap.mjs", | ||
"style": "css/select.bootstrap.css", | ||
"types": "./types/select.bootstrap.d.ts", | ||
"version": "1.4.0", | ||
"types": "./types/types.d.ts", | ||
"version": "1.5.0", | ||
"files": [ | ||
"css/**/*.css", | ||
"js/**/*.js", | ||
"js/**/*.mjs", | ||
"types/**/*.d.ts" | ||
@@ -25,4 +27,4 @@ ], | ||
"dependencies": { | ||
"datatables.net-select": ">=1.3.3", | ||
"datatables.net-bs": ">=1.11.3", | ||
"datatables.net-select": ">=1.4.0", | ||
"datatables.net-bs": ">=1.12.1", | ||
"jquery": ">=1.7" | ||
@@ -29,0 +31,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
15447
11
308
1
1
Updateddatatables.net-bs@>=1.12.1