JSREI / ast-hook-for-js-RE

浏览器内存漫游解决方案(探索中...)
Other
1.53k stars 398 forks source link

babel似乎无法处理一些特殊字符 #45

Closed dream2333 closed 3 months ago

dream2333 commented 6 months ago

1 | window.॑=$("Ҩ") | ^ at constructor (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:353:19) at Parser.raise (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:3277:19) at Parser.getTokenFromCode (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:2984:16) at Parser.nextToken (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:2460:10) at Parser.next (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:2373:10) at Parser.eat (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:2377:12) at Parser.parseSubscript (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10633:40) at Parser.parseSubscripts (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10603:19) at Parser.parseExprSubscripts (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10594:17) at Parser.parseUpdate (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10573:21) at Parser.parseMaybeUnary (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10551:23) at Parser.parseMaybeUnaryOrPrivate (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10405:61) at Parser.parseExprOps (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10410:23) at Parser.parseMaybeConditional (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10387:23) at Parser.parseMaybeAssign (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10348:21) at Parser.parseExpressionBase (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10302:23) at G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10298:39 at Parser.allowInAnd (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:11931:16) at Parser.parseExpression (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:10298:17) at Parser.parseStatementContent (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:12372:23) at Parser.parseStatementLike (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:12239:17) at Parser.parseModuleItem (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:12216:17) at Parser.parseBlockOrModuleBlockBody (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:12796:36) at Parser.parseBlockBody (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:12789:10) at Parser.parseProgram (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:12116:10) at Parser.parseTopLevel (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:12106:25) at Parser.parse (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:13905:10) at parse (G:\ast-hook-for-js-RE\node_modules\@babel\parser\lib\index.js:13947:38) at parser (G:\ast-hook-for-js-RE\node_modules\@babel\core\lib\parser\index.js:41:34) at parser.next () at parse (G:\ast-hook-for-js-RE\node_modules\@babel\core\lib\parse.js:25:37) at parse.next () at evaluateSync (G:\ast-hook-for-js-RE\node_modules\gensync\index.js:251:28) at sync (G:\ast-hook-for-js-RE\node_modules\gensync\index.js:89:14) at stopHiding - secret - don't use this - v1 (G:\ast-hook-for-js-RE\node_modules\@babel\core\lib\errors\rewrite-stack-trace.js:47:12) at Object.parse (G:\ast-hook-for-js-RE\node_modules\@babel\core\lib\parse.js:34:76) at injectHook (G:\ast-hook-for-js-RE\src\components\global-assign-hook-component\core\inject-hook.js:8:23) at G:\ast-hook-for-js-RE\src\api-server\api-server.js:21:21 at Layer.handle [as handle_request] (G:\ast-hook-for-js-RE\node_modules\express\lib\router\layer.js:95:5) at next (G:\ast-hook-for-js-RE\node_modules\express\lib\router\route.js:149:13) at Route.dispatch (G:\ast-hook-for-js-RE\node_modules\express\lib\router\route.js:119:3) at Layer.handle [as handle_request] (G:\ast-hook-for-js-RE\node_modules\express\lib\router\layer.js:95:5) at G:\ast-hook-for-js-RE\node_modules\express\lib\router\index.js:284:15 at Function.process_params (G:\ast-hook-for-js-RE\node_modules\express\lib\router\index.js:346:12) at next (G:\ast-hook-for-js-RE\node_modules\express\lib\router\index.js:280:10) at G:\ast-hook-for-js-RE\node_modules\body-parser\lib\read.js:137:5 at AsyncResource.runInAsyncScope (node:async_hooks:206:9) at invokeCallback (G:\ast-hook-for-js-RE\node_modules\raw-body\index.js:238:16) at done (G:\ast-hook-for-js-RE\node_modules\raw-body\index.js:227:7) at IncomingMessage.onEnd (G:\ast-hook-for-js-RE\node_modules\raw-body\index.js:287:7) { code: 'BABEL_PARSE_ERROR', reasonCode: 'InvalidOrUnexpectedToken', loc: Position { line: 1, column: 7, index: 7 }, pos: 7 } SyntaxError: unknown: Unexpected character '॒'. (1:7)

进入猿人学网站发生的报错

Desktop (please complete the following information): Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0