clang-format-node 1.3.3 → 1.3.4

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.
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * The ABSOLUTE path to the `clang-format` executable binary based on the OS platform and architecture.
3
- *
4
3
  * @alias `clangFormatNodePath`. See {@link clangFormatNodePath}.
5
4
  * @version `v1.2.0` Initial release.
6
5
  * @see https://clang-format-node.lumir.page/docs/apis/clang-format-node
@@ -8,7 +7,6 @@
8
7
  export const clangFormatPath: string;
9
8
  /**
10
9
  * Alias for `clangFormatPath`.
11
- *
12
10
  * @alias `clangFormatPath`. See {@link clangFormatPath}.
13
11
  * @version `v1.2.0` Initial release.
14
12
  * @see https://clang-format-node.lumir.page/docs/apis/clang-format-node
@@ -4,7 +4,6 @@
4
4
  * The possible combinations are `darwin-arm64`, `darwin-x64`, `linux-arm`, `linux-arm64`, `linux-ppc64`, `linux-s390x`, `linux-x64`, `win32-x64`.
5
5
  *
6
6
  * Throws an error if the executable is not found.
7
- *
8
7
  * @param {string} osPlatform The current operating system platform. (e.g., `darwin`, `linux`, `win32`)
9
8
  * @param {string} architecture The current system architecture. (e.g., `arm`, `arm64`, `ppc64`, `s390x`, `x64`)
10
9
  * @returns {string} The ABSOLUTE path to the `clang-format` executable binary.
@@ -20,7 +19,6 @@ export function getClangFormatPath(osPlatform: string, architecture: string): st
20
19
  * The possible combinations are `darwin-arm64`, `darwin-x64`, `linux-arm`, `linux-arm64`, `linux-ppc64`, `linux-s390x`, `linux-x64`, `win32-x64`.
21
20
  *
22
21
  * Throws an error if the executable is not found.
23
- *
24
22
  * @param {string} osPlatform The current operating system platform. (e.g., `darwin`, `linux`, `win32`)
25
23
  * @param {string} architecture The current system architecture. (e.g., `arm`, `arm64`, `ppc64`, `s390x`, `x64`)
26
24
  * @returns {string} The ABSOLUTE path to the `clang-format` executable binary.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clang-format-node",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Node wrapper for clang-format native binary inspired by angular/clang-format.🐉",
5
5
  "main": "build/index.js",
6
6
  "files": [
@@ -46,7 +46,7 @@
46
46
  "provenance": true
47
47
  },
48
48
  "scripts": {
49
- "postinstall": "shx test -d src && npm run build || npm run chmod",
49
+ "postinstall": "npm run chmod",
50
50
  "prepublishOnly": "npm run build",
51
51
  "build": "npx babel src -d build && npx tsc && shx cp -r src/bin build && shx cp ../../LICENSE.md ../../README.md .",
52
52
  "postbuild": "npm run chmod",
@@ -58,5 +58,5 @@
58
58
  "dependencies": {
59
59
  "shx": "^0.4.0"
60
60
  },
61
- "gitHead": "9535f44511b1cd90e47d4d51923bbf689dbc2c90"
61
+ "gitHead": "d8fec7bde3bea04baea693e431b9b3d52c016023"
62
62
  }