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

nightframe

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nightframe - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

18

bin/nightframe.js
#!/usr/bin/env node
const semver = require('semver');
const requiredVersion = require('../package.json').engines.node;
const chalk = require('chalk');
const path = require('path');
const Utils = require('../util/utils.js');
const Nightframe = require('../lib/server.js');
const CliSetup = require('../lib/cli-setup.js');
// some platforms create a copy of the binary file instead of a symlink
const frameworkFolder = path.join(__dirname, '../nightframe').replace('node_modules/nightframe/nightframe', 'node_modules/nightframe');
const requiredVersion = require(path.join(frameworkFolder, 'package.json')).engines.node;
const chalk = require('chalk');
const Utils = require(path.join(frameworkFolder, 'util/utils.js'));
const Nightframe = require(path.join(frameworkFolder, 'lib/server.js'));
const CliSetup = require(path.join(frameworkFolder, 'lib/cli-setup.js'));
function requireApp() {
const Application = require('../lib/app.js');
const Application = require(path.join(frameworkFolder, 'lib/app.js'));

@@ -56,3 +60,3 @@ let userDefined = path.join(process.cwd(), 'app.js');

} else if (argv.version) {
let packageConfig = require(__dirname + '/../package.json');
let packageConfig = require(path.join(frameworkFolder, 'package.json'));
console.log(' Nightframe:');

@@ -59,0 +63,0 @@ console.log(' version: ' + packageConfig.version);

{
"name": "nightframe",
"version": "0.0.2",
"version": "0.0.3",
"description": "A small Node.js web application framework built on top of Express",

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

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