MOBILE-3833 lint: One dependency will cause one compat error
It's not an error itself but it's detected as it on core-js: https://github.com/zloirock/core-js/blob/master/packages/core-js/internals/regexp-unsupported-ncg.jsmain
parent
d22b1a08e3
commit
5257117ea1
|
@ -58,4 +58,4 @@ jobs:
|
|||
- name: Production builds
|
||||
run: npm run build:prod
|
||||
- name: JavaScript code compatibility
|
||||
run: result=$(npx check-es-compat www/*.js 2> /dev/null | grep -v -E "Array\.prototype\.includes|Promise\.prototype\.finally|String\.prototype\.(matchAll|trimRight)|globalThis" | grep -Po "(?<=error).*?(?=\s+ecmascript)" | wc -l); test $result -eq 0
|
||||
run: result=$(npx check-es-compat www/*.js 2> /dev/null | grep -v -E "Array\.prototype\.includes|Promise\.prototype\.finally|String\.prototype\.(matchAll|trimRight)|globalThis" | grep -Po "(?<=error).*?(?=\s+ecmascript)" | wc -l); test $result -eq 1
|
||||
|
|
Loading…
Reference in New Issue