Huge News!Announcing our $40M Series B led by Abstract Ventures.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.2 to 0.0.3

2

index.js

@@ -5,2 +5,3 @@ import { visit } from 'estree-util-visit'

const slugify = slugifyWithCounter()
const EXTERNAL_URL = /^[a-z]+:\/\//i

@@ -28,2 +29,3 @@ export function recmaImportImages() {

let path = srcProp.value.value
if (EXTERNAL_URL.test(path)) return
let name =

@@ -30,0 +32,0 @@ images[path] ?? `${slugify(srcProp.value.value).replace(/-/g, '_')}$recmaImportImages`

2

package.json
{
"name": "recma-import-images",
"version": "0.0.2",
"version": "0.0.3",
"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