specifier

Node.js tool for updating your ES module and CommonJS specifiers.

MIT License

Downloads
1.7K
Stars
4

Bot releases are hidden (Show)

specifier - v2.0.0-rc.1 Latest Release

Published by knightedcodemonkey 5 months ago

What's Changed

Full Changelog: https://github.com/knightedcodemonkey/specifier/compare/v2.0.0-rc.0...v2.0.0-rc.1

specifier - v2.0.0-rc.0

Published by knightedcodemonkey 5 months ago

specifier - Release v1.0.1

Published by knightedcodemonkey about 1 year ago

specifier - Initial release

Published by knightedcodemonkey about 1 year ago

specifier - Pre-release v1.0.0-rc.4

Published by knightedcodemonkey about 1 year ago

specifier - Pre-release v1.0.0-rc.3

Published by knightedcodemonkey about 1 year ago

Changes:

  • Updates source files to TypeScript.
  • Updates README.
  • See the breaking changes 👇

BREAKING CHANGE: all methods return an object, removed updateCode, removed loc and pos from syntaxError, bump node engine to >= 14.0.0.

specifier - Pre-release v1.0.0-rc.2

Published by knightedcodemonkey about 1 year ago

Changes:

  • Adds .d.ts so you can see stuff in your editor 😄 .
specifier - Pre-release v1.0.0-rc.1

Published by knightedcodemonkey about 1 year ago

Changes:

specifier - Initial release candidate

Published by knightedcodemonkey about 1 year ago

  • Adds specifier.updateSrc for updating specifiers from a source code string.
  • Updates the README.
specifier - Pre-release v1.0.0-alpha.7

Published by knightedcodemonkey about 1 year ago

BREAKING CHANGES:

  • Removed errorContext and instead that data is now available in syntaxError which is either undefined or an object.

Changes:

  • Adds a test for JSX.
  • Updates the README.
specifier - Pre-release v1.0.0-alpha.6

Published by knightedcodemonkey about 1 year ago

specifier - Pre-release v1.0.0-alpha.5

Published by knightedcodemonkey about 1 year ago

Features:

  • Adds support for updating strings in CJS require expressions.
specifier - Pre-release v1.0.0-alpha.4

Published by knightedcodemonkey about 1 year ago

Changes:

  • Adds specifier.updateCode to support clients that are part of a particular build system's plugin architecture.
  • Updates docs.
specifier - Pre-release v1.0.0-alpha.3

Published by knightedcodemonkey about 1 year ago

Fixes:

  • Only parse for TypeScript ambient contexts in declaration files.
specifier - Pre-release v1.0.0-alpha.2

Published by knightedcodemonkey about 1 year ago

Changes:

  • Supports TypeScript.
  • Replaces acorn with babel.
  • Update docs to be more accurate.

Fixes:

  • Removes unintentional logging of AST nodes.
specifier - Pre-release v1.0.0-alpha.1

Published by knightedcodemonkey about 1 year ago

Changes:

  • Adds specifier.mapper().
  • Updates docs.
specifier - Initial Pre-release

Published by knightedcodemonkey about 1 year ago

Package Rankings
Top 11.32% on Npmjs.org
Badges
Extracted from project README
codecov NPM version
Related Projects