Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-remark-copy-linked-files

Package Overview
Dependencies
Maintainers
1
Versions
467
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-remark-copy-linked-files - npm Package Compare versions

Comparing version 1.0.0-alpha16-alpha.0e39282b to 1.0.0-alpha16-alpha.102adc51

2

index.js

@@ -18,3 +18,3 @@ "use strict";

var visitor = function visitor(link) {
if (isRelativeUrl(link.url)) {
if (isRelativeUrl(link.url) && getNode(markdownNode.parent).internal.type === `File`) {
var linkPath = path.join(getNode(markdownNode.parent).dir, link.url);

@@ -21,0 +21,0 @@ var linkNode = _.find(files, function (file) {

{
"name": "gatsby-remark-copy-linked-files",
"description": "Find files which are linked to from markdown and copy them to the public directory",
"version": "1.0.0-alpha16-alpha.0e39282b",
"version": "1.0.0-alpha16-alpha.102adc51",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",

@@ -6,0 +6,0 @@ "dependencies": {

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