[Pkg-javascript-devel] Bug#1004479: node-js-yaml: Please build and install dist/js-yaml.mjs

Jérémy Lal kapouer at melix.org
Fri Jan 28 13:04:43 GMT 2022


Package: node-js-yaml
Version: 4.1.0+dfsg+~4.0.5-5
Severity: normal

Hi,

import * as Yaml from 'js-yaml';

fails because

"exports": {
    ".": {
      "import": "./dist/js-yaml.mjs",
      "require": "./index.js"
    },
    "./package.json": "./package.json"
  },

and dist/js-yaml.mjs
is missing.

Jérémy


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages node-js-yaml depends on:
ii  node-argparse  2.0.1-2
ii  node-esprima   4.0.1+ds+~4.0.3-2
ii  nodejs         12.22.9~dfsg-1

node-js-yaml recommends no packages.

node-js-yaml suggests no packages.

-- no debconf information


More information about the Pkg-javascript-devel mailing list