Skip to content

Commit 5b99ec5

Browse files
committed
Bump jQuery dependency version to 3.3 to prevent using vulnerable old version
1 parent d961714 commit 5b99ec5

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# DataTables and Bootstrap integration
1+
# jQuery DataTables and Bootstrap 3 integration
22

33
[![NPM Version](http://img.shields.io/npm/v/datatables-bootstrap3-plugin.svg?style=flat-square)](https://www.npmjs.com/package/datatables-bootstrap3-plugin)
44
[![NPM Download](http://img.shields.io/npm/dm/datatables-bootstrap3-plugin.svg?style=flat-square)](https://www.npmjs.com/package/datatables-bootstrap3-plugin)
@@ -9,9 +9,11 @@ jQuery DataTables plugin and Bootstrap 3 integration.
99

1010
## Installing
1111

12-
**NPM** `npm install --save datatables-bootstrap3-plugin`
12+
You can easily install the latest version via [npm](https://www.npmjs.com/), [yarn](https://yarnpkg.com) or [bower](https://bower.io/):
1313

14-
**Bower** `bower install --save datatables-bootstrap3-plugin`
14+
`$ npm install --save datatables-bootstrap3-plugin`
15+
`$ yarn add datatables-bootstrap3-plugin`
16+
`$ bower install --save datatables-bootstrap3-plugin`
1517

1618
Include library and style files directly to your HTML page:
1719

@@ -22,10 +24,10 @@ Include library and style files directly to your HTML page:
2224

2325
## External dependencies:
2426

25-
* Bootstrap 3.3.*
26-
* Font Awesome 4.*
27-
* jQuery DataTables 1.10.*
28-
* jQuery 1.*
27+
* Twitter Bootstrap 3.3.*
28+
* Font Awesome icon toolkit 4.7.*
29+
* jQuery DataTables plugin 1.10.*
30+
* jQuery library 3.3.*
2931

3032
## Fork changes
3133

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
],
88
"dependencies": {
99
"bootstrap": "^3.3",
10-
"font-awesome": "^4.3",
10+
"font-awesome": "^4.7",
1111
"datatables": "^1.10",
12-
"jquery": "^1.11"
12+
"jquery": "^3.3"
1313
},
1414
"description": "jQuery DataTables plugin and Bootstrap 3 integration.",
1515
"license": "MIT",

media/js/datatables-bootstrap3.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
/**
3-
* DataTables integration for Bootstrap 3. This requires Bootstrap 3 and
4-
* DataTables 1.10 or newer.
3+
* DataTables integration for Bootstrap 3.
4+
* This requires Bootstrap 3 and DataTables 1.10 or newer.
55
*/
66
(function (factory) {
77
if ( typeof define === 'function' && define.amd ) {

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"javascript",
1111
"datatables",
1212
"bootstrap",
13-
"plugin"
13+
"jquery-plugin",
14+
"jquery"
1415
],
1516
"main": "media/js/datatables-bootstrap3.js",
1617
"repository": {
@@ -23,9 +24,9 @@
2324
"license": "MIT",
2425
"dependencies": {
2526
"bootstrap": "^3.3",
26-
"font-awesome": "^4.3",
27+
"font-awesome": "^4.7",
2728
"datatables": "^1.10",
28-
"jquery": "~1.11"
29+
"jquery": "^3.3"
2930
},
3031
"engines": {
3132
"node": ">=0.10.*"

0 commit comments

Comments
 (0)