web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
4.1 KiB

  1. ### Version 0.6.0 (2020-03-21) ###
  2. - Removed: The browser version. Only Node.js is now supported.
  3. - Improved: Three old, weird, tiny dependencies were inlined, which should
  4. decrease install size.
  5. ### Version 0.5.3 (2019-12-28) ###
  6. - Fixed: base64 encoded source maps now correctly decodes as utf-8. Previously,
  7. non-ASCII characters could end up garbled. Thanks to ZHAO Jinxiang
  8. (@xiaoxiangmoe)! (Note: This fix does not work in old evironments not
  9. supporting both `TextDecoder` and `Uint8Array`.)
  10. - Improved: Reduced size of the npm package.
  11. ### Version 0.5.2 (2018-05-10) ###
  12. - Improved: Updated the version range of `atob` to disallow depending on `2.0.3`
  13. which as a [security
  14. vulnerability](https://snyk.io/test/npm/atob/2.0.3?severity=high&severity=medium&severity=low).
  15. ### Version 0.5.1 (2017-10-21) ###
  16. - Fixed: URLs are now decoded before being passed to `read` in Node.js. This
  17. allows reading files with spaces, for example.
  18. - Fixed: Missing or empty `sources` fields (such as `sources: []`) in source
  19. maps are now handled. Previously, such source maps would cause crashes or
  20. callbacks never bing called. Now, an empty result is produced:
  21. ```js
  22. sourcesResolved: [],
  23. sourcesContent: []
  24. ```
  25. ### Version 0.5.0 (2016-02-28) ###
  26. - Improved: Errors now have a `sourceMapData` property that contain as much as
  27. possible of the intended result of the function up until the error occurred.
  28. - Changed: `resolveSources` and `resolve`, as well as their `*Sync`
  29. alternatives, no longer fail when one single source fails to be fetched.
  30. Instead, the `sourcesContent` array in the result object will contain error
  31. objects for all failed sources, and strings otherwise. (Backwards-incompatible
  32. change.)
  33. ### Version 0.4.0 (2015-08-29) ###
  34. - Removed: The `ignoreSourceRoot` option of `resolveSources`. It has been
  35. replaced with `sourceRoot: false`. (Backwards-incompatible change.)
  36. - Added: The `sourceRoot` option of `resolveSources`. It not only allows to
  37. ignore the source root, it also lets you replace it.
  38. - Added: The `parseMapToJSON` method.
  39. - Added: The `resolve` method now accepts `null, mapUrl, ...` as arguments, in
  40. addition to the existing signature, which will read `mapUrl` instead of
  41. looking for a sourceMappingURL in the code.
  42. ### Version 0.3.1 (2014-08-16) ###
  43. - Improved: Updated the source-map-url dependency to 0.3.0.
  44. ### Version 0.3.0 (2014-07-02) ###
  45. - Removed: Argument checking. It’s not worth it. (Possibly
  46. backwards-incompatible change.)
  47. - Added: The `sourceRoot` property of source maps may now be ignored, which can
  48. be useful when resolving sources outside of the browser.
  49. - Added: It is now possible to resolve only the URLs of sources, without
  50. reading them.
  51. ### Version 0.2.0 (2014-06-22) ###
  52. - Changed: The result of `resolveSources` is now an object, not an array. The
  53. old result array is available in the `sourcesContent` property.
  54. (Backwards-incompatible change.)
  55. - Changed: `sources` has been renamed to `sourcesContent` in the result object
  56. of `resolve`. (Backwards-incompatible change.)
  57. - Added: `resolveSources` now also returns all sources fully resolved, in the
  58. `sourcesResolved` property.
  59. - Added: The result object of `resolve` now contains the `sourcesResolved`
  60. property from `resolveSources`.
  61. ### Version 0.1.4 (2014-06-16) ###
  62. - Fixed: `sourcesContent` was mis-typed as `sourceContents`, which meant that
  63. the `sourcesContent` property of source maps never was used when resolving
  64. sources.
  65. ### Version 0.1.3 (2014-05-06) ###
  66. - Only documentation and meta-data changes.
  67. ### Version 0.1.2 (2014-03-23) ###
  68. - Improved: Source maps starting with `)]}'` are now parsed correctly. The spec
  69. allows source maps to start with that character sequence to prevent XSSI
  70. attacks.
  71. ### Version 0.1.1 (2014-03-06) ###
  72. - Improved: Make sourceRoot resolving more sensible.
  73. A source root such as `/scripts/subdir` is now treated as `/scripts/subdir/`
  74. — that is, as a directory called “subdir”, not a file called “subdir”.
  75. Pointing to a file as source root does not makes sense.
  76. ### Version 0.1.0 (2014-03-03) ###
  77. - Initial release.