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

@enhance/arc-plugin-enhance

Package Overview
Dependencies
Maintainers
6
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enhance/arc-plugin-enhance - npm Package Compare versions

Comparing version 2.0.3 to 2.1.0

src/http/any-catchall/_fingerprint-paths.mjs

3

package.json
{
"name": "@enhance/arc-plugin-enhance",
"version": "2.0.3",
"version": "2.1.0",
"main": "src/plugins/beginner.js",

@@ -27,2 +27,3 @@ "license": "Apache-2.0",

"dependencies": {
"@architect/asap": "^5.0.1",
"@architect/functions": "^5.2.2",

@@ -29,0 +30,0 @@ "@architect/plugin-bundles": "^3.2.0",

@@ -22,7 +22,7 @@ let path = require('path')

set: {
/** frontend logic will *only* be shared w ANY and GET handlers */
views () {
views({ inventory }) {
const cwd = inventory.inv._project.cwd
return {
src: 'app'
src: path.join(cwd, 'app')
}

@@ -32,5 +32,6 @@ },

/** we want to share models business logic across all lambdas */
shared () {
shared ({ inventory }) {
const cwd = inventory.inv._project.cwd
return {
src: 'models'
src: path.join(cwd, 'models')
}

@@ -43,8 +44,10 @@ },

* - userland can still add routes to override this!
* - makes single responsiblity functions an opt-in rather than up front cost
* - makes single responsibility functions an opt-in rather than up front cost
*/
http () {
let src = path.join(__dirname, '..', 'http', 'any-catchall')
let rootCatchallSrcDir = path.join(__dirname, '..', 'http', 'any-catchall')
let staticAssetSrcDir = path.join(__dirname, '..', 'http', 'get-_public-catchall')
return [
{ method: 'any', path: '/*', src }
{ method: 'any', path: '/*', src: rootCatchallSrcDir },
{ method: 'get', path: '/_public/*', src: staticAssetSrcDir },
]

@@ -51,0 +54,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