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

recma-import-images

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recma-import-images - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

index.js

@@ -26,4 +26,6 @@ import { visit } from 'estree-util-visit'

if (!srcProp?.value.value) return
let name = `${slugify(srcProp.value.value).replace(/-/g, '_')}$recmaImportImages`
images[srcProp.value.value] = name
let path = srcProp.value.value
let name =
images[path] ?? `${slugify(srcProp.value.value).replace(/-/g, '_')}$recmaImportImages`
images[path] = name
srcProp.value = { type: 'Identifier', name }

@@ -30,0 +32,0 @@ })

{
"name": "recma-import-images",
"version": "0.0.1",
"version": "0.0.2",
"description": "recma plugin to import image sources",

@@ -5,0 +5,0 @@ "author": "Brad Cornes",

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