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.4.1-nightly.bc772a3 to 1.4.1-nightly.d869a33

122

biome_wasm.d.ts

@@ -20,2 +20,3 @@ /* tslint:disable */

| "Ignored"
| "Protected"
| "FeatureNotEnabled"

@@ -25,2 +26,4 @@ | "FileNotSupported";

configuration: Configuration;
gitignore_matches: string[];
vcs_base_path?: string;
}

@@ -33,2 +36,6 @@ interface Configuration {

/**
* Specific configuration for the Css language
*/
css?: CssConfiguration;
/**
* A list of paths to other JSON files, used to extends the current configuration.

@@ -70,2 +77,12 @@ */

}
interface CssConfiguration {
/**
* Formatting options
*/
formatter?: CssFormatter;
/**
* Parsing options
*/
parser?: CssParser;
}
type StringSet = string[];

@@ -191,2 +208,6 @@ interface FilesConfiguration {

/**
* The main branch of the project
*/
defaultBranch?: string;
/**
* Whether Biome should integrate itself with the VCS client

@@ -206,2 +227,35 @@ */

}
interface CssFormatter {
/**
* Control the formatter for CSS (and its super languages) files.
*/
enabled?: boolean;
/**
* The size of the indentation applied to CSS (and its super languages) files. Default to 2.
*/
indentSize?: number;
/**
* The indent style applied to CSS (and its super languages) files.
*/
indentStyle?: PlainIndentStyle;
/**
* The size of the indentation applied to CSS (and its super languages) files. Default to 2.
*/
indentWidth?: number;
/**
* The type of line ending applied to CSS (and its super languages) files.
*/
lineEnding?: LineEnding;
/**
* What's the max width of a line applied to CSS (and its super languages) files. Defaults to 80.
*/
lineWidth?: LineWidth;
quoteStyle?: QuoteStyle;
}
interface CssParser {
/**
* Allow comments to appear on incorrect lines in `.css` files
*/
allowWrongLineComments?: boolean;
}
type PlainIndentStyle = "tab" | "space";

@@ -333,2 +387,6 @@ type LineEnding = "lf" | "crlf" | "cr";

/**
* Specific configuration for the Css language
*/
css?: CssConfiguration;
/**
* Specific configuration for the Json language

@@ -363,4 +421,4 @@ */

type VcsClientKind = "git";
type QuoteStyle = "double" | "single";
type ArrowParentheses = "always" | "asNeeded";
type QuoteStyle = "double" | "single";
type QuoteProperties = "asNeeded" | "preserve";

@@ -765,2 +823,6 @@ type Semicolons = "always" | "asNeeded";

/**
* Disallow the use of variables and function parameters before their declaration
*/
noInvalidUseBeforeDeclaration?: RuleConfiguration;
/**
* Disallow characters made with multiple code points in character class syntax.

@@ -770,2 +832,10 @@ */

/**
* Forbid the use of Node.js builtin modules.
*/
noNodejsModules?: RuleConfiguration;
/**
* Disallow then property.
*/
noThenProperty?: RuleConfiguration;
/**
* Disallow unused imports.

@@ -783,2 +853,6 @@ */

/**
* Disallow ternary operators when simpler alternatives exist.
*/
noUselessTernary?: RuleConfiguration;
/**
* It enables the recommended rules for this group

@@ -792,2 +866,10 @@ */

/**
* Promotes the use of export type for types.
*/
useExportType?: RuleConfiguration;
/**
* Enforce naming conventions for JavaScript and TypeScript filenames.
*/
useFilenamingConvention?: RuleConfiguration;
/**
* This rule recommends a for-of loop when in a for loop, the index used to extract an item from the iterated array.

@@ -805,2 +887,10 @@ */

/**
* Enforces using the node: protocol for Node.js builtin modules.
*/
useNodejsImportProtocol?: RuleConfiguration;
/**
* Use the Number properties instead of global ones.
*/
useNumberNamespace?: RuleConfiguration;
/**
* Enforce the use of the regular expression literals instead of the RegExp constructor if possible.

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

/**
* Require consistently using either T[] or Array<T>
*/
useConsistentArrayType?: RuleConfiguration;
/**
* Require const declarations for variables that are never reassigned after declared.

@@ -1230,2 +1324,3 @@ */

