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.0 to 22.6.1

8

bin/new-ctl.js

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

* @property {function} sha1(text, encoding = 'hex')
* @property {function} md5(text, encoding = 'hex')
* @property {function} sha256(text, encoding = 'hex')

@@ -31,3 +30,3 @@ * @property {function} sha512(text, encoding = 'hex')

* @property {string} version - 协议版本,字符串类型,为'1.1' 或 '2' 或 '3'。
* @property {number} major - 协议主要版本号,1、2、3分别表示HTTP/1.1 HTTP/2 HTTP/3(目前还没有3)。
* @property {number} major - 协议主要版本号,1、2、3分别表示HTTP/1.1 HTTP/2 HTTP/3。
* @property {string} method - 请求类型,GET POST等HTTP请求类型,大写字母的字符串。

@@ -46,3 +45,2 @@ * @property {string} path - 具体请求的路径,比如 /x/y。

* @property {object} service - 用于依赖注入的对象,指向app.service。
* @property {object} res - 一个对象包括encoding、body属性,用来暂存返回数据的编码和具体数据。
* @property {function} moveFile(file: object) - 用来移动上传的文件到指定路径,file是通过getFile获取的文件对象。

@@ -60,3 +58,3 @@ * @property {function} getFile(name: string, index = 0) - 根据上传名获取上传的文件,如果index是-1表示获取整个数组。

let head_hint = `/**************************************************************
let head_hint = `/**********************************************************************
提示:

@@ -71,3 +69,3 @@ 表单提交或异步请求发送的数据,对应于POST或PUT请求:

使用c.getFile(name)获取上传的文件,示例:let f = c.getFile('image')
**************************************************************/\n\n`
**********************************************************************/\n\n`

@@ -74,0 +72,0 @@ function fmt_ctx_param(text) {

{
"name": "titbit-loader",
"version": "22.6.0",
"version": "22.6.1",
"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