xshell 0.0.15 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/chalk.browser.d.ts +2 -0
  2. package/chalk.browser.js +21 -0
  3. package/chalk.browser.js.map +1 -0
  4. package/file.js +1 -2
  5. package/file.js.map +1 -1
  6. package/i18n/README.md +283 -0
  7. package/i18n/dict.d.ts +30 -0
  8. package/i18n/dict.js +34 -0
  9. package/i18n/dict.js.map +1 -0
  10. package/i18n/i18n-scan.d.ts +2 -0
  11. package/i18n/i18n-scan.js +21 -0
  12. package/i18n/i18n-scan.js.map +1 -0
  13. package/i18n/i18n.ico +0 -0
  14. package/i18n/index.d.ts +65 -0
  15. package/i18n/index.js +118 -0
  16. package/i18n/index.js.map +1 -0
  17. package/i18n/rwdict.d.ts +42 -0
  18. package/i18n/rwdict.js +110 -0
  19. package/i18n/rwdict.js.map +1 -0
  20. package/i18n/scanner/checker.d.ts +5 -0
  21. package/i18n/scanner/checker.js +73 -0
  22. package/i18n/scanner/checker.js.map +1 -0
  23. package/i18n/scanner/index.d.ts +52 -0
  24. package/i18n/scanner/index.js +319 -0
  25. package/i18n/scanner/index.js.map +1 -0
  26. package/i18n/scanner/parser.d.ts +3 -0
  27. package/i18n/scanner/parser.js +154 -0
  28. package/i18n/scanner/parser.js.map +1 -0
  29. package/i18n/utils.d.ts +1 -0
  30. package/i18n/utils.js +14 -0
  31. package/i18n/utils.js.map +1 -0
  32. package/myfont.sass +11 -0
  33. package/net.browser.d.ts +23 -0
  34. package/net.browser.js +70 -0
  35. package/net.browser.js.map +1 -0
  36. package/net.js +2 -4
  37. package/net.js.map +1 -1
  38. package/package.json +36 -7
  39. package/prototype.browser.d.ts +130 -0
  40. package/prototype.browser.js +421 -0
  41. package/prototype.browser.js.map +1 -0
  42. package/repl.js +4 -8
  43. package/repl.js.map +1 -1
  44. package/scroll-bar.sass +35 -0
  45. package/server.d.ts +1 -0
  46. package/server.js +2 -3
  47. package/server.js.map +1 -1
  48. package/toaster.browser.d.ts +9 -0
  49. package/toaster.browser.js +45 -0
  50. package/toaster.browser.js.map +1 -0
  51. package/toaster.sass +22 -0
  52. package/ufs.js +3 -3
  53. package/ufs.js.map +1 -1
  54. package/utils.browser.d.ts +3 -0
  55. package/utils.browser.js +27 -0
  56. package/utils.browser.js.map +1 -0
  57. package/extension.d.ts +0 -3
  58. package/extension.js +0 -68
  59. package/extension.js.map +0 -1
  60. package/net.browser.ts +0 -141
  61. package/prototype.browser.ts +0 -728
  62. package/tsconfig.json +0 -73
  63. package/utils.browser.ts +0 -25
package/tsconfig.json DELETED
@@ -1,73 +0,0 @@
1
- {
2
- "exclude": [
3
- "node_modules",
4
- "*.browser.ts",
5
- ],
6
-
7
- "compilerOptions": {
8
- // --- module
9
- "module": "CommonJS", // none, CommonJS, amd, system, umd, es6, es2015, ESNext
10
- "moduleResolution": "Node",
11
- "allowSyntheticDefaultImports": true,
12
- "esModuleInterop": true,
13
- "resolveJsonModule": true,
14
- "isolatedModules": true,
15
-
16
- // --- build
17
- "target": "ES2019",
18
- "allowJs": false,
19
- "checkJs": false,
20
- "pretty": true,
21
- "newLine": "lf",
22
- "lib": ["ESNext", "DOM"],
23
- "importHelpers": true,
24
- // "watch": false
25
- "incremental": true,
26
- "tsBuildInfoFile": "./node_modules/.tsbuildinfo",
27
-
28
-
29
- // --- emit
30
- "declaration": true,
31
- "emitDeclarationOnly": false,
32
- "noEmitOnError": false,
33
- "listEmittedFiles": true,
34
-
35
- // --- source maps
36
- "sourceMap": true,
37
- "inlineSourceMap": false,
38
- "inlineSources": true,
39
-
40
- // --- features
41
- "experimentalDecorators": true,
42
- "emitDecoratorMetadata": true,
43
- "preserveSymlinks": true,
44
- "jsx": "react",
45
- "removeComments": false,
46
- "preserveConstEnums": true,
47
- "forceConsistentCasingInFileNames": true,
48
-
49
-
50
- // --- type checking
51
- "strict": false,
52
- "alwaysStrict": false,
53
- "noImplicitAny": false,
54
- "noImplicitReturns": false,
55
- "noImplicitThis": true,
56
- "noImplicitOverride": true,
57
- "noUnusedLocals": false,
58
- "noUnusedParameters": false,
59
- "skipLibCheck": true,
60
- },
61
-
62
- "watchOptions": {
63
- "excludeDirectories": [
64
- "**/node_modules",
65
- ],
66
-
67
- "watchFile": "useFsEvents",
68
- "watchDirectory": "useFsEvents",
69
-
70
- "fallbackPolling": "dynamicPriority"
71
- }
72
- }
73
-
package/utils.browser.ts DELETED
@@ -1,25 +0,0 @@
1
- export async function delay (milliseconds: number) {
2
- return new Promise<void>( resolve => {
3
- setTimeout(() => {
4
- resolve()
5
- }, milliseconds)
6
- })
7
- }
8
-
9
-
10
- /** 拼接 TypedArrays 生成一个完整的 Uint8Array */
11
- export function concat (arrays: ArrayBufferView[]) {
12
- let length = 0
13
- for (const a of arrays)
14
- length += a.byteLength
15
-
16
- let buf = new Uint8Array(length)
17
- let offset = 0
18
- for (const a of arrays) {
19
- const uint8view = new Uint8Array(a.buffer, a.byteOffset, a.byteLength)
20
- buf.set(uint8view, offset)
21
- offset += uint8view.byteLength
22
- }
23
-
24
- return buf
25
- }