Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update devDeps and fix npm audit #129

Merged
merged 2 commits into from
May 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']}
7,139 changes: 3,808 additions & 3,331 deletions package-lock.json

Large diffs are not rendered by default.

48 changes: 26 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"scripts": {
"bench": "bin/bench",
"commitlint": "commitlint",
"commitmsg": "commitlint -e $GIT_PARAMS",
"lint": "eslint .",
"lint-staged": "lint-staged",
"test": "ava && tsd"
Expand All @@ -40,30 +39,30 @@
"ndjson": "^1.4.0"
},
"devDependencies": {
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.1",
"@types/node": "^11.13.9",
"ava": "^0.25.0",
"bops": "^0.1.1",
"chalk": "^2.4.1",
"concat-stream": "^1.4.5",
"@commitlint/cli": "^7.6.1",
"@commitlint/config-conventional": "^7.6.0",
"@types/node": "^12.0.0",
"ava": "^1.4.1",
"bops": "^1.0.0",
"chalk": "^2.4.2",
"concat-stream": "^2.0.0",
"csv-spectrum": "^1.0.0",
"eslint": "^5.4.0",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-standard": "^3.1.0",
"globby": "^8.0.1",
"husky": "^0.14.3",
"lint-staged": "^7.2.0",
"loud-rejection": "^1.6.0",
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"globby": "^9.2.0",
"husky": "^2.2.0",
"lint-staged": "^8.1.6",
"loud-rejection": "^2.1.0",
"pre-commit": "^1.2.2",
"standard-version": "^4.4.0",
"strip-ansi": "^4.0.0",
"standard-version": "^6.0.1",
"strip-ansi": "^5.2.0",
"text-table": "^0.2.0",
"time-span": "^2.0.0",
"tsd": "^0.7.2"
"time-span": "^3.1.0",
"tsd": "^0.7.3"
},
"directories": {
"example": "examples",
Expand All @@ -81,5 +80,10 @@
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
}
}
Binary file modified test/snapshots/escape.test.js.snap
Binary file not shown.
Binary file modified test/snapshots/headers.test.js.snap
Binary file not shown.
Binary file modified test/snapshots/issues.test.js.snap
Binary file not shown.
Binary file modified test/snapshots/mapHeaders.test.js.snap
Binary file not shown.
Binary file modified test/snapshots/mapValues.test.js.snap
Binary file not shown.
Binary file modified test/snapshots/newline.test.js.snap
Binary file not shown.
Binary file modified test/snapshots/quote.test.js.snap
Binary file not shown.
Binary file modified test/snapshots/skipComments.test.js.snap
Binary file not shown.
Binary file modified test/snapshots/strict.test.js.snap
Binary file not shown.
245 changes: 1 addition & 244 deletions test/snapshots/test.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@ The actual snapshot is saved in `test.js.snap`.

Generated by [AVA](https://ava.li).

## backtick separator

> lines

[
Row {
p_desc: 'Bulbasaur can be seen napping',
pokemon_id: '1',
},
Row {
p_desc: 'There is a bud on this',
pokemon_id: '2',
},
]

## binary stanity

> Snapshot 1
Expand Down Expand Up @@ -183,171 +168,6 @@ Generated by [AVA](https://ava.li).
},
]

## custom escape character

> first row

Row {
a: '1',
b: 'some "escaped" value',
c: '2',
}

> second row

Row {
a: '3',
b: '""',
c: '4',
}

> third row

Row {
a: '5',
b: '6',
c: '7',
}

## custom newline

> first row

Row {
a: '1',
b: '2',
c: '3',
}

> second row

Row {
a: 'X-Men',
b: '5',
c: '6',
}

> third row

Row {
a: '7',
b: '8',
c: '9',
}

## custom quote and escape character

> first row

Row {
a: '1',
b: 'some \'escaped\' value',
c: '2',
}

> second row

Row {
a: '3',
b: '\'\'',
c: '4',
}

> third row

Row {
a: '5',
b: '6',
c: '7',
}

## custom quote character

> first row

Row {
a: '1',
b: 'some value',
c: '2',
}

> second row

Row {
a: '3',
b: '4',
c: '5',
}

## custom quote character with default escaped value

> first row

Row {
a: '1',
b: 'some \'escaped\' value',
c: '2',
}

> second row

Row {
a: '3',
b: '\'\'',
c: '4',
}

> third row

Row {
a: '5',
b: '6',
c: '7',
}

## format values

> first row

Row {
a: 1,
b: 2,
c: 3,
}

> headers

[
'a',
'b',
'c',
]

> indexes

[
0,
1,
2,
]

## headers: false, numeric column names

> lines

[
Row {
0: 'a',
1: 'b',
2: 'c',
},
Row {
0: '1',
1: '2',
2: '3',
},
]

## newlines in a cell

> first row
Expand Down Expand Up @@ -375,24 +195,6 @@ Generated by [AVA](https://ava.li).
c: '9',
}

## optional strict

> first row

Row {
a: '1',
b: '2',
c: '3',
}

> second row

Row {
a: '4',
b: '5',
c: '6',
}

## raw escaped quotes

> first row
Expand Down Expand Up @@ -443,16 +245,6 @@ Generated by [AVA](https://ava.li).
b: '4',
}

## rename columns

> first row

Row {
x: '1',
y: '2',
z: '3',
}

## simple csv

> first row
Expand All @@ -463,45 +255,10 @@ Generated by [AVA](https://ava.li).
c: '3',
}

## skip columns a and c

> first row

Row {
b: '2',
}

## supports strings

> Snapshot 1

Row {
hello: 'world',


## backtick separator (#105)

> lines

[
Row {
p_desc: 'Bulbasaur can be seen napping',
pokemon_id: '1',
},
Row {
p_desc: 'There is a bud on this',
pokemon_id: '2',
},


## comment

> Snapshot 1

[]

## custom comment

> Snapshot 1

[]
}
Binary file modified test/snapshots/test.js.snap
Binary file not shown.