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

datatables.net-responsive-dt

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datatables.net-responsive-dt - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

js/responsive.dataTables.min.mjs

25

js/responsive.dataTables.js
/*! DataTables styling wrapper for Responsive
* ©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-dt')(root, $).$;
if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable.Responsive ) {
if ( ! $.fn.dataTable ) {
require('datatables.net-dt')(root, $);
}
if ( ! $.fn.dataTable ) {
require('datatables.net-responsive')(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 @@

/*!
DataTables styling wrapper for Responsive
©2018 SpryMedia Ltd - datatables.net/license
*/
(function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-responsive"],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-dt")(a,b).$);b.fn.dataTable.Responsive||require("datatables.net-responsive")(a,b);return c(b,a,a.document)}:c(jQuery,window,document)})(function(c,a,b,d){return c.fn.dataTable});
/*! DataTables styling wrapper for Responsive
* © SpryMedia Ltd - datatables.net/license
*/
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-responsive"],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-dt")(e,t),t.fn.dataTable||require("datatables.net-responsive")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,d){"use strict";return e.fn.dataTable});

@@ -5,8 +5,10 @@ {

"main": "js/responsive.dataTables.js",
"module": "js/responsive.dataTables.mjs",
"style": "css/responsive.dataTables.css",
"types": "./types/responsive.dataTables.d.ts",
"version": "2.3.0",
"types": "./types/types.d.ts",
"version": "2.4.0",
"files": [
"css/**/*.css",
"js/**/*.js",
"js/**/*.mjs",
"types/**/*.d.ts"

@@ -23,4 +25,4 @@ ],

"dependencies": {
"datatables.net-responsive": ">=2.2.9",
"datatables.net-dt": ">=1.11.3",
"datatables.net-responsive": ">=2.3.0",
"datatables.net-dt": ">=1.12.1",
"jquery": ">=1.7"

@@ -27,0 +29,0 @@ },

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