apimock-rs 4.0.0 → 4.0.2

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/postinstall.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apimock-rs",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
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",
22
- "@apimock-rs/bin-darwin-arm64": "4.0.0",
23
- "@apimock-rs/bin-win32-x64-msvc": "4.0.0"
21
+ "@apimock-rs/bin-linux-x64-gnu": "4.0.2",
22
+ "@apimock-rs/bin-darwin-arm64": "4.0.2",
23
+ "@apimock-rs/bin-win32-x64-msvc": "4.0.2"
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: