- BREAKING chore: require Node >= 20
- chore: update devDeps.
- feat: adds TypeScript
- chore: update node-fetch, devDeps. and lint; require Node 18+
- fix: service workers import issue
- BREAKING feat: Avoid utilizing built-in fetch as uses URL-based loading only now in later Node versions
- Dev security: Switch to server (
http-server) without reported vulnerabilities - Fix: For .mjs file, avoid
require - Linting: Per latest ash-nazg
- npm: Update devDeps. including switching to latest ash-nazg peerDeps
- npm: Switch to pnpm
- Fix: For
exportsuse proper relative path
- npm: Bump
node-fetch - Linting (ESLint): As per latest ash-nazg
- Testing: Switch to stable version of
mocha-multi-reporters - npm: Update devDeps; add missing
eslint-formatter-badgerdevDep.
- Fix: Worker compatibility
- Fix: Resume with default export for UMD browser build
- Build: Ensure transforming
importfor CJS
- Breaking change: Make as proper native Node ESM module
- Breaking change: Add back
moduletopackage.json - Breaking change: Rename again as polyglot (even if not supported by Rollup)
- Enhancement: Add
browsertopackage.json - Fix: ESM Rollup format wasn't being specified properly
- Docs: Add badges
- Linting: Check hidden files
- Testing: Move to c8 for native Node coverage
- Fix: For polyglot capability, export as UMD
- Fix: At least make no-op so Node file can be polyglot
- Breaking change: Make as named rather than default export
- Breaking change: Remove polyglot file (in favor of browser or Node being auto-selected appropriately)
- Breaking change: Point to different
distpaths formain; removebrowserin favor ofexports.browser; addexportswith CJS and MJS files - Breaking change: Indicate
enginesas 0.12.0 minimum (requiresPromise) - Breaking change (Node): Fix bug with base directory, making it now
by default resolve relative to
process.cwd; Node version now also adds ability to read URLs - Build: Use "json" extension with RC file
- Enhancement: Add
buildGetJSONexport for baking in base path or base URL (e.g., for use withimport.meta.url) - Enhancement: Add
getDirectoryForURLmodule (used byindex-node) - Linting: As per latest ash-nazg/ESLint 7; apply sauron-node
- Testing: Switch to default Mocha
testdirectory; build tests with@babel/register - Testing: Switch to Mocha + Chai + Babel + nyc
- npm: Avoid opening file in start script
- npm: Avoid linting with rollup script
- npm: Update
rollup-plugin-babelto@rollup/plugin-babeland make explicitbabelHelpersasbundled - npm: Update devDeps
- npm: Update devDeps
- yarn: Remove
yarn.lock
- npm: Update devDeps
- Linting: Switch to
eslint-config-ash-nazg; apply to HTML/Markdown JS - Build: Drop
@babel/polyfilldep. - npm: Change deprecated
opn-cli->open-cli - npm: Update devDeps
- Build: Ensure has CommonJS build without need for polyfill/regenerator-runtime
- Linting (Markdown): Fix
.remarkrcformat - npm: Update devDeps
- Breaking change: Add ES distributed build and move distribution files to
dist(and source files tosrc) and updatepackage.jsonmain,browserandmodulefields - Breaking change: Remove file for Bower (now that it is deprecated)
- Breaking change: Change from
babel-polyfillto@babel/polyfill - Linting (ESLint): Override "standard" for
object-curly-spacing; avoid Node usage of pseudo-deprecatedurl.parse - Build: Avoid need for
rollup-plugin-async - Docs: Add reference to @babel/polyfill
- npm: Update to Babel7; rename "build" script to "rollup"; update other devDeps and local-xmlhttprequest dep
- npm: Switch babel-polyfill to dependency to ensure present for inheriting projects
- npm: Add
babel-polyfill - npm: Update devDeps and update builds
- Fix
.npmignore
- Build: Add yarn
- npm: Use
babel-preset-envinstead ofbabel-env(former was also causing problems in Travis environment (and rebuilding.babelrc)) - npm: Update dev deps
- Build: Rename Node file to polyglot as is UMD
- Enhancement (npm): Point to polyglot file from
moduleproperty (workable in Node as well as browser) - Enhancement: Check for an undefined
fetchrather than a definedmodule(should be safer in more environments)
- Build: Fix for Node
- Build: Fix for Node
- npm: Add ESLint script
- Build: Properly apply Babel
- Breaking change: Assume
fetchsupport or polyfill in browser - Refactoring: Build
index.js(for Node or browser) from source (using Rollup with rollup.config.js, applying to tests for restoring Node testing support)
- Use Rollup-friendly
moduletool.
- Breaking change: Return error objects instead of strings in both files
- Breaking change: Add URL to error message passed to errBack as well as to Promise catch
- Enhancement: Within new
index-es2017.jsfile, export as ES6 module, refactoring to leverage ES2017await
- Allow omission of callback when passing an array of URLs (can instead use Promises chain)
- Throw errors properly when jsonURL is an array and errBack is not present
- Added support for array of resources as first argument
- Returns a
Promisewhen the second and third arguments are not functions (or are absent) - Allow
errBackfor third argument - Requires
Array.isArray,Function.prototype.bind, andPromisepolyfills if using on older environments
- Last initial version