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

astro-live-code

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astro-live-code - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "astro-live-code",
"type": "module",
"version": "0.0.1",
"version": "0.0.2",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -17,4 +17,2 @@ import { visitParents as unistVisit } from 'unist-util-visit-parents'

ensureImport(tree, { from: 'astro:components', name: 'Code' })
unistVisit(tree, 'code', (node, parents) => {

@@ -31,3 +29,3 @@ const parent = parents[parents.length - 1]

const parentId = toPOSIX(
file.history[0].split(process.cwd())[1].slice(1),
file.history[0].split(toPOSIX(process.cwd()))[1].slice(1),
)

@@ -34,0 +32,0 @@ const mdFilename = toPOSIX(

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