Build(deps): Bump meriyah from 4.2.0 to 4.2.1 (#12567)
* Build(deps): Bump meriyah from 4.2.0 to 4.2.1 Bumps [meriyah](https://github.com/meriyah/meriyah) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/meriyah/meriyah/releases) - [Changelog](https://github.com/meriyah/meriyah/blob/master/CHANGELOG.md) - [Commits](https://github.com/meriyah/meriyah/compare/v4.2.0...v4.2.1) --- updated-dependencies: - dependency-name: meriyah dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Add test for https://github.com/meriyah/meriyah/commit/6de707a0efb3053767deaa36b1ed6979b0d3f873 * Test https://github.com/meriyah/meriyah/commit/37c63613771e5bc6e23b7da2d92e992c60dafc5a * Test https://github.com/meriyah/meriyah/commit/d757c6b20ae4f6f4e55a77179726db36cf2bd50b * Add changelog Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
1 parent
4d1b9e9716
commit
b1e96cde95
11 files changed
+184
-5
No files matched your search
@@ -325,6 +325,28 @@ class B {
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`super.js format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["babel", "flow", "typescript"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
class A extends B {
|
||||
#a() {
|
||||
super.x();
|
||||
}
|
||||
}
|
||||
|
||||
=====================================output=====================================
|
||||
class A extends B {
|
||||
#a() {
|
||||
super.x();
|
||||
}
|
||||
}
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`ternary.js format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["babel", "flow", "typescript"]
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
class A extends B {
|
||||
#a() {
|
||||
super.x();
|
||||
}
|
||||
}
|
||||
@@ -28,6 +28,22 @@ printWidth: 80
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`multiple-flags.js format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["babel", "flow", "typescript"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
/.*/ms;
|
||||
/.*/my;
|
||||
|
||||
=====================================output=====================================
|
||||
/.*/ms;
|
||||
/.*/my;
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`test.js format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["babel", "flow", "typescript"]
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
/.*/ms;
|
||||
/.*/my;
|
||||
@@ -13,3 +13,19 @@ await something();
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`in-expression.js format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["babel", "typescript"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
call(
|
||||
await something()
|
||||
)
|
||||
|
||||
=====================================output=====================================
|
||||
call(await something());
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
@@ -0,0 +1,3 @@
|
||||
call(
|
||||
await something()
|
||||
)
|
||||
@@ -5076,6 +5076,94 @@ singleQuote: true
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`regex.js - {"singleQuote":false,"jsxSingleQuote":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
jsxSingleQuote: false
|
||||
parsers: ["flow", "babel", "typescript"]
|
||||
printWidth: 80
|
||||
singleQuote: false
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
x = <div>one</div>, <div>two</div>;
|
||||
x = <a>{}</a>
|
||||
x = <a>{1/2}</a>
|
||||
x = <a>{/w/.test(s)}</a>
|
||||
|
||||
=====================================output=====================================
|
||||
(x = <div>one</div>), (<div>two</div>);
|
||||
x = <a>{}</a>;
|
||||
x = <a>{1 / 2}</a>;
|
||||
x = <a>{/w/.test(s)}</a>;
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`regex.js - {"singleQuote":false,"jsxSingleQuote":true} format 1`] = `
|
||||
====================================options=====================================
|
||||
jsxSingleQuote: true
|
||||
parsers: ["flow", "babel", "typescript"]
|
||||
printWidth: 80
|
||||
singleQuote: false
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
x = <div>one</div>, <div>two</div>;
|
||||
x = <a>{}</a>
|
||||
x = <a>{1/2}</a>
|
||||
x = <a>{/w/.test(s)}</a>
|
||||
|
||||
=====================================output=====================================
|
||||
(x = <div>one</div>), (<div>two</div>);
|
||||
x = <a>{}</a>;
|
||||
x = <a>{1 / 2}</a>;
|
||||
x = <a>{/w/.test(s)}</a>;
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`regex.js - {"singleQuote":true,"jsxSingleQuote":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
jsxSingleQuote: false
|
||||
parsers: ["flow", "babel", "typescript"]
|
||||
printWidth: 80
|
||||
singleQuote: true
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
x = <div>one</div>, <div>two</div>;
|
||||
x = <a>{}</a>
|
||||
x = <a>{1/2}</a>
|
||||
x = <a>{/w/.test(s)}</a>
|
||||
|
||||
=====================================output=====================================
|
||||
(x = <div>one</div>), (<div>two</div>);
|
||||
x = <a>{}</a>;
|
||||
x = <a>{1 / 2}</a>;
|
||||
x = <a>{/w/.test(s)}</a>;
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`regex.js - {"singleQuote":true,"jsxSingleQuote":true} format 1`] = `
|
||||
====================================options=====================================
|
||||
jsxSingleQuote: true
|
||||
parsers: ["flow", "babel", "typescript"]
|
||||
printWidth: 80
|
||||
singleQuote: true
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
x = <div>one</div>, <div>two</div>;
|
||||
x = <a>{}</a>
|
||||
x = <a>{1/2}</a>
|
||||
x = <a>{/w/.test(s)}</a>
|
||||
|
||||
=====================================output=====================================
|
||||
(x = <div>one</div>), (<div>two</div>);
|
||||
x = <a>{}</a>;
|
||||
x = <a>{1 / 2}</a>;
|
||||
x = <a>{/w/.test(s)}</a>;
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`return-statement.js - {"singleQuote":false,"jsxSingleQuote":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
jsxSingleQuote: false
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
x = <div>one</div>, <div>two</div>;
|
||||
x = <a>{}</a>
|
||||
x = <a>{1/2}</a>
|
||||
x = <a>{/w/.test(s)}</a>
|
||||
Reference in new issue
Block a user