Skip to content

[BUG] scoped registry is not respected (edit: not a bug after all) #24

@pgsandstrom

Description

@pgsandstrom

What / Why

When adding a scoped registry to my configuration, it does not appear to be respected.

When

  const conf = {
    cache: null,
    '@babel:registry': 'http://this-should-fail.example.com',
  }
  const json = (await npmRegistryFetch.json(
    '@babel/plugin-proposal-class-properties',
    conf,
  ))

This request succeeds when I would expect it to fail.

I have tried both with v6.0.2 and v7.0.0 and get the same result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions