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

@stylable/code-formatter

Package Overview
Dependencies
Maintainers
6
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/code-formatter - npm Package Compare versions

Comparing version 6.0.0-rc.3 to 6.0.0

8

package.json
{
"name": "@stylable/code-formatter",
"version": "6.0.0-rc.3",
"version": "6.0.0",
"description": "A code formatting utility for Stylable stylesheets",

@@ -10,6 +10,6 @@ "main": "dist/index.js",

"dependencies": {
"@stylable/core": "^6.0.0-rc.3",
"@stylable/core": "^6.0.0",
"@tokey/css-value-parser": "^0.1.4",
"js-beautify": "^1.14.11",
"postcss": "^8.4.33"
"js-beautify": "^1.15.1",
"postcss": "^8.4.35"
},

@@ -16,0 +16,0 @@ "files": [

@@ -209,4 +209,4 @@ import { parse, AnyNode, Rule, Declaration } from 'postcss';

if ('nodes' in ast) {
for (let i = 0; i < ast.nodes.length; i++) {
formatAst(ast.nodes[i], i, {
for (let i = 0; i < ast.nodes!.length; i++) {
formatAst(ast.nodes![i], i, {
endOfLine: NL,

@@ -213,0 +213,0 @@ indent,

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