Fanfou-sdk

Latest version: v0.0.3

Safety actively analyzes 621673 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

5.0.0

Breaking changes

- Move to ESM
- Requires Node.js 14 or later
- Move `plain_text`, `entities` to utils. See https://github.com/fanfoujs/fanfou-sdk-node/blob/main/source/utils.ts.

`getEntities` & `getPlainText`

diff
+import {getEntities, getPlainText} from 'fanfou-sdk';

const status = ff.get('/statues/show', id: 'status-id');
-const plainText = status.plain_text;
+const plainText = getPlainText(getEntities(status.text);


Features

- Add TypeScript definitions
- Map all Fanfou APIs to functions. See https://github.com/fanfoujs/fanfou-sdk-node/blob/main/source/api.ts.

Chore

- Rewrite with TypeScript
- Bump dependencies

4.2.0

Built-in

- d8d635b09e9403cea89e57c19051884aca9fbc0e Bump got10.

Chore

- 0916f57ff744a932b14686beb97c6ab96db8f5fb Add `engines` flag to `package.json`.
- 8a80c9abcc385fa8012b5ea884c0ce3a7510e16f Use named capture group in RegExp.
- d1678c8c741393e95273863f417ab49525d825d8 Update declarations.

4.1.0

Features

- ee1ea93a1631d99b5d6de1832b5abfd5bdc15a0e Add support OAuth process.

4.0.5

Bug Fix

- c6af031a4abda6be450e990a9243266ce69ae1c9 Fix URI type check.

4.0.4

Bug Fix

- 162cd53438214f955eb20fb4a732b32069052c2f Fix `ff-error` messages.

4.0.3

BugFix

- 4a6aa679ca57c86de250360c00aa1b25d68ac010 Fix `hooks` declaration.

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.