Introduce splitting preferences in chucks #168
Annotations
28 errors and 6 warnings
|
build (24, yes)
Process completed with exit code 1.
|
|
build (24, yes):
src/api/preferences/chunked.ts#L380
Replace `·isChunkKeyForPrefix(k,·prefix)·&&` with `⏎······isChunkKeyForPrefix(k,·prefix)·&&⏎·····`
|
|
build (24, yes):
src/api/preferences/chunked.ts#L69
Unexpected string concatenation
|
|
build (24, yes):
src/api/preferences/chunked.ts#L31
/[/?#\\]/ can be optimized to /[#/?\\]/
|
|
build (24, yes):
src/api/preferences/__tests__/updatePreference.test.ts#L11
Replace `⏎······updatePreference("key/with/slash",·{·x:·1·})⏎····).rejects.toThrow(/Preference·key·must·not·contain.*unsafe·in·URL·path/` with `updatePreference("key/with/slash",·{·x:·1·})).rejects.toThrow(⏎······/Preference·key·must·not·contain.*unsafe·in·URL·path/⏎····`
|
|
build (24, yes):
src/api/preferences/__tests__/setChunkedPreference.test.ts#L67
'value' is defined but never used
|
|
build (24, yes):
src/api/preferences/__tests__/setChunkedPreference.test.ts#L25
Prefer `.at(…)` over `[….length - index]`
|
|
build (24, yes):
src/api/preferences/__tests__/chunked.test.ts#L65
`String.raw` should be used to avoid escaping `\`
|
|
build (22)
The strategy configuration was canceled because "build._24_yes" failed
|
|
build (22)
The operation was canceled.
|
|
build (20)
The strategy configuration was canceled because "build._24_yes" failed
|
|
build (20)
The operation was canceled.
|
|
build (20):
src/api/preferences/chunked.ts#L380
Replace `·isChunkKeyForPrefix(k,·prefix)·&&` with `⏎······isChunkKeyForPrefix(k,·prefix)·&&⏎·····`
|
|
build (20):
src/api/preferences/chunked.ts#L69
Unexpected string concatenation
|
|
build (20):
src/api/preferences/chunked.ts#L31
/[/?#\\]/ can be optimized to /[#/?\\]/
|
|
build (20):
src/api/preferences/__tests__/updatePreference.test.ts#L11
Replace `⏎······updatePreference("key/with/slash",·{·x:·1·})⏎····).rejects.toThrow(/Preference·key·must·not·contain.*unsafe·in·URL·path/` with `updatePreference("key/with/slash",·{·x:·1·})).rejects.toThrow(⏎······/Preference·key·must·not·contain.*unsafe·in·URL·path/⏎····`
|
|
build (20):
src/api/preferences/__tests__/setChunkedPreference.test.ts#L67
'value' is defined but never used
|
|
build (20):
src/api/preferences/__tests__/setChunkedPreference.test.ts#L25
Prefer `.at(…)` over `[….length - index]`
|
|
build (20):
src/api/preferences/__tests__/chunked.test.ts#L65
`String.raw` should be used to avoid escaping `\`
|
|
build (18)
The strategy configuration was canceled because "build._24_yes" failed
|
|
build (18)
The operation was canceled.
|
|
build (18):
src/api/preferences/chunked.ts#L380
Replace `·isChunkKeyForPrefix(k,·prefix)·&&` with `⏎······isChunkKeyForPrefix(k,·prefix)·&&⏎·····`
|
|
build (18):
src/api/preferences/chunked.ts#L69
Unexpected string concatenation
|
|
build (18):
src/api/preferences/chunked.ts#L31
/[/?#\\]/ can be optimized to /[#/?\\]/
|
|
build (18):
src/api/preferences/__tests__/updatePreference.test.ts#L11
Replace `⏎······updatePreference("key/with/slash",·{·x:·1·})⏎····).rejects.toThrow(/Preference·key·must·not·contain.*unsafe·in·URL·path/` with `updatePreference("key/with/slash",·{·x:·1·})).rejects.toThrow(⏎······/Preference·key·must·not·contain.*unsafe·in·URL·path/⏎····`
|
|
build (18):
src/api/preferences/__tests__/setChunkedPreference.test.ts#L67
'value' is defined but never used
|
|
build (18):
src/api/preferences/__tests__/setChunkedPreference.test.ts#L25
Prefer `.at(…)` over `[….length - index]`
|
|
build (18):
src/api/preferences/__tests__/chunked.test.ts#L65
`String.raw` should be used to avoid escaping `\`
|
|
build (24, yes):
src/api/preferences/chunked.ts#L338
Please rename the variable `e`. Suggested names are: `error`, `event_`. A more descriptive name will do too
|
|
build (24, yes):
src/api/preferences/chunked.ts#L332
The variable `lastErr` should be named `lastError`. A more descriptive name will do too
|
|
build (20):
src/api/preferences/chunked.ts#L338
Please rename the variable `e`. Suggested names are: `error`, `event_`. A more descriptive name will do too
|
|
build (20):
src/api/preferences/chunked.ts#L332
The variable `lastErr` should be named `lastError`. A more descriptive name will do too
|
|
build (18):
src/api/preferences/chunked.ts#L338
Please rename the variable `e`. Suggested names are: `error`, `event_`. A more descriptive name will do too
|
|
build (18):
src/api/preferences/chunked.ts#L332
The variable `lastErr` should be named `lastError`. A more descriptive name will do too
|