| ComplexityOptions
| FilenamingConventionOptions
| HooksOptions

@@ -1241,2 +1336,12 @@ | NamingConventionOptions

}
interface FilenamingConventionOptions {
/**
* Allowed cases for _TypeScript_ `enum` member names.
*/
filenameCases: FilenameCases;
/**
* If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case].
*/
strictCase: boolean;
}
interface HooksOptions {

@@ -1268,2 +1373,3 @@ /**

}
type FilenameCases = FilenameCase[];
interface Hooks {

@@ -1286,2 +1392,3 @@ /**

type EnumMemberCase = "PascalCase" | "CONSTANT_CASE" | "camelCase";
type FilenameCase = "camelCase" | "export" | "kebab-case" | "snake_case";
interface ProjectFeaturesParams {

@@ -1304,2 +1411,3 @@ manifest_path: RomePath;

| "Jsonc"
| "Css"
| "Unknown";

@@ -1456,14 +1564,23 @@ interface ChangeFileParams {

| "lint/nursery/noImplicitAnyLet"
| "lint/nursery/noInvalidUseBeforeDeclaration"
| "lint/nursery/noMisleadingCharacterClass"
| "lint/nursery/noNodejsModules"
| "lint/nursery/noThenProperty"
| "lint/nursery/noTypeOnlyImportAttributes"
| "lint/nursery/noUnusedImports"
| "lint/nursery/noUnusedPrivateClassMembers"
| "lint/nursery/noUselessLoneBlockStatements"
| "lint/nursery/noUselessTernary"
| "lint/nursery/useAwait"
| "lint/nursery/useBiomeSuppressionComment"
| "lint/nursery/useExportType"
| "lint/nursery/useFilenamingConvention"
| "lint/nursery/useForOf"
| "lint/nursery/useGroupedTypeImport"
| "lint/nursery/useImportRestrictions"
| "lint/nursery/useNodejsImportProtocol"
| "lint/nursery/useNumberNamespace"
| "lint/nursery/useRegexLiterals"
| "lint/nursery/useShorthandFunctionType"
| "lint/nursery/useValidAriaRole"
| "lint/nursery/useShorthandFunctionType"
| "lint/performance/noAccumulatingSpread"

@@ -1491,2 +1608,3 @@ | "lint/performance/noDelete"

| "lint/style/useConst"
| "lint/style/useConsistentArrayType"
| "lint/style/useDefaultParameterLast"

@@ -1493,0 +1611,0 @@ | "lint/style/useEnumInitializers"

46

biome_wasm.js
let imports = {};
imports['__wbindgen_placeholder__'] = module.exports;
let wasm;
const { TextEncoder, TextDecoder } = require(`util`);
const { TextDecoder, TextEncoder } = require(`util`);

@@ -35,2 +35,19 @@ const heap = new Array(128).fill(undefined);

let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
cachedTextDecoder.decode();
let cachedUint8Memory0 = null;
function getUint8Memory0() {
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
}
return cachedUint8Memory0;
}
function getStringFromWasm0(ptr, len) {
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
}
function isLikeNone(x) {

@@ -60,11 +77,2 @@ return x === undefined || x === null;

let cachedUint8Memory0 = null;
function getUint8Memory0() {
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
}
return cachedUint8Memory0;
}
let cachedTextEncoder = new TextEncoder('utf-8');

@@ -123,10 +131,2 @@

let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
cachedTextDecoder.decode();
function getStringFromWasm0(ptr, len) {
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
}
let cachedBigInt64Memory0 = null;

@@ -707,2 +707,7 @@

module.exports.__wbindgen_error_new = function(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
module.exports.__wbindgen_number_get = function(arg0, arg1) {

@@ -735,7 +740,2 @@ const obj = getObject(arg1);

module.exports.__wbindgen_error_new = function(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
module.exports.__wbindgen_object_clone_ref = function(arg0) {

@@ -742,0 +742,0 @@ const ret = getObject(arg0);

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

{"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.1-nightly.bc772a3","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"]}
{"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.1-nightly.d869a33","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