@rindo/core 2.17.4 → 2.18.1

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 (69) hide show
  1. package/cli/index.cjs +98 -35
  2. package/cli/index.js +98 -35
  3. package/cli/package.json +1 -1
  4. package/compiler/lib.dom.d.ts +620 -89
  5. package/compiler/lib.dom.iterable.d.ts +27 -3
  6. package/compiler/lib.es2015.core.d.ts +3 -3
  7. package/compiler/lib.es2015.iterable.d.ts +2 -1
  8. package/compiler/lib.es2015.reflect.d.ts +1 -1
  9. package/compiler/lib.es2020.bigint.d.ts +7 -5
  10. package/compiler/lib.es2020.d.ts +2 -0
  11. package/compiler/lib.es2020.date.d.ts +44 -0
  12. package/compiler/lib.es2020.intl.d.ts +51 -11
  13. package/compiler/lib.es2020.number.d.ts +30 -0
  14. package/compiler/lib.es2021.intl.d.ts +106 -4
  15. package/compiler/lib.es2022.array.d.ts +123 -0
  16. package/compiler/lib.es2022.d.ts +26 -0
  17. package/compiler/lib.es2022.error.d.ts +75 -0
  18. package/compiler/lib.es2022.full.d.ts +25 -0
  19. package/compiler/lib.es2022.intl.d.ts +111 -0
  20. package/compiler/lib.es2022.object.d.ts +28 -0
  21. package/compiler/lib.es2022.string.d.ts +27 -0
  22. package/compiler/lib.es5.d.ts +25 -19
  23. package/compiler/lib.esnext.d.ts +1 -1
  24. package/compiler/lib.esnext.intl.d.ts +4 -1
  25. package/compiler/lib.webworker.d.ts +236 -40
  26. package/compiler/lib.webworker.iterable.d.ts +10 -3
  27. package/compiler/package.json +1 -1
  28. package/compiler/rindo.js +805 -931
  29. package/compiler/rindo.min.js +2 -2
  30. package/compiler/sys/in-memory-fs.d.ts +218 -0
  31. package/dependencies.json +10 -1
  32. package/dev-server/client/index.js +1 -1
  33. package/dev-server/client/package.json +1 -1
  34. package/dev-server/connector.html +2 -2
  35. package/dev-server/index.js +1 -1
  36. package/dev-server/package.json +1 -1
  37. package/dev-server/server-process.js +12 -12
  38. package/internal/app-data/package.json +1 -1
  39. package/internal/client/css-shim.js +1 -1
  40. package/internal/client/dom.js +1 -1
  41. package/internal/client/index.js +338 -158
  42. package/internal/client/package.json +1 -1
  43. package/internal/client/patch-browser.js +1 -1
  44. package/internal/client/patch-esm.js +1 -1
  45. package/internal/client/shadow-css.js +1 -1
  46. package/internal/hydrate/package.json +1 -1
  47. package/internal/hydrate/runner.d.ts +1 -1
  48. package/internal/package.json +1 -1
  49. package/internal/rindo-private.d.ts +2 -106
  50. package/internal/rindo-public-compiler.d.ts +44 -10
  51. package/internal/testing/package.json +1 -1
  52. package/mock-doc/index.cjs +77 -62
  53. package/mock-doc/index.d.ts +13 -12
  54. package/mock-doc/index.js +77 -62
  55. package/mock-doc/package.json +1 -1
  56. package/package.json +10 -12
  57. package/readme.md +44 -31
  58. package/screenshot/compare/build/p-f4745c2f.entry.js +1 -1
  59. package/screenshot/index.js +10 -10
  60. package/screenshot/package.json +1 -1
  61. package/sys/node/autoprefixer.js +5 -5
  62. package/sys/node/glob.js +1 -1
  63. package/sys/node/graceful-fs.js +1 -1
  64. package/sys/node/index.js +2 -2
  65. package/sys/node/package.json +1 -1
  66. package/sys/node/worker.js +1 -1
  67. package/testing/index.js +130 -295
  68. package/testing/package.json +1 -1
  69. package/testing/testing-utils.d.ts +5 -4
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rindo/core/testing",
3
- "version": "2.17.4",
3
+ "version": "2.18.1",
4
4
  "description": "Rindo testing suite.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -1,5 +1,6 @@
1
1
  /// <reference types="jest" />
2
2
  import type * as d from '@rindo/core/internal';
3
+ import { InMemoryFileSystem } from '../compiler/sys/in-memory-fs';
3
4
  export declare function shuffleArray(array: any[]): any[];
4
5
  /**
5
6
  * Testing utility to validate the existence of some provided file paths using a specific file system
@@ -8,7 +9,7 @@ export declare function shuffleArray(array: any[]): any[];
8
9
  * @param filePaths the paths to validate
9
10
  * @throws when one or more of the provided file paths cannot be found
10
11
  */
11
- export declare function expectFilesExist(fs: d.InMemoryFileSystem, filePaths: string[]): void;
12
+ export declare function expectFilesExist(fs: InMemoryFileSystem, filePaths: string[]): void;
12
13
  /**
13
14
  * Testing utility to validate the non-existence of some provided file paths using a specific file system
14
15
  *
@@ -16,9 +17,9 @@ export declare function expectFilesExist(fs: d.InMemoryFileSystem, filePaths: st
16
17
  * @param filePaths the paths to validate
17
18
  * @throws when one or more of the provided file paths is found
18
19
  */
19
- export declare function expectFilesDoNotExist(fs: d.InMemoryFileSystem, filePaths: string[]): void;
20
- export declare function getAppScriptUrl(config: d.Config, browserUrl: string): string;
21
- export declare function getAppStyleUrl(config: d.Config, browserUrl: string): string;
20
+ export declare function expectFilesDoNotExist(fs: InMemoryFileSystem, filePaths: string[]): void;
21
+ export declare function getAppScriptUrl(config: d.ValidatedConfig, browserUrl: string): string;
22
+ export declare function getAppStyleUrl(config: d.ValidatedConfig, browserUrl: string): string;
22
23
  /**
23
24
  * Utility for silencing `console` functions in tests.
24
25
  *