Skip to content

(Bug Fix) isDate function: Add validation for delimiter and length ch… #1733

(Bug Fix) isDate function: Add validation for delimiter and length ch…

(Bug Fix) isDate function: Add validation for delimiter and length ch… #1733

Triggered via pull request September 17, 2024 17:29
Status Failure
Total duration 44s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

78 errors and 2 warnings
Run tests on Node.js 16: src/lib/isDate.js#L1
Strings must use singlequote
Run tests on Node.js 16: src/lib/isDate.js#L10
Unexpected newline after '('
Run tests on Node.js 16: src/lib/isDate.js#L12
Unexpected newline before ')'
Run tests on Node.js 16: src/lib/isDate.js#L35
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 16: src/lib/isDate.js#L37
Unexpected newline before ')'
Run tests on Node.js 16: src/lib/isDate.js#L42
Unexpected newline after '('
Run tests on Node.js 16: src/lib/isDate.js#L43
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 16: src/lib/isDate.js#L44
Unexpected newline before ')'
Run tests on Node.js 16: src/lib/isDate.js#L47
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 16: src/lib/isDate.js#L111
Expected indentation of 6 spaces but found 7
Run tests on Node.js 8
The job was canceled because "_16" failed.
Run tests on Node.js 8: src/lib/isDate.js#L1
Strings must use singlequote
Run tests on Node.js 8: src/lib/isDate.js#L10
Unexpected newline after '('
Run tests on Node.js 8: src/lib/isDate.js#L12
Unexpected newline before ')'
Run tests on Node.js 8: src/lib/isDate.js#L35
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 8: src/lib/isDate.js#L37
Unexpected newline before ')'
Run tests on Node.js 8: src/lib/isDate.js#L42
Unexpected newline after '('
Run tests on Node.js 8: src/lib/isDate.js#L43
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 8: src/lib/isDate.js#L44
Unexpected newline before ')'
Run tests on Node.js 8: src/lib/isDate.js#L47
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 8: src/lib/isDate.js#L111
Expected indentation of 6 spaces but found 7
Run tests on Node.js 18
The job was canceled because "_16" failed.
Run tests on Node.js 18: src/lib/isDate.js#L1
Strings must use singlequote
Run tests on Node.js 18: src/lib/isDate.js#L10
Unexpected newline after '('
Run tests on Node.js 18: src/lib/isDate.js#L12
Unexpected newline before ')'
Run tests on Node.js 18: src/lib/isDate.js#L35
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 18: src/lib/isDate.js#L37
Unexpected newline before ')'
Run tests on Node.js 18: src/lib/isDate.js#L42
Unexpected newline after '('
Run tests on Node.js 18: src/lib/isDate.js#L43
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 18: src/lib/isDate.js#L44
Unexpected newline before ')'
Run tests on Node.js 18: src/lib/isDate.js#L47
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 18: src/lib/isDate.js#L111
Expected indentation of 6 spaces but found 7
Run tests on Node.js 12
The job was canceled because "_16" failed.
Run tests on Node.js 12: src/lib/isDate.js#L1
Strings must use singlequote
Run tests on Node.js 12: src/lib/isDate.js#L10
Unexpected newline after '('
Run tests on Node.js 12: src/lib/isDate.js#L12
Unexpected newline before ')'
Run tests on Node.js 12: src/lib/isDate.js#L35
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 12: src/lib/isDate.js#L37
Unexpected newline before ')'
Run tests on Node.js 12: src/lib/isDate.js#L42
Unexpected newline after '('
Run tests on Node.js 12: src/lib/isDate.js#L43
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 12: src/lib/isDate.js#L44
Unexpected newline before ')'
Run tests on Node.js 12: src/lib/isDate.js#L47
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 12: src/lib/isDate.js#L111
Expected indentation of 6 spaces but found 7
Run tests on Node.js 20
The job was canceled because "_16" failed.
Run tests on Node.js 20: src/lib/isDate.js#L1
Strings must use singlequote
Run tests on Node.js 20: src/lib/isDate.js#L10
Unexpected newline after '('
Run tests on Node.js 20: src/lib/isDate.js#L12
Unexpected newline before ')'
Run tests on Node.js 20: src/lib/isDate.js#L35
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 20: src/lib/isDate.js#L37
Unexpected newline before ')'
Run tests on Node.js 20: src/lib/isDate.js#L42
Unexpected newline after '('
Run tests on Node.js 20: src/lib/isDate.js#L43
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 20: src/lib/isDate.js#L44
Unexpected newline before ')'
Run tests on Node.js 20: src/lib/isDate.js#L47
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 20: src/lib/isDate.js#L111
Expected indentation of 6 spaces but found 7
Run tests on Node.js 10
The job was canceled because "_16" failed.
Run tests on Node.js 10: src/lib/isDate.js#L1
Strings must use singlequote
Run tests on Node.js 10: src/lib/isDate.js#L10
Unexpected newline after '('
Run tests on Node.js 10: src/lib/isDate.js#L12
Unexpected newline before ')'
Run tests on Node.js 10: src/lib/isDate.js#L35
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 10: src/lib/isDate.js#L37
Unexpected newline before ')'
Run tests on Node.js 10: src/lib/isDate.js#L42
Unexpected newline after '('
Run tests on Node.js 10: src/lib/isDate.js#L43
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 10: src/lib/isDate.js#L44
Unexpected newline before ')'
Run tests on Node.js 10: src/lib/isDate.js#L47
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 10: src/lib/isDate.js#L111
Expected indentation of 6 spaces but found 7
Run tests on Node.js 14
The job was canceled because "_16" failed.
Run tests on Node.js 14: src/lib/isDate.js#L1
Strings must use singlequote
Run tests on Node.js 14: src/lib/isDate.js#L10
Unexpected newline after '('
Run tests on Node.js 14: src/lib/isDate.js#L12
Unexpected newline before ')'
Run tests on Node.js 14: src/lib/isDate.js#L35
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 14: src/lib/isDate.js#L37
Unexpected newline before ')'
Run tests on Node.js 14: src/lib/isDate.js#L42
Unexpected newline after '('
Run tests on Node.js 14: src/lib/isDate.js#L43
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 14: src/lib/isDate.js#L44
Unexpected newline before ')'
Run tests on Node.js 14: src/lib/isDate.js#L47
Unexpected parentheses around single function argument having a body with no curly braces
Run tests on Node.js 14: src/lib/isDate.js#L111
Expected indentation of 6 spaces but found 7
Run tests on Node.js 6
The job was canceled because "_16" failed.
Run tests on Node.js 6
The operation was canceled.
Run tests on Node.js 16
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2-beta, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run tests on Node.js 16
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v2-beta, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/