@fffangchenghao/dsh-web-search 0.13.3 → 0.13.4
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/CHANGELOG.md +11 -0
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/cordis.patch.yml +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.4
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **The bundle overlay could not be parsed, so the plugin never loaded.** YAML
|
|
7
|
+
reserves a leading `@`, and the overlay named the package as
|
|
8
|
+
`name: @fffangchenghao/dsh-web-search` without quotes; the Host reported
|
|
9
|
+
"bad indentation of a mapping entry" and dropped the entry. Every release from
|
|
10
|
+
0.11.0 through 0.13.3 carried it. The name is quoted now, the README snippets
|
|
11
|
+
are corrected, and a test fails if a bare scoped name returns — a copy-pasted
|
|
12
|
+
snippet would break in exactly the same way.
|
|
13
|
+
|
|
3
14
|
## 0.13.3
|
|
4
15
|
|
|
5
16
|
### Documentation
|
package/README.md
CHANGED
|
@@ -297,7 +297,7 @@ The package ships its own `cordis.patch.yml`, and it is one insert:
|
|
|
297
297
|
```yaml
|
|
298
298
|
- insert:
|
|
299
299
|
- id: web-search-bing
|
|
300
|
-
name: @fffangchenghao/dsh-web-search
|
|
300
|
+
name: '@fffangchenghao/dsh-web-search'
|
|
301
301
|
```
|
|
302
302
|
|
|
303
303
|
If you installed the package into a profile with `pnpm install` or a `link:`, that row arrives automatically. The copy in this repository also carries an empty `config: {}`; its job is to keep the row discoverable so Settings renders a card instead of "this deployment does not provide settings for this plugin".
|
|
@@ -341,7 +341,7 @@ Optionally, add a config row:
|
|
|
341
341
|
|
|
342
342
|
```yaml
|
|
343
343
|
- id: web-search-bing
|
|
344
|
-
name: @fffangchenghao/dsh-web-search
|
|
344
|
+
name: '@fffangchenghao/dsh-web-search'
|
|
345
345
|
config:
|
|
346
346
|
limit: 8
|
|
347
347
|
wait: auto
|
package/README.zh-CN.md
CHANGED
|
@@ -297,7 +297,7 @@ npm run build
|
|
|
297
297
|
```yaml
|
|
298
298
|
- insert:
|
|
299
299
|
- id: web-search-bing
|
|
300
|
-
name: @fffangchenghao/dsh-web-search
|
|
300
|
+
name: '@fffangchenghao/dsh-web-search'
|
|
301
301
|
```
|
|
302
302
|
|
|
303
303
|
如果你是通过 `pnpm install` / `link:` 装进 profile 的,这一行会自动生效,不用手抄。仓库里这份 patch 还带了一个空的 `config: {}`,作用是让设置页能发现这一行、显示卡片而不是「当前部署尚未提供此插件的设置」。
|
|
@@ -341,7 +341,7 @@ pnpm install
|
|
|
341
341
|
|
|
342
342
|
```yaml
|
|
343
343
|
- id: web-search-bing
|
|
344
|
-
name: @fffangchenghao/dsh-web-search
|
|
344
|
+
name: '@fffangchenghao/dsh-web-search'
|
|
345
345
|
config:
|
|
346
346
|
limit: 8
|
|
347
347
|
wait: auto
|
package/cordis.patch.yml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fffangchenghao/dsh-web-search",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.4",
|
|
4
4
|
"description": "DSH bundle: a key-free web search provider. Leads with the anonymous AnySearch API and falls back to public result pages (DuckDuckGo, Bing, 360), merged by reciprocal-rank fusion with a bilingual region policy, an engine cooldown and a TTL cache.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|