apimock-rs 4.0.0-rc.21 → 4.0.1

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 CHANGED
@@ -4,16 +4,12 @@
4
4
 
5
5
  If you’re building or testing APIs, this tool makes mocking painless. You don’t need to write any config files — just use folders and JSON. It’s super fast, efficient, and flexible when you need it to be.
6
6
 
7
- 🎈 No config needed to get started
8
-
9
- 🥷 Fast to launch, light on memory, out of your way
10
-
11
- 🧩 Moreover, advanced matching and custom scripting supported
7
+ - 🎈 No config needed to get started
8
+ - 🥷 Fast to launch, light on memory, out of your way
9
+ - 🧩 Moreover, advanced matching and custom scripting supported
12
10
 
13
11
  It’s rebuilt from the ground up in version 4. Designed to help developers of all levels.
14
12
 
15
- ![demo](https://github.com/apimokka/apimock-rs/blob/main/docs/.assets/demo.gif?raw=true)
16
-
17
13
  ```sh
18
14
  # install
19
15
  npm install -D apimock-rs
@@ -37,7 +33,7 @@ curl http://localhost:3001/api/v1/hello
37
33
  npx apimock --init
38
34
  ```
39
35
 
40
- For more details, check out [the docs](https://github.com/apimokka/apimock-rs/blob/main/docs/README.md).
36
+ For more details, check out [the docs](https://apimokka.github.io/apimock-rs/).
41
37
 
42
38
  ---
43
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apimock-rs",
3
- "version": "4.0.0-rc.21",
3
+ "version": "4.0.1",
4
4
  "description": "HTTP server generating REST/JSON responses. Aims to be mocking helper to develop microservices and APIs.",
5
5
  "author": "nabbisen<nabbisen@scqr.net>",
6
6
  "license": "Apache-2.0",
@@ -18,9 +18,9 @@
18
18
  "postinstall": "node postinstall.js"
19
19
  },
20
20
  "optionalDependencies": {
21
- "@apimock-rs/bin-linux-x64-gnu": "4.0.0-rc.21",
22
- "@apimock-rs/bin-darwin-arm64": "4.0.0-rc.21",
23
- "@apimock-rs/bin-win32-x64-msvc": "4.0.0-rc.21"
21
+ "@apimock-rs/bin-linux-x64-gnu": "4.0.1",
22
+ "@apimock-rs/bin-darwin-arm64": "4.0.1",
23
+ "@apimock-rs/bin-win32-x64-msvc": "4.0.1"
24
24
  },
25
25
  "keywords": [
26
26
  "api",
package/postinstall.js CHANGED
@@ -13,13 +13,13 @@ function srcDestBinaryPath() {
13
13
 
14
14
  switch (platform) {
15
15
  case "linux":
16
- platformPackage = "linux-x64-gnu"
16
+ platformPackage = "bin-linux-x64-gnu"
17
17
  break
18
18
  case "darwin":
19
- platformPackage = "darwin-arm64"
19
+ platformPackage = "bin-darwin-arm64"
20
20
  break
21
21
  case "win32":
22
- platformPackage = "win32-x64-msvc"
22
+ platformPackage = "bin-win32-x64-msvc"
23
23
  extension = ".exe"
24
24
  break
25
25
  default: