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-alpha19-alpha.3c6183a4 to 1.0.0-alpha19-alpha.62172e76

2

index.js

@@ -20,3 +20,2 @@ "use strict";

var linkPath = path.join(getNode(markdownNode.parent).dir, link.url);
console.log(`linkPath`, linkPath);
var linkNode = _.find(files, function (file) {

@@ -28,3 +27,2 @@ if (file && file.absolutePath) {

});
console.log(`linkNode`, linkNode && linkNode.absolutePath);
if (linkNode && linkNode.absolutePath) {

@@ -31,0 +29,0 @@ var newPath = path.join(process.cwd(), `public`, `${linkNode.contentDigest}.${linkNode.extension}`);

2

package.json
{
"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-alpha19-alpha.3c6183a4",
"version": "1.0.0-alpha19-alpha.62172e76",
"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