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

sails-generate-bouquet-scenario

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sails-generate-bouquet-scenario - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

templates/action.js

8

Generator.js

@@ -81,2 +81,4 @@ /**

if(scope.args[2] && scope.args[3]) {
scope.controller = scope.args[2]
scope.action = scope.args[3]
scope.binNameSpaces = scope.systemName + ' ' + scope.args[2] + ' ' + scope.args[3];

@@ -88,2 +90,4 @@ scope.binName = scope.systemName + '-' + scope.args[2] + '-' + scope.args[3];

var names = scope.nameSpaces.split(/\s/);
scope.controller = names[1].toLowerCase();
scope.action = names[0].toLowerCase();
scope.binNameSpaces = scope.systemName + ' ' + names[1].toLowerCase() + ' ' + names[0].toLowerCase();

@@ -121,2 +125,6 @@ scope.binName = scope.systemName + '-' + names[1].toLowerCase() + '-' + names[0].toLowerCase();

'./docs/UseCases/:usecase/:readme': { template: 'index.rst' },
'./api/controllers/:controller/:action.js': {template: 'action.js'},
'./test/bin/:controller-:action.test.js': {template: 'bin.test.js'},
'./test/integration/Controller-:controller-:action.test.js': {template: 'controller.test.js'},
'./bin/:systemName-:controller-:action': {template: 'bin-action'},

@@ -123,0 +131,0 @@ // Creates a folder at a static path

2

package.json
{
"name": "sails-generate-bouquet-scenario",
"version": "1.3.0",
"version": "1.4.0",
"description": "sails generate bouquet-Scenario",

@@ -5,0 +5,0 @@ "main": "Generator.js",

Sorry, the diff of this file is not supported yet

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