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
1
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.7.1 to 0.7.2

1

lib/index.d.ts
export function highlight(code: string): string
export function tokenize(code: string): Array<[number, string]>
export function generate(tokens: string[]): Array<[number, string]>

4

lib/index.js

@@ -586,3 +586,3 @@ // @ts-check

* @param {Array<[number, string]>} tokens
* @return {Array<any>}
* @return {Array<[number, string]>}
*/

@@ -596,4 +596,2 @@ function generate(tokens) {

const createLine = (children) =>
// generateType === 'html'
// ? `<span class="sh__line">${content}</span>`
({

@@ -600,0 +598,0 @@ type: 'element',

{
"name": "sugar-high",
"version": "0.7.1",
"version": "0.7.2",
"type": "module",

@@ -22,9 +22,9 @@ "types": "./lib/index.d.ts",

"codice": "^0.2.0",
"next": "14.2.4",
"next": "15.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sugar-high": "link:./",
"vitest": "^1.2.2"
"vitest": "^2.1.3"
},
"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