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

@biomejs/wasm-nodejs

Package Overview
Dependencies
Maintainers
4
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@biomejs/wasm-nodejs - npm Package Compare versions

Comparing version 1.3.3 to 1.4.0

176

biome_wasm.d.ts

@@ -113,2 +113,6 @@ /* tslint:disable */

/**
* The type of line ending.
*/
lineEnding?: LineEnding;
/**
* What's the max width of a line. Defaults to 80.

@@ -199,2 +203,3 @@ */

type PlainIndentStyle = "tab" | "space";
type LineEnding = "lf" | "crlf" | "cr";
type LineWidth = number;

@@ -207,2 +212,10 @@ interface JavascriptFormatter {

/**
* Whether to hug the closing bracket of multiline HTML/JSX tags to the end of the last line, rather than being alone on the following line. Defaults to false.
*/
bracketSameLine?: boolean;
/**
* Whether to insert spaces around brackets in object literals. Defaults to true.
*/
bracketSpacing?: boolean;
/**
* Control the formatter for JavaScript (and its super languages) files.

@@ -228,4 +241,8 @@ */

/**
* What's the max width of a line, applied to JavaScript (and its super languages) files. Defaults to 80.
* The type of line ending applied to JavaScript (and its super languages) files.
*/
lineEnding?: LineEnding;
/**
* What's the max width of a line applied to JavaScript (and its super languages) files. Defaults to 80.
*/
lineWidth?: LineWidth;

@@ -276,4 +293,8 @@ /**

/**
* What's the max width of a line, applied to JSON (and its super languages) files. Defaults to 80.
* The type of line ending applied to JSON (and its super languages) files.
*/
lineEnding?: LineEnding;
/**
* What's the max width of a line applied to JSON (and its super languages) files. Defaults to 80.
*/
lineWidth?: LineWidth;

@@ -375,2 +396,6 @@ }

/**
* Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.
*/
noInteractiveElementToNoninteractiveRole?: RuleConfiguration;
/**
* Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.

@@ -412,2 +437,6 @@ */

/**
* Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.
*/
useAriaActivedescendantWithTabindex?: RuleConfiguration;
/**
* Enforce that elements with ARIA roles must have all required ARIA attributes for that role.

@@ -491,2 +520,6 @@ */

/**
* Disallow this and super in static contexts.
*/
noThisInStatic?: RuleConfiguration;
/**
* Disallow unnecessary catch clauses.

@@ -540,2 +573,6 @@ */

/**
* Use arrow functions over function expressions.
*/
useArrowFunction?: RuleConfiguration;
/**
* Promotes the use of .flatMap() when map().flat() are used together.

@@ -583,2 +620,6 @@ */

/**
* Disallow empty character classes in regular expression literals.
*/
noEmptyCharacterClassInRegex?: RuleConfiguration;
/**
* Disallows empty destructuring patterns.

@@ -600,2 +641,6 @@ */

/**
* Disallow new operators with global non-constructor functions.
*/
noInvalidNewBuiltin?: RuleConfiguration;
/**
* Disallow new operators with the Symbol object.

@@ -703,6 +748,10 @@ */

/**
* Usually, the definition in the standard library is more precise than what people come up with or the used constant exceeds the maximum precision of the number type.
* Enforce that aria-hidden="true" is not set on focusable elements.
*/
noApproximativeNumericConstant?: RuleConfiguration;
noAriaHiddenOnFocusable?: RuleConfiguration;
/**
* Disallow default exports.
*/
noDefaultExport?: RuleConfiguration;
/**
* Disallow two keys with the same name inside a JSON object.

@@ -716,26 +765,6 @@ */

/**
* Disallow empty character classes in regular expression literals.
* Disallow use of implicit any type on variable declarations.
*/
noEmptyCharacterClassInRegex?: RuleConfiguration;
noImplicitAnyLet?: RuleConfiguration;
/**
* Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.
*/
noInteractiveElementToNoninteractiveRole?: RuleConfiguration;
/**
* Disallow new operators with global non-constructor functions.
*/
noInvalidNewBuiltin?: RuleConfiguration;
/**
* Enforce proper usage of new and constructor.
*/
noMisleadingInstantiator?: RuleConfiguration;
/**
* Disallow shorthand assign when variable appears on both sides.
*/
noMisrefactoredShorthandAssign?: RuleConfiguration;
/**
* Disallow this and super in static contexts.
*/
noThisInStatic?: RuleConfiguration;
/**
* Disallow unused imports.

@@ -745,5 +774,5 @@ */

