source: trip-planner-front/node_modules/source-map-resolve/changelog.md@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

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