@stencil/core 2.17.2 → 2.17.3

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI (CommonJS) v2.17.2 | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI (CommonJS) v2.17.3 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  'use strict';
5
5
 
@@ -829,7 +829,7 @@ LOG_LEVELS.includes(maybeLogLevel);
829
829
  const dependencies = [
830
830
  {
831
831
  name: "@stencil/core",
832
- version: "2.17.2",
832
+ version: "2.17.3",
833
833
  main: "compiler/stencil.js",
834
834
  resources: [
835
835
  "package.json",
package/cli/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI v2.17.2 | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI v2.17.3 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  /**
5
5
  * This sets the log level hierarchy for our terminal logger, ranging from
@@ -805,7 +805,7 @@ LOG_LEVELS.includes(maybeLogLevel);
805
805
  const dependencies = [
806
806
  {
807
807
  name: "@stencil/core",
808
- version: "2.17.2",
808
+ version: "2.17.3",
809
809
  main: "compiler/stencil.js",
810
810
  resources: [
811
811
  "package.json",
package/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/cli",
3
- "version": "2.17.2",
3
+ "version": "2.17.3",
4
4
  "description": "Stencil CLI.",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/compiler",
3
- "version": "2.17.2",
3
+ "version": "2.17.3",
4
4
  "description": "Stencil Compiler.",
5
5
  "main": "./stencil.js",
6
6
  "types": "./stencil.d.ts",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Compiler v2.17.2 | MIT Licensed | https://stenciljs.com
2
+ Stencil Compiler v2.17.3 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  (function(exports) {
5
5
  'use strict';
@@ -4065,7 +4065,7 @@ const createCustomResolverAsync = (sys, inMemoryFs, exts) => {
4065
4065
  };
4066
4066
  };
4067
4067
 
4068
- const buildId = '20220801155719';
4068
+ const buildId = '20220802224219';
4069
4069
  const minfyJsId = 'terser5.6.1_7';
4070
4070
  const optimizeCssId = 'autoprefixer10.2.5_postcss8.2.13_7';
4071
4071
  const parse5Version = '6.0.1';
@@ -4073,8 +4073,8 @@ const rollupVersion = '2.42.3';
4073
4073
  const sizzleVersion = '2.42.3';
4074
4074
  const terserVersion = '5.6.1';
4075
4075
  const typescriptVersion = '4.5.4';
4076
- const vermoji = '🍤';
4077
- const version$3 = '2.17.2';
4076
+ const vermoji = '🌭';
4077
+ const version$3 = '2.17.3';
4078
4078
  const versions = {
4079
4079
  stencil: version$3,
4080
4080
  parse5: parse5Version,
@@ -63068,6 +63068,7 @@ const validateModule = async (config, compilerCtx, buildCtx) => {
63068
63068
  packageJsonWarn(config, compilerCtx, buildCtx, msg, `"module"`);
63069
63069
  }
63070
63070
  };
63071
+ // TODO(STENCIL-516): Investigate the hierarchy of these output targets
63071
63072
  /**
63072
63073
  * Get the recommended `"module"` path for `package.json` given the output
63073
63074
  * targets that a user has set on their config.
@@ -63080,23 +63081,17 @@ function recommendedModulePath(config) {
63080
63081
  const customElementsBundleOT = config.outputTargets.find(isOutputTargetDistCustomElementsBundle);
63081
63082
  const customElementsOT = config.outputTargets.find(isOutputTargetDistCustomElements);
63082
63083
  const distCollectionOT = config.outputTargets.find(isOutputTargetDistCollection);
63083
- // If we're using `dist-custom-elements` then the preferred "module" field
63084
- // value is `$OUTPUT_DIR/components/index.js`
63085
- //
63086
- // Additionally, the `DIST_CUSTOM_ELEMENTS` output target should override
63087
- // `DIST_CUSTOM_ELEMENTS_BUNDLE` and `DIST_COLLECTION` output targets if
63088
- // they're also set, so we return first with this one.
63084
+ if (distCollectionOT) {
63085
+ return relative$1(config.rootDir, join(distCollectionOT.dir, 'index.js'));
63086
+ }
63089
63087
  if (customElementsOT) {
63090
- const componentsIndexAbs = join(customElementsOT.dir, 'components', 'index.js');
63088
+ const componentsIndexAbs = join(customElementsOT.dir, 'index.js');
63091
63089
  return relative$1(config.rootDir, componentsIndexAbs);
63092
63090
  }
63093
63091
  if (customElementsBundleOT) {
63094
63092
  const customElementsAbs = join(customElementsBundleOT.dir, 'index.js');
63095
63093
  return relative$1(config.rootDir, customElementsAbs);
63096
63094
  }
63097
- if (distCollectionOT) {
63098
- return relative$1(config.rootDir, join(distCollectionOT.dir, 'index.js'));
63099
- }
63100
63095
  // if no output target for which we define a recommended output target is set
63101
63096
  // we return `null`
63102
63097
  return null;
@@ -65390,7 +65385,7 @@ const getComponentPathContent = (componentGraph, outputTarget) => {
65390
65385
  const dependencies = [
65391
65386
  {
65392
65387
  name: "@stencil/core",
65393
- version: "2.17.2",
65388
+ version: "2.17.3",
65394
65389
  main: "compiler/stencil.js",
65395
65390
  resources: [
65396
65391
  "package.json",