cpd 5.1.2 → 5.2.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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -28,6 +28,17 @@ cargo binstall jscpd
28
28
 
29
29
  Installs both `jscpd` and `cpd` binaries.
30
30
 
31
+ ### PyPI
32
+
33
+ Platform wheels carrying the same prebuilt binary, for Python toolchains and [pre-commit](../docs/ci-and-hooks.md#pre-commit-hook) hooks that should not need Node.js:
34
+
35
+ ```bash
36
+ pip install jscpd # or: pipx install jscpd / uv tool install jscpd
37
+ uvx jscpd /path/to/code # run without installing
38
+ ```
39
+
40
+ Installs both `jscpd` and `cpd` commands.
41
+
31
42
  ### Nix
32
43
 
33
44
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cpd",
3
- "version": "5.1.2",
3
+ "version": "5.2.1",
4
4
  "description": "Copy/paste detector for programming source code — Rust engine, self-contained binary, installs the cpd command",
5
5
  "homepage": "https://jscpd.dev",
6
6
  "funding": "https://opencollective.com/jscpd",
@@ -12,14 +12,14 @@
12
12
  "platform-map.js"
13
13
  ],
14
14
  "optionalDependencies": {
15
- "jscpd-linux-x64-gnu": "5.1.2",
16
- "jscpd-linux-arm64-gnu": "5.1.2",
17
- "jscpd-linux-x64-musl": "5.1.2",
18
- "jscpd-linux-arm64-musl": "5.1.2",
19
- "jscpd-darwin-arm64": "5.1.2",
20
- "jscpd-darwin-x64": "5.1.2",
21
- "jscpd-windows-x64-msvc": "5.1.2",
22
- "jscpd-windows-arm64-msvc": "5.1.2"
15
+ "jscpd-linux-x64-gnu": "5.2.1",
16
+ "jscpd-linux-arm64-gnu": "5.2.1",
17
+ "jscpd-linux-x64-musl": "5.2.1",
18
+ "jscpd-linux-arm64-musl": "5.2.1",
19
+ "jscpd-darwin-arm64": "5.2.1",
20
+ "jscpd-darwin-x64": "5.2.1",
21
+ "jscpd-windows-x64-msvc": "5.2.1",
22
+ "jscpd-windows-arm64-msvc": "5.2.1"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",