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

trails

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trails - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

2

lib/errors/ValidationError.js

@@ -26,3 +26,3 @@ /**

const preamble = 'The following configuration values are invalid: '
const paths = (details || [ ]).map(d => d.path.replace(/\.(\d)+$/, '[$1]'))
const paths = (details || [ ]).map(d => d.path.join('.'))

@@ -29,0 +29,0 @@ return preamble + paths.join(', ')

{
"name": "trails",
"version": "3.0.2",
"version": "3.0.3",
"description": "Modern Web Application Framework for Node.js",

@@ -71,7 +71,7 @@ "keywords": [

"dependencies": {
"joi": "^10.2.2",
"lodash.defaultsdeep": "^4.6.0",
"lodash.isplainobject": "^4.0.6",
"lodash.mapvalues": "^4.6.0",
"lodash.merge": "^4.6.0",
"joi": "13.0.2",
"lodash.defaultsdeep": "4.6.0",
"lodash.isplainobject": "4.0.6",
"lodash.mapvalues": "4.6.0",
"lodash.merge": "4.6.0",
"mkdirp": "0.5.1"

@@ -82,8 +82,8 @@ },

"eslint-config-trails": "^3",
"mocha": "^3.2.0",
"mocha": "^4",
"nyc": "^11.0.2",
"pre-commit": "^1.1.3",
"proxyquire": "^1.7.11",
"smokesignals": "next",
"trailpack": "3.0.0-pre.5",
"smokesignals": "^3",
"trailpack": "^3",
"winston": "^2.1.1"

@@ -90,0 +90,0 @@ },

@@ -87,5 +87,4 @@ /* eslint new-cap: [0] */

catch (e) {
console.log(e)
assert(/The following configuration values are invalid/.test(e.message))
assert(/main.packs\[0\]/.test(e.message))
assert(/main.packs\.0/.test(e.message))
}

@@ -92,0 +91,0 @@ })

@@ -8,6 +8,5 @@ const TrailsApp = require('trails')

* Write custom logic here to test out your Trails Controller on RunKit
* @return Promise or value
*/
runkitEndpoint (request) {
return {
runkitEndpoint (request, reply) {
reply({
message: 'hello world!',

@@ -18,3 +17,3 @@ from: 'trails.js',

body: request.body
}
})
}

@@ -27,2 +26,3 @@ }

packs: [
require('trailpack-router'),
require('trailpack-runkit')(exports)

@@ -29,0 +29,0 @@ ]

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