New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lwrjs/diagnostics

Package Overview
Dependencies
Maintainers
8
Versions
466
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwrjs/diagnostics - npm Package Compare versions

Comparing version 0.0.2-alpha50 to 0.0.2-alpha51

2

build/es/categories.d.ts
export declare type DiagnosticCategory = DiagnosticLwrConfigCategory | DiagnosticCompiler | DiagnosticLwrUnresolvableCategory | '...more here';
export declare type DiagnosticLwrConfigCategory = 'lwrConfig/invalidJson' | 'lwrConfig/invalidSchema';
export declare type DiagnosticLwrUnresolvableCategory = 'lwrUnresolvable/asset' | 'lwrUnresolvable/module' | 'lwrUnresolvable/resource' | 'lwrUnresolvable/invalid' | 'lwrUnresolvable/fatal';
export declare type DiagnosticLwrUnresolvableCategory = 'lwrUnresolvable/asset' | 'lwrUnresolvable/module' | 'lwrUnresolvable/label' | 'lwrUnresolvable/resource' | 'lwrUnresolvable/invalid' | 'lwrUnresolvable/fatal';
export declare type DiagnosticCompiler = 'compile/umd_transform';
//# sourceMappingURL=categories.d.ts.map

@@ -117,2 +117,9 @@ import { DiagnosticLocation } from '../types.js';

};
TOO_MANY: (configProperty: string, childProps: string[]) => Pick<{
category: "lwrConfig/invalidSchema";
message: string;
}, "category"> & {
advice: import("../types.js").DiagnosticAdvice;
message: string;
};
MISSING_REQUIRED: (configProperty: string, childProps: string[]) => Pick<{

@@ -119,0 +126,0 @@ category: "lwrConfig/invalidSchema";

@@ -66,2 +66,6 @@ import { createDiagnosticsCategory } from './index.js';

}),
TOO_MANY: (configProperty, childProps) => ({
category: 'lwrConfig/invalidSchema',
message: `A "${configProperty}" must contain exactly one of [${childProps}]`,
}),
MISSING_REQUIRED: (configProperty, childProps) => ({

@@ -68,0 +72,0 @@ category: 'lwrConfig/invalidSchema',

@@ -90,2 +90,6 @@ import { DiagnosticDescription, DiagnosticAdvice, StaticMarkup } from '../types';

};
TOO_MANY: (configProperty: string, childProps: string[]) => {
category: "lwrConfig/invalidSchema";
message: string;
};
MISSING_REQUIRED: (configProperty: string, childProps: string[]) => {

@@ -137,2 +141,6 @@ category: "lwrConfig/invalidSchema";

};
LABEL_MODULE: (file: string, error: string) => {
category: "lwrUnresolvable/label";
message: string;
};
}>;

@@ -139,0 +147,0 @@ };

@@ -65,3 +65,10 @@ export declare const unresolvable: {

};
LABEL_MODULE: (file: string, error: string) => Pick<{
category: "lwrUnresolvable/label";
message: string;
}, "category"> & {
advice: import("../types.js").DiagnosticAdvice;
message: string;
};
};
//# sourceMappingURL=unresolvable.d.ts.map

@@ -39,3 +39,7 @@ import { createDiagnosticsCategory } from './index.js';

}),
LABEL_MODULE: (file, error) => ({
category: 'lwrUnresolvable/label',
message: `Invalid JSON: Labels file ${file} must be a JSON object with string values or nested string values\n${error}`,
}),
});
//# sourceMappingURL=unresolvable.js.map

@@ -7,3 +7,3 @@ {

},
"version": "0.0.2-alpha50",
"version": "0.0.2-alpha51",
"homepage": "https://lwr.dev/",

@@ -34,3 +34,3 @@ "repository": {

"devDependencies": {
"@lwrjs/types": "0.0.2-alpha50"
"@lwrjs/types": "0.0.2-alpha51"
},

@@ -40,3 +40,3 @@ "engines": {

},
"gitHead": "e522a5ddddc83c076987e1b97a2c55f583fc9390"
"gitHead": "6eea329f9a79c998cec5a0f2078c7faa3ac70045"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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