inquirerer 2.1.10 → 2.1.12

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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2025 Interweb, Inc. <developers@interweb.co>
3
+ Copyright (c) 2025 Constructive <developers@constructive.io>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -5,10 +5,10 @@
5
5
  </p>
6
6
 
7
7
  <p align="center" width="100%">
8
- <a href="https://github.com/hyperweb-io/dev-utils/actions/workflows/ci.yml">
9
- <img height="20" src="https://github.com/hyperweb-io/dev-utils/actions/workflows/ci.yml/badge.svg" />
8
+ <a href="https://github.com/constructive-io/dev-utils/actions/workflows/ci.yml">
9
+ <img height="20" src="https://github.com/constructive-io/dev-utils/actions/workflows/ci.yml/badge.svg" />
10
10
  </a>
11
- <a href="https://github.com/hyperweb-io/dev-utils/blob/main/LICENSE">
11
+ <a href="https://github.com/constructive-io/dev-utils/blob/main/LICENSE">
12
12
  <img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/>
13
13
  </a>
14
14
  <a href="https://www.npmjs.com/package/inquirerer"><img height="20" src="https://img.shields.io/npm/dt/inquirerer"></a>
@@ -987,7 +987,7 @@ await cli.run();
987
987
  1. Clone the repository:
988
988
 
989
989
  ```bash
990
- git clone https://github.com/hyperweb-io/dev-utils.git
990
+ git clone https://github.com/constructive-io/dev-utils.git
991
991
  ```
992
992
 
993
993
  2. Install dependencies:
package/esm/utils.js CHANGED
@@ -2,11 +2,11 @@ import { green, blue } from 'yanse';
2
2
  import { findAndRequirePackageJson } from "find-and-require-package-json";
3
3
  // Function to display the version information
4
4
  export function displayVersion() {
5
- const pkg = findAndRequirePackageJson();
5
+ const pkg = findAndRequirePackageJson(__dirname);
6
6
  console.log(green(`Name: ${pkg.name}`));
7
7
  console.log(blue(`Version: ${pkg.version}`));
8
8
  }
9
9
  export function getVersion() {
10
- const pkg = findAndRequirePackageJson();
10
+ const pkg = findAndRequirePackageJson(__dirname);
11
11
  return pkg.version;
12
12
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "inquirerer",
3
- "version": "2.1.10",
4
- "author": "Dan Lynch <pyramation@gmail.com>",
3
+ "version": "2.1.12",
4
+ "author": "Constructive <pyramation@constructive.io>",
5
5
  "description": "TypeScript-first library for building beautiful CLI interfaces with interactive prompts",
6
6
  "main": "index.js",
7
7
  "module": "esm/index.js",
8
8
  "types": "index.d.ts",
9
- "homepage": "https://github.com/hyperweb-io/dev-utils",
9
+ "homepage": "https://github.com/constructive-io/dev-utils",
10
10
  "license": "MIT",
11
11
  "publishConfig": {
12
12
  "access": "public",
@@ -14,10 +14,10 @@
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "https://github.com/hyperweb-io/dev-utils"
17
+ "url": "https://github.com/constructive-io/dev-utils"
18
18
  },
19
19
  "bugs": {
20
- "url": "https://github.com/hyperweb-io/dev-utils/issues"
20
+ "url": "https://github.com/constructive-io/dev-utils/issues"
21
21
  },
22
22
  "scripts": {
23
23
  "copy": "makage assets",
@@ -30,16 +30,16 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "deepmerge": "^4.3.1",
33
- "find-and-require-package-json": "0.6.8",
33
+ "find-and-require-package-json": "0.8.1",
34
34
  "js-yaml": "^4.1.0",
35
35
  "minimist": "^1.2.8",
36
- "yanse": "0.1.6"
36
+ "yanse": "0.1.7"
37
37
  },
38
38
  "keywords": [],
39
39
  "devDependencies": {
40
40
  "@types/minimist": "^1.2.5",
41
- "clean-ansi": "0.1.3",
41
+ "clean-ansi": "0.1.4",
42
42
  "makage": "0.1.8"
43
43
  },
44
- "gitHead": "f354f0835840f2592220167b6e3d0ffd570b6474"
44
+ "gitHead": "a30d0a87aaccc1ae729b86d24b1bc3a0f73aeb19"
45
45
  }
package/utils.js CHANGED
@@ -6,11 +6,11 @@ const yanse_1 = require("yanse");
6
6
  const find_and_require_package_json_1 = require("find-and-require-package-json");
7
7
  // Function to display the version information
8
8
  function displayVersion() {
9
- const pkg = (0, find_and_require_package_json_1.findAndRequirePackageJson)();
9
+ const pkg = (0, find_and_require_package_json_1.findAndRequirePackageJson)(__dirname);
10
10
  console.log((0, yanse_1.green)(`Name: ${pkg.name}`));
11
11
  console.log((0, yanse_1.blue)(`Version: ${pkg.version}`));
12
12
  }
13
13
  function getVersion() {
14
- const pkg = (0, find_and_require_package_json_1.findAndRequirePackageJson)();
14
+ const pkg = (0, find_and_require_package_json_1.findAndRequirePackageJson)(__dirname);
15
15
  return pkg.version;
16
16
  }