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

anvil.concat

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

anvil.concat - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

lib/concat.js
/*
anvil.concat - An anvil core plugin that provides file concatenation support
version: 0.0.3
version: 0.0.4
author: Alex Robson <alex@sharplearningcurve.com> (http://sharplearningcurve.com)

@@ -138,3 +138,3 @@ copyright: 2011 - 2012

content = _.map( list.imports, function( child ) {
return "- import: '" + child + "'";
return "- import: '" + child.replace( /[\\]{2}/g, "/" ) + "'";
} ).join( "\n" );

@@ -141,0 +141,0 @@ anvil.fs.write( [ file.workingPath, file.name ], content, done );

@@ -5,3 +5,3 @@ {

"description": "An anvil core plugin that provides file concatenation support",
"version": "0.0.3",
"version": "0.0.4",
"repository": {

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

@@ -129,3 +129,3 @@ var yaml = require( "yaml-js" );

content = _.map( list.imports, function( child ) {
return "- import: '" + child + "'";
return "- import: '" + child.replace( /[\\]{2}/g, "/" ) + "'";
} ).join( "\n" );

@@ -132,0 +132,0 @@ anvil.fs.write( [ file.workingPath, file.name ], content, done );

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