TritonDataCenter / node-manta

Node.js SDK for Manta
75 stars 54 forks source link

TritonDataCenter/node-manta#391 TypeError: mime.extension is not a function #392

Closed bahamat closed 2 years ago

bahamat commented 2 years ago

Tested with a clean directory for sure this time.

$ git clean -fdx
Removing node_modules/
Removing package-lock.json
Removing test.tap
$ make test     
npm install
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@2.0.3: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

added 336 packages, and audited 337 packages in 11s

7 packages are looking for funding
  run `npm fund` for details

11 vulnerabilities (2 moderate, 4 high, 5 critical)

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
test/integration/client-mpu.test.js ................... 0/1 1s
  Skipped: 1
    mpu client usage this Manta does not support multipart upload (MPU)

test/integration/client.test.js ..................... 75/86 26s
  Skipped: 11
    ln this Manta is version 2
    info (link) this Manta is version 2
    create job (simple grep) this Manta is version 2
    get job this Manta is version 2
    add input keys this Manta is version 2
    get job input this Manta is version 2
    end job this Manta is version 2
    wait for job this Manta is version 2
    get job output this Manta is version 2
    create and cancel job this Manta is version 2
    unlink link this Manta is version 2

test/integration/mchmod.test.js ....................... 0/1 787ms
  Skipped: 1
    mchmod with role-tag MANTA_TEST_ROLE envvar not set

test/integration/mfind.test.js ...................... 30/31 16s
  Skipped: 1
    mfind forbidden test MANTA_USER=bbennett is an operator

test/integration/mget.test.js ....................... 26/26 17s
test/integration/mjob-simple.test.js .................. 0/1 2s
  Skipped: 1
    mjob create --close -or "echo hello" this Manta does not support jobs

test/integration/mln.test.js .......................... 0/4 2s
  Skipped: 4
    setup: create test tree at /bbennett/stor/node-manta-test-mput-08416c7c this Manta does not support snapLinks
    mln this Manta does not support snapLinks
    cleanup: rm test tree /bbennett/stor/node-manta-test-mput-08416c7c this Manta does not support snapLinks
    cleanup: rm tmp directory /var/folders/rn/rd89mntn58l5tldhb6kgwpzm0000gn/T/ this Manta does not support snapLinks

test/integration/mmkdir.test.js ....................... 0/1 769ms
  Skipped: 1
    mmkdir with role-tag MANTA_TEST_ROLE envvar not set

test/integration/mmpu.test.js ......................... 0/1 1s
  Skipped: 1
    mmpu this Manta does not support multipart upload (MPU)

test/integration/mput.test.js ......................... 8/8 6s
test/integration/mrm.test.js ........................ 15/15 25s
test/integration/mrmdir.test.js ..................... 11/11 11s
test/integration/msign.test.js ...................... 44/44
test/integration/muntar.test.js ..................... 14/14 7s
test/unit/completion.test.js ........................ 51/51
test/unit/options.test.js ........................... 60/60
test/unit/trackmarker.test.js ....................... 73/73
test/unit/utils.test.js ............................. 32/32
total ............................................. 439/460

  439 passing (26s)
  21 pending