@cabloy/module-info 1.0.19 → 1.0.21
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 +0 -0
- package/dist/index.js +1 -1
- package/dist/interface.d.ts +1 -1
- package/package.json +5 -5
- package/LICENSE.en-US +0 -3
- package/LICENSE.zh-CN +0 -3
package/README.md
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -113,7 +113,7 @@ exports.parseName = parseName;
|
|
|
113
113
|
function _parseNameLikeUrl(moduleUrl, prefix) {
|
|
114
114
|
const posA = prefix.length;
|
|
115
115
|
const posB = moduleUrl.indexOf('/', posA) + 1;
|
|
116
|
-
if (posB ===
|
|
116
|
+
if (posB === 0)
|
|
117
117
|
return;
|
|
118
118
|
const posC = moduleUrl.indexOf('/', posB);
|
|
119
119
|
if (posC === -1)
|
package/dist/interface.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabloy/module-info",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"description": "cabloy module-info",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
"dist/**/*.js",
|
|
22
22
|
"dist/**/*.d.ts"
|
|
23
23
|
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"lint": "eslint ."
|
|
26
|
+
},
|
|
24
27
|
"keywords": [
|
|
25
28
|
"egg",
|
|
26
29
|
"egg-born",
|
|
@@ -30,8 +33,5 @@
|
|
|
30
33
|
"author": "zhennann",
|
|
31
34
|
"dependencies": {
|
|
32
35
|
"stack-utils": "^2.0.6"
|
|
33
|
-
},
|
|
34
|
-
"scripts": {
|
|
35
|
-
"lint": "eslint ."
|
|
36
36
|
}
|
|
37
|
-
}
|
|
37
|
+
}
|
package/LICENSE.en-US
DELETED
package/LICENSE.zh-CN
DELETED