Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stencil/core

Package Overview
Dependencies
Maintainers
10
Versions
1368
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stencil/core - npm Package Compare versions

Comparing version 0.0.8-10 to 0.0.8-11

compiler/transpile/datacollection/component-decorator.d.ts

13

bin/index.js

@@ -561,2 +561,8 @@ 'use strict';

}
function hasError$1(diagnostics) {
if (!diagnostics) {
return false;
}
return diagnostics.some(function (d) { return d.level === 'error' && d.type !== 'runtime'; });
}

@@ -1086,4 +1092,9 @@ var NodeLogger = /** @class */ (function () {

case 'build':
stencil.build(config).catch(function (err) {
stencil.build(config).then(function (results) {
if (!config.watch && hasError$1(results && results.diagnostics)) {
process.exit(1);
}
}).catch(function (err) {
config.logger.error(err);
process.exit(1);
});

@@ -1090,0 +1101,0 @@ if (config.watch) {

2

client/loader.js

@@ -29,3 +29,3 @@ (function (window, document, appNamespace, publicPath, appCore, appCoreSsr, appCorePolyfilled, components, x, i) {

x = document.createElement('script');
x.src = publicPath + (('noModule' in x && window.customElements && window.fetch && (window.CSS && window.CSS.supports && window.CSS.supports('--t', 0))) ? (document.documentElement.hasAttribute('data-ssr') ? appCoreSsr : appCore) : appCorePolyfilled);
x.src = publicPath + (('noModule' in x && window.customElements && window.fetch && (window.CSS && window.CSS.supports && window.CSS.supports('color', 'var(--c)'))) ? (document.documentElement.hasAttribute('data-ssr') ? appCoreSsr : appCore) : appCorePolyfilled);
x.setAttribute('data-path', publicPath);

@@ -32,0 +32,0 @@ x.setAttribute('data-namespace', appNamespace);

@@ -8,1 +8,2 @@ import { BuildConfig, BuildContext, CopyTask } from '../../util/interfaces';

export declare function getDestAbsPath(config: BuildConfig, src: string, dest?: string): string;
export declare function isCopyTaskFile(config: BuildConfig, filePath: string): boolean;

@@ -10,2 +10,5 @@ import { JSDoc } from '../../../util/interfaces';

export declare const getDeclarationParameters: GetDeclarationParameters;
export declare function isPropertyWithDecorators(member: ts.ClassElement): boolean;
export declare function isDecoratorNamed(name: string): (dec: ts.Decorator) => boolean;
export declare function isMethodWithDecorators(member: ts.ClassElement): boolean;
export declare function serializeSymbol(checker: ts.TypeChecker, symbol: ts.Symbol): JSDoc;
{
"name": "@stencil/core",
"version": "0.0.8-10",
"version": "0.0.8-11",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "A Compiler for Web Components",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc