File tree Expand file tree Collapse file tree 4 files changed +14
-16
lines changed
src/sandbox/eval/transpilers/babel/ast Expand file tree Collapse file tree 4 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 9494 "apollo-link-batch-http" : " ^1.2.12" ,
9595 "apollo-link-context" : " ^1.0.18" ,
9696 "astring" : " ^1.7.4" ,
97- "@barelyhuman/astring-jsx" : " ^1 .0.3 " ,
97+ "@barelyhuman/astring-jsx" : " ^2 .0.0 " ,
9898 "axios" : " ^0.19.0" ,
9999 "babel-code-frame" : " ^6.26.0" ,
100100 "babel-macros" : " ^2.0.0" ,
Original file line number Diff line number Diff line change 1- import jsx from " @barelyhuman/astring-jsx"
1+ import jsx from ' @barelyhuman/astring-jsx' ;
22
33export default {
44 // <div></div>
5- ...jsx . generator
5+ ...jsx . GENERATOR ,
66} ;
Original file line number Diff line number Diff line change 1- import * as astring from 'astring' ;
21import * as meriyah from 'meriyah' ;
32import { Identifier } from 'meriyah/dist/estree' ;
43import jsxGenerator from './generator-jsx' ;
@@ -41,7 +40,7 @@ const EXPRESSIONS_PRECEDENCE = {
4140 */
4241export const customGenerator = {
4342 // @ts -ignore baseGenerator is deprecated, and GENERATOR is not in the types?
44- ...astring . GENERATOR ,
43+ ...jsxGenerator ,
4544 FieldDefinition (
4645 node : meriyah . ESTree . FieldDefinition ,
4746 state : { write ( s : string ) : void }
@@ -91,5 +90,4 @@ export const customGenerator = {
9190 state . write ( node . operator ) ;
9291 }
9392 } ,
94- ...jsxGenerator ,
9593} ;
Original file line number Diff line number Diff line change 13991399 "@babel/helper-validator-identifier" "^7.19.1"
14001400 to-fast-properties "^2.0.0"
14011401
1402- "@barelyhuman/astring-jsx@^1 .0.3 ":
1403- version "1 .0.3 "
1404- resolved "https://registry.yarnpkg.com/@barelyhuman/astring-jsx/-/astring-jsx-1 .0.3 .tgz#28ed9b235f65b0cd45d31205e321098de97b28a9 "
1405- integrity sha512-bXZL+wufrMppEFS54ncL6C3VDtRtJo6VMBUnX9v4LEuSYnXCD4vJ5OJCPPx51P7DmISQI3iT2T+i5+7PowCYvg ==
1402+ "@barelyhuman/astring-jsx@^2 .0.0 ":
1403+ version "2 .0.0 "
1404+ resolved "https://registry.yarnpkg.com/@barelyhuman/astring-jsx/-/astring-jsx-2 .0.0 .tgz#451db4c0a13d1248e9f11d8e320e9747a8c9ee0f "
1405+ integrity sha512-tHWR26QHJJLwXpvKy2Fnnj+m6Ed1PtIZlKelBRNwJ/vofSaXCS4oKElm0qmOQ+fbzyvTTX03AeV+aRr0iPonzA ==
14061406 dependencies:
1407- astring "^0.7.1 "
1407+ astring "^1.8.6 "
14081408 xtend "^4.0.1"
14091409
14101410"@bcoe/v8-coverage@^0.2.3":
@@ -7494,16 +7494,16 @@ astral-regex@^2.0.0:
74947494 resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31"
74957495 integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==
74967496
7497- astring@^0.7.1:
7498- version "0.7.1"
7499- resolved "https://registry.yarnpkg.com/astring/-/astring-0.7.1.tgz#13bb2564e029727cbdf5d6da0944db9dbb9bb9bb"
7500- integrity sha512-OXKjB/Wg07ojR+1PE5urpfTWW3s6jTe2+uuxM05CfpgwItTF8fcV3/Gw0N6Z7Gy3nN1ZMH5kDSiLwUs5Ggp8Yg==
7501-
75027497astring@^1.7.4:
75037498 version "1.7.4"
75047499 resolved "https://registry.yarnpkg.com/astring/-/astring-1.7.4.tgz#06aa7f72ad30097210dee1ae8f7d9615cd3b57d4"
75057500 integrity sha512-WiVqDJV0AayUUH65FfUrbnBO4KD10854cyU49lK30+2n/lEkJDRqBKj/2fYGhZSD3uIt1H1VfW/pQtO07kR2Xg==
75067501
7502+ astring@^1.8.6:
7503+ version "1.8.6"
7504+ resolved "https://registry.yarnpkg.com/astring/-/astring-1.8.6.tgz#2c9c157cf1739d67561c56ba896e6948f6b93731"
7505+ integrity sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==
7506+
75077507async-each@^1.0.0, async-each@^1.0.1:
75087508 version "1.0.3"
75097509 resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf"
You can’t perform that action at this time.
0 commit comments