@stencil/core
Advanced tools
Comparing version
{ | ||
"name": "@stencil/core/cli", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Stencil CLI.", | ||
@@ -5,0 +5,0 @@ "main": "./index.cjs", |
{ | ||
"name": "@stencil/core/compiler", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Stencil Compiler.", | ||
@@ -5,0 +5,0 @@ "main": "./stencil.js", |
/*! | ||
Stencil Dev Server Client v4.31.0 | MIT Licensed | https://stenciljs.com | ||
Stencil Dev Server Client v4.32.0 | MIT Licensed | https://stenciljs.com | ||
*/ | ||
@@ -4,0 +4,0 @@ |
{ | ||
"name": "@stencil/core/dev-server/client", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Stencil Dev Server Client.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
/*! | ||
Stencil Dev Server v4.31.0 | MIT Licensed | https://stenciljs.com | ||
Stencil Dev Server v4.32.0 | MIT Licensed | https://stenciljs.com | ||
*/ | ||
@@ -4,0 +4,0 @@ "use strict"; |
{ | ||
"name": "@stencil/core/dev-server", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Stencil Development Server which communicates with the Stencil Compiler.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
{ | ||
"name": "@stencil/core/internal/app-data", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Used for default app data and build conditionals within builds.", | ||
@@ -5,0 +5,0 @@ "main": "./index.cjs", |
{ | ||
"name": "@stencil/core/internal/client", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Stencil internal client platform to be imported by the Stencil Compiler and internal runtime. Breaking changes can and will happen at any time.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
/* | ||
Stencil Client Patch Browser v4.31.0 | MIT Licensed | https://stenciljs.com | ||
Stencil Client Patch Browser v4.32.0 | MIT Licensed | https://stenciljs.com | ||
*/ | ||
@@ -4,0 +4,0 @@ |
{ | ||
"name": "@stencil/core/internal/hydrate", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Stencil internal hydrate platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -110,2 +110,26 @@ // Generated by dts-bundle-generator v9.5.1 | ||
userAgent?: string; | ||
/** | ||
* Configure how Stencil serializes the components shadow root. | ||
* - If set to `declarative-shadow-dom` the component will be rendered within a Declarative Shadow DOM. | ||
* - If set to `scoped` Stencil will render the contents of the shadow root as a `scoped: true` component | ||
* and the shadow DOM will be created during client-side hydration. | ||
* - Alternatively you can mix and match the two by providing an object with `declarative-shadow-dom` and `scoped` keys, | ||
* the value arrays containing the tag names of the components that should be rendered in that mode. | ||
* | ||
* Examples: | ||
* - `{ 'declarative-shadow-dom': ['my-component-1', 'another-component'], default: 'scoped' }` | ||
* Render all components as `scoped` apart from `my-component-1` and `another-component` | ||
* - `{ 'scoped': ['an-option-component'], default: 'declarative-shadow-dom' }` | ||
* Render all components within `declarative-shadow-dom` apart from `an-option-component` | ||
* - `'scoped'` Render all components as `scoped` | ||
* - `false` disables shadow root serialization | ||
* | ||
* *NOTE* `true` has been deprecated in favor of `declarative-shadow-dom` and `scoped` | ||
* @default 'declarative-shadow-dom' | ||
*/ | ||
serializeShadowRoot?: "declarative-shadow-dom" | "scoped" | { | ||
"declarative-shadow-dom"?: string[]; | ||
scoped?: string[]; | ||
default: "declarative-shadow-dom" | "scoped"; | ||
} | boolean; | ||
} | ||
@@ -154,26 +178,2 @@ export interface SerializeDocumentOptions extends HydrateDocumentOptions { | ||
/** | ||
* Configure how Stencil serializes the components shadow root. | ||
* - If set to `declarative-shadow-dom` the component will be rendered within a Declarative Shadow DOM. | ||
* - If set to `scoped` Stencil will render the contents of the shadow root as a `scoped: true` component | ||
* and the shadow DOM will be created during client-side hydration. | ||
* - Alternatively you can mix and match the two by providing an object with `declarative-shadow-dom` and `scoped` keys, | ||
* the value arrays containing the tag names of the components that should be rendered in that mode. | ||
* | ||
* Examples: | ||
* - `{ 'declarative-shadow-dom': ['my-component-1', 'another-component'], default: 'scoped' }` | ||
* Render all components as `scoped` apart from `my-component-1` and `another-component` | ||
* - `{ 'scoped': ['an-option-component'], default: 'declarative-shadow-dom' }` | ||
* Render all components within `declarative-shadow-dom` apart from `an-option-component` | ||
* - `'scoped'` Render all components as `scoped` | ||
* - `false` disables shadow root serialization | ||
* | ||
* *NOTE* `true` has been deprecated in favor of `declarative-shadow-dom` and `scoped` | ||
* @default 'declarative-shadow-dom' | ||
*/ | ||
serializeShadowRoot?: "declarative-shadow-dom" | "scoped" | { | ||
"declarative-shadow-dom"?: string[]; | ||
scoped?: string[]; | ||
default: "declarative-shadow-dom" | "scoped"; | ||
} | boolean; | ||
/** | ||
* The `fullDocument` flag determines the format of the rendered output. Set it to true to | ||
@@ -259,3 +259,5 @@ * generate a complete HTML document, or false to render only the component. | ||
export interface HydrateStyleElement extends HydrateElement { | ||
id?: string; | ||
href?: string; | ||
content?: string; | ||
} | ||
@@ -262,0 +264,0 @@ export interface HydrateStaticData { |
{ | ||
"name": "@stencil/core/internal", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Stencil internals only to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
{ | ||
"name": "@stencil/core/internal/testing", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Stencil internal testing platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
{ | ||
"name": "@stencil/core/mock-doc", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Mock window, document and DOM outside of a browser environment.", | ||
@@ -5,0 +5,0 @@ "main": "./index.cjs", |
{ | ||
"name": "@stencil/core", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "./internal/stencil-core/index.cjs", |
/* | ||
Stencil Screenshot v4.31.0 | MIT Licensed | https://stenciljs.com | ||
Stencil Screenshot v4.32.0 | MIT Licensed | https://stenciljs.com | ||
*/ | ||
@@ -4,0 +4,0 @@ "use strict"; |
{ | ||
"name": "@stencil/core/screenshot", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Stencil Screenshot.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
{ | ||
"name": "@stencil/core/sys/node", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Stencil Node System.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
/*! | ||
Stencil Node System Worker v4.31.0 | MIT Licensed | https://stenciljs.com | ||
Stencil Node System Worker v4.32.0 | MIT Licensed | https://stenciljs.com | ||
*/ | ||
"use strict";var f=Object.create;var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var g=(n,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of E(t))!R.call(n,e)&&e!==r&&d(n,e,{get:()=>t[e],enumerable:!(s=p(t,e))||s.enumerable});return n};var c=(n,t,r)=>(r=n!=null?f(y(n)):{},g(t||!n||!n.__esModule?d(r,"default",{value:n,enumerable:!0}):r,n));var l=c(require("../../compiler/stencil.js")),m=c(require("../../sys/node/index.js"));var a=(n,t)=>{let r=e=>{e&&e.code==="ERR_IPC_CHANNEL_CLOSED"&&n.exit(0)},s=(e,o)=>{let i={stencilId:e,stencilRtnValue:null,stencilRtnError:"Error"};typeof o=="string"?i.stencilRtnError+=": "+o:o&&(o.stack?i.stencilRtnError+=": "+o.stack:o.message&&(i.stencilRtnError+=":"+o.message)),n.send(i,r)};n.on("message",async e=>{if(e&&typeof e.stencilId=="number")try{let o={stencilId:e.stencilId,stencilRtnValue:await t(e),stencilRtnError:null};n.send(o,r)}catch(o){s(e.stencilId,o)}}),n.on("unhandledRejection",e=>{s(-1,e)})};var k=m.createNodeSys({process}),M=l.createWorkerMessageHandler(k);a(process,M); |
{ | ||
"name": "@stencil/core/testing", | ||
"version": "4.31.0", | ||
"version": "4.32.0", | ||
"description": "Stencil testing suite.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
21219208
0.01%147609
0.02%