New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-faithlife-app

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-faithlife-app - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

30

generators/app/index.js

@@ -75,6 +75,6 @@ 'use strict';

_findFilesAsync: function findFilesAsync(pattern) {
_findSourceFilesAsync: function findSourceFilesAsync() {
var sourceRoot = this.sourceRoot();
return new Promise(function (accept, reject) {
glob(pattern, { cwd: sourceRoot, dot: true }, function(error, files) {
glob('**/*.*', { cwd: sourceRoot, dot: true }, function(error, files) {
return error ? reject(error) : accept(files);

@@ -108,17 +108,15 @@ });

Promise.all([
self._findFilesAsync('**/!(*.template)'),
self._findFilesAsync('**/*.template'),
]).then(function(promiseResults) {
promiseResults[0].forEach(function(file) {
self.fs.copy(self.templatePath(file), self.destinationPath(file));
});
self._findSourceFilesAsync()
.then(function(files) {
files.forEach(function(file) {
if (file.match(/\.template$/)) {
self.fs.copyTpl(
self.templatePath(file),
self.destinationPath(path.join(path.dirname(file), path.basename(file, '.template'))),
self.props);
} else {
self.fs.copy(self.templatePath(file), self.destinationPath(file));
}
});
promiseResults[1].forEach(function(file) {
self.fs.copyTpl(
self.templatePath(file),
self.destinationPath(path.join(path.dirname(file), path.basename(file, '.template'))),
self.props);
});
done();

@@ -125,0 +123,0 @@ }).catch(function(error) {

require('babel/register')({
only: 'src',
only: __dirname + '/src',
});

@@ -4,0 +4,0 @@

{
"name": "generator-faithlife-app",
"version": "0.0.7",
"version": "0.0.8",
"description": "Generator for a node/React app that uses Faithlife authentication.",

@@ -5,0 +5,0 @@ "homepage": "",

Sorry, the diff of this file is not supported yet

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