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

@biomejs/biome

Package Overview
Dependencies
Maintainers
4
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@biomejs/biome - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2-nightly.9c28238

61

configuration_schema.json

@@ -719,2 +719,19 @@ {

},
"enabled": {
"description": "Control the formatter for JavaScript (and its super languages) files.",
"type": ["boolean", "null"]
},
"indentSize": {
"description": "The size of the indentation applied to JavaScript (and its super languages) files. Default to 2.",
"type": ["integer", "null"],
"format": "uint8",
"minimum": 0.0
},
"indentStyle": {
"description": "The indent style applied to JavaScript (and its super languages) files.",
"anyOf": [
{ "$ref": "#/definitions/PlainIndentStyle" },
{ "type": "null" }
]
},
"jsxQuoteStyle": {

@@ -724,2 +741,7 @@ "description": "The type of quotes used in JSX. Defaults to double.",

},
"lineWidth": {
"description": "What's the max width of a line, applied to JavaScript (and its super languages) files. Defaults to 80.",
"default": 80,
"anyOf": [{ "$ref": "#/definitions/LineWidth" }, { "type": "null" }]
},
"quoteProperties": {

@@ -769,2 +791,9 @@ "description": "When properties in objects are quoted. Defaults to asNeeded.",

"properties": {
"formatter": {
"description": "Formatting options",
"anyOf": [
{ "$ref": "#/definitions/JsonFormatter" },
{ "type": "null" }
]
},
"parser": {

@@ -777,2 +806,30 @@ "description": "Parsing options",

},
"JsonFormatter": {
"type": "object",
"properties": {
"enabled": {
"description": "Control the formatter for JSON (and its super languages) files.",
"type": ["boolean", "null"]
},
"indent_size": {
"description": "The size of the indentation applied to JSON (and its super languages) files. Default to 2.",
"type": ["integer", "null"],
"format": "uint8",
"minimum": 0.0
},
"indent_style": {
"description": "The indent style applied to JSON (and its super languages) files.",
"anyOf": [
{ "$ref": "#/definitions/PlainIndentStyle" },
{ "type": "null" }
]
},
"line_width": {
"description": "What's the max width of a line, applied to JSON (and its super languages) files. Defaults to 80.",
"default": 80,
"anyOf": [{ "$ref": "#/definitions/LineWidth" }, { "type": "null" }]
}
},
"additionalProperties": false
},
"JsonParser": {

@@ -859,4 +916,4 @@ "description": "Options that changes how the JSON parser behaves",

},
"noConfusingArrow": {
"description": "Disallow arrow functions where they could be confused with comparisons.",
"noConfusingVoidType": {
"description": "Disallow void type outside of generic or return types.",
"anyOf": [

@@ -863,0 +920,0 @@ { "$ref": "#/definitions/RuleConfiguration" },

2

package.json

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

{"name":"@biomejs/biome","version":"1.1.1","bin":"bin/biome","scripts":{"postinstall":"node scripts/postinstall.js"},"homepage":"https://biomejs.dev","repository":{"type":"git","url":"https://github.com/biomejs/biome.git","directory":"packages/@biomejs/biome"},"author":"Emanuele Stoppa","license":"MIT","bugs":"https://github.com/biomejs/biome/issues","description":"Biome is a toolchain for the web: formatter, linter and more","files":["bin/biome","scripts/postinstall.js","configuration_schema.json","README.md"],"keywords":["JavaScript","TypeScript","format","lint","toolchain","JSON"],"engines":{"node":">=14.*"},"optionalDependencies":{"@biomejs/cli-win32-x64":"1.1.1","@biomejs/cli-win32-arm64":"1.1.1","@biomejs/cli-darwin-x64":"1.1.1","@biomejs/cli-darwin-arm64":"1.1.1","@biomejs/cli-linux-x64":"1.1.1","@biomejs/cli-linux-arm64":"1.1.1"}}
{"name":"@biomejs/biome","version":"1.1.2-nightly.9c28238","bin":"bin/biome","scripts":{"postinstall":"node scripts/postinstall.js"},"homepage":"https://biomejs.dev","repository":{"type":"git","url":"https://github.com/biomejs/biome.git","directory":"packages/@biomejs/biome"},"author":"Emanuele Stoppa","license":"MIT","bugs":"https://github.com/biomejs/biome/issues","description":"Biome is a toolchain for the web: formatter, linter and more","files":["bin/biome","scripts/postinstall.js","configuration_schema.json","README.md"],"keywords":["JavaScript","TypeScript","format","lint","toolchain","JSON"],"engines":{"node":">=14.*"},"optionalDependencies":{"@biomejs/cli-win32-x64":"1.1.2-nightly.9c28238","@biomejs/cli-win32-arm64":"1.1.2-nightly.9c28238","@biomejs/cli-darwin-x64":"1.1.2-nightly.9c28238","@biomejs/cli-darwin-arm64":"1.1.2-nightly.9c28238","@biomejs/cli-linux-x64":"1.1.2-nightly.9c28238","@biomejs/cli-linux-arm64":"1.1.2-nightly.9c28238"}}

@@ -5,12 +5,12 @@ const { platform, arch } = process;

win32: {
x64: "@biomejs/cli-win32-x64/rome.exe",
arm64: "@biomejs/cli-win32-arm64/rome.exe",
x64: "@biomejs/cli-win32-x64/biome.exe",
arm64: "@biomejs/cli-win32-arm64/biome.exe",
},
darwin: {
x64: "@biomejs/cli-darwin-x64/rome",
arm64: "@biomejs/cli-darwin-arm64/rome",
x64: "@biomejs/cli-darwin-x64/biome",
arm64: "@biomejs/cli-darwin-arm64/biome",
},
linux: {
x64: "@biomejs/cli-linux-x64/rome",
arm64: "@biomejs/cli-linux-arm64/rome",
x64: "@biomejs/cli-linux-x64/biome",
arm64: "@biomejs/cli-linux-arm64/biome",
},

@@ -26,3 +26,3 @@ };

console.warn(
`The Biome CLI postinstall script failed to resolve the binary file "${binName}". Running Biome from the npm package will probably not work correctly.`,
`The Biome CLI postinstall script failed to resolve the binary file "${binName}". Running Biome from the npm package will probably not work correctly.`
);

@@ -34,4 +34,4 @@ }

"You can still use the CLI by cloning the biomejs/biome repo from GitHub, " +
"and follow the instructions there to build the CLI for your platform.",
"and follow the instructions there to build the CLI for your platform."
);
}
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