Add trailing option back #88
Annotations
21 errors and 2 warnings
src/index.spec.ts > path-to-regexp > compile '{/:test}?' with { encode: false } > should compile undefined:
src/index.ts#L207
TypeError: Unexpected ? at 8, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '{/:test}?' with { encode: false } > should compile {}:
src/index.ts#L207
TypeError: Unexpected ? at 8, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '{/:test}?' with { encode: false } > should compile { test: undefined }:
src/index.ts#L207
TypeError: Unexpected ? at 8, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '{/:test}?' with { encode: false } > should compile { test: '123' }:
src/index.ts#L207
TypeError: Unexpected ? at 8, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '{/:test}?' with { encode: false } > should compile { test: '123/xyz' }:
src/index.ts#L207
TypeError: Unexpected ? at 8, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '/:test(.*)' with { encode: false } > should compile undefined:
src/index.ts#L207
TypeError: Unexpected ( at 6, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '/:test(.*)' with { encode: false } > should compile {}:
src/index.ts#L207
TypeError: Unexpected ( at 6, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '/:test(.*)' with { encode: false } > should compile { test: '' }:
src/index.ts#L207
TypeError: Unexpected ( at 6, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '/:test(.*)' with { encode: false } > should compile { test: '123' }:
src/index.ts#L207
TypeError: Unexpected ( at 6, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '/:test(.*)' with { encode: false } > should compile { test: '123/xyz' }:
src/index.ts#L207
TypeError: Unexpected ( at 6, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
Node.js 16
The job was canceled because "_" failed.
|
src/index.spec.ts > path-to-regexp > compile '{/:test}?' with { encode: false } > should compile undefined:
src/index.ts#L207
TypeError: Unexpected ? at 8, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '{/:test}?' with { encode: false } > should compile {}:
src/index.ts#L207
TypeError: Unexpected ? at 8, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '{/:test}?' with { encode: false } > should compile { test: undefined }:
src/index.ts#L207
TypeError: Unexpected ? at 8, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '{/:test}?' with { encode: false } > should compile { test: '123' }:
src/index.ts#L207
TypeError: Unexpected ? at 8, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '{/:test}?' with { encode: false } > should compile { test: '123/xyz' }:
src/index.ts#L207
TypeError: Unexpected ? at 8, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '/:test(.*)' with { encode: false } > should compile undefined:
src/index.ts#L207
TypeError: Unexpected ( at 6, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '/:test(.*)' with { encode: false } > should compile {}:
src/index.ts#L207
TypeError: Unexpected ( at 6, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '/:test(.*)' with { encode: false } > should compile { test: '' }:
src/index.ts#L207
TypeError: Unexpected ( at 6, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '/:test(.*)' with { encode: false } > should compile { test: '123' }:
src/index.ts#L207
TypeError: Unexpected ( at 6, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
src/index.spec.ts > path-to-regexp > compile '/:test(.*)' with { encode: false } > should compile { test: '123/xyz' }:
src/index.ts#L207
TypeError: Unexpected ( at 6, expected END: https://git.new/pathToRegexpError
❯ Iter.consume src/index.ts:207:11
❯ consume src/index.ts:334:12
❯ parse src/index.ts:341:22
❯ Module.compile src/index.ts:371:22
❯ src/index.spec.ts:114:24
|
Node.js *
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Node.js *
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|