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

sugar-high

Package Overview
Dependencies
Maintainers
0
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sugar-high - npm Package Compare versions

Comparing version 0.8.3 to 0.8.4

15

lib/index.js

@@ -662,16 +662,17 @@ // @ts-check

tokens
.map(([type, value]) => (
{
.map(([type, value]) => {
const tokenType = TokenTypes[type]
return {
type: 'element',
tagName: 'span',
children: [{
type, // token type
value: value, // to encode
type: 'text', // text node
value, // to encode
}],
properties: {
className: `sh__token--${TokenTypes[type]}`,
style: { color: `var(--sh-${TokenTypes[type]})` },
className: `sh__token--${tokenType}`,
style: { color: `var(--sh-${tokenType})` },
},
}
))
})
)

@@ -678,0 +679,0 @@ lines.push(createLine(lineTokens))

{
"name": "sugar-high",
"version": "0.8.3",
"version": "0.8.4",
"type": "module",

@@ -20,3 +20,3 @@ "types": "./lib/index.d.ts",

"@types/react": "19.0.7",
"codice": "^0.5.0",
"codice": "^1.0.0-beta.0",
"next": "15.1.5",

@@ -29,3 +29,6 @@ "react": "^19.0.0",

},
"resolutions": {
"sugar-high": "link:./"
},
"packageManager": "pnpm@8.7.1"
}
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