@faasjs/load 0.0.2-beta.393 → 0.0.2-beta.396

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -28,8 +28,8 @@ FaasJS's load module.
28
28
 
29
29
  | Name | Type | Description |
30
30
  | :------ | :------ | :------ |
31
- | `root` | `string` | 根目录 |
32
- | `filename` | `string` | 目标文件,用于读取目录层级 |
31
+ | `root` | `string` | {string} 根目录 |
32
+ | `filename` | `string` | {filename} 目标文件,用于读取目录层级 |
33
33
 
34
34
  #### Returns
35
35
 
@@ -47,14 +47,14 @@ ___
47
47
 
48
48
  | Name | Type | Description |
49
49
  | :------ | :------ | :------ |
50
- | `filename` | `string` | 完整源文件路径 |
51
- | `options` | `Object` | 配置项 |
52
- | `options.input?` | `Object` | 读取配置 |
53
- | `options.modules?` | `Object` | 生成 modules 的配置 |
50
+ | `filename` | `string` | {string} 完整源文件路径 |
51
+ | `options` | `Object` | {object} 配置项 |
52
+ | `options.input?` | `Object` | {object} 读取配置 |
53
+ | `options.modules?` | `Object` | {object} 生成 modules 的配置 |
54
54
  | `options.modules.additions?` | `string`[] | - |
55
55
  | `options.modules.excludes?` | `string`[] | - |
56
- | `options.output?` | `Object` | 写入配置 |
57
- | `options.tmp?` | `boolean` | 是否为临时文件,true 则生成的文件会被删除,默认为 false |
56
+ | `options.output?` | `Object` | {object} 写入配置 |
57
+ | `options.tmp?` | `boolean` | {boolean} 是否为临时文件,true 则生成的文件会被删除,默认为 false |
58
58
 
59
59
  #### Returns
60
60
 
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
package/dist/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
3
  get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
4
  }) : x)(function(x) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/load",
3
- "version": "0.0.2-beta.393",
3
+ "version": "0.0.2-beta.396",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,9 +22,9 @@
22
22
  "dist"
23
23
  ],
24
24
  "peerDependencies": {
25
- "@faasjs/deep_merge": "^0.0.2-beta.393",
26
- "@faasjs/func": "^0.0.2-beta.393",
27
- "@faasjs/ts-transform": "^0.0.2-beta.393",
25
+ "@faasjs/deep_merge": "^0.0.2-beta.396",
26
+ "@faasjs/func": "^0.0.2-beta.396",
27
+ "@faasjs/ts-transform": "^0.0.2-beta.396",
28
28
  "js-yaml": "*",
29
29
  "rollup": "*"
30
30
  },