blockprotocol
Advanced tools
Comparing version 0.2.2 to 0.2.3-canary-20230803130052
# blockprotocol | ||
## 0.2.3-canary-20230803130052 | ||
### Patch Changes | ||
- [#1310](https://github.com/blockprotocol/blockprotocol/pull/1310) [`8287dd3a`](https://github.com/blockprotocol/blockprotocol/commit/8287dd3a22c77e2ab8baef8f8c2184c20f95610a) Thanks [@CiaranMn](https://github.com/CiaranMn)! - remove node-fetch dependency | ||
## 0.2.2 | ||
@@ -4,0 +10,0 @@ |
import { FormData } from "formdata-node"; | ||
import { fileFromPath } from "formdata-node/file-from-path"; | ||
import fetch from "node-fetch"; | ||
@@ -22,3 +21,2 @@ /** | ||
/** @type {import("node-fetch").FormData} -- https://github.com/node-fetch/node-fetch/issues/900#issuecomment-716342574 */ | ||
const form = new FormData(); | ||
@@ -31,3 +29,3 @@ | ||
/** @type {import("node-fetch").RequestInit} */ | ||
/** @type RequestInit} */ | ||
const options = { | ||
@@ -34,0 +32,0 @@ body: form, |
{ | ||
"name": "blockprotocol", | ||
"version": "0.2.2", | ||
"version": "0.2.3-canary-20230803130052", | ||
"description": "Command Line Interface (CLI) for the Block Protocol API", | ||
@@ -38,3 +38,2 @@ "keywords": [ | ||
"is-ci": "3.0.1", | ||
"node-fetch": "^3.3.0", | ||
"prompt": "^1.3.0", | ||
@@ -41,0 +40,0 @@ "slugify": "^1.6.5", |
24912
12
542
- Removednode-fetch@^3.3.0
- Removeddata-uri-to-buffer@4.0.1(transitive)
- Removedfetch-blob@3.2.0(transitive)
- Removedformdata-polyfill@4.0.10(transitive)
- Removednode-fetch@3.3.2(transitive)
- Removedweb-streams-polyfill@3.3.3(transitive)