@stencil/core 2.12.1 → 2.14.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.
- package/cli/index.cjs +15 -6
- package/cli/index.js +15 -6
- package/cli/package.json +1 -1
- package/compiler/lib.dom.d.ts +2855 -4909
- package/compiler/lib.dom.iterable.d.ts +42 -66
- package/compiler/lib.es2015.core.d.ts +60 -18
- package/compiler/lib.es2015.iterable.d.ts +3 -11
- package/compiler/lib.es2015.promise.d.ts +2 -74
- package/compiler/lib.es2015.symbol.wellknown.d.ts +3 -3
- package/compiler/lib.es2018.intl.d.ts +23 -11
- package/compiler/lib.es2019.string.d.ts +8 -2
- package/compiler/lib.es2020.bigint.d.ts +2 -2
- package/compiler/lib.es2020.intl.d.ts +173 -114
- package/compiler/lib.es2020.promise.d.ts +2 -3
- package/compiler/lib.es2021.d.ts +1 -0
- package/compiler/lib.es2021.intl.d.ts +44 -0
- package/compiler/lib.es2021.promise.d.ts +8 -1
- package/compiler/lib.es5.d.ts +112 -52
- package/compiler/lib.esnext.intl.d.ts +1 -10
- package/compiler/lib.webworker.d.ts +1013 -1267
- package/compiler/lib.webworker.iterable.d.ts +28 -34
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +399 -78
- package/compiler/stencil.min.js +2 -2
- package/dependencies.json +2 -1
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +3 -3
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +16 -5
- package/internal/app-data/package.json +1 -1
- package/internal/client/css-shim.js +2 -2
- package/internal/client/dom.js +1 -1
- package/internal/client/index.js +28 -2
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +5 -1
- package/internal/client/patch-esm.js +1 -1
- package/internal/client/polyfills/css-shim.js +1 -1
- package/internal/client/shadow-css.js +1 -1
- package/internal/hydrate/index.js +3 -1
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +1 -1
- package/internal/package.json +1 -1
- package/internal/testing/index.js +3 -1
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +29 -2
- package/mock-doc/index.d.ts +4 -3
- package/mock-doc/index.js +29 -2
- package/mock-doc/package.json +1 -1
- package/package.json +7 -8
- package/screenshot/package.json +1 -1
- package/sys/node/index.js +9 -6
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +365 -345
- package/testing/jest/jest-config.d.ts +11 -0
- package/testing/jest/jest-runner.d.ts +4 -0
- package/testing/package.json +1 -1
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import type * as d from '@stencil/core/internal';
|
|
2
2
|
import type { Config } from '@jest/types';
|
|
3
|
+
/**
|
|
4
|
+
* Builds the `argv` to be used when programmatically invoking the Jest CLI
|
|
5
|
+
* @param config the Stencil config to use while generating Jest CLI arguments
|
|
6
|
+
* @returns the arguments to pass to the Jest CLI, wrapped in an object
|
|
7
|
+
*/
|
|
3
8
|
export declare function buildJestArgv(config: d.Config): Config.Argv;
|
|
9
|
+
/**
|
|
10
|
+
* Generate a Jest run configuration to be used as a part of the `argv` passed to the Jest CLI when it is invoked
|
|
11
|
+
* programmatically
|
|
12
|
+
* @param config the Stencil config to use while generating Jest CLI arguments
|
|
13
|
+
* @returns the Jest Config to attach to the `argv` argument
|
|
14
|
+
*/
|
|
4
15
|
export declare function buildJestConfig(config: d.Config): string;
|
|
5
16
|
export declare function getProjectListFromCLIArgs(config: d.Config, argv: Config.Argv): Config.Path[];
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type * as d from '@stencil/core/internal';
|
|
2
2
|
export declare function runJest(config: d.Config, env: d.E2EProcessEnv): Promise<boolean>;
|
|
3
|
+
/**
|
|
4
|
+
* Creates a Stencil test runner
|
|
5
|
+
* @returns the test runner
|
|
6
|
+
*/
|
|
3
7
|
export declare function createTestRunner(): any;
|
|
4
8
|
export declare function includeTestFile(testPath: string, env: d.E2EProcessEnv): boolean;
|
|
5
9
|
export declare function getEmulateConfigs(testing: d.TestingConfig, flags: d.ConfigFlags): d.EmulateConfig[];
|