@artilingo/artiframe-cli 1.1.1 → 1.1.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/bin/artiframe.js +1 -1
  2. package/package.json +1 -1
package/bin/artiframe.js CHANGED
@@ -249,7 +249,7 @@ if (args.includes('--version') || args.includes('-v')) {
249
249
  }
250
250
 
251
251
  const vr = spawnSync(php, ['-r', 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION;'], {
252
- encoding: 'utf8', shell: true,
252
+ encoding: 'utf8', shell: false,
253
253
  });
254
254
  const [major, minor] = (vr.stdout || '0.0').split('.').map(Number);
255
255
  if (major < 8 || (major === 8 && minor < 1)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artilingo/artiframe-cli",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "ArtiFrame — Zero-dependency native PHP framework with a powerful multilingual CLI. Scaffold projects, generate views, APIs and classes instantly.",
5
5
  "main": "bin/artiframe.js",
6
6
  "bin": {