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

ampersand

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ampersand - npm Package Compare versions

Comparing version 1.7.3 to 1.7.4

SECURITY.md

2

lib/app/getPackageFile.js

@@ -42,3 +42,3 @@ var fs = require('fs');

hapi: {
"hapi": "2.x.x",
"hapi": "6.x.x",
"moonboots_hapi": "2.x.x"

@@ -45,0 +45,0 @@ }

{
"name": "ampersand",
"description": "CLI tool for generating single page apps a. la. http://humanjavascript.com",
"version": "1.7.3",
"version": "1.7.4",
"author": "Henrik Joreteg <henrik@andyet.net>",

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

@@ -12,3 +12,3 @@ /*global console*/

// a little helper for fixing paths for various enviroments
// a little helper for fixing paths for various environments
var fixPath = function (pathString) {

@@ -15,0 +15,0 @@ return path.resolve(path.normalize(pathString));

@@ -10,3 +10,5 @@ var Hapi = require('hapi');

internals.configStateConfig = {
encoding: 'none'
encoding: 'none',
ttl: 1000 * 60 * 15,
isSecure: config.isSecure
};

@@ -27,3 +29,3 @@ server.state('config', internals.configStateConfig);

// require moonboots_hapi plugin
server.pack.require({'moonboots_hapi': moonbootsConfig}, function (err) {
server.pack.register({plugin: require('moonboots_hapi'), options: moonbootsConfig}, function (err) {
if (err) throw err;

@@ -30,0 +32,0 @@ server.pack.register(fakeApi, function (err) {

/*global app, me, $*/
// This app view is responsible for rendering all content that goes into
// <html>. It's initted right away and renders iteslf on DOM ready.
// <html>. It's initted right away and renders itself on DOM ready.

@@ -45,3 +45,3 @@ // This view also handles all the 'document' level events such as keyboard shortcuts.

// setting a favicon for fun (note, it's dyanamic)
// setting a favicon for fun (note, it's dynamic)
setFavicon('/images/ampersand.png');

@@ -48,0 +48,0 @@ return this;

{
"isDev": true,
"isSecure": false,
"session": {

@@ -4,0 +5,0 @@ "host": "localhost",

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