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

barnyard

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barnyard - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

11

index.js

@@ -14,2 +14,4 @@ 'use strict';

var writeFile = Q.denodeify(fs.writeFile);
var babelPolyfillPath = require.resolve('babel-polyfill/dist/polyfill.js');
var normalizeCssPath = require.resolve('normalize.css/normalize.css');

@@ -74,4 +76,2 @@ var templatesDir = 'templates';

},
babelPolyfill: 'babel-polyfill/dist/polyfill.js',
normalizeCss: 'normalize.css/normalize.css',
};

@@ -123,4 +123,3 @@

function copyModuleFileAs(modulePath, outputPath) {
var filename = require.resolve(modulePath);
function getFile(filename, outputPath) {
var inputFile = readFile(filename, 'utf8');

@@ -163,6 +162,6 @@ return formatOutputObject(inputFile, outputPath);

if (options.babelPolyfill) {
files.push(copyModuleFileAs(fileMap.babelPolyfill, join(options.scripts.folder, 'polyfill.js')));
files.push(getFile(babelPolyfillPath, join(options.scripts.folder, 'polyfill.js')));
}
if (options.normalizeCss) {
files.push(copyModuleFileAs(fileMap.normalizeCss, join(options.styles.folder, 'normalize.css')));
files.push(getFile(normalizeCssPath, join(options.styles.folder, 'normalize.css')));
}

@@ -169,0 +168,0 @@

{
"name": "barnyard",
"version": "2.1.0",
"version": "2.1.1",
"description": "Bootstrap/Scaffold a project for use with Piggy in the Middle and Baconize",

@@ -5,0 +5,0 @@ "main": "index.js",

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