Skip to content

Commit

Permalink
Bump jQuery dependency version to 3.3 to prevent using vulnerable old…
Browse files Browse the repository at this point in the history
… version
  • Loading branch information
misantron committed Sep 15, 2018
1 parent d961714 commit 5b99ec5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DataTables and Bootstrap integration
# jQuery DataTables and Bootstrap 3 integration

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

## Installing

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

**Bower** `bower install --save datatables-bootstrap3-plugin`
`$ npm install --save datatables-bootstrap3-plugin`
`$ yarn add datatables-bootstrap3-plugin`
`$ bower install --save datatables-bootstrap3-plugin`

Include library and style files directly to your HTML page:

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

## External dependencies:

* Bootstrap 3.3.*
* Font Awesome 4.*
* jQuery DataTables 1.10.*
* jQuery 1.*
* Twitter Bootstrap 3.3.*
* Font Awesome icon toolkit 4.7.*
* jQuery DataTables plugin 1.10.*
* jQuery library 3.3.*

## Fork changes

Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
],
"dependencies": {
"bootstrap": "^3.3",
"font-awesome": "^4.3",
"font-awesome": "^4.7",
"datatables": "^1.10",
"jquery": "^1.11"
"jquery": "^3.3"
},
"description": "jQuery DataTables plugin and Bootstrap 3 integration.",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions media/js/datatables-bootstrap3.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/**
* DataTables integration for Bootstrap 3. This requires Bootstrap 3 and
* DataTables 1.10 or newer.
* DataTables integration for Bootstrap 3.
* This requires Bootstrap 3 and DataTables 1.10 or newer.
*/
(function (factory) {
if ( typeof define === 'function' && define.amd ) {
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"javascript",
"datatables",
"bootstrap",
"plugin"
"jquery-plugin",
"jquery"
],
"main": "media/js/datatables-bootstrap3.js",
"repository": {
Expand All @@ -23,9 +24,9 @@
"license": "MIT",
"dependencies": {
"bootstrap": "^3.3",
"font-awesome": "^4.3",
"font-awesome": "^4.7",
"datatables": "^1.10",
"jquery": "~1.11"
"jquery": "^3.3"
},
"engines": {
"node": ">=0.10.*"
Expand Down

0 comments on commit 5b99ec5

Please sign in to comment.