3.1.1 (2024-12-24)
- some npm package uses array in package.json exports condition (2fe50e6)
3.1.0 (2024-12-24)
- fix local require check in npm package (fba127f)
- support node: import like require('node:fs/promises') (8d0544c), closes #17
- support package.json exports field (a800eb8), closes #17
3.0.0 (2024-09-17)
- upgrade deps (c723de6)
- drop support of Node.js < v18
2.1.2 (2024-05-11)
2.1.1 (2022-08-06)
- clearCache should return resolved promise (a828f48)
- need to init parcel source-map for using in browser (9538e6e)
2.1.0 (2022-05-21)
- bring back browser test, use typescript to compile esm (55db97d)
2.0.1 (2022-05-20)
2.0.0 (2022-05-20)
- skip browser test for now (4bcb136)
- use faster @parcel/source-map (ecf3469)
- temporarily drop support of running in browser env
- drop support of of nodejs v12 and below
1.14.13 (2022-05-18)
1.14.12 (2022-05-18)
- more accurate time report (df47a01)
1.14.11 (2022-05-17)
- update source-map to fix the issue on nodejs v18 (0565f57)
1.14.10 (2022-05-07)
- bypass source-map bug on sourceRoot (6972943)
- fill process.execArgv (9df7e0b)
- fill up process.version and process.versions for browser code (056fe88)
1.14.9 (2021-11-28)
1.14.8 (2021-05-13)
1.14.7 (2021-01-14)
1.14.6 (2021-01-13)
- correctly treat empty commonjs code (89046fd)
1.14.5 (2021-01-13)
1.14.4 (2020-12-19)
1.14.3 (2020-11-15)
- use absolute path to bypass weird yarn2 bug (8f4b8d7)
1.14.2 (2020-11-15)
1.14.1 (2020-11-02)
1.14.0 (2020-10-26)
- improve tracing performance by avoid parsing unchanged code (b2c2e38)
1.13.5 (2020-10-16)
1.13.4 (2020-10-02)
- fix possible failing resolve due to new exports field in package.json (09d409e)
1.13.3 (2020-09-16)
- correctly handle browser field "." replacement (647d73d)
1.13.2 (2020-07-17)
- fix above the surface json module (e.g. ../package.json) (b1a7f59)
1.13.1 (2020-05-28)
1.13.0 (2020-04-18)
- upgrade to stream-browserify v3 (889abe0)
1.12.9 (2020-04-09)
- ignores runtime modules mapped by paths (52d7102)
1.12.8 (2020-04-08)
- fix runtime loading on module with paths mapped https:// (c1b132e)
1.12.7 (2020-04-08)
- don't detect false cjs require, properly detect global require usage (8e25d19)
1.12.6 (2020-04-03)
1.12.5 (2020-04-03)
1.12.4 (2020-04-03)
- delay version message to construct (7a8367a)
1.12.3 (2020-04-03)
1.12.2 (2020-04-02)
1.12.1 (2020-04-02)
- meriyah is dep, not devDep (887b570)
1.12.0 (2020-04-02)
- switch from babel parser to meriyah for performance (4c817af)
1.11.6 (2020-03-18)
- alias should alias module id too (28b6fc8)
1.11.5 (2020-03-06)
1.11.4 (2020-03-05)
- fix main alias on file name like index.cjs.js (3910668)
- remove alias check to avoid double strip (ec804c5)
1.11.3 (2020-03-04)
- dynamic import() should return es namespace (b7b68b5)
1.11.2 (2020-02-14)
- missing branch (edebb42)
1.11.1 (2020-02-14)
- fix fsExists on dir check (bcb2d67)
1.11.0 (2020-02-13)
- add exists api to package-file-reader to avoid unnecessary io (7c45630)
1.10.4 (2020-02-13)
- lazily resolve package main (b883b05)
1.10.3 (2020-02-12)
- treat empty cache as no cache (41460d8)
1.10.2 (2020-02-11)
- package reader needs to bypass traced cache (c6ed0eb)
1.10.1 (2020-02-11)
- avoid fetching jsdelivr package.json repeatedly (b81bc56)
1.10.0 (2020-02-10)
- support aggressive reading from cache (dc824d0)
1.9.1 (2020-01-31)
- need to transform cjs/mjs as js code (2326c49)
1.9.0 (2020-01-31)
- small step to add some support for mjs and cjs files (a5e1d05)
1.8.1 (2020-01-28)
- add package main path to cache hash (f7353ab)
1.8.0 (2020-01-22)
- add "size" meta data to getCache callback (0067ae3)
1.7.5 (2020-01-21)
- synchronously print slow code warning (0c36984)
1.7.4 (2020-01-20)
1.7.3 (2020-01-20)
1.7.2 (2020-01-19)
1.7.1 (2020-01-18)
1.7.0 (2020-01-17)
- calls getCache with meta info to allow user to fine tune cache storage (c2b08d6)
1.6.0 (2020-01-15)
- better stub of fs to delay the error in browser (67b1673)
1.5.1 (2019-12-22)
- avoid warning of unhandled promise reject (0163b08)
1.5.0 (2019-12-22)
- localStorage api is not available in service worker (fc49a20)
- improve jsdelivr reader by caching file lists result (45a1faa)
1.4.0 (2019-12-20)
- show additional package config in log (902383d)
1.3.1 (2019-12-19)
- update to latest estree ImportExpression from @babel/parser (a105914)
1.3.0 (2019-12-19)
- performance boost by paralleling npm package (io) reading (85a4926)
1.2.5 (2019-12-18)
1.2.4 (2019-12-17)
- avoid panic when parsing toastr, but doesn't fix toastr bundling (9024a62)
1.2.3 (2019-11-13)
- fix default NODE_ENV value in cache key (d24dea6)
1.2.2 (2019-10-16)
- fix missed sourcemap content on cache key (81060cf)
1.2.1 (2019-09-26)
- fix esm-to-cjs error when running bundler inside browser (a3b9a20)
1.2.0 (2019-09-23)
- fix jsDeliver reader url issue (a831fad)
- refactor forced main, support forced main in jsDelivr (4fdfb00)
1.1.2 (2019-09-22)
- use full path for jsdelivr when running dumber in browser (fcc014a)
1.1.1 (2019-09-22)
- avoid conflict in conventional alias, only apply for package with main with same path prefix (99b4bba)
- fix a missing package alias when main file is requested from an explicit require('packageName/main/path'); (7ecc905)
1.1.0 (2019-09-02)
1.0.2 (2019-08-30)
- fix wrong removal of js string contains literl "sourceMappingURL" (73db498)
1.0.1 (2019-08-30)
1.0.0 (2019-08-29)
0.14.4 (2019-08-28)
- replace deprecated cherow with @babel/parser (in estree mode) (896057a)
0.14.3 (2019-08-09)
- fix regresstion on path to inject-css module (def96de)
0.14.2 (2019-08-09)
- fix bad typo mistake in node-env-condition (6e11ffe)
0.14.1 (2019-08-09)
- fix missing check in node-env-condition (17ecb94)
0.14.0 (2019-08-09)
- support process.env.NODE_ENV (75a902c)
0.13.1 (2019-08-05)
0.13.0 (2019-08-05)
- remove babel transpiling, back to plain commonjs (f62c8aa)
- ensure-parser-set API is changed.
0.12.7 (2019-08-04)
- fix missing ext:css plugin for less/sass/scss/styl deps (3edd9da)
0.12.6 (2019-08-04)
- fix missing css injection for less/scss/sass/styl files (420e0aa)
- support multiple aliases (6cc5f6b)
0.12.5 (2019-07-30)
0.12.4 (2019-07-25)
0.12.3 (2019-07-16)
0.12.2 (2019-07-14)
0.12.1 (2019-07-13)
0.12.0 (2019-06-26)
- use the new define.alias func (a86c32c)
0.11.7 (2019-06-25)
- fix missing main alias for npm package name ended with ".js" (fa5ffb2)
0.11.6 (2019-06-25)
- explicitly fullfill json module to avoid json module dep issue in npm package (f45809a)
0.11.5 (2019-06-04)
- add dynamic import to tracing deps if possible (1e6d148)
0.11.4 (2019-06-04)
- don't stop transform when incoming sourceMap is broken (f129439)
0.11.3 (2019-05-16)
- don't stub text module with identity source map if there is existing map (3afd5c0)
0.11.2 (2019-03-19)
- better sources path support for npm package with source map (825df14)
- use a non-empty sourcemap to please applySourceMap merge (6c64dbf)
0.11.1 (2019-03-19)
0.11.0 (2019-03-19)
0.10.0 (2019-03-08)
0.9.2 (2019-03-08)
- improve compatibility with legacy libs that depends on jquery on momentjs (323518d)
- skip deps cleanup (remove .js) for UMD file (c574e29), closes #8
- throw error on broken directory package.json (b1d859f)
0.9.1 (2019-02-10)
- fix a regression of missing css injection on local css (67e8532)
0.9.0 (2019-02-09)
- upgrade dumber-module-loader, use requirejs compatible module.uri (7fa38f6)
- show real package version for hard coded package main (37f3bd7)
0.8.18 (2019-01-18)
- fix typo (fc388c5)
0.8.17 (2019-01-18)
0.8.16 (2019-01-18)
0.8.15 (2019-01-18)
0.8.14 (2019-01-18)
0.8.13 (2019-01-17)
- fix compatibility with nodejs v8 where URL is not available as global var (2578785)
- improve efficiency by skipping unchanged files in watch mode (53caf61)
0.8.12 (2019-01-17)
0.8.11 (2019-01-16)
- fix sourcesContent format (d23a56e)
0.8.10 (2019-01-16)
- bring in missing dep (3b91373)
0.8.9 (2019-01-16)
- inline sourcesContent for all npm package sourceMap (f30e695)
0.8.8 (2019-01-15)
- normalise file path for windows (fff914d)
- support sourceMap from npm package (956a946)
0.8.7 (2019-01-13)
- support mapping and tracing plugin module (bb32149)
0.8.6 (2019-01-06)
0.8.5 (2019-01-02)
- only skip cjs wrap if amd define is in use (90f0749)
0.8.4 (2018-12-30)
0.8.3 (2018-12-24)
0.8.2 (2018-12-23)
- inject css on demand (cf2f586)
- option injectCss is now turned on by default
0.8.1 (2018-12-23)
- fix accidentally upgraded readable-stream (f11b53d)
0.8.0 (2018-12-23)
- move appends to dedicated section to ensure appends after config (0528bb9)
- this requires gulp-dumber update
0.7.25 (2018-12-23)
- simply put onRequire module content onto package space (df28359)
- support requirejs paths config (f01f263)
- feat: be smart on onRequire stub's module space (c403add)
0.7.24 (2018-12-19)
0.7.23 (2018-12-18)
- coloured console log in nodejs env (e76d173)
0.7.22 (2018-12-18)
0.7.21 (2018-12-18)
- be smart on onRequire stub's module space (3851939)
0.7.20 (2018-12-18)
- fix onRequire file path (b0dc772)
0.7.19 (2018-12-17)
- only recover missing main, not broken package.json (6d08545)
0.7.18 (2018-12-17)
- arrayBuffer() stub should return a promise (4f03a1e)
0.7.17 (2018-12-17)
- fix missing dep on base64-arraybuffer (5a07d94)
0.7.16 (2018-12-17)
- fix missing } in wasm wrapper (cab8453)
0.7.15 (2018-12-17)
- fix unknown encoding null for buffer.toString() (fc61bcc)
0.7.14 (2018-12-17)
- basic support of bundling wasm (3efd5dd)
0.7.13 (2018-12-17)
0.7.12 (2018-12-15)
- change default baseUrl from "dist" to "/dist" to work better in some SPA router (71f0099)
0.7.11 (2018-12-15)
- get missed location and main (dc7c550)
0.7.10 (2018-12-15)
- support es dynamic import() (a9c0caf)
0.7.9 (2018-12-13)
- need alias for direct browser replacement too (62d0224)
0.7.8 (2018-12-13)
- hopefully fixed stream stub (e92bc04)
0.7.7 (2018-12-13)
- fix browser replacement on direct resource require (73d26d8)
- fix browser replacement on main (a0b4934)
0.7.6 (2018-12-13)
- use new readable-stream instead of old stream-browserify to stub nodejs core module stream (f579263)
0.7.5 (2018-12-13)
- fix false error on stub module (efe776f)
0.7.4 (2018-12-13)
- fix parser on special globals like defineSetter (36cb1d4)
- support nodejs globals: global, process, Buffer (a1975c4)
0.7.3 (2018-12-11)
- make clearCache async (d40b4b6)
0.7.2 (2018-12-11)
- support option skipModuleLoader (1fc207c)
0.7.1 (2018-12-11)
0.7.0 (2018-12-10)
- ensure ending in semicolon for prepends/appends (e00be42)
0.6.0 (2018-12-10)
- ignore falsy values in prepends/appends/deps, so it is easier for user to do conditional config (096fabb)
0.5.1 (2018-12-09)
0.5.0 (2018-12-09)
- tolerant missing main file like npm package simple-line-icons (1fe8744)
0.4.10 (2018-12-07)
- remove sourceMappingUrl from prepends and appends (803954e)
0.4.9 (2018-12-07)
0.4.8 (2018-12-07)
0.4.7 (2018-12-07)
0.4.6 (2018-12-06)
- take depsFinder in consideration when doing cache (5d4be04)
- conventional alias from npm package module foo/dist/lib/bar (or foo/dist/favor/lib/bar) to foo/bar (fcb11c9)
0.4.5 (2018-12-06)
- no warning for empty shim deps (23c9ae3)
0.4.4 (2018-12-06)
- cleanup dist folder before build (1bd842a)
0.4.3 (2018-12-05)
0.4.2 (2018-12-05)
- remove inner defined modules from deps (e772a62)
0.4.1 (2018-12-04)
0.4.0 (2018-12-04)
- follow Fred's advice, replace esprima with cherow (eea54a2)
0.3.0 (2018-12-04)
- fix failures on windows (ee90d8f)
0.2.1 (2018-12-03)
- fix missing dep mkdirp (11c3808)
0.2.0 (2018-12-02)
- support stub-module when running dumber in browser (9aca164)
- cache trace (1cf3e32)
0.1.5 (2018-11-30)
0.1.4 (2018-11-30)
- support optional onRequire hook (72cd8ff)
0.1.3 (2018-11-29)
- cleanup switch module space call (637d5a2)
0.1.2 (2018-11-29)
- remove cjs contants from deps (90eb551)
0.1.1 (2018-11-29)
- fix json alias (130d076)
- use nodejs require.resolve to ensure module resolving compatibility (986b788)
- package-locator: rejects jsDelivr redirection on dir read (a867d4d)
- trace: mimic requirejs runtime behaviour, if no module defined, add an empty shim (8d9d4dd)
- add nodejsload to reader, remove mock-fs (722ad71)
- alias creates aliases. (844e02e)
- allow passing in globalIndentifiers result for efficiency. (89bc0b9)
- bundler (be73a3f)
- default npm package locator. (f58584b)
- defines transform returns js deps. (b017c8f)
- implement r.js commonJs.convert. (73c2571)
- implement r.js parse.usesAmdOrRequirejs, but not declaresDefine and defineAmd. (23132d1)
- implement r.js parse.usesCommonJs with ast-matcher. (a032dda)
- implement r.js transform.toTransport in ast-matcher. (76ea9c2)
- jsDelivr-npm-package-locator. (d6c2e8f)
- json transform into amd. (5e3630b)
- package reader (b2ba08b)
- parser.usesEsm to check usage of ES module format (33535b2)
- resolve-module-id. (353af30)
- shim support. (9ff04cf)
- support "json!a.json" for directly using requirejs (ff24a65)
- support package.json browser field (7cf93b7)
- text transform into amd. (9452dec)
- trace unit. (252bdaf)
- understand amdefine. (ecfd655)
- use escope analysis to do true global variable check. (2835381)