Files
flipper/desktop/plugins/public/network/package.json
Dallas Gutauckis 10d7c288f5 Adding Brotli compression support (#4288)
Summary:
Closes https://github.com/facebook/flipper/issues/2578

Adds Brotli compression support for br-encoded endpoints

## Changelog

 - Brotli compression support

Pull Request resolved: https://github.com/facebook/flipper/pull/4288

Test Plan:
Confirmed `content-encoding` had `br` for Brotli and that the response text post-decompression was parsed properly:

![image](https://user-images.githubusercontent.com/117083/199068874-1577577f-2d2f-4687-a3d8-aa41a032ab32.png)
![image](https://user-images.githubusercontent.com/117083/199069109-8564ea03-99db-4c8a-9dbc-4d007fe38f5b.png)

A note for reviewer(s) is that I am by no means a javascript/typescript/yarn/npm/electron/etc developer, so please please make sure I did things properly and let me know what to fix, how, why it's wrong. Thanks!

Reviewed By: antonk52

Differential Revision: D41444623

Pulled By: mweststrate

fbshipit-source-id: ac4e84b4501c67a4b89163c20c63de1be14d6cef
2022-12-16 02:39:49 -08:00

35 lines
836 B
JSON

{
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-network",
"id": "Network",
"flipperBundlerEntry": "index.tsx",
"main": "dist/bundle.js",
"title": "Network",
"description": "Use the Network inspector to inspect outgoing network traffic in your apps.",
"icon": "internet",
"version": "0.0.0",
"license": "MIT",
"keywords": [
"flipper-plugin"
],
"bugs": {
"url": "https://github.com/facebook/flipper/issues"
},
"dependencies": {
"brotli": "^1.3.3",
"lodash": "^4.17.21",
"pako": "^2.0.3",
"protobufjs": "^6.10.2",
"xml-beautifier": "^0.4.0"
},
"peerDependencies": {
"flipper": "*",
"flipper-plugin": "*"
},
"devDependencies": {
"@types/brotli": "^1.3.1",
"@types/pako": "^1.0.1",
"js-base64": "^3.6.0"
}
}