masx200

Results 108 issues of masx200

Printing a very long empty array to the console takes abnormally long? ```ts console.time();console.log(new Array(16777216*10));console.timeEnd() ``` run in deno ``` [ ] default: 7534ms undefined ``` ``` deno 1.21.3 (release,...

bug
perf
stale
ext/console

No typescript type inference?? https://deno.land/x/[email protected]/NS-Record.ts https://doc.deno.land/https://deno.land/x/[email protected]/mod.ts/~/NSRecord https://www.typescriptlang.org/zh/play?#code/KYDwDg9gTgLgBDAnmYcByBlASsAxtAEzgF4FlgIAzOAOwGcB9KPQgbgCh9756mWoipAN7s4YuACIAlgQkAuSQGYA7ACZgANmUBOAKwAWAAyrdwQwCMAhhsu2NBXQA4N57WfO7tEgDSjxEpBR5SUwJOEs6OC46GF9xSRpLAFtgYIlQZLAAG2AAOnwknz8xCS4YYBoYNPoARlyMpOy8gqL4iTAoCBApS3Mc4JgoAFdgOP8OrqlgWQVKSyy6UeLJGBgs4MUNQ0MxkqyIXABraeC5haW2gC8IGmAGGTTjRWAaw11KfTxgSkdLAm1cJZFDVLI4VKoCIZcIpdIpWv5rrcGIkUmkGk18hBCrtJLhmJZygQGDc0qpDDV9ABacnUmoAFTecjJcm2uRqqkU+l0AC14SUkhACFJKFMiSSFBIyRTabSGbomYYWYY2RyubycRICATLMEhABfDUpGA6hQieJtSxDGAQBh-AgnBSDEY4tp0CBDKC4VISjpSJKWKCIPlwA3sPWsIA input ```ts export type NSRecord = typeof ns_record; const ns_record = { "id": "372e67954025e0ba6aaa6d586b9e0b59", "type": "NS" as const, "name": "example.com", "content": "ns1.example.com", "proxiable":...

enhancement

https://gitee.com/masx200/leetcode-test/raw/4.0.3/mod.ts https://doc.deno.land/https://gitee.com/masx200/leetcode-test/raw/4.0.3/mod.ts Missing export function? ``` merge_Sorted_Array ,pow_x_n ,html_Entity_Parser ```

bug
needs investigation

### Is this a question? no ### Is this a bug report? no ### Is this a feature request? yes ### Steps to reproduce (Write your steps here:) 1. 2....

```js const NatAPI = require('nat-api') const client = new NatAPI() // Get external IP client.externalIp(function(err, ip) { if (err) return console.log('Error', err) console.log('External IP:', ip) }) ``` ```txt External IP:...

The `send ()` method is inconsistent with the websocket standard. When the connection is not in the `open` state, an error should be reported. https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send Exceptions thrown `INVALID_STATE_ERR` The connection...

bug report! If koa and http2server are used together, the response with method "head" request will never end! ```js import http2 from "http2"; import Koa from "koa"; import fs from...

fix bug https://github.com/koajs/koa/issues/1547

💡 **Is your feature request related to a problem? Please describe.** "gist.github.com" is not accessible in China. This caused the synchronization to fail. 💡 **Describe the solution you'd like** Users...

Is there a plug-in to use "html2react" and "htm" together? https://www.npmjs.com/package/html2react ```js const html = htm.bind(html2react); let reactvdom=html` Foo Bar {}}>Baz ` ``` For example, the attribute "class" is converted...