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

sane-auth

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sane-auth - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

7

generate/client.js
module.exports = {
friendlyName: 'Sane frontend logic',
description: 'Handle the addon logic for the sane frontend',
extendedDescription: 'This example machine is part of machinepack-boilerplate, used to introduce everyone to machines.',
inputs: {
name: {

@@ -16,3 +13,2 @@ example: 'user',

},
attributes: {

@@ -23,3 +19,2 @@ example: 'name:string age:number',

}
},

@@ -30,7 +25,5 @@

exits: {
error: {
description: 'An unexpected error occurred.'
},
success: {

@@ -37,0 +30,0 @@ example: {

12

generate/server.js

@@ -28,4 +28,4 @@ module.exports = {

example: {
numLettersInName: 4,
secretCode: "e9ec627220bc9e8ca66f916b7fba92f3"
addNpmPackages: [{}],
commands: [""]
}

@@ -45,11 +45,7 @@ }

return exits.success({
addNpmPackages: [
addNpmPackages: [
{ name: 'bcrypt', target: '~0.8.1'},
{ name: 'express-jwt', target: '~1.0.0'},
{ name: 'jsonwebtoken', target: '~3.2.2'},
]//,
// commands: [
// 'sails generate model ${inputs.name} ${inputs.attributes}'',
// 'sails generate controller ${inputs.name}'
// ]
]
});

@@ -56,0 +52,0 @@

{
"name": "sane-auth",
"version": "0.1.3",
"version": "0.1.4",
"description": "A Sane Stack Addon giving you basic OAauth2-JWT authentication for the full stack",

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

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