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.2 to 0.0.3

6

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

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

if( !error ) {
self.list = JSON.parse( content );
self.list = JSON.safeParse( content );
}

@@ -134,3 +134,3 @@ done();

transformJson: function( file, content, done ) {
var list = JSON.parse( content );
var list = JSON.safeParse( content );
if( list.imports && _.isArray( list.imports ) ) {

@@ -137,0 +137,0 @@ anvil.log.debug( "transforming json to yaml imports" );

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

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

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

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

if( !error ) {
self.list = JSON.parse( content );
self.list = JSON.safeParse( content );
}

@@ -125,3 +125,3 @@ done();

transformJson: function( file, content, done ) {
var list = JSON.parse( content );
var list = JSON.safeParse( content );
if( list.imports && _.isArray( list.imports ) ) {

@@ -128,0 +128,0 @@ anvil.log.debug( "transforming json to yaml imports" );

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