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

elm-create-spa

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

elm-create-spa - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

10

index.js

@@ -20,10 +20,3 @@ #!/usr/bin/env node

const skeleton = path.resolve(__dirname, "skeleton");
const excludes = fs.readFileSync(path.join(skeleton, "gitignore"), "utf8")
.split("\n")
.filter(line => line.trim() !== "");
function exclude(path) {
return !excludes.some(exclude => path.includes(exclude));
}
function installed(target) {

@@ -52,4 +45,3 @@ console.log("");

}
copySync(skeleton, target, { filter: exclude });
// Rename gitignore to gitignore. your read that well.
copySync(skeleton, target);
moveSync(`${target}/gitignore`, `${target}/.gitignore`);

@@ -56,0 +48,0 @@ installed(target);

2

package.json
{
"name": "elm-create-spa",
"version": "1.0.6",
"version": "1.0.7",
"description": "An utility to generate an Elm SPA skeleton.",

@@ -5,0 +5,0 @@ "bin": {

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