@patternfly/class-name-updater
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.0.3](https://github.com/patternfly/pf-codemods/compare/@patternfly/class-name-updater@2.0.2...@patternfly/class-name-updater@2.0.3) (2024-03-20) | ||
### Bug Fixes | ||
* **class-name-updater:** fix cli to grab package file relatively ([#615](https://github.com/patternfly/pf-codemods/issues/615)) ([9df19dd](https://github.com/patternfly/pf-codemods/commit/9df19dd7119d47a635edd70066665d5d15a01037)) | ||
## [2.0.2](https://github.com/patternfly/pf-codemods/compare/@patternfly/class-name-updater@2.0.1...@patternfly/class-name-updater@2.0.2) (2024-03-19) | ||
@@ -8,0 +19,0 @@ |
@@ -19,3 +19,3 @@ #!/usr/bin/env node | ||
program | ||
.version(require((0, path_1.join)(process.cwd(), "packages", "class-name-updater", "package.json")).version) | ||
.version(require('../package.json').version) | ||
.description("Update class name versioning") | ||
@@ -22,0 +22,0 @@ .arguments("<path> [otherPaths...]") |
{ | ||
"name": "@patternfly/class-name-updater", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Utility to update class names with Patternfly version numbers", | ||
@@ -19,3 +19,3 @@ "author": "Red Hat", | ||
"clean": "rimraf ./dist", | ||
"test": "jest" | ||
"test": "node ./dist/cli.js test --exclude test/largeFile.js" | ||
}, | ||
@@ -32,3 +32,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "7f1517ac2536e3f309efe2f18d4efa2438120eb4" | ||
"gitHead": "4e8e509fcf6793b3283592bcee22f1ee2f7300e4" | ||
} |
@@ -11,8 +11,3 @@ #!/usr/bin/env node | ||
.version( | ||
require(join( | ||
process.cwd(), | ||
"packages", | ||
"class-name-updater", | ||
"package.json" | ||
)).version | ||
require('../package.json').version | ||
) | ||
@@ -19,0 +14,0 @@ .description("Update class name versioning") |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
725468
26
2956
3
1