/**
* Disallow else block when the if block breaks early.
* Disallow unused private class members
*/
noUselessElse?: RuleConfiguration;
noUnusedPrivateClassMembers?: RuleConfiguration;
/**

@@ -758,14 +787,6 @@ * Disallow unnecessary nested block statements.

/**
* Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.
* Ensure async functions utilize await.
*/
useAriaActivedescendantWithTabindex?: RuleConfiguration;
useAwait?: RuleConfiguration;
/**
* Use arrow functions over function expressions.
*/
useArrowFunction?: RuleConfiguration;
/**
* Enforce the use of as const over literal type and type annotation.
*/
useAsConstAssertion?: RuleConfiguration;
/**
* Enforce the use of import type when an import only has specifiers with type qualifier.

@@ -779,5 +800,9 @@ */

/**
* Require assignment operator shorthand where possible.
* Enforce the use of the regular expression literals instead of the RegExp constructor if possible.
*/
useShorthandAssign?: RuleConfiguration;
useRegexLiterals?: RuleConfiguration;
/**
* Elements with ARIA roles must use a valid, non-abstract ARIA role.
*/
useValidAriaRole?: RuleConfiguration;
}

@@ -874,2 +899,6 @@ interface Performance {

/**
* Disallow else block when the if block breaks early.
*/
noUselessElse?: RuleConfiguration;
/**
* Disallow the use of var

@@ -883,2 +912,6 @@ */

/**
* Enforce the use of as const over literal type and type annotation.
*/
useAsConstAssertion?: RuleConfiguration;
/**
* Requires following curly brace conventions.

@@ -932,2 +965,6 @@ */

/**
* Require assignment operator shorthand where possible.
*/
useShorthandAssign?: RuleConfiguration;
/**
* Enforces switch clauses have a single statement, emits a quick fix wrapping the statements in a block.

@@ -955,2 +992,6 @@ */

/**
* Usually, the definition in the standard library is more precise than what people come up with or the used constant exceeds the maximum precision of the number type.
*/
noApproximativeNumericConstant?: RuleConfiguration;
/**
* Discourage the usage of Array index in keys.

@@ -1068,2 +1109,10 @@ */

/**
* Enforce proper usage of new and constructor.
*/
noMisleadingInstantiator?: RuleConfiguration;
/**
* Disallow shorthand assign when variable appears on both sides.
*/
noMisrefactoredShorthandAssign?: RuleConfiguration;
/**
* Disallow direct use of Object.prototype builtins.

@@ -1144,2 +1193,6 @@ */

/**
* The type of line ending.
*/
lineEnding?: LineEnding;
/**
* What's the max width of a line. Defaults to 80.

@@ -1175,3 +1228,4 @@ */

| NamingConventionOptions
| RestrictedGlobalsOptions;
| RestrictedGlobalsOptions
| ValidAriaRoleOptions;
interface ComplexityOptions {

@@ -1205,2 +1259,6 @@ /**

}
interface ValidAriaRoleOptions {
allowedInvalidRoles: string[];
ignoreNonDom: boolean;
}
interface Hooks {

@@ -1223,2 +1281,6 @@ /**

type EnumMemberCase = "PascalCase" | "CONSTANT_CASE" | "camelCase";
interface ProjectFeaturesParams {
manifest_path: RomePath;
}
interface ProjectFeaturesResult {}
interface OpenFileParams {

@@ -1303,2 +1365,3 @@ content: string;

| "lint/a11y/noHeaderScope"
| "lint/a11y/noInteractiveElementToNoninteractiveRole"
| "lint/a11y/noNoninteractiveElementToInteractiveRole"

@@ -1312,2 +1375,3 @@ | "lint/a11y/noNoninteractiveTabindex"

| "lint/a11y/useAnchorContent"
| "lint/a11y/useAriaActivedescendantWithTabindex"
| "lint/a11y/useAriaPropsForRole"

@@ -1331,2 +1395,3 @@ | "lint/a11y/useButtonType"

| "lint/complexity/noStaticOnlyClass"
| "lint/complexity/noThisInStatic"
| "lint/complexity/noUselessCatch"

@@ -1343,2 +1408,3 @@ | "lint/complexity/noUselessConstructor"

| "lint/complexity/noWith"
| "lint/complexity/useArrowFunction"
| "lint/complexity/useFlatMap"

@@ -1353,2 +1419,3 @@ | "lint/complexity/useLiteralKeys"

| "lint/correctness/noConstructorReturn"
| "lint/correctness/noEmptyCharacterClassInRegex"
| "lint/correctness/noEmptyPattern"

@@ -1358,2 +1425,3 @@ | "lint/correctness/noGlobalObjectCalls"

| "lint/correctness/noInvalidConstructorSuper"
| "lint/correctness/noInvalidNewBuiltin"
| "lint/correctness/noNewSymbol"

@@ -1383,20 +1451,16 @@ | "lint/correctness/noNonoctalDecimalEscape"

| "lint/nursery/noApproximativeNumericConstant"
| "lint/nursery/noAriaHiddenOnFocusable"
| "lint/nursery/noDefaultExport"
| "lint/nursery/noDuplicateJsonKeys"
| "lint/nursery/noEmptyBlockStatements"
| "lint/nursery/noEmptyCharacterClassInRegex"
| "lint/nursery/noInteractiveElementToNoninteractiveRole"
| "lint/nursery/noInvalidNewBuiltin"
| "lint/nursery/noMisleadingInstantiator"
| "lint/nursery/noMisrefactoredShorthandAssign"
| "lint/nursery/noThisInStatic"
| "lint/nursery/noImplicitAnyLet"
| "lint/nursery/noUnusedImports"
| "lint/nursery/noUselessElse"
| "lint/nursery/noUnusedPrivateClassMembers"
| "lint/nursery/noUselessLoneBlockStatements"
| "lint/nursery/useAriaActivedescendantWithTabindex"
| "lint/nursery/useArrowFunction"
| "lint/nursery/useAsConstAssertion"
| "lint/nursery/useAwait"
| "lint/nursery/useBiomeSuppressionComment"
| "lint/nursery/useGroupedTypeImport"
| "lint/nursery/useImportRestrictions"
| "lint/nursery/useShorthandAssign"
| "lint/nursery/useRegexLiterals"
| "lint/nursery/useValidAriaRole"
| "lint/performance/noAccumulatingSpread"

@@ -1418,3 +1482,5 @@ | "lint/performance/noDelete"

| "lint/style/noUnusedTemplateLiteral"
| "lint/style/noUselessElse"
| "lint/style/noVar"
| "lint/style/useAsConstAssertion"
| "lint/style/useBlockStatements"

@@ -1432,2 +1498,3 @@ | "lint/style/useCollapsedElseIf"

| "lint/style/useShorthandArrayType"
| "lint/style/useShorthandAssign"
| "lint/style/useSingleCaseStatement"

@@ -1437,2 +1504,3 @@ | "lint/style/useSingleVarDeclarator"

| "lint/style/useWhile"
| "lint/suspicious/noApproximativeNumericConstant"
| "lint/suspicious/noArrayIndexKey"

@@ -1466,2 +1534,4 @@ | "lint/suspicious/noAssignInExpressions"

| "lint/suspicious/noLabelVar"
| "lint/suspicious/noMisleadingInstantiator"
| "lint/suspicious/noMisrefactoredShorthandAssign"
| "lint/suspicious/noPrototypeBuiltins"

@@ -1488,2 +1558,3 @@ | "lint/suspicious/noRedeclare"

| "deserialize"
| "project"
| "internalError/io"

@@ -1494,2 +1565,3 @@ | "internalError/fs"

| "parse/noSuperWithoutExtends"
| "parse/noInitializerWithDefinite"
| "parse/noDuplicatePrivateClassMembers"

@@ -1496,0 +1568,0 @@ | "lint"

@@ -1,1 +0,1 @@

{"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.3.3","license":"MIT","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}
{"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.0","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}

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