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 1.0.15 to 1.0.16

models/notes/create.mjs

5

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

@@ -17,4 +17,5 @@ "scripts": {

"@architect/functions": "^5.2.1",
"@architect/plugin-bundles": "^3.0.0",
"@architect/plugin-bundles": "^3.0.4",
"@begin/data": "^4.0.0",
"@enhance/arc-plugin-styles": "^0.0.4",
"@enhance/enhance-style-transform": "^0.0.1-alpha.1",

@@ -21,0 +22,0 @@ "@enhance/import-transform": "^4.0.0",

36

src/plugins/beginner.js
let path = require('path')
let bundles = require('@architect/plugin-bundles')
let styles = require('@enhance/arc-plugin-styles')
module.exports = {
sandbox: {
async start (params) {
await bundles.sandbox.start(params)
await styles.sandbox.start(params)
}
},
deploy: {
async start (params) {
await bundles.deploy.start(params)
await styles.deploy.start(params)
}
},
set: {

@@ -12,2 +29,3 @@

/** frontend logic will *only* be shared w ANY and GET handlers */
views () {

@@ -18,3 +36,16 @@ return {

},
/** we want to share models business logic across all lambdas */
shared () {
return {
src: 'models'
}
},
/**
* sets up a greedy lambda for the frontend
*
* - userland can still add routes to override this!
* - makes single responsiblity functions an opt-in rather than up front cost
*/
http () {

@@ -27,2 +58,3 @@ let src = path.join(__dirname, '..', 'http', 'any-catchall')

/** adds the begin/data data table */
tables () {

@@ -38,3 +70,5 @@ return {

}
// eof
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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