Skip to content

Commit

Permalink
chore: pinned some 3rd-party modules to fix security warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ngduc committed Mar 15, 2019
1 parent 2ee5465 commit 53e29dc
Show file tree
Hide file tree
Showing 4 changed files with 203 additions and 110 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
## [0.9.0] - 2019-03-15
## [0.9.1] - 2019-03-15

### Added
- reactFormatter to support JSX for Tabulator's formatter (see: ReactTabulatorExample.tsx)

### Changed
- upgraded tabulator to 4.2.3
- pinned some 3rd-party modules to fix security warnings

## [0.8.4] - 2019-03-07

Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-tabulator",
"version": "0.9.0",
"version": "0.9.1",
"description": "React Tabulator component",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -74,5 +74,10 @@
"tslint-config-prettier": "^1.15.0",
"tslint-react": "^3.6.0",
"typescript": "^3.3.3333"
},
"resolutions": {
"cryptiles": "^4.1.2",
"hoek": "^4.2.1",
"webpack-dev-server": "3.1.11"
}
}
2 changes: 1 addition & 1 deletion src/ReactTabulatorExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { reactFormatter } from './Utils';

function SimpleButton (props: any) {
const cellData = props.cell._cell.row.data;
return <button onClick={() => alert(cellData.name)}>Show Name</button>
return <button onClick={() => alert(cellData.name)}>Show</button>
}

const columns = [
Expand Down
Loading

0 comments on commit 53e29dc

Please sign in to comment.