npm diff
注册表差异命令
概要
npm diff [...<paths>]
npm diff --diff=<pkg-name> [...<paths>]
npm diff --diff=<version-a> [--diff=<version-b>] [...<paths>]
npm diff --diff=<spec-a> [--diff=<spec-b>] [...<paths>]
npm diff [--diff-ignore-all-space] [--diff-name-only] [...<paths>]
描述
与其对应的 git diff
类似,此命令将打印发布到 npm 注册表的包的文件差异补丁。
npm diff --diff=<spec-a> --diff=<spec-b>
使用它们的注册表说明符比较两个包版本,例如:
npm diff --diff=pkg@1.0.0 --diff=pkg@^2.0.0
。也可以跨任何包的分叉进行比较,例如:npm diff --diff=pkg@1.0.0 --diff=pkg-fork@1.0.0
。nQWfMS2qk8d2zpO/J/gYN8cwR3eEIFIRa/g99FMDcrLiUFAmFCluy01yVDHC3TTJsAyoPcKBnE0W5O7BxOlTRy5AkOxoPctkXXo/jsut8Z1Hyj5YUvVOYxaHO9hu7G7ipEPCuGb+0AEL4l+bTTmhOzSHsrKocvN4Ty/S/W/bBdbpF9uhEyj65+zHd8WPQWZlSZgl/RXpfLCCtwtdRQHjZQ==
bZWkGKOtY8wjLlAbxWtiQXBl5MPolUDOpyejmKlGEnnvalnzDmbTh1TKfbGEJ/oB6I2jftCZb4QFEHwLfqIsRvxvEwQUVrAnTA0NX/48Uo/1xVlmTctkyTZrenahMAgSWkRtreybuqDLDIMEIiwsbQ==
npm diff --diff=abbrev@1.1.0 --diff=abbrev@1.1.1
nrusLHfMequYBSI2KwDhS4AzOBO/PYTYp5ZXqLHS34eEEfkmIN7Ji2pbDxPUspbW
diff --git a/package.json b/package.json index v1.1.0..v1.1.1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "abbrev", - "version": "1.1.0", + "version": "1.1.1", "description": "Like ruby's abbrev module, but in js", "author": "Isaac Z. Schlueter <i@izs.me>", "main": "abbrev.js",
kHPtslA+u4ICWL/9hxNvjlbUrd5odwX4Q/ZFBcJE1sgA5xb7U54G6y37yMk8H3nWFagV4PqH5Q+tQqOn/UtC23Z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UuHR4gQyInIjAB1Pe6vwHjH12hpNzU1sDykzaO10YfFOSMMnRfQLBqOCY4
npm diff --diff=pkg@2 ./lib/ CHANGELOG.md
XGBRJHQi74wSjjVlkPgwgPSXcx52MXrN8anWUpwp5tEgyo1So0IeIGoU1Pn5CI2NeWokprsCp0YKbfPzb3HM/GYb+S6FMZG81iHUdfxHh8fiPiCZaelbuPRQa+F9Ky0qEJ5ssh6inEIp3zOE/uvQuzBvfN5djLtoobA3utAmDK36hdfYu3RBDvWk6JA8lVb7neFtEXEjkRQQE007ueDCrC/9ctXQ4wDgD1YKdCfFwDk=
配置
diff
- Jo9YyMATQgc1FiySMtnVB4YMB8db7UZN5DIyxKHPry2OmSdp+K3HOJ3BdgWQJYt6tCGvlPdqm/XRnvUydHufmqhIn3jdcfH1Kn7xmtkOnok=
YL4LpqZ7oc+Jy6si9aqF0Xh0sqp+HF22rCZkjxt8WN1FX/Jk0EsH5u2zZUCSvIt8ZDNitLMYtPWHYOy1JEwkkw==
diff-name-only
- Jo9YyMATQgc1FiySMtnVB2r22JOfbzP94ImRd9QBcoXzhu/uEoooTHYnsxQFqN17radjgV+EY9MnXotENoKrsA==
20e+SDi8oL2ApZvYyIS0xJ77vxqbn8U7GSA+QhAHu1gdhqs9tkAm9x3p8o6wFR9DJwpyyyjfRJqOQEjE3CZHYw==
diff-unified
- Jo9YyMATQgc1FiySMtnVB/c5tNpsjEQYp5IVBzPl2XOkcufGQ4hZN1uO182rhavn9AmmhM6fs7BTIPzdRQy5Vg==
OQZ2tSeu1reefNeu1Ctz6ChK9Li/fLIkNbErUjW0TWBcGxiniJWv6ok4ERoI5wGX16+nmil41CqHVgT8VUvdnA==
diff-ignore-all-space
- Jo9YyMATQgc1FiySMtnVB2r22JOfbzP94ImRd9QBcoXzhu/uEoooTHYnsxQFqN17radjgV+EY9MnXotENoKrsA==
qBKrdDxlRPgxzVCkGE05c9PIssb9L++im3Wk81c3i0wpF4QQ4qR+CpBsLKnauLYt3chW0POdOJVLPVVd0rL6FA==
diff-no-prefix
- Jo9YyMATQgc1FiySMtnVB2r22JOfbzP94ImRd9QBcoXzhu/uEoooTHYnsxQFqN17radjgV+EY9MnXotENoKrsA==
qI08RamANu1digkHBKAbgz1HQR3n1zK2Nz3Y7S2G/6TpdIypHcqkRY4UYczgtKDzlZBGm+2krHQ2ac6UcmwXjD++n60r5LS6eFEhjydTUEo=
Mtgxwo/DLBrWFjl7CBINqkQ5/rn86Xt2aBvG9meLixv7KTCbS8H85lG1Th1KmL8tM4J2BaFPKb4IA3MGxcTOgXprDcosQUdQDVT9dFFheh1MHNhRsj4j5dp1LEEmWOSQlYfd2Q4DQyY+aRD/EHxXn56duYjN7opJtRdvGI9sUgg=
diff-src-prefix
- Jo9YyMATQgc1FiySMtnVB4GccvyBowLZB5XcnpU619sQ54kS3KpG5AFnZpJzD5UvEan5RB+o7EEnZ88elkHsug==
iYomirD167nIgH0y0iMJ7su1/8kxSHnSQhNI6naddlle9Z4S3VNRQOnvXBBfvZtZDwsjBkb9XEVWI8yGZFclGw==
diff-dst-prefix
- Jo9YyMATQgc1FiySMtnVB1hrbvd352419BjZRerQSGsiniKF9pZmlzhIWdQRX5oaxW4hTn6bxIjhQVmIStmupQ==
iYomirD167nIgH0y0iMJ7su1/8kxSHnSQhNI6naddlnEcBGTzPmZ/FzSC710xLETlsFhhDQ5z9NU9ex3bknTFg==
diff-text
- Jo9YyMATQgc1FiySMtnVB2r22JOfbzP94ImRd9QBcoXzhu/uEoooTHYnsxQFqN17radjgV+EY9MnXotENoKrsA==
fw0LRJ2CqK835LTs53TjQJBz0L29vgU0XiV2FdlS7hwQSIsqDTrAuQ0VRRzz01DtBp5w9j11pgysRHspZ3995A==
global
- Jo9YyMATQgc1FiySMtnVB2r22JOfbzP94ImRd9QBcoXzhu/uEoooTHYnsxQFqN17radjgV+EY9MnXotENoKrsA==
y/yfX9YILH8KaCLXoO4gKyWymG0uEoyYEbSRubV8nGhLTCCRXx9P/z7yXqjg2EtmeY6zQss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