dataverse-utils 2.0.7 → 2.0.8

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.
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.deploy = void 0;
7
7
  const fs_1 = __importDefault(require("fs"));
8
- const glob_1 = __importDefault(require("glob"));
8
+ const node_glob_1 = __importDefault(require("node-glob"));
9
9
  const node_1 = require("dataverse-webapi/lib/node");
10
10
  const pluginType_1 = require("./pluginType");
11
11
  const dataverse_service_1 = require("../dataverse.service");
12
12
  const just_scripts_utils_1 = require("just-scripts-utils");
13
13
  async function deploy(config, apiConfig, solution) {
14
- const files = glob_1.default.sync(`**/${config.name}.dll`);
14
+ const files = node_glob_1.default.sync(`**/${config.name}.dll`);
15
15
  if (files.length === 0) {
16
16
  just_scripts_utils_1.logger.error(`assembly ${config.name}.dll not found`);
17
17
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataverse-utils",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -21,6 +21,7 @@
21
21
  "dependencies": {
22
22
  "@azure/msal-node": "^1.3.1",
23
23
  "commander": "^8.2.0",
24
+ "node-glob": "^1.2.0",
24
25
  "cryptr": "^6.0.2",
25
26
  "dataverse-webapi": "^2.0.1",
26
27
  "envinfo": "^7.8.1",
@@ -29,6 +30,7 @@
29
30
  },
30
31
  "devDependencies": {
31
32
  "@types/node": "^16.9.1",
33
+ "@types/glob": "^7.2.0",
32
34
  "@types/prompts": "^2.0.14"
33
35
  }
34
36
  }