Socket
Socket
Sign inDemoInstall

titbit-loader

Package Overview
Dependencies
0
Maintainers
1
Versions
210
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 22.6.4-beta3 to 22.6.4-beta4

10

bin/new-ctl.js

@@ -7,3 +7,3 @@ #!/usr/bin/env node

/**
* ---------------------- c.helper模块具备的方法 -----------------------------
* ---------------------- ctx.helper模块具备的方法 -----------------------------
*

@@ -59,9 +59,9 @@ * @typedef {object} helper

表单提交或异步请求发送的数据,对应于POST或PUT请求:
提交的请求体数据通过 c.body 获取。
提交的请求体数据通过 ctx.body 获取。
路由参数通过 c.param 获取,示例:let id = c.param.id
路由参数通过 ctx.param 获取,示例:let id = ctx.param.id
url参数(?a=1&b=2)通过 c.query 获取,示例:let name = c.query.name
url参数(?a=1&b=2)通过 ctx.query 获取,示例:let name = ctx.query.name
使用c.getFile(name)获取上传的文件,示例:let f = c.getFile('image')
使用ctx.getFile(name)获取上传的文件,示例:let f = ctx.getFile('image')
**********************************************************************/\n\n`

@@ -68,0 +68,0 @@

{
"name": "titbit-loader",
"version": "22.6.4-beta3",
"version": "22.6.4-beta4",
"description": "loader for titbit framework",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc