Beifengdo commited on
Commit
26f6f03
·
verified ·
1 Parent(s): 27b323c

Upload original JAVA语言程序设计 course files (part 21)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/readdirp/LICENSE +21 -3
  2. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/readdirp/README.md +122 -3
  3. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/readdirp/index.js +287 -3
  4. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/readdirp/package.json +122 -3
  5. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/CHANGELOG.md +28 -3
  6. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/LICENSE.md +21 -3
  7. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/README.md +22 -3
  8. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/SECURITY.md +41 -3
  9. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/api.d.ts +78 -3
  10. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/lib/browser/main.js +1 -3
  11. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/lib/node/main.js +1 -3
  12. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/package.json +41 -3
  13. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/require-from-string/index.js +34 -3
  14. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/require-from-string/license +21 -3
  15. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/require-from-string/package.json +28 -3
  16. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/require-from-string/readme.md +56 -3
  17. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/reserved-words/LICENSE +22 -3
  18. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/reserved-words/README.md +64 -3
  19. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/reserved-words/lib/index.js +1 -3
  20. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/reserved-words/lib/reserved-words.js +177 -3
  21. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/reserved-words/package.json +38 -3
  22. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/LICENSE +21 -3
  23. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/Porting-Buffer.md +268 -3
  24. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/Readme.md +156 -3
  25. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/dangerous.js +58 -3
  26. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/package.json +34 -3
  27. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/safer.js +77 -3
  28. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/tests.js +406 -3
  29. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/LICENSE +1727 -3
  30. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/README.md +173 -3
  31. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/package.json +1 -3
  32. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.dart.js +0 -0
  33. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.default.cjs +8 -3
  34. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.default.js +47 -3
  35. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.js +17 -3
  36. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.node.js +12 -3
  37. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.node.mjs +209 -3
  38. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/compile.d.ts +342 -3
  39. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/deprecations.d.ts +216 -3
  40. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/exception.d.ts +41 -3
  41. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/importer.d.ts +465 -3
  42. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/index.d.ts +104 -3
  43. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/exception.d.ts +55 -3
  44. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/function.d.ts +757 -3
  45. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/importer.d.ts +169 -3
  46. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/options.d.ts +660 -3
  47. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/plugin_this.d.ts +74 -3
  48. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/render.d.ts +144 -3
  49. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/logger/index.d.ts +99 -3
  50. Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/logger/source_location.d.ts +21 -3
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/readdirp/LICENSE CHANGED
@@ -1,3 +1,21 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dffec71d93f273d2af7b54c6c7e7e70b3289c632ec0d7253210ec21ac336d5ac
3
- size 1114
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2012-2019 Thorsten Lorenz, Paul Miller (https://paulmillr.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/readdirp/README.md CHANGED
@@ -1,3 +1,122 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9666a18b43006dcaac8cac314ff3ee6f3695ec7d417df435249da7b23d9d3f76
3
- size 6942
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # readdirp [![Weekly downloads](https://img.shields.io/npm/dw/readdirp.svg)](https://github.com/paulmillr/readdirp)
2
+
3
+ Recursive version of [fs.readdir](https://nodejs.org/api/fs.html#fs_fs_readdir_path_options_callback). Exposes a **stream API** and a **promise API**.
4
+
5
+
6
+ ```sh
7
+ npm install readdirp
8
+ ```
9
+
10
+ ```javascript
11
+ const readdirp = require('readdirp');
12
+
13
+ // Use streams to achieve small RAM & CPU footprint.
14
+ // 1) Streams example with for-await.
15
+ for await (const entry of readdirp('.')) {
16
+ const {path} = entry;
17
+ console.log(`${JSON.stringify({path})}`);
18
+ }
19
+
20
+ // 2) Streams example, non for-await.
21
+ // Print out all JS files along with their size within the current folder & subfolders.
22
+ readdirp('.', {fileFilter: '*.js', alwaysStat: true})
23
+ .on('data', (entry) => {
24
+ const {path, stats: {size}} = entry;
25
+ console.log(`${JSON.stringify({path, size})}`);
26
+ })
27
+ // Optionally call stream.destroy() in `warn()` in order to abort and cause 'close' to be emitted
28
+ .on('warn', error => console.error('non-fatal error', error))
29
+ .on('error', error => console.error('fatal error', error))
30
+ .on('end', () => console.log('done'));
31
+
32
+ // 3) Promise example. More RAM and CPU than streams / for-await.
33
+ const files = await readdirp.promise('.');
34
+ console.log(files.map(file => file.path));
35
+
36
+ // Other options.
37
+ readdirp('test', {
38
+ fileFilter: '*.js',
39
+ directoryFilter: ['!.git', '!*modules']
40
+ // directoryFilter: (di) => di.basename.length === 9
41
+ type: 'files_directories',
42
+ depth: 1
43
+ });
44
+ ```
45
+
46
+ For more examples, check out `examples` directory.
47
+
48
+ ## API
49
+
50
+ `const stream = readdirp(root[, options])` — **Stream API**
51
+
52
+ - Reads given root recursively and returns a `stream` of [entry infos](#entryinfo)
53
+ - Optionally can be used like `for await (const entry of stream)` with node.js 10+ (`asyncIterator`).
54
+ - `on('data', (entry) => {})` [entry info](#entryinfo) for every file / dir.
55
+ - `on('warn', (error) => {})` non-fatal `Error` that prevents a file / dir from being processed. Example: inaccessible to the user.
56
+ - `on('error', (error) => {})` fatal `Error` which also ends the stream. Example: illegal options where passed.
57
+ - `on('end')` — we are done. Called when all entries were found and no more will be emitted.
58
+ - `on('close')` — stream is destroyed via `stream.destroy()`.
59
+ Could be useful if you want to manually abort even on a non fatal error.
60
+ At that point the stream is no longer `readable` and no more entries, warning or errors are emitted
61
+ - To learn more about streams, consult the very detailed [nodejs streams documentation](https://nodejs.org/api/stream.html)
62
+ or the [stream-handbook](https://github.com/substack/stream-handbook)
63
+
64
+ `const entries = await readdirp.promise(root[, options])` — **Promise API**. Returns a list of [entry infos](#entryinfo).
65
+
66
+ First argument is awalys `root`, path in which to start reading and recursing into subdirectories.
67
+
68
+ ### options
69
+
70
+ - `fileFilter: ["*.js"]`: filter to include or exclude files. A `Function`, Glob string or Array of glob strings.
71
+ - **Function**: a function that takes an entry info as a parameter and returns true to include or false to exclude the entry
72
+ - **Glob string**: a string (e.g., `*.js`) which is matched using [picomatch](https://github.com/micromatch/picomatch), so go there for more
73
+ information. Globstars (`**`) are not supported since specifying a recursive pattern for an already recursive function doesn't make sense. Negated globs (as explained in the minimatch documentation) are allowed, e.g., `!*.txt` matches everything but text files.
74
+ - **Array of glob strings**: either need to be all inclusive or all exclusive (negated) patterns otherwise an error is thrown.
75
+ `['*.json', '*.js']` includes all JavaScript and Json files.
76
+ `['!.git', '!node_modules']` includes all directories except the '.git' and 'node_modules'.
77
+ - Directories that do not pass a filter will not be recursed into.
78
+ - `directoryFilter: ['!.git']`: filter to include/exclude directories found and to recurse into. Directories that do not pass a filter will not be recursed into.
79
+ - `depth: 5`: depth at which to stop recursing even if more subdirectories are found
80
+ - `type: 'files'`: determines if data events on the stream should be emitted for `'files'` (default), `'directories'`, `'files_directories'`, or `'all'`. Setting to `'all'` will also include entries for other types of file descriptors like character devices, unix sockets and named pipes.
81
+ - `alwaysStat: false`: always return `stats` property for every file. Default is `false`, readdirp will return `Dirent` entries. Setting it to `true` can double readdir execution time - use it only when you need file `size`, `mtime` etc. Cannot be enabled on node <10.10.0.
82
+ - `lstat: false`: include symlink entries in the stream along with files. When `true`, `fs.lstat` would be used instead of `fs.stat`
83
+
84
+ ### `EntryInfo`
85
+
86
+ Has the following properties:
87
+
88
+ - `path: 'assets/javascripts/react.js'`: path to the file/directory (relative to given root)
89
+ - `fullPath: '/Users/dev/projects/app/assets/javascripts/react.js'`: full path to the file/directory found
90
+ - `basename: 'react.js'`: name of the file/directory
91
+ - `dirent: fs.Dirent`: built-in [dir entry object](https://nodejs.org/api/fs.html#fs_class_fs_dirent) - only with `alwaysStat: false`
92
+ - `stats: fs.Stats`: built in [stat object](https://nodejs.org/api/fs.html#fs_class_fs_stats) - only with `alwaysStat: true`
93
+
94
+ ## Changelog
95
+
96
+ - 3.5 (Oct 13, 2020) disallows recursive directory-based symlinks.
97
+ Before, it could have entered infinite loop.
98
+ - 3.4 (Mar 19, 2020) adds support for directory-based symlinks.
99
+ - 3.3 (Dec 6, 2019) stabilizes RAM consumption and enables perf management with `highWaterMark` option. Fixes race conditions related to `for-await` looping.
100
+ - 3.2 (Oct 14, 2019) improves performance by 250% and makes streams implementation more idiomatic.
101
+ - 3.1 (Jul 7, 2019) brings `bigint` support to `stat` output on Windows. This is backwards-incompatible for some cases. Be careful. It you use it incorrectly, you'll see "TypeError: Cannot mix BigInt and other types, use explicit conversions".
102
+ - 3.0 brings huge performance improvements and stream backpressure support.
103
+ - Upgrading 2.x to 3.x:
104
+ - Signature changed from `readdirp(options)` to `readdirp(root, options)`
105
+ - Replaced callback API with promise API.
106
+ - Renamed `entryType` option to `type`
107
+ - Renamed `entryType: 'both'` to `'files_directories'`
108
+ - `EntryInfo`
109
+ - Renamed `stat` to `stats`
110
+ - Emitted only when `alwaysStat: true`
111
+ - `dirent` is emitted instead of `stats` by default with `alwaysStat: false`
112
+ - Renamed `name` to `basename`
113
+ - Removed `parentDir` and `fullParentDir` properties
114
+ - Supported node.js versions:
115
+ - 3.x: node 8+
116
+ - 2.x: node 0.6+
117
+
118
+ ## License
119
+
120
+ Copyright (c) 2012-2019 Thorsten Lorenz, Paul Miller (<https://paulmillr.com>)
121
+
122
+ MIT License, see [LICENSE](LICENSE) file.
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/readdirp/index.js CHANGED
@@ -1,3 +1,287 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6938cee40af1b1d973977f377ce093a596e41dc23cf5f1a305a5305dc4d81a62
3
- size 8876
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ const fs = require('fs');
4
+ const { Readable } = require('stream');
5
+ const sysPath = require('path');
6
+ const { promisify } = require('util');
7
+ const picomatch = require('picomatch');
8
+
9
+ const readdir = promisify(fs.readdir);
10
+ const stat = promisify(fs.stat);
11
+ const lstat = promisify(fs.lstat);
12
+ const realpath = promisify(fs.realpath);
13
+
14
+ /**
15
+ * @typedef {Object} EntryInfo
16
+ * @property {String} path
17
+ * @property {String} fullPath
18
+ * @property {fs.Stats=} stats
19
+ * @property {fs.Dirent=} dirent
20
+ * @property {String} basename
21
+ */
22
+
23
+ const BANG = '!';
24
+ const RECURSIVE_ERROR_CODE = 'READDIRP_RECURSIVE_ERROR';
25
+ const NORMAL_FLOW_ERRORS = new Set(['ENOENT', 'EPERM', 'EACCES', 'ELOOP', RECURSIVE_ERROR_CODE]);
26
+ const FILE_TYPE = 'files';
27
+ const DIR_TYPE = 'directories';
28
+ const FILE_DIR_TYPE = 'files_directories';
29
+ const EVERYTHING_TYPE = 'all';
30
+ const ALL_TYPES = [FILE_TYPE, DIR_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE];
31
+
32
+ const isNormalFlowError = error => NORMAL_FLOW_ERRORS.has(error.code);
33
+ const [maj, min] = process.versions.node.split('.').slice(0, 2).map(n => Number.parseInt(n, 10));
34
+ const wantBigintFsStats = process.platform === 'win32' && (maj > 10 || (maj === 10 && min >= 5));
35
+
36
+ const normalizeFilter = filter => {
37
+ if (filter === undefined) return;
38
+ if (typeof filter === 'function') return filter;
39
+
40
+ if (typeof filter === 'string') {
41
+ const glob = picomatch(filter.trim());
42
+ return entry => glob(entry.basename);
43
+ }
44
+
45
+ if (Array.isArray(filter)) {
46
+ const positive = [];
47
+ const negative = [];
48
+ for (const item of filter) {
49
+ const trimmed = item.trim();
50
+ if (trimmed.charAt(0) === BANG) {
51
+ negative.push(picomatch(trimmed.slice(1)));
52
+ } else {
53
+ positive.push(picomatch(trimmed));
54
+ }
55
+ }
56
+
57
+ if (negative.length > 0) {
58
+ if (positive.length > 0) {
59
+ return entry =>
60
+ positive.some(f => f(entry.basename)) && !negative.some(f => f(entry.basename));
61
+ }
62
+ return entry => !negative.some(f => f(entry.basename));
63
+ }
64
+ return entry => positive.some(f => f(entry.basename));
65
+ }
66
+ };
67
+
68
+ class ReaddirpStream extends Readable {
69
+ static get defaultOptions() {
70
+ return {
71
+ root: '.',
72
+ /* eslint-disable no-unused-vars */
73
+ fileFilter: (path) => true,
74
+ directoryFilter: (path) => true,
75
+ /* eslint-enable no-unused-vars */
76
+ type: FILE_TYPE,
77
+ lstat: false,
78
+ depth: 2147483648,
79
+ alwaysStat: false
80
+ };
81
+ }
82
+
83
+ constructor(options = {}) {
84
+ super({
85
+ objectMode: true,
86
+ autoDestroy: true,
87
+ highWaterMark: options.highWaterMark || 4096
88
+ });
89
+ const opts = { ...ReaddirpStream.defaultOptions, ...options };
90
+ const { root, type } = opts;
91
+
92
+ this._fileFilter = normalizeFilter(opts.fileFilter);
93
+ this._directoryFilter = normalizeFilter(opts.directoryFilter);
94
+
95
+ const statMethod = opts.lstat ? lstat : stat;
96
+ // Use bigint stats if it's windows and stat() supports options (node 10+).
97
+ if (wantBigintFsStats) {
98
+ this._stat = path => statMethod(path, { bigint: true });
99
+ } else {
100
+ this._stat = statMethod;
101
+ }
102
+
103
+ this._maxDepth = opts.depth;
104
+ this._wantsDir = [DIR_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE].includes(type);
105
+ this._wantsFile = [FILE_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE].includes(type);
106
+ this._wantsEverything = type === EVERYTHING_TYPE;
107
+ this._root = sysPath.resolve(root);
108
+ this._isDirent = ('Dirent' in fs) && !opts.alwaysStat;
109
+ this._statsProp = this._isDirent ? 'dirent' : 'stats';
110
+ this._rdOptions = { encoding: 'utf8', withFileTypes: this._isDirent };
111
+
112
+ // Launch stream with one parent, the root dir.
113
+ this.parents = [this._exploreDir(root, 1)];
114
+ this.reading = false;
115
+ this.parent = undefined;
116
+ }
117
+
118
+ async _read(batch) {
119
+ if (this.reading) return;
120
+ this.reading = true;
121
+
122
+ try {
123
+ while (!this.destroyed && batch > 0) {
124
+ const { path, depth, files = [] } = this.parent || {};
125
+
126
+ if (files.length > 0) {
127
+ const slice = files.splice(0, batch).map(dirent => this._formatEntry(dirent, path));
128
+ for (const entry of await Promise.all(slice)) {
129
+ if (this.destroyed) return;
130
+
131
+ const entryType = await this._getEntryType(entry);
132
+ if (entryType === 'directory' && this._directoryFilter(entry)) {
133
+ if (depth <= this._maxDepth) {
134
+ this.parents.push(this._exploreDir(entry.fullPath, depth + 1));
135
+ }
136
+
137
+ if (this._wantsDir) {
138
+ this.push(entry);
139
+ batch--;
140
+ }
141
+ } else if ((entryType === 'file' || this._includeAsFile(entry)) && this._fileFilter(entry)) {
142
+ if (this._wantsFile) {
143
+ this.push(entry);
144
+ batch--;
145
+ }
146
+ }
147
+ }
148
+ } else {
149
+ const parent = this.parents.pop();
150
+ if (!parent) {
151
+ this.push(null);
152
+ break;
153
+ }
154
+ this.parent = await parent;
155
+ if (this.destroyed) return;
156
+ }
157
+ }
158
+ } catch (error) {
159
+ this.destroy(error);
160
+ } finally {
161
+ this.reading = false;
162
+ }
163
+ }
164
+
165
+ async _exploreDir(path, depth) {
166
+ let files;
167
+ try {
168
+ files = await readdir(path, this._rdOptions);
169
+ } catch (error) {
170
+ this._onError(error);
171
+ }
172
+ return { files, depth, path };
173
+ }
174
+
175
+ async _formatEntry(dirent, path) {
176
+ let entry;
177
+ try {
178
+ const basename = this._isDirent ? dirent.name : dirent;
179
+ const fullPath = sysPath.resolve(sysPath.join(path, basename));
180
+ entry = { path: sysPath.relative(this._root, fullPath), fullPath, basename };
181
+ entry[this._statsProp] = this._isDirent ? dirent : await this._stat(fullPath);
182
+ } catch (err) {
183
+ this._onError(err);
184
+ }
185
+ return entry;
186
+ }
187
+
188
+ _onError(err) {
189
+ if (isNormalFlowError(err) && !this.destroyed) {
190
+ this.emit('warn', err);
191
+ } else {
192
+ this.destroy(err);
193
+ }
194
+ }
195
+
196
+ async _getEntryType(entry) {
197
+ // entry may be undefined, because a warning or an error were emitted
198
+ // and the statsProp is undefined
199
+ const stats = entry && entry[this._statsProp];
200
+ if (!stats) {
201
+ return;
202
+ }
203
+ if (stats.isFile()) {
204
+ return 'file';
205
+ }
206
+ if (stats.isDirectory()) {
207
+ return 'directory';
208
+ }
209
+ if (stats && stats.isSymbolicLink()) {
210
+ const full = entry.fullPath;
211
+ try {
212
+ const entryRealPath = await realpath(full);
213
+ const entryRealPathStats = await lstat(entryRealPath);
214
+ if (entryRealPathStats.isFile()) {
215
+ return 'file';
216
+ }
217
+ if (entryRealPathStats.isDirectory()) {
218
+ const len = entryRealPath.length;
219
+ if (full.startsWith(entryRealPath) && full.substr(len, 1) === sysPath.sep) {
220
+ const recursiveError = new Error(
221
+ `Circular symlink detected: "${full}" points to "${entryRealPath}"`
222
+ );
223
+ recursiveError.code = RECURSIVE_ERROR_CODE;
224
+ return this._onError(recursiveError);
225
+ }
226
+ return 'directory';
227
+ }
228
+ } catch (error) {
229
+ this._onError(error);
230
+ }
231
+ }
232
+ }
233
+
234
+ _includeAsFile(entry) {
235
+ const stats = entry && entry[this._statsProp];
236
+
237
+ return stats && this._wantsEverything && !stats.isDirectory();
238
+ }
239
+ }
240
+
241
+ /**
242
+ * @typedef {Object} ReaddirpArguments
243
+ * @property {Function=} fileFilter
244
+ * @property {Function=} directoryFilter
245
+ * @property {String=} type
246
+ * @property {Number=} depth
247
+ * @property {String=} root
248
+ * @property {Boolean=} lstat
249
+ * @property {Boolean=} bigint
250
+ */
251
+
252
+ /**
253
+ * Main function which ends up calling readdirRec and reads all files and directories in given root recursively.
254
+ * @param {String} root Root directory
255
+ * @param {ReaddirpArguments=} options Options to specify root (start directory), filters and recursion depth
256
+ */
257
+ const readdirp = (root, options = {}) => {
258
+ let type = options.entryType || options.type;
259
+ if (type === 'both') type = FILE_DIR_TYPE; // backwards-compatibility
260
+ if (type) options.type = type;
261
+ if (!root) {
262
+ throw new Error('readdirp: root argument is required. Usage: readdirp(root, options)');
263
+ } else if (typeof root !== 'string') {
264
+ throw new TypeError('readdirp: root argument must be a string. Usage: readdirp(root, options)');
265
+ } else if (type && !ALL_TYPES.includes(type)) {
266
+ throw new Error(`readdirp: Invalid type passed. Use one of ${ALL_TYPES.join(', ')}`);
267
+ }
268
+
269
+ options.root = root;
270
+ return new ReaddirpStream(options);
271
+ };
272
+
273
+ const readdirpPromise = (root, options = {}) => {
274
+ return new Promise((resolve, reject) => {
275
+ const files = [];
276
+ readdirp(root, options)
277
+ .on('data', entry => files.push(entry))
278
+ .on('end', () => resolve(files))
279
+ .on('error', error => reject(error));
280
+ });
281
+ };
282
+
283
+ readdirp.promise = readdirpPromise;
284
+ readdirp.ReaddirpStream = ReaddirpStream;
285
+ readdirp.default = readdirp;
286
+
287
+ module.exports = readdirp;
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/readdirp/package.json CHANGED
@@ -1,3 +1,122 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:93b8758f0f281218bffe31db03a3d7b92d37f5965c8ac7c846740dd4e187d317
3
- size 2522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "readdirp",
3
+ "description": "Recursive version of fs.readdir with streaming API.",
4
+ "version": "3.6.0",
5
+ "homepage": "https://github.com/paulmillr/readdirp",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git://github.com/paulmillr/readdirp.git"
9
+ },
10
+ "license": "MIT",
11
+ "bugs": {
12
+ "url": "https://github.com/paulmillr/readdirp/issues"
13
+ },
14
+ "author": "Thorsten Lorenz <thlorenz@gmx.de> (thlorenz.com)",
15
+ "contributors": [
16
+ "Thorsten Lorenz <thlorenz@gmx.de> (thlorenz.com)",
17
+ "Paul Miller (https://paulmillr.com)"
18
+ ],
19
+ "main": "index.js",
20
+ "engines": {
21
+ "node": ">=8.10.0"
22
+ },
23
+ "files": [
24
+ "index.js",
25
+ "index.d.ts"
26
+ ],
27
+ "keywords": [
28
+ "recursive",
29
+ "fs",
30
+ "stream",
31
+ "streams",
32
+ "readdir",
33
+ "filesystem",
34
+ "find",
35
+ "filter"
36
+ ],
37
+ "scripts": {
38
+ "dtslint": "dtslint",
39
+ "nyc": "nyc",
40
+ "mocha": "mocha --exit",
41
+ "lint": "eslint --report-unused-disable-directives --ignore-path .gitignore .",
42
+ "test": "npm run lint && nyc npm run mocha"
43
+ },
44
+ "dependencies": {
45
+ "picomatch": "^2.2.1"
46
+ },
47
+ "devDependencies": {
48
+ "@types/node": "^14",
49
+ "chai": "^4.2",
50
+ "chai-subset": "^1.6",
51
+ "dtslint": "^3.3.0",
52
+ "eslint": "^7.0.0",
53
+ "mocha": "^7.1.1",
54
+ "nyc": "^15.0.0",
55
+ "rimraf": "^3.0.0",
56
+ "typescript": "^4.0.3"
57
+ },
58
+ "nyc": {
59
+ "reporter": [
60
+ "html",
61
+ "text"
62
+ ]
63
+ },
64
+ "eslintConfig": {
65
+ "root": true,
66
+ "extends": "eslint:recommended",
67
+ "parserOptions": {
68
+ "ecmaVersion": 9,
69
+ "sourceType": "script"
70
+ },
71
+ "env": {
72
+ "node": true,
73
+ "es6": true
74
+ },
75
+ "rules": {
76
+ "array-callback-return": "error",
77
+ "no-empty": [
78
+ "error",
79
+ {
80
+ "allowEmptyCatch": true
81
+ }
82
+ ],
83
+ "no-else-return": [
84
+ "error",
85
+ {
86
+ "allowElseIf": false
87
+ }
88
+ ],
89
+ "no-lonely-if": "error",
90
+ "no-var": "error",
91
+ "object-shorthand": "error",
92
+ "prefer-arrow-callback": [
93
+ "error",
94
+ {
95
+ "allowNamedFunctions": true
96
+ }
97
+ ],
98
+ "prefer-const": [
99
+ "error",
100
+ {
101
+ "ignoreReadBeforeAssign": true
102
+ }
103
+ ],
104
+ "prefer-destructuring": [
105
+ "error",
106
+ {
107
+ "object": true,
108
+ "array": false
109
+ }
110
+ ],
111
+ "prefer-spread": "error",
112
+ "prefer-template": "error",
113
+ "radix": "error",
114
+ "semi": "error",
115
+ "strict": "error",
116
+ "quotes": [
117
+ "error",
118
+ "single"
119
+ ]
120
+ }
121
+ }
122
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b2af9ad9049e7be023378bb4f2de4d8aadf027c895731ff160edeb40a6f0d5a
3
- size 614
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ 0.5.0 / 2021-07-12
3
+ ==================
4
+ * support binary content (XHRResponse.body)
5
+ * updated to http-proxy-agent@4.0.1, https-proxy-agent@5.0.0
6
+ * webpacked, stripping out debug and dependencies
7
+ * tests
8
+
9
+ 0.4.0 / 2020-06-17
10
+ ==================
11
+ * support for browser ('browser' in package.json)
12
+
13
+ 0.3.0 / 2020-02-28
14
+ ==================
15
+ * Add XHRResponse.headers
16
+
17
+ 0.2.5 / 2019-11-30
18
+ ==================
19
+ * update https-proxy-agent
20
+
21
+ 0.2.2 / 2017-12-21
22
+ ==================
23
+ * Error handling for gzip errors
24
+ * Update http-proxy-agent & https-proxy-agent
25
+
26
+ 0.2.1 / 2017-05-16
27
+ ==================
28
+ * Support for gzip & deflate
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/LICENSE.md CHANGED
@@ -1,3 +1,21 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c3a24c02d678e5f0711623dcf3ab3f243b273c2633f638a1fa8e35fb7c7f8e4d
3
- size 1092
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Microsoft
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/README.md CHANGED
@@ -1,3 +1,22 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6eb0913ccb2f358a87b29faadec13c9a941365863be1fc7e0b6b27b869b699b6
3
- size 1142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # request-light
2
+
3
+
4
+ [![npm Package](https://img.shields.io/npm/v/request-light.svg?style=flat-square)](https://www.npmjs.org/package/request-light)
5
+ [![NPM Downloads](https://img.shields.io/npm/dm/request-light.svg)](https://npmjs.org/package/request-light)
6
+ [![Build Status](https://github.com/microsoft/node-request-light/workflows/Tests/badge.svg)](https://github.com/microsoft/node-request-light/workflows/Tests)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
+
9
+ A lightweight request library intended to be used by VSCode extensions.
10
+ - NodeJS and browser main entry points
11
+ - proxy support: Use `configure` or `HTTP_PROXY` and `HTTPS_PROXY` env variables to configure the HTTP proxy addresses.
12
+
13
+ ```ts
14
+ import { xhr, XHRResponse, getErrorStatusDescription } from 'request-light';
15
+
16
+ const headers = { 'Accept-Encoding': 'gzip, deflate' };
17
+ return xhr({ url: url, followRedirects: 5, headers }).then(response => {
18
+ return response.responseText;
19
+ }, (error: XHRResponse) => {
20
+ throw new Error(error.responseText || getErrorStatusDescription(error.status) || error.toString());
21
+ });
22
+ ```
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/SECURITY.md CHANGED
@@ -1,3 +1,41 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:430987b8c5f30c366ecd501bc344c8b29b6280e8a10174376a769f7443a187cd
3
- size 2757
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- BEGIN MICROSOFT SECURITY.MD V0.0.8 BLOCK -->
2
+
3
+ ## Security
4
+
5
+ Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6
+
7
+ If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
8
+
9
+ ## Reporting Security Issues
10
+
11
+ **Please do not report security vulnerabilities through public GitHub issues.**
12
+
13
+ Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
14
+
15
+ If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
16
+
17
+ You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
18
+
19
+ Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20
+
21
+ * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22
+ * Full paths of source file(s) related to the manifestation of the issue
23
+ * The location of the affected source code (tag/branch/commit or direct URL)
24
+ * Any special configuration required to reproduce the issue
25
+ * Step-by-step instructions to reproduce the issue
26
+ * Proof-of-concept or exploit code (if possible)
27
+ * Impact of the issue, including how an attacker might exploit the issue
28
+
29
+ This information will help us triage your report more quickly.
30
+
31
+ If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
32
+
33
+ ## Preferred Languages
34
+
35
+ We prefer all communications to be in English.
36
+
37
+ ## Policy
38
+
39
+ Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
40
+
41
+ <!-- END MICROSOFT SECURITY.MD BLOCK -->
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/api.d.ts CHANGED
@@ -1,3 +1,78 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dc489a7131017a779174fbb68939c8e001bf845dd689036a6fe69b9eb0aecd3a
3
- size 2303
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ export interface XHROptions {
6
+ type?: string;
7
+ url: string;
8
+ user?: string;
9
+ password?: string;
10
+ headers?: Headers;
11
+ timeout?: number;
12
+ data?: string;
13
+ strictSSL?: boolean;
14
+ followRedirects?: number;
15
+ token?: CancellationToken;
16
+ agent?: HttpProxyAgent | HttpsProxyAgent;
17
+ }
18
+
19
+ export interface XHRResponse {
20
+ readonly responseText: string;
21
+ readonly body: Uint8Array;
22
+ readonly status: number;
23
+ readonly headers: Headers;
24
+ }
25
+
26
+ export interface XHRRequest {
27
+ (options: XHROptions): Promise<XHRResponse>
28
+ }
29
+
30
+ export interface XHRConfigure {
31
+ (proxyUrl: string | undefined, strictSSL: boolean): void;
32
+ }
33
+
34
+ export interface Disposable {
35
+ /**
36
+ * Dispose this object.
37
+ */
38
+ dispose(): void;
39
+ }
40
+ /**
41
+ * Represents a typed event.
42
+ */
43
+ export interface Event<T> {
44
+ /**
45
+ *
46
+ * @param listener The listener function will be call when the event happens.
47
+ * @param thisArgs The 'this' which will be used when calling the event listener.
48
+ * @param disposables An array to which a {{IDisposable}} will be added. The
49
+ * @return
50
+ */
51
+ (listener: (e: T) => any, thisArgs?: any, disposables?: Disposable[]): Disposable;
52
+ }
53
+ /**
54
+ * Defines a CancellationToken. This interface is not
55
+ * intended to be implemented. A CancellationToken must
56
+ * be created via a CancellationTokenSource.
57
+ */
58
+ export interface CancellationToken {
59
+ /**
60
+ * Is `true` when the token has been cancelled, `false` otherwise.
61
+ */
62
+ readonly isCancellationRequested: boolean;
63
+ /**
64
+ * An [event](#Event) which fires upon cancellation.
65
+ */
66
+ readonly onCancellationRequested: Event<any>;
67
+ }
68
+
69
+ export type HttpProxyAgent = any;
70
+
71
+ export type HttpsProxyAgent = any;
72
+
73
+ export type Headers = { [header: string]: string | string[] | undefined };
74
+
75
+ export declare const configure: XHRConfigure;
76
+ export declare const xhr: XHRRequest;
77
+
78
+ export declare function getErrorStatusDescription(status: number): string;
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/lib/browser/main.js CHANGED
@@ -1,3 +1 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fbb6c60302acf1e9657a6a25464cc9c374d6989c2d16b833ba0222db9beea1e1
3
- size 1111
 
1
+ (()=>{"use strict";var e={};(()=>{var r=e;Object.defineProperty(r,"__esModule",{value:!0}),r.getErrorStatusDescription=r.xhr=r.configure=void 0,r.configure=(e,r)=>{},r.xhr=async e=>{const r=new Headers;if(e.headers)for(const t in e.headers){const o=e.headers[t];Array.isArray(o)?o.forEach((e=>r.set(t,e))):r.set(t,o)}e.user&&e.password&&r.set("Authorization","Basic "+btoa(e.user+":"+e.password));const t={method:e.type,redirect:e.followRedirects>0?"follow":"manual",mode:"cors",headers:r};if(e.data&&(t.body=e.data),e.token){const r=new AbortController;e.token.isCancellationRequested&&r.abort(),e.token.onCancellationRequested((()=>{r.abort()})),t.signal=r.signal}const o=new Request(e.url,t),s=await fetch(o),a={};s.headers.forEach(((e,r)=>{a[r]=e}));const n=await s.arrayBuffer();return new class{constructor(){this.status=s.status,this.headers=a}get responseText(){return(new TextDecoder).decode(n)}get body(){return new Uint8Array(n)}}},r.getErrorStatusDescription=function(e){return String(e)}})();var r=exports;for(var t in e)r[t]=e[t];e.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
 
 
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/lib/node/main.js CHANGED
@@ -1,3 +1 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:86195990a6147f4c49ec48bb4c2f8882a57dfc64a04911358c5a378eed313d1d
3
- size 24998
 
1
+ (()=>{var e={46:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,{signal:r}={}){return new Promise(((o,n)=>{function s(){null==r||r.removeEventListener("abort",s),e.removeListener(t,a),e.removeListener("error",u)}function a(...e){s(),o(e)}function u(e){s(),n(e)}null==r||r.addEventListener("abort",s),e.on(t,a),e.on("error",u)}))}},54:function(e,t,r){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const n=r(361),s=o(r(374)),a=o(r(304)),u=s.default("agent-base");function i(){const{stack:e}=new Error;return"string"==typeof e&&e.split("\n").some((e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:")))}function c(e,t){return new c.Agent(e,t)}!function(e){class t extends n.EventEmitter{constructor(e,t){super();let r=t;"function"==typeof e?this.callback=e:e&&(r=e),this.timeout=null,r&&"number"==typeof r.timeout&&(this.timeout=r.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return"number"==typeof this.explicitDefaultPort?this.explicitDefaultPort:i()?443:80}set defaultPort(e){this.explicitDefaultPort=e}get protocol(){return"string"==typeof this.explicitProtocol?this.explicitProtocol:i()?"https:":"http:"}set protocol(e){this.explicitProtocol=e}callback(e,t,r){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(e,t){const r=Object.assign({},t);"boolean"!=typeof r.secureEndpoint&&(r.secureEndpoint=i()),null==r.host&&(r.host="localhost"),null==r.port&&(r.port=r.secureEndpoint?443:80),null==r.protocol&&(r.protocol=r.secureEndpoint?"https:":"http:"),r.host&&r.path&&delete r.path,delete r.agent,delete r.hostname,delete r._defaultAgent,delete r.defaultPort,delete r.createConnection,e._last=!0,e.shouldKeepAlive=!1;let o=!1,n=null;const s=r.timeout||this.timeout,c=t=>{e._hadError||(e.emit("error",t),e._hadError=!0)},l=()=>{n=null,o=!0;const e=new Error(`A "socket" was not created for HTTP request before ${s}ms`);e.code="ETIMEOUT",c(e)},d=e=>{o||(null!==n&&(clearTimeout(n),n=null),c(e))},f=t=>{if(o)return;if(null!=n&&(clearTimeout(n),n=null),s=t,Boolean(s)&&"function"==typeof s.addRequest)return u("Callback returned another Agent instance %o",t.constructor.name),void t.addRequest(e,r);var s;if(t)return t.once("free",(()=>{this.freeSocket(t,r)})),void e.onSocket(t);const a=new Error(`no Duplex stream was returned to agent-base for \`${e.method} ${e.path}\``);c(a)};if("function"==typeof this.callback){this.promisifiedCallback||(this.callback.length>=3?(u("Converting legacy callback function to promise"),this.promisifiedCallback=a.default(this.callback)):this.promisifiedCallback=this.callback),"number"==typeof s&&s>0&&(n=setTimeout(l,s)),"port"in r&&"number"!=typeof r.port&&(r.port=Number(r.port));try{u("Resolving socket for %o request: %o",r.protocol,`${e.method} ${e.path}`),Promise.resolve(this.promisifiedCallback(e,r)).then(f,d)}catch(e){Promise.reject(e).catch(d)}}else c(new Error("`callback` is not defined"))}freeSocket(e,t){u("Freeing socket %o %o",e.constructor.name,t),e.destroy()}destroy(){u("Destroying agent %o",this.constructor.name)}}e.Agent=t,e.prototype=e.Agent.prototype}(c||(c={})),e.exports=c},304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,r){return new Promise(((o,n)=>{e.call(this,t,r,((e,t)=>{e?n(e):o(t)}))}))}}},370:function(e,t,r){"use strict";var o=this&&this.__awaiter||function(e,t,r,o){return new(r||(r=Promise))((function(n,s){function a(e){try{i(o.next(e))}catch(e){s(e)}}function u(e){try{i(o.throw(e))}catch(e){s(e)}}function i(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}i((o=o.apply(e,t||[])).next())}))},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=n(r(808)),a=n(r(404)),u=n(r(310)),i=n(r(374)),c=n(r(46)),l=r(54),d=(0,i.default)("http-proxy-agent");class f extends l.Agent{constructor(e){let t;if(t="string"==typeof e?u.default.parse(e):e,!t)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");d("Creating new HttpProxyAgent instance: %o",t),super(t);const r=Object.assign({},t);var o;this.secureProxy=t.secureProxy||"string"==typeof(o=r.protocol)&&/^https:?$/i.test(o),r.host=r.hostname||r.host,"string"==typeof r.port&&(r.port=parseInt(r.port,10)),!r.port&&r.host&&(r.port=this.secureProxy?443:80),r.host&&r.path&&(delete r.path,delete r.pathname),this.proxy=r}callback(e,t){return o(this,void 0,void 0,(function*(){const{proxy:r,secureProxy:o}=this,n=u.default.parse(e.path);let i;if(n.protocol||(n.protocol="http:"),n.hostname||(n.hostname=t.hostname||t.host||null),null==n.port&&(t.port,1)&&(n.port=String(t.port)),"80"===n.port&&(n.port=""),e.path=u.default.format(n),r.auth&&e.setHeader("Proxy-Authorization",`Basic ${Buffer.from(r.auth).toString("base64")}`),o?(d("Creating `tls.Socket`: %o",r),i=a.default.connect(r)):(d("Creating `net.Socket`: %o",r),i=s.default.connect(r)),e._header){let t,r;d("Regenerating stored HTTP header string for request"),e._header=null,e._implicitHeader(),e.output&&e.output.length>0?(d("Patching connection write() output buffer with updated header"),t=e.output[0],r=t.indexOf("\r\n\r\n")+4,e.output[0]=e._header+t.substring(r),d("Output buffer: %o",e.output)):e.outputData&&e.outputData.length>0&&(d("Patching connection write() output buffer with updated header"),t=e.outputData[0].data,r=t.indexOf("\r\n\r\n")+4,e.outputData[0].data=e._header+t.substring(r),d("Output buffer: %o",e.outputData[0].data))}return yield(0,c.default)(i,"connect"),i}))}}t.default=f},201:function(e,t,r){"use strict";const o=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(370));function n(e){return new o.default(e)}!function(e){e.HttpProxyAgent=o.default,e.prototype=o.default.prototype}(n||(n={})),e.exports=n},146:function(e,t,r){"use strict";var o=this&&this.__awaiter||function(e,t,r,o){return new(r||(r=Promise))((function(n,s){function a(e){try{i(o.next(e))}catch(e){s(e)}}function u(e){try{i(o.throw(e))}catch(e){s(e)}}function i(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}i((o=o.apply(e,t||[])).next())}))},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=n(r(808)),a=n(r(404)),u=n(r(310)),i=n(r(491)),c=n(r(374)),l=r(54),d=n(r(829)),f=c.default("https-proxy-agent:agent");class p extends l.Agent{constructor(e){let t;if(t="string"==typeof e?u.default.parse(e):e,!t)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");f("creating new HttpsProxyAgent instance: %o",t),super(t);const r=Object.assign({},t);var o;this.secureProxy=t.secureProxy||"string"==typeof(o=r.protocol)&&/^https:?$/i.test(o),r.host=r.hostname||r.host,"string"==typeof r.port&&(r.port=parseInt(r.port,10)),!r.port&&r.host&&(r.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in r)&&(r.ALPNProtocols=["http 1.1"]),r.host&&r.path&&(delete r.path,delete r.pathname),this.proxy=r}callback(e,t){return o(this,void 0,void 0,(function*(){const{proxy:r,secureProxy:o}=this;let n;o?(f("Creating `tls.Socket`: %o",r),n=a.default.connect(r)):(f("Creating `net.Socket`: %o",r),n=s.default.connect(r));const u=Object.assign({},r.headers);let c=`CONNECT ${t.host}:${t.port} HTTP/1.1\r\n`;r.auth&&(u["Proxy-Authorization"]=`Basic ${Buffer.from(r.auth).toString("base64")}`);let{host:l,port:p,secureEndpoint:g}=t;(function(e,t){return Boolean(!t&&80===e||t&&443===e)})(p,g)||(l+=`:${p}`),u.Host=l,u.Connection="close";for(const e of Object.keys(u))c+=`${e}: ${u[e]}\r\n`;const v=d.default(n);n.write(`${c}\r\n`);const{statusCode:m,buffered:y}=yield v;if(200===m){if(e.once("socket",h),t.secureEndpoint){f("Upgrading socket connection to TLS");const e=t.servername||t.host;return a.default.connect(Object.assign(Object.assign({},function(e,...t){const r={};let o;for(o in e)t.includes(o)||(r[o]=e[o]);return r}(t,"host","hostname","path","port")),{socket:n,servername:e}))}return n}n.destroy();const b=new s.default.Socket({writable:!1});return b.readable=!0,e.once("socket",(e=>{f("replaying proxy buffer for failed request"),i.default(e.listenerCount("data")>0),e.push(y),e.push(null)})),b}))}}function h(e){e.resume()}t.default=p},18:function(e,t,r){"use strict";const o=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(146));function n(e){return new o.default(e)}!function(e){e.HttpsProxyAgent=o.default,e.prototype=o.default.prototype}(n||(n={})),e.exports=n},829:function(e,t,r){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=o(r(374)).default("https-proxy-agent:parse-proxy-response");t.default=function(e){return new Promise(((t,r)=>{let o=0;const s=[];function a(){const r=e.read();r?function(e){s.push(e),o+=e.length;const r=Buffer.concat(s,o);if(-1===r.indexOf("\r\n\r\n"))return n("have not received end of HTTP headers yet..."),void a();const u=r.toString("ascii",0,r.indexOf("\r\n")),i=+u.split(" ")[1];n("got proxy server response: %o",u),t({statusCode:i,buffered:r})}(r):e.once("readable",a)}function u(e){n("onclose had error %o",e)}function i(){n("onend")}e.on("error",(function t(o){e.removeListener("end",i),e.removeListener("error",t),e.removeListener("close",u),e.removeListener("readable",a),n("onerror %o",o),r(o)})),e.on("close",u),e.on("end",i),a()}))}},539:function(e,t,r){"use strict";var o,n=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},s.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorStatusDescription=t.xhr=t.configure=void 0;var a=r(685),u=r(687),i=r(310),c=r(472),l=r(796),d=r(201),f=r(18);if(process.env.VSCODE_NLS_CONFIG){var p=process.env.VSCODE_NLS_CONFIG;c.config(JSON.parse(p))}var h=c.loadMessageBundle(),g=void 0,v=!0;function m(e){var t;return new Promise((function(r,o){var n=(0,i.parse)(e.url),s={hostname:n.hostname,agent:!!e.agent&&e.agent,port:n.port?parseInt(n.port):"https:"===n.protocol?443:80,path:n.path,method:e.type||"GET",headers:e.headers,rejectUnauthorized:"boolean"!=typeof e.strictSSL||e.strictSSL};e.user&&e.password&&(s.auth=e.user+":"+e.password);var c=function(o){if(o.statusCode>=300&&o.statusCode<400&&e.followRedirects&&e.followRedirects>0&&o.headers.location){var s=o.headers.location;s.startsWith("/")&&(s=(0,i.format)({protocol:n.protocol,hostname:n.hostname,port:n.port,pathname:s})),r(m(function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.forEach((function(t){return Object.keys(t).forEach((function(r){return e[r]=t[r]}))})),e}({},e,{url:s,followRedirects:e.followRedirects-1})))}else r({req:t,res:o})};(t="https:"===n.protocol?u.request(s,c):a.request(s,c)).on("error",o),e.timeout&&t.setTimeout(e.timeout),e.data&&t.write(e.data),t.end(),e.token&&(e.token.isCancellationRequested&&t.destroy(new y),e.token.onCancellationRequested((function(){t.destroy(new y)})))}))}t.configure=function(e,t){g=e,v=t},t.xhr=function(e){return"boolean"!=typeof(e=s({},e)).strictSSL&&(e.strictSSL=v),e.agent||(e.agent=function(e,t){void 0===t&&(t={});var r=(0,i.parse)(e),o=t.proxyUrl||function(e){return"http:"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:"https:"===e.protocol&&(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy)||null}(r);if(!o)return null;var n=(0,i.parse)(o);if(!/^https?:$/.test(n.protocol))return null;var s={host:n.hostname,port:Number(n.port),auth:n.auth,rejectUnauthorized:"boolean"!=typeof t.strictSSL||t.strictSSL,protocol:n.protocol};return"http:"===r.protocol?d(s):f(s)}(e.url,{proxyUrl:g,strictSSL:v})),"number"!=typeof e.followRedirects&&(e.followRedirects=5),m(e).then((function(r){return new Promise((function(o,n){var s,a,u=r.res,c=u,d=!1,f=u.headers&&u.headers["content-encoding"];if(f&&(s=e.type,a=r.res.statusCode,!("HEAD"===s||a>=100&&a<200||204===a||304===a))){var p={flush:l.constants.Z_SYNC_FLUSH,finishFlush:l.constants.Z_SYNC_FLUSH};if("gzip"===f){var g=l.createGunzip(p);u.pipe(g),c=g}else if("deflate"===f){var v=l.createInflate(p);u.pipe(v),c=v}}var m=[];c.on("data",(function(e){return m.push(e)})),c.on("end",(function(){if(!d){if(d=!0,e.followRedirects>0&&(u.statusCode>=300&&u.statusCode<=303||307===u.statusCode)){var r=u.headers.location;if(r.startsWith("/")){var s=(0,i.parse)(e.url);r=(0,i.format)({protocol:s.protocol,hostname:s.hostname,port:s.port,pathname:r})}if(r){var a={type:e.type,url:r,user:e.user,password:e.password,headers:e.headers,timeout:e.timeout,followRedirects:e.followRedirects-1,data:e.data,token:e.token};return void(0,t.xhr)(a).then(o,n)}}var c=Buffer.concat(m),l={responseText:c.toString(),body:c,status:u.statusCode,headers:u.headers||{}};u.statusCode>=200&&u.statusCode<300||1223===u.statusCode?o(l):n(l)}})),c.on("error",(function(t){var r;r=y.is(t)?t:{responseText:h("error","Unable to access {0}. Error: {1}",e.url,t.message),body:Buffer.concat(m),status:500,headers:{}},d=!0,n(r)})),e.token&&(e.token.isCancellationRequested&&c.destroy(new y),e.token.onCancellationRequested((function(){c.destroy(new y)})))}))}),(function(t){var r;return r=y.is(t)?t:{responseText:e.agent?h("error.cannot.connect.proxy","Unable to connect to {0} through a proxy. Error: {1}",e.url,t.message):h("error.cannot.connect","Unable to connect to {0}. Error: {1}",e.url,t.message),body:Buffer.concat([]),status:404,headers:{}},Promise.reject(r)}))},t.getErrorStatusDescription=function(e){if(!(e<400))switch(e){case 400:return h("status.400","Bad request. The request cannot be fulfilled due to bad syntax.");case 401:return h("status.401","Unauthorized. The server is refusing to respond.");case 403:return h("status.403","Forbidden. The server is refusing to respond.");case 404:return h("status.404","Not Found. The requested location could not be found.");case 405:return h("status.405","Method not allowed. A request was made using a request method not supported by that location.");case 406:return h("status.406","Not Acceptable. The server can only generate a response that is not accepted by the client.");case 407:return h("status.407","Proxy Authentication Required. The client must first authenticate itself with the proxy.");case 408:return h("status.408","Request Timeout. The server timed out waiting for the request.");case 409:return h("status.409","Conflict. The request could not be completed because of a conflict in the request.");case 410:return h("status.410","Gone. The requested page is no longer available.");case 411:return h("status.411",'Length Required. The "Content-Length" is not defined.');case 412:return h("status.412","Precondition Failed. The precondition given in the request evaluated to false by the server.");case 413:return h("status.413","Request Entity Too Large. The server will not accept the request, because the request entity is too large.");case 414:return h("status.414","Request-URI Too Long. The server will not accept the request, because the URL is too long.");case 415:return h("status.415","Unsupported Media Type. The server will not accept the request, because the media type is not supported.");case 500:return h("status.500","Internal Server Error.");case 501:return h("status.501","Not Implemented. The server either does not recognize the request method, or it lacks the ability to fulfill the request.");case 502:return h("status.502","Bad Gateway. The upstream server did not respond.");case 503:return h("status.503","Service Unavailable. The server is currently unavailable (overloaded or down).");default:return h("status.416","HTTP status code {0}",e)}};var y=function(e){function t(){var r=e.call(this,"The user aborted a request")||this;return r.name="AbortError",Object.setPrototypeOf(r,t.prototype),r}return n(t,e),t.is=function(e){return e instanceof t},t}(Error)},800:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=t.loadMessageBundle=t.localize=t.format=t.setPseudo=t.isPseudo=t.isDefined=t.BundleFormat=t.MessageFormat=void 0;var o,n,s,a=r(926);function u(e){return void 0!==e}function i(e,r){return t.isPseudo&&(e="["+e.replace(/[aouei]/g,"$&$&")+"]"),0===r.length?e:e.replace(/\{(\d+)\}/g,(function(e,t){var o=t[0],n=r[o],s=e;return"string"==typeof n?s=n:"number"!=typeof n&&"boolean"!=typeof n&&null!=n||(s=String(n)),s}))}(s=t.MessageFormat||(t.MessageFormat={})).file="file",s.bundle="bundle",s.both="both",(n=t.BundleFormat||(t.BundleFormat={})).standalone="standalone",n.languagePack="languagePack",function(e){e.is=function(e){var t=e;return t&&u(t.key)&&u(t.comment)}}(o||(o={})),t.isDefined=u,t.isPseudo=!1,t.setPseudo=function(e){t.isPseudo=e},t.format=i,t.localize=function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return i(t,r)},t.loadMessageBundle=function(e){return(0,a.default)().loadMessageBundle(e)},t.config=function(e){return(0,a.default)().config(e)}},926:(e,t)=>{"use strict";var r;function o(){if(void 0===r)throw new Error("No runtime abstraction layer installed");return r}Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.install=function(e){if(void 0===e)throw new Error("No runtime abstraction layer provided");r=e}}(o||(o={})),t.default=o},472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=t.loadMessageBundle=t.BundleFormat=t.MessageFormat=void 0;var o=r(17),n=r(147),s=r(926),a=r(800),u=r(800);Object.defineProperty(t,"MessageFormat",{enumerable:!0,get:function(){return u.MessageFormat}}),Object.defineProperty(t,"BundleFormat",{enumerable:!0,get:function(){return u.BundleFormat}});var i,c,l=Object.prototype.toString;function d(e){return"[object Number]"===l.call(e)}function f(e){return"[object String]"===l.call(e)}function p(e){return JSON.parse(n.readFileSync(e,"utf8"))}function h(e){return function(t,r){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];return d(t)?t>=e.length?void console.error("Broken localize call found. Index out of bounds. Stacktrace is\n: ".concat(new Error("").stack)):(0,a.format)(e[t],o):f(r)?(console.warn("Message ".concat(r," didn't get externalized correctly.")),(0,a.format)(r,o)):void console.error("Broken localize call found. Stacktrace is\n: ".concat(new Error("").stack))}}function g(e,t){return i[e]=t,t}function v(e){try{return function(e){var t=p(o.join(e,"nls.metadata.json")),r=Object.create(null);for(var n in t){var s=t[n];r[n]=s.messages}return r}(e)}catch(e){return void console.log("Generating default bundle from meta data failed.",e)}}function m(e,t){var r;if(!0===c.languagePackSupport&&void 0!==c.cacheRoot&&void 0!==c.languagePackId&&void 0!==c.translationsConfigFile&&void 0!==c.translationsConfig)try{r=function(e,t){var r,s,a,u=o.join(c.cacheRoot,"".concat(e.id,"-").concat(e.hash,".json")),i=!1,l=!1;try{return r=JSON.parse(n.readFileSync(u,{encoding:"utf8",flag:"r"})),s=u,a=new Date,n.utimes(s,a,a,(function(){})),r}catch(e){if("ENOENT"===e.code)l=!0;else{if(!(e instanceof SyntaxError))throw e;console.log("Syntax error parsing message bundle: ".concat(e.message,".")),n.unlink(u,(function(e){e&&console.error("Deleting corrupted bundle ".concat(u," failed."))})),i=!0}}if(r=function(e,t){var r=c.translationsConfig[e.id];if(r){var n=p(r).contents,s=p(o.join(t,"nls.metadata.json")),a=Object.create(null);for(var u in s){var i=s[u],l=n["".concat(e.outDir,"/").concat(u)];if(l){for(var d=[],h=0;h<i.keys.length;h++){var g=i.keys[h],v=l[f(g)?g:g.key];void 0===v&&(v=i.messages[h]),d.push(v)}a[u]=d}else a[u]=i.messages}return a}}(e,t),!r||i)return r;if(l)try{n.writeFileSync(u,JSON.stringify(r),{encoding:"utf8",flag:"wx"})}catch(e){if("EEXIST"===e.code)return r;throw e}return r}(e,t)}catch(e){console.log("Load or create bundle failed ",e)}if(!r){if(c.languagePackSupport)return v(t);var s=function(e){for(var t=c.language;t;){var r=o.join(e,"nls.bundle.".concat(t,".json"));if(n.existsSync(r))return r;var s=t.lastIndexOf("-");t=s>0?t.substring(0,s):void 0}if(void 0===t&&(r=o.join(e,"nls.bundle.json"),n.existsSync(r)))return r}(t);if(s)try{return p(s)}catch(e){console.log("Loading in the box message bundle failed.",e)}r=v(t)}return r}function y(e){if(!e)return a.localize;var t=o.extname(e);if(t&&(e=e.substr(0,e.length-t.length)),c.messageFormat===a.MessageFormat.both||c.messageFormat===a.MessageFormat.bundle){var r=function(e){for(var t,r=o.dirname(e);t=o.join(r,"nls.metadata.header.json"),!n.existsSync(t);){var s=o.dirname(r);if(s===r){t=void 0;break}r=s}return t}(e);if(r){var s=o.dirname(r),u=i[s];if(void 0===u)try{var l=JSON.parse(n.readFileSync(r,"utf8"));try{var d=m(l,s);u=g(s,d?{header:l,nlsBundle:d}:null)}catch(e){console.error("Failed to load nls bundle",e),u=g(s,null)}}catch(e){console.error("Failed to read header file",e),u=g(s,null)}if(u){var f=e.substr(s.length+1).replace(/\\/g,"/"),v=u.nlsBundle[f];return void 0===v?(console.error("Messages for file ".concat(e," not found. See console for details.")),function(){return"Messages not found."}):h(v)}}}if(c.messageFormat===a.MessageFormat.both||c.messageFormat===a.MessageFormat.file)try{var y=p(function(e){var t;if(c.cacheLanguageResolution&&t);else{if(a.isPseudo||!c.language)t=".nls.json";else for(var r=c.language;r;){var o=".nls."+r+".json";if(n.existsSync(e+o)){t=o;break}var s=r.lastIndexOf("-");s>0?r=r.substring(0,s):(t=".nls.json",r=null)}c.cacheLanguageResolution}return e+t}(e));return Array.isArray(y)?h(y):(0,a.isDefined)(y.messages)&&(0,a.isDefined)(y.keys)?h(y.messages):(console.error("String bundle '".concat(e,"' uses an unsupported format.")),function(){return"File bundle has unsupported format. See console for details"})}catch(e){"ENOENT"!==e.code&&console.error("Failed to load single file bundle",e)}return console.error("Failed to load message bundle for file ".concat(e)),function(){return"Failed to load message bundle. See console for details."}}function b(e){return e&&(f(e.locale)&&(c.locale=e.locale.toLowerCase(),c.language=c.locale,i=Object.create(null)),void 0!==e.messageFormat&&(c.messageFormat=e.messageFormat),e.bundleFormat===a.BundleFormat.standalone&&!0===c.languagePackSupport&&(c.languagePackSupport=!1)),(0,a.setPseudo)("pseudo"===c.locale),y}!function(){if(c={locale:void 0,language:void 0,languagePackSupport:!1,cacheLanguageResolution:!0,messageFormat:a.MessageFormat.bundle},f(process.env.VSCODE_NLS_CONFIG))try{var e=JSON.parse(process.env.VSCODE_NLS_CONFIG),t=void 0;if(e.availableLanguages){var r=e.availableLanguages["*"];f(r)&&(t=r)}if(f(e.locale)&&(c.locale=e.locale.toLowerCase()),void 0===t?c.language=c.locale:"en"!==t&&(c.language=t),function(e){return!0===e||!1===e}(e._languagePackSupport)&&(c.languagePackSupport=e._languagePackSupport),f(e._cacheRoot)&&(c.cacheRoot=e._cacheRoot),f(e._languagePackId)&&(c.languagePackId=e._languagePackId),f(e._translationsConfigFile)){c.translationsConfigFile=e._translationsConfigFile;try{c.translationsConfig=p(c.translationsConfigFile)}catch(t){if(e._corruptedFile){var s=o.dirname(e._corruptedFile);n.exists(s,(function(t){t&&n.writeFile(e._corruptedFile,"corrupted","utf8",(function(e){console.error(e)}))}))}}}}catch(e){}(0,a.setPseudo)("pseudo"===c.locale),i=Object.create(null)}(),t.loadMessageBundle=y,t.config=b,s.default.install(Object.freeze({loadMessageBundle:y,config:b}))},374:(e,t)=>{function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return r}},491:e=>{"use strict";e.exports=require("assert")},361:e=>{"use strict";e.exports=require("events")},147:e=>{"use strict";e.exports=require("fs")},685:e=>{"use strict";e.exports=require("http")},687:e=>{"use strict";e.exports=require("https")},808:e=>{"use strict";e.exports=require("net")},17:e=>{"use strict";e.exports=require("path")},404:e=>{"use strict";e.exports=require("tls")},310:e=>{"use strict";e.exports=require("url")},796:e=>{"use strict";e.exports=require("zlib")}},t={},r=function r(o){var n=t[o];if(void 0!==n)return n.exports;var s=t[o]={exports:{}};return e[o].call(s.exports,s,s.exports,r),s.exports}(539),o=exports;for(var n in r)o[n]=r[n];r.__esModule&&Object.defineProperty(o,"__esModule",{value:!0})})();
 
 
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/request-light/package.json CHANGED
@@ -1,3 +1,41 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d5f3832e83ad6e07223522754a6afe1c6fa618e09421c2149d615ba3d7f47e57
3
- size 1218
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "request-light",
3
+ "version": "0.7.0",
4
+ "description": "Lightweight request library. Promise based, with proxy support.",
5
+ "main": "./lib/node/main.js",
6
+ "browser": {
7
+ "./lib/node/main.js": "./lib/browser/main.js"
8
+ },
9
+ "typings": "./api",
10
+ "author": "Microsoft Corporation",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/microsoft/node-request-light"
14
+ },
15
+ "license": "MIT",
16
+ "bugs": {
17
+ "url": "https://github.com/microsoft/node-request-light/issues"
18
+ },
19
+ "devDependencies": {
20
+ "http-proxy-agent": "^5.0.0",
21
+ "https-proxy-agent": "^5.0.1",
22
+ "vscode-nls": "^5.2.0",
23
+ "typescript": "^4.9.4",
24
+ "@types/node": "16.x",
25
+ "vscode-jsonrpc": "^5.0.0",
26
+ "rimraf": "^4.1.1",
27
+ "ts-loader": "^9.4.2",
28
+ "webpack": "^5.75.0",
29
+ "webpack-cli": "^5.0.1",
30
+ "ava": "^5.1.1",
31
+ "proxy": "^1.0.2"
32
+ },
33
+ "scripts": {
34
+ "compile": "webpack",
35
+ "watch": "webpack --watch",
36
+ "bundle": "webpack --mode production --devtool hidden-source-map",
37
+ "prepack": "npm run clean && npm run bundle && tsc -p ./src/test/ && ava ./lib/test/test.js",
38
+ "clean": "rimraf lib",
39
+ "test": "npm run compile && tsc -p ./src/test/ && ava ./lib/test/test.js"
40
+ }
41
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/require-from-string/index.js CHANGED
@@ -1,3 +1,34 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cb059342a762b955997bf780f3693add176922727f2fa9f11fcaf1b3fc323239
3
- size 866
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var Module = require('module');
4
+ var path = require('path');
5
+
6
+ module.exports = function requireFromString(code, filename, opts) {
7
+ if (typeof filename === 'object') {
8
+ opts = filename;
9
+ filename = undefined;
10
+ }
11
+
12
+ opts = opts || {};
13
+ filename = filename || '';
14
+
15
+ opts.appendPaths = opts.appendPaths || [];
16
+ opts.prependPaths = opts.prependPaths || [];
17
+
18
+ if (typeof code !== 'string') {
19
+ throw new Error('code must be a string, not ' + typeof code);
20
+ }
21
+
22
+ var paths = Module._nodeModulePaths(path.dirname(filename));
23
+
24
+ var parent = module.parent;
25
+ var m = new Module(filename, parent);
26
+ m.filename = filename;
27
+ m.paths = [].concat(opts.prependPaths).concat(paths).concat(opts.appendPaths);
28
+ m._compile(code, filename);
29
+
30
+ var exports = m.exports;
31
+ parent && parent.children && parent.children.splice(parent.children.indexOf(m), 1);
32
+
33
+ return exports;
34
+ };
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/require-from-string/license CHANGED
@@ -1,3 +1,21 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6ee0feb1f6ef996ff5a68600f8cf98909cf412d39ef3cdceaefd87d636fa1b7f
3
- size 1128
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Vsevolod Strukchinsky <floatdrop@gmail.com> (github.com/floatdrop)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/require-from-string/package.json CHANGED
@@ -1,3 +1,28 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c0002f7d4c7d7e2a885cf0f97226344902417c3a0980f2beca41962d2bc1f6d8
3
- size 511
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "require-from-string",
3
+ "version": "2.0.2",
4
+ "description": "Require module from string",
5
+ "license": "MIT",
6
+ "repository": "floatdrop/require-from-string",
7
+ "author": {
8
+ "name": "Vsevolod Strukchinsky",
9
+ "email": "floatdrop@gmail.com",
10
+ "url": "github.com/floatdrop"
11
+ },
12
+ "engines": {
13
+ "node": ">=0.10.0"
14
+ },
15
+ "scripts": {
16
+ "test": "mocha"
17
+ },
18
+ "files": [
19
+ "index.js"
20
+ ],
21
+ "keywords": [
22
+ ""
23
+ ],
24
+ "dependencies": {},
25
+ "devDependencies": {
26
+ "mocha": "*"
27
+ }
28
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/require-from-string/readme.md CHANGED
@@ -1,3 +1,56 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:969286b710026d911ed5e09e5bdca2dbf1c921662defa2ad3a1b3760a0bdb213
3
- size 917
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # require-from-string [![Build Status](https://travis-ci.org/floatdrop/require-from-string.svg?branch=master)](https://travis-ci.org/floatdrop/require-from-string)
2
+
3
+ Load module from string in Node.
4
+
5
+ ## Install
6
+
7
+ ```
8
+ $ npm install --save require-from-string
9
+ ```
10
+
11
+
12
+ ## Usage
13
+
14
+ ```js
15
+ var requireFromString = require('require-from-string');
16
+
17
+ requireFromString('module.exports = 1');
18
+ //=> 1
19
+ ```
20
+
21
+
22
+ ## API
23
+
24
+ ### requireFromString(code, [filename], [options])
25
+
26
+ #### code
27
+
28
+ *Required*
29
+ Type: `string`
30
+
31
+ Module code.
32
+
33
+ #### filename
34
+ Type: `string`
35
+ Default: `''`
36
+
37
+ Optional filename.
38
+
39
+
40
+ #### options
41
+ Type: `object`
42
+
43
+ ##### appendPaths
44
+ Type: `Array`
45
+
46
+ List of `paths`, that will be appended to module `paths`. Useful, when you want
47
+ to be able require modules from these paths.
48
+
49
+ ##### prependPaths
50
+ Type: `Array`
51
+
52
+ Same as `appendPaths`, but paths will be prepended.
53
+
54
+ ## License
55
+
56
+ MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/reserved-words/LICENSE CHANGED
@@ -1,3 +1,22 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b20843d51bb56a61059adaa585b5db48c8234f91721915f34bf6b1a0774015b
3
- size 1104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright 2015 Alexej Yaroshevich and other contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/reserved-words/README.md CHANGED
@@ -1,3 +1,64 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cee35e56975438e20edc9809c9546c855f2487c9308ee24e28087fa56efca83f
3
- size 1856
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # reserved-words
2
+
3
+ [![Build Status](https://secure.travis-ci.org/zxqfox/reserved-words.svg)](http://travis-ci.org/zxqfox/reserved-words)
4
+
5
+ ## What is it?
6
+
7
+ Tiny package for detecting reserved words.
8
+
9
+ `Reserved Word` is either a `Keyword`, or a `Future Reserved Word`, or a `Null Literal`, or a `Boolean Literal`.
10
+ See: [ES5 #7.6.1](http://es5.github.io/#x7.6.1) and
11
+ [ES6 #11.6.2](http://www.ecma-international.org/ecma-262/6.0/#sec-reserved-words).
12
+
13
+ ## Installation
14
+
15
+ ```
16
+ npm install reserved-words
17
+ ```
18
+
19
+ ## API
20
+
21
+ ### check(word, [dialect], [strict])
22
+
23
+ Returns `true` if provided identifier string is a Reserved Word
24
+ in some ECMAScript dialect (ECMA-262 edition).
25
+
26
+ If the `strict` flag is truthy, this function additionally checks whether
27
+ `word` is a Keyword or Future Reserved Word under strict mode.
28
+
29
+ #### Example
30
+
31
+ ```
32
+ var reserved = require('reserved-words');
33
+ reserved.check('volatile', 'es3'); // true
34
+ reserved.check('volatile', 'es2015'); // false
35
+ reserved.check('yield', 3); // false
36
+ reserved.check('yield', 6); // true
37
+ ```
38
+
39
+ ### dialects
40
+
41
+ #### es3 (or 3)
42
+
43
+ Represents [ECMA-262 3rd edition](http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf).
44
+
45
+ See section 7.5.1.
46
+
47
+ #### es5 (or 5)
48
+
49
+ Represents [ECMA-262 5th edition (ECMAScript 5.1)](http://es5.github.io/).
50
+
51
+ Reserved Words are formally defined in ECMA262 sections
52
+ [7.6.1.1](http://es5.github.io/#x7.6.1.1) and [7.6.1.2](http://es5.github.io/#x7.6.1.2).
53
+
54
+ #### es2015 (or es6, 6)
55
+
56
+ Represents [ECMA-262 6th edition](ECMAScript 2015).
57
+
58
+ Reserved Words are formally defined in sections
59
+ [11.6.2.1](http://ecma-international.org/ecma-262/6.0/#sec-keywords) and
60
+ [11.6.2.2](http://ecma-international.org/ecma-262/6.0/#sec-future-reserved-words).
61
+
62
+ ### License
63
+
64
+ Licensed under [The MIT License](https://github.com/zxqfox/reserved-words/blob/master/LICENSE)
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/reserved-words/lib/index.js CHANGED
@@ -1,3 +1 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:77f20ef9f3a9b985efafa1236df523db269afe6f257bc747f9efd4a478fecd97
3
- size 46
 
1
+ module.exports = require('./reserved-words');
 
 
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/reserved-words/lib/reserved-words.js CHANGED
@@ -1,3 +1,177 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1ca159b545f71bfdbcdd363d7b99204525dbf010b757b33026b11f9c063a09e5
3
- size 4548
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var assert = require('assert');
2
+
3
+ /**
4
+ * Structure for storing keywords.
5
+ *
6
+ * @typedef {Object.<String,Boolean>} KeywordsHash
7
+ */
8
+
9
+ /**
10
+ * ECMAScript dialects.
11
+ *
12
+ * @const
13
+ * @type {Object.<String,Number|String>} - keys as readable names and values as versions
14
+ */
15
+ var DIALECTS = {
16
+ es3: 3,
17
+ es5: 5,
18
+ es2015: 6,
19
+ es7: 7,
20
+
21
+ // aliases
22
+ es6: 6,
23
+ 'default': 5,
24
+ next: 6
25
+ };
26
+
27
+ /**
28
+ * ECMAScript reserved words.
29
+ *
30
+ * @type {Object.<String,KeywordsHash>}
31
+ */
32
+ var KEYWORDS = exports.KEYWORDS = {};
33
+
34
+ /**
35
+ * Check word for being an reserved word.
36
+ *
37
+ * @param {String} word - word to check
38
+ * @param {String|Number} [dialect] - dialect or version
39
+ * @param {Boolean} [strict] - strict mode
40
+ * @returns {?Boolean}
41
+ */
42
+ exports.check = function check(word, dialect, strict) {
43
+ dialect = dialect || DIALECTS.default;
44
+ var version = DIALECTS[dialect] || dialect;
45
+
46
+ if (strict && version >= 5) {
47
+ version += '-strict';
48
+ }
49
+
50
+ assert(KEYWORDS[version], 'Unknown dialect');
51
+
52
+ return KEYWORDS[version].hasOwnProperty(word);
53
+ };
54
+
55
+ /**
56
+ * Reserved Words for ES3
57
+ *
58
+ * ECMA-262 3rd: 7.5.1
59
+ * http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf
60
+ *
61
+ * @type {KeywordsHash}
62
+ */
63
+ KEYWORDS['3'] = _hash(
64
+ // Keyword, ECMA-262 3rd: 7.5.2
65
+ 'break else new var',
66
+ 'case finally return void',
67
+ 'catch for switch while',
68
+ 'continue function this with',
69
+ 'default if throw',
70
+ 'delete in try',
71
+ 'do instanceof typeof',
72
+ // FutureReservedWord, ECMA-262 3rd 7.5.3
73
+ 'abstract enum int short',
74
+ 'boolean export interface static',
75
+ 'byte extends long super',
76
+ 'char final native synchronized',
77
+ 'class float package throws',
78
+ 'const goto private transient',
79
+ 'debugger implements protected volatile',
80
+ 'double import public',
81
+ // NullLiteral & BooleanLiteral
82
+ 'null true false'
83
+ );
84
+
85
+ /**
86
+ * Reserved Words for ES5.
87
+ *
88
+ * http://es5.github.io/#x7.6.1
89
+ *
90
+ * @type {KeywordsHash}
91
+ */
92
+ KEYWORDS['5'] = _hash(
93
+ // Keyword
94
+ 'break do instanceof typeof',
95
+ 'case else new var',
96
+ 'catch finally return void',
97
+ 'continue for switch while',
98
+ 'debugger function this with',
99
+ 'default if throw',
100
+ 'delete in try',
101
+ // FutureReservedWord
102
+ 'class enum extends super',
103
+ 'const export import',
104
+ // NullLiteral & BooleanLiteral
105
+ 'null true false'
106
+ );
107
+
108
+ /**
109
+ * Reserved Words for ES5 in strict mode.
110
+ *
111
+ * @type {KeywordsHash}
112
+ */
113
+ KEYWORDS['5-strict'] = _hash(
114
+ KEYWORDS['5'],
115
+ // FutureReservedWord, strict mode. http://es5.github.io/#x7.6.1.2
116
+ 'implements let private public yield',
117
+ 'interface package protected static'
118
+ );
119
+
120
+ /**
121
+ * Reserved Words for ES6.
122
+ *
123
+ * 11.6.2
124
+ * http://www.ecma-international.org/ecma-262/6.0/index.html#sec-reserved-words
125
+ *
126
+ * @type {KeywordsHash}
127
+ */
128
+ KEYWORDS['6'] = _hash(
129
+ // Keywords, ES6 11.6.2.1, http://www.ecma-international.org/ecma-262/6.0/index.html#sec-keywords
130
+ 'break do in typeof',
131
+ 'case else instanceof var',
132
+ 'catch export new void',
133
+ 'class extends return while',
134
+ 'const finally super with',
135
+ 'continue for switch yield',
136
+ 'debugger function this',
137
+ 'default if throw',
138
+ 'delete import try',
139
+ // Future Reserved Words, ES6 11.6.2.2
140
+ // http://www.ecma-international.org/ecma-262/6.0/index.html#sec-future-reserved-words
141
+ 'enum await',
142
+ // NullLiteral & BooleanLiteral
143
+ 'null true false'
144
+ );
145
+
146
+ /**
147
+ * Reserved Words for ES6 in strict mode.
148
+ *
149
+ * @type {KeywordsHash}
150
+ */
151
+ KEYWORDS['6-strict'] = _hash(
152
+ KEYWORDS['6'],
153
+ // Keywords, ES6 11.6.2.1
154
+ 'let static',
155
+ // Future Reserved Words, ES6 11.6.2.2
156
+ 'implements package protected',
157
+ 'interface private public'
158
+ );
159
+
160
+ /**
161
+ * Generates hash from strings
162
+ *
163
+ * @private
164
+ * @param {...String|KeywordsHash} keywords - Space-delimited string or previous result of _hash
165
+ * @return {KeywordsHash} - Object with keywords in keys and true in values
166
+ */
167
+ function _hash() {
168
+ var set = Array.prototype.map.call(arguments, function(v) {
169
+ return typeof v === 'string' ? v : Object.keys(v).join(' ');
170
+ }).join(' ');
171
+
172
+ return set.split(/\s+/)
173
+ .reduce(function(res, keyword) {
174
+ res[keyword] = true;
175
+ return res;
176
+ }, {});
177
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/reserved-words/package.json CHANGED
@@ -1,3 +1,38 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:adaa1d4f174dbf60ed87a178bc51dda41dfd45165fb53e46f84dedd934c605ca
3
- size 831
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "reserved-words",
3
+ "version": "0.1.2",
4
+ "description": "ECMAScript reserved words checker",
5
+ "main": "lib/index.js",
6
+ "scripts": {
7
+ "test": "jshint && jscs lib test && mocha"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/zxqfox/reserved-words.git"
12
+ },
13
+ "keywords": [
14
+ "ES3",
15
+ "ES5",
16
+ "ES6",
17
+ "ReservedWord",
18
+ "Keyword",
19
+ "checker"
20
+ ],
21
+ "author": "Alexej Yaroshevich <zxqfox@gmail.com> (http://github.com/zxqfox)",
22
+ "license": "MIT",
23
+ "bugs": {
24
+ "url": "https://github.com/zxqfox/reserved-words/issues"
25
+ },
26
+ "homepage": "https://github.com/zxqfox/reserved-words#readme",
27
+ "devDependencies": {
28
+ "jscs": "^1.13.1",
29
+ "jscs-jsdoc": "^1.1.0",
30
+ "jshint": "^2.8.0",
31
+ "mocha": "^2.2.5"
32
+ },
33
+ "files": [
34
+ "lib",
35
+ "README.md",
36
+ "LICENSE"
37
+ ]
38
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/LICENSE CHANGED
@@ -1,3 +1,21 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4bc935e71be198c67ddf3c2b5fddb195f6edc182bfc155a96a6db61b44b494b9
3
- size 1094
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Nikita Skovoroda <chalkerx@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/Porting-Buffer.md CHANGED
@@ -1,3 +1,268 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:134523d05b39e177135c2a2070a426eb319657dfc77589e38ef7cf13cd50e730
3
- size 12794
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Porting to the Buffer.from/Buffer.alloc API
2
+
3
+ <a id="overview"></a>
4
+ ## Overview
5
+
6
+ - [Variant 1: Drop support for Node.js ≤ 4.4.x and 5.0.0 — 5.9.x.](#variant-1) (*recommended*)
7
+ - [Variant 2: Use a polyfill](#variant-2)
8
+ - [Variant 3: manual detection, with safeguards](#variant-3)
9
+
10
+ ### Finding problematic bits of code using grep
11
+
12
+ Just run `grep -nrE '[^a-zA-Z](Slow)?Buffer\s*\(' --exclude-dir node_modules`.
13
+
14
+ It will find all the potentially unsafe places in your own code (with some considerably unlikely
15
+ exceptions).
16
+
17
+ ### Finding problematic bits of code using Node.js 8
18
+
19
+ If you’re using Node.js ≥ 8.0.0 (which is recommended), Node.js exposes multiple options that help with finding the relevant pieces of code:
20
+
21
+ - `--trace-warnings` will make Node.js show a stack trace for this warning and other warnings that are printed by Node.js.
22
+ - `--trace-deprecation` does the same thing, but only for deprecation warnings.
23
+ - `--pending-deprecation` will show more types of deprecation warnings. In particular, it will show the `Buffer()` deprecation warning, even on Node.js 8.
24
+
25
+ You can set these flags using an environment variable:
26
+
27
+ ```console
28
+ $ export NODE_OPTIONS='--trace-warnings --pending-deprecation'
29
+ $ cat example.js
30
+ 'use strict';
31
+ const foo = new Buffer('foo');
32
+ $ node example.js
33
+ (node:7147) [DEP0005] DeprecationWarning: The Buffer() and new Buffer() constructors are not recommended for use due to security and usability concerns. Please use the new Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() construction methods instead.
34
+ at showFlaggedDeprecation (buffer.js:127:13)
35
+ at new Buffer (buffer.js:148:3)
36
+ at Object.<anonymous> (/path/to/example.js:2:13)
37
+ [... more stack trace lines ...]
38
+ ```
39
+
40
+ ### Finding problematic bits of code using linters
41
+
42
+ Eslint rules [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor)
43
+ or
44
+ [node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md)
45
+ also find calls to deprecated `Buffer()` API. Those rules are included in some pre-sets.
46
+
47
+ There is a drawback, though, that it doesn't always
48
+ [work correctly](https://github.com/chalker/safer-buffer#why-not-safe-buffer) when `Buffer` is
49
+ overriden e.g. with a polyfill, so recommended is a combination of this and some other method
50
+ described above.
51
+
52
+ <a id="variant-1"></a>
53
+ ## Variant 1: Drop support for Node.js ≤ 4.4.x and 5.0.0 — 5.9.x.
54
+
55
+ This is the recommended solution nowadays that would imply only minimal overhead.
56
+
57
+ The Node.js 5.x release line has been unsupported since July 2016, and the Node.js 4.x release line reaches its End of Life in April 2018 (→ [Schedule](https://github.com/nodejs/Release#release-schedule)). This means that these versions of Node.js will *not* receive any updates, even in case of security issues, so using these release lines should be avoided, if at all possible.
58
+
59
+ What you would do in this case is to convert all `new Buffer()` or `Buffer()` calls to use `Buffer.alloc()` or `Buffer.from()`, in the following way:
60
+
61
+ - For `new Buffer(number)`, replace it with `Buffer.alloc(number)`.
62
+ - For `new Buffer(string)` (or `new Buffer(string, encoding)`), replace it with `Buffer.from(string)` (or `Buffer.from(string, encoding)`).
63
+ - For all other combinations of arguments (these are much rarer), also replace `new Buffer(...arguments)` with `Buffer.from(...arguments)`.
64
+
65
+ Note that `Buffer.alloc()` is also _faster_ on the current Node.js versions than
66
+ `new Buffer(size).fill(0)`, which is what you would otherwise need to ensure zero-filling.
67
+
68
+ Enabling eslint rule [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor)
69
+ or
70
+ [node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md)
71
+ is recommended to avoid accidential unsafe Buffer API usage.
72
+
73
+ There is also a [JSCodeshift codemod](https://github.com/joyeecheung/node-dep-codemod#dep005)
74
+ for automatically migrating Buffer constructors to `Buffer.alloc()` or `Buffer.from()`.
75
+ Note that it currently only works with cases where the arguments are literals or where the
76
+ constructor is invoked with two arguments.
77
+
78
+ _If you currently support those older Node.js versions and dropping them would be a semver-major change
79
+ for you, or if you support older branches of your packages, consider using [Variant 2](#variant-2)
80
+ or [Variant 3](#variant-3) on older branches, so people using those older branches will also receive
81
+ the fix. That way, you will eradicate potential issues caused by unguarded Buffer API usage and
82
+ your users will not observe a runtime deprecation warning when running your code on Node.js 10._
83
+
84
+ <a id="variant-2"></a>
85
+ ## Variant 2: Use a polyfill
86
+
87
+ Utilize [safer-buffer](https://www.npmjs.com/package/safer-buffer) as a polyfill to support older
88
+ Node.js versions.
89
+
90
+ You would take exacly the same steps as in [Variant 1](#variant-1), but with a polyfill
91
+ `const Buffer = require('safer-buffer').Buffer` in all files where you use the new `Buffer` api.
92
+
93
+ Make sure that you do not use old `new Buffer` API — in any files where the line above is added,
94
+ using old `new Buffer()` API will _throw_. It will be easy to notice that in CI, though.
95
+
96
+ Alternatively, you could use [buffer-from](https://www.npmjs.com/package/buffer-from) and/or
97
+ [buffer-alloc](https://www.npmjs.com/package/buffer-alloc) [ponyfills](https://ponyfill.com/) —
98
+ those are great, the only downsides being 4 deps in the tree and slightly more code changes to
99
+ migrate off them (as you would be using e.g. `Buffer.from` under a different name). If you need only
100
+ `Buffer.from` polyfilled — `buffer-from` alone which comes with no extra dependencies.
101
+
102
+ _Alternatively, you could use [safe-buffer](https://www.npmjs.com/package/safe-buffer) — it also
103
+ provides a polyfill, but takes a different approach which has
104
+ [it's drawbacks](https://github.com/chalker/safer-buffer#why-not-safe-buffer). It will allow you
105
+ to also use the older `new Buffer()` API in your code, though — but that's arguably a benefit, as
106
+ it is problematic, can cause issues in your code, and will start emitting runtime deprecation
107
+ warnings starting with Node.js 10._
108
+
109
+ Note that in either case, it is important that you also remove all calls to the old Buffer
110
+ API manually — just throwing in `safe-buffer` doesn't fix the problem by itself, it just provides
111
+ a polyfill for the new API. I have seen people doing that mistake.
112
+
113
+ Enabling eslint rule [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor)
114
+ or
115
+ [node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md)
116
+ is recommended.
117
+
118
+ _Don't forget to drop the polyfill usage once you drop support for Node.js < 4.5.0._
119
+
120
+ <a id="variant-3"></a>
121
+ ## Variant 3 — manual detection, with safeguards
122
+
123
+ This is useful if you create Buffer instances in only a few places (e.g. one), or you have your own
124
+ wrapper around them.
125
+
126
+ ### Buffer(0)
127
+
128
+ This special case for creating empty buffers can be safely replaced with `Buffer.concat([])`, which
129
+ returns the same result all the way down to Node.js 0.8.x.
130
+
131
+ ### Buffer(notNumber)
132
+
133
+ Before:
134
+
135
+ ```js
136
+ var buf = new Buffer(notNumber, encoding);
137
+ ```
138
+
139
+ After:
140
+
141
+ ```js
142
+ var buf;
143
+ if (Buffer.from && Buffer.from !== Uint8Array.from) {
144
+ buf = Buffer.from(notNumber, encoding);
145
+ } else {
146
+ if (typeof notNumber === 'number')
147
+ throw new Error('The "size" argument must be of type number.');
148
+ buf = new Buffer(notNumber, encoding);
149
+ }
150
+ ```
151
+
152
+ `encoding` is optional.
153
+
154
+ Note that the `typeof notNumber` before `new Buffer` is required (for cases when `notNumber` argument is not
155
+ hard-coded) and _is not caused by the deprecation of Buffer constructor_ — it's exactly _why_ the
156
+ Buffer constructor is deprecated. Ecosystem packages lacking this type-check caused numereous
157
+ security issues — situations when unsanitized user input could end up in the `Buffer(arg)` create
158
+ problems ranging from DoS to leaking sensitive information to the attacker from the process memory.
159
+
160
+ When `notNumber` argument is hardcoded (e.g. literal `"abc"` or `[0,1,2]`), the `typeof` check can
161
+ be omitted.
162
+
163
+ Also note that using TypeScript does not fix this problem for you — when libs written in
164
+ `TypeScript` are used from JS, or when user input ends up there — it behaves exactly as pure JS, as
165
+ all type checks are translation-time only and are not present in the actual JS code which TS
166
+ compiles to.
167
+
168
+ ### Buffer(number)
169
+
170
+ For Node.js 0.10.x (and below) support:
171
+
172
+ ```js
173
+ var buf;
174
+ if (Buffer.alloc) {
175
+ buf = Buffer.alloc(number);
176
+ } else {
177
+ buf = new Buffer(number);
178
+ buf.fill(0);
179
+ }
180
+ ```
181
+
182
+ Otherwise (Node.js ≥ 0.12.x):
183
+
184
+ ```js
185
+ const buf = Buffer.alloc ? Buffer.alloc(number) : new Buffer(number).fill(0);
186
+ ```
187
+
188
+ ## Regarding Buffer.allocUnsafe
189
+
190
+ Be extra cautious when using `Buffer.allocUnsafe`:
191
+ * Don't use it if you don't have a good reason to
192
+ * e.g. you probably won't ever see a performance difference for small buffers, in fact, those
193
+ might be even faster with `Buffer.alloc()`,
194
+ * if your code is not in the hot code path — you also probably won't notice a difference,
195
+ * keep in mind that zero-filling minimizes the potential risks.
196
+ * If you use it, make sure that you never return the buffer in a partially-filled state,
197
+ * if you are writing to it sequentially — always truncate it to the actuall written length
198
+
199
+ Errors in handling buffers allocated with `Buffer.allocUnsafe` could result in various issues,
200
+ ranged from undefined behaviour of your code to sensitive data (user input, passwords, certs)
201
+ leaking to the remote attacker.
202
+
203
+ _Note that the same applies to `new Buffer` usage without zero-filling, depending on the Node.js
204
+ version (and lacking type checks also adds DoS to the list of potential problems)._
205
+
206
+ <a id="faq"></a>
207
+ ## FAQ
208
+
209
+ <a id="design-flaws"></a>
210
+ ### What is wrong with the `Buffer` constructor?
211
+
212
+ The `Buffer` constructor could be used to create a buffer in many different ways:
213
+
214
+ - `new Buffer(42)` creates a `Buffer` of 42 bytes. Before Node.js 8, this buffer contained
215
+ *arbitrary memory* for performance reasons, which could include anything ranging from
216
+ program source code to passwords and encryption keys.
217
+ - `new Buffer('abc')` creates a `Buffer` that contains the UTF-8-encoded version of
218
+ the string `'abc'`. A second argument could specify another encoding: For example,
219
+ `new Buffer(string, 'base64')` could be used to convert a Base64 string into the original
220
+ sequence of bytes that it represents.
221
+ - There are several other combinations of arguments.
222
+
223
+ This meant that, in code like `var buffer = new Buffer(foo);`, *it is not possible to tell
224
+ what exactly the contents of the generated buffer are* without knowing the type of `foo`.
225
+
226
+ Sometimes, the value of `foo` comes from an external source. For example, this function
227
+ could be exposed as a service on a web server, converting a UTF-8 string into its Base64 form:
228
+
229
+ ```
230
+ function stringToBase64(req, res) {
231
+ // The request body should have the format of `{ string: 'foobar' }`
232
+ const rawBytes = new Buffer(req.body.string)
233
+ const encoded = rawBytes.toString('base64')
234
+ res.end({ encoded: encoded })
235
+ }
236
+ ```
237
+
238
+ Note that this code does *not* validate the type of `req.body.string`:
239
+
240
+ - `req.body.string` is expected to be a string. If this is the case, all goes well.
241
+ - `req.body.string` is controlled by the client that sends the request.
242
+ - If `req.body.string` is the *number* `50`, the `rawBytes` would be 50 bytes:
243
+ - Before Node.js 8, the content would be uninitialized
244
+ - After Node.js 8, the content would be `50` bytes with the value `0`
245
+
246
+ Because of the missing type check, an attacker could intentionally send a number
247
+ as part of the request. Using this, they can either:
248
+
249
+ - Read uninitialized memory. This **will** leak passwords, encryption keys and other
250
+ kinds of sensitive information. (Information leak)
251
+ - Force the program to allocate a large amount of memory. For example, when specifying
252
+ `500000000` as the input value, each request will allocate 500MB of memory.
253
+ This can be used to either exhaust the memory available of a program completely
254
+ and make it crash, or slow it down significantly. (Denial of Service)
255
+
256
+ Both of these scenarios are considered serious security issues in a real-world
257
+ web server context.
258
+
259
+ when using `Buffer.from(req.body.string)` instead, passing a number will always
260
+ throw an exception instead, giving a controlled behaviour that can always be
261
+ handled by the program.
262
+
263
+ <a id="ecosystem-usage"></a>
264
+ ### The `Buffer()` constructor has been deprecated for a while. Is this really an issue?
265
+
266
+ Surveys of code in the `npm` ecosystem have shown that the `Buffer()` constructor is still
267
+ widely used. This includes new code, and overall usage of such code has actually been
268
+ *increasing*.
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/Readme.md CHANGED
@@ -1,3 +1,156 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d4331b7c5af9c02161150daf9451ee6bc7a73ece3ec0312603fae09f46a817d8
3
- size 8261
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # safer-buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![javascript style guide][standard-image]][standard-url] [![Security Responsible Disclosure][secuirty-image]][secuirty-url]
2
+
3
+ [travis-image]: https://travis-ci.org/ChALkeR/safer-buffer.svg?branch=master
4
+ [travis-url]: https://travis-ci.org/ChALkeR/safer-buffer
5
+ [npm-image]: https://img.shields.io/npm/v/safer-buffer.svg
6
+ [npm-url]: https://npmjs.org/package/safer-buffer
7
+ [standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
8
+ [standard-url]: https://standardjs.com
9
+ [secuirty-image]: https://img.shields.io/badge/Security-Responsible%20Disclosure-green.svg
10
+ [secuirty-url]: https://github.com/nodejs/security-wg/blob/master/processes/responsible_disclosure_template.md
11
+
12
+ Modern Buffer API polyfill without footguns, working on Node.js from 0.8 to current.
13
+
14
+ ## How to use?
15
+
16
+ First, port all `Buffer()` and `new Buffer()` calls to `Buffer.alloc()` and `Buffer.from()` API.
17
+
18
+ Then, to achieve compatibility with outdated Node.js versions (`<4.5.0` and 5.x `<5.9.0`), use
19
+ `const Buffer = require('safer-buffer').Buffer` in all files where you make calls to the new
20
+ Buffer API. _Use `var` instead of `const` if you need that for your Node.js version range support._
21
+
22
+ Also, see the
23
+ [porting Buffer](https://github.com/ChALkeR/safer-buffer/blob/master/Porting-Buffer.md) guide.
24
+
25
+ ## Do I need it?
26
+
27
+ Hopefully, not — dropping support for outdated Node.js versions should be fine nowdays, and that
28
+ is the recommended path forward. You _do_ need to port to the `Buffer.alloc()` and `Buffer.from()`
29
+ though.
30
+
31
+ See the [porting guide](https://github.com/ChALkeR/safer-buffer/blob/master/Porting-Buffer.md)
32
+ for a better description.
33
+
34
+ ## Why not [safe-buffer](https://npmjs.com/safe-buffer)?
35
+
36
+ _In short: while `safe-buffer` serves as a polyfill for the new API, it allows old API usage and
37
+ itself contains footguns._
38
+
39
+ `safe-buffer` could be used safely to get the new API while still keeping support for older
40
+ Node.js versions (like this module), but while analyzing ecosystem usage of the old Buffer API
41
+ I found out that `safe-buffer` is itself causing problems in some cases.
42
+
43
+ For example, consider the following snippet:
44
+
45
+ ```console
46
+ $ cat example.unsafe.js
47
+ console.log(Buffer(20))
48
+ $ ./node-v6.13.0-linux-x64/bin/node example.unsafe.js
49
+ <Buffer 0a 00 00 00 00 00 00 00 28 13 de 02 00 00 00 00 05 00 00 00>
50
+ $ standard example.unsafe.js
51
+ standard: Use JavaScript Standard Style (https://standardjs.com)
52
+ /home/chalker/repo/safer-buffer/example.unsafe.js:2:13: 'Buffer()' was deprecated since v6. Use 'Buffer.alloc()' or 'Buffer.from()' (use 'https://www.npmjs.com/package/safe-buffer' for '<4.5.0') instead.
53
+ ```
54
+
55
+ This is allocates and writes to console an uninitialized chunk of memory.
56
+ [standard](https://www.npmjs.com/package/standard) linter (among others) catch that and warn people
57
+ to avoid using unsafe API.
58
+
59
+ Let's now throw in `safe-buffer`!
60
+
61
+ ```console
62
+ $ cat example.safe-buffer.js
63
+ const Buffer = require('safe-buffer').Buffer
64
+ console.log(Buffer(20))
65
+ $ standard example.safe-buffer.js
66
+ $ ./node-v6.13.0-linux-x64/bin/node example.safe-buffer.js
67
+ <Buffer 08 00 00 00 00 00 00 00 28 58 01 82 fe 7f 00 00 00 00 00 00>
68
+ ```
69
+
70
+ See the problem? Adding in `safe-buffer` _magically removes the lint warning_, but the behavior
71
+ remains identiсal to what we had before, and when launched on Node.js 6.x LTS — this dumps out
72
+ chunks of uninitialized memory.
73
+ _And this code will still emit runtime warnings on Node.js 10.x and above._
74
+
75
+ That was done by design. I first considered changing `safe-buffer`, prohibiting old API usage or
76
+ emitting warnings on it, but that significantly diverges from `safe-buffer` design. After some
77
+ discussion, it was decided to move my approach into a separate package, and _this is that separate
78
+ package_.
79
+
80
+ This footgun is not imaginary — I observed top-downloaded packages doing that kind of thing,
81
+ «fixing» the lint warning by blindly including `safe-buffer` without any actual changes.
82
+
83
+ Also in some cases, even if the API _was_ migrated to use of safe Buffer API — a random pull request
84
+ can bring unsafe Buffer API usage back to the codebase by adding new calls — and that could go
85
+ unnoticed even if you have a linter prohibiting that (becase of the reason stated above), and even
86
+ pass CI. _I also observed that being done in popular packages._
87
+
88
+ Some examples:
89
+ * [webdriverio](https://github.com/webdriverio/webdriverio/commit/05cbd3167c12e4930f09ef7cf93b127ba4effae4#diff-124380949022817b90b622871837d56cR31)
90
+ (a module with 548 759 downloads/month),
91
+ * [websocket-stream](https://github.com/maxogden/websocket-stream/commit/c9312bd24d08271687d76da0fe3c83493871cf61)
92
+ (218 288 d/m, fix in [maxogden/websocket-stream#142](https://github.com/maxogden/websocket-stream/pull/142)),
93
+ * [node-serialport](https://github.com/node-serialport/node-serialport/commit/e8d9d2b16c664224920ce1c895199b1ce2def48c)
94
+ (113 138 d/m, fix in [node-serialport/node-serialport#1510](https://github.com/node-serialport/node-serialport/pull/1510)),
95
+ * [karma](https://github.com/karma-runner/karma/commit/3d94b8cf18c695104ca195334dc75ff054c74eec)
96
+ (3 973 193 d/m, fix in [karma-runner/karma#2947](https://github.com/karma-runner/karma/pull/2947)),
97
+ * [spdy-transport](https://github.com/spdy-http2/spdy-transport/commit/5375ac33f4a62a4f65bcfc2827447d42a5dbe8b1)
98
+ (5 970 727 d/m, fix in [spdy-http2/spdy-transport#53](https://github.com/spdy-http2/spdy-transport/pull/53)).
99
+ * And there are a lot more over the ecosystem.
100
+
101
+ I filed a PR at
102
+ [mysticatea/eslint-plugin-node#110](https://github.com/mysticatea/eslint-plugin-node/pull/110) to
103
+ partially fix that (for cases when that lint rule is used), but it is a semver-major change for
104
+ linter rules and presets, so it would take significant time for that to reach actual setups.
105
+ _It also hasn't been released yet (2018-03-20)._
106
+
107
+ Also, `safer-buffer` discourages the usage of `.allocUnsafe()`, which is often done by a mistake.
108
+ It still supports it with an explicit concern barier, by placing it under
109
+ `require('safer-buffer/dangereous')`.
110
+
111
+ ## But isn't throwing bad?
112
+
113
+ Not really. It's an error that could be noticed and fixed early, instead of causing havoc later like
114
+ unguarded `new Buffer()` calls that end up receiving user input can do.
115
+
116
+ This package affects only the files where `var Buffer = require('safer-buffer').Buffer` was done, so
117
+ it is really simple to keep track of things and make sure that you don't mix old API usage with that.
118
+ Also, CI should hint anything that you might have missed.
119
+
120
+ New commits, if tested, won't land new usage of unsafe Buffer API this way.
121
+ _Node.js 10.x also deals with that by printing a runtime depecation warning._
122
+
123
+ ### Would it affect third-party modules?
124
+
125
+ No, unless you explicitly do an awful thing like monkey-patching or overriding the built-in `Buffer`.
126
+ Don't do that.
127
+
128
+ ### But I don't want throwing…
129
+
130
+ That is also fine!
131
+
132
+ Also, it could be better in some cases when you don't comprehensive enough test coverage.
133
+
134
+ In that case — just don't override `Buffer` and use
135
+ `var SaferBuffer = require('safer-buffer').Buffer` instead.
136
+
137
+ That way, everything using `Buffer` natively would still work, but there would be two drawbacks:
138
+
139
+ * `Buffer.from`/`Buffer.alloc` won't be polyfilled — use `SaferBuffer.from` and
140
+ `SaferBuffer.alloc` instead.
141
+ * You are still open to accidentally using the insecure deprecated API — use a linter to catch that.
142
+
143
+ Note that using a linter to catch accidential `Buffer` constructor usage in this case is strongly
144
+ recommended. `Buffer` is not overriden in this usecase, so linters won't get confused.
145
+
146
+ ## «Without footguns»?
147
+
148
+ Well, it is still possible to do _some_ things with `Buffer` API, e.g. accessing `.buffer` property
149
+ on older versions and duping things from there. You shouldn't do that in your code, probabably.
150
+
151
+ The intention is to remove the most significant footguns that affect lots of packages in the
152
+ ecosystem, and to do it in the proper way.
153
+
154
+ Also, this package doesn't protect against security issues affecting some Node.js versions, so for
155
+ usage in your own production code, it is still recommended to update to a Node.js version
156
+ [supported by upstream](https://github.com/nodejs/release#release-schedule).
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/dangerous.js CHANGED
@@ -1,3 +1,58 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1dc2900bcc8ffc375af0d2fc99a03ecad2dcbb85d278fbf26982e87707bea53f
3
- size 1483
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* eslint-disable node/no-deprecated-api */
2
+
3
+ 'use strict'
4
+
5
+ var buffer = require('buffer')
6
+ var Buffer = buffer.Buffer
7
+ var safer = require('./safer.js')
8
+ var Safer = safer.Buffer
9
+
10
+ var dangerous = {}
11
+
12
+ var key
13
+
14
+ for (key in safer) {
15
+ if (!safer.hasOwnProperty(key)) continue
16
+ dangerous[key] = safer[key]
17
+ }
18
+
19
+ var Dangereous = dangerous.Buffer = {}
20
+
21
+ // Copy Safer API
22
+ for (key in Safer) {
23
+ if (!Safer.hasOwnProperty(key)) continue
24
+ Dangereous[key] = Safer[key]
25
+ }
26
+
27
+ // Copy those missing unsafe methods, if they are present
28
+ for (key in Buffer) {
29
+ if (!Buffer.hasOwnProperty(key)) continue
30
+ if (Dangereous.hasOwnProperty(key)) continue
31
+ Dangereous[key] = Buffer[key]
32
+ }
33
+
34
+ if (!Dangereous.allocUnsafe) {
35
+ Dangereous.allocUnsafe = function (size) {
36
+ if (typeof size !== 'number') {
37
+ throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
38
+ }
39
+ if (size < 0 || size >= 2 * (1 << 30)) {
40
+ throw new RangeError('The value "' + size + '" is invalid for option "size"')
41
+ }
42
+ return Buffer(size)
43
+ }
44
+ }
45
+
46
+ if (!Dangereous.allocUnsafeSlow) {
47
+ Dangereous.allocUnsafeSlow = function (size) {
48
+ if (typeof size !== 'number') {
49
+ throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
50
+ }
51
+ if (size < 0 || size >= 2 * (1 << 30)) {
52
+ throw new RangeError('The value "' + size + '" is invalid for option "size"')
53
+ }
54
+ return buffer.SlowBuffer(size)
55
+ }
56
+ }
57
+
58
+ module.exports = dangerous
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/package.json CHANGED
@@ -1,3 +1,34 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4247a3a63c45a6a7ced1557fe4dd9d2a163af4915d594b95e5867b69a53edb52
3
- size 822
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "safer-buffer",
3
+ "version": "2.1.2",
4
+ "description": "Modern Buffer API polyfill without footguns",
5
+ "main": "safer.js",
6
+ "scripts": {
7
+ "browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js",
8
+ "test": "standard && tape tests.js"
9
+ },
10
+ "author": {
11
+ "name": "Nikita Skovoroda",
12
+ "email": "chalkerx@gmail.com",
13
+ "url": "https://github.com/ChALkeR"
14
+ },
15
+ "license": "MIT",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/ChALkeR/safer-buffer.git"
19
+ },
20
+ "bugs": {
21
+ "url": "https://github.com/ChALkeR/safer-buffer/issues"
22
+ },
23
+ "devDependencies": {
24
+ "standard": "^11.0.1",
25
+ "tape": "^4.9.0"
26
+ },
27
+ "files": [
28
+ "Porting-Buffer.md",
29
+ "Readme.md",
30
+ "tests.js",
31
+ "dangerous.js",
32
+ "safer.js"
33
+ ]
34
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/safer.js CHANGED
@@ -1,3 +1,77 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:37f9716144105051ab302f6a0c30a52ff5de7269b9e1173ac22be798fc11ccad
3
- size 2110
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* eslint-disable node/no-deprecated-api */
2
+
3
+ 'use strict'
4
+
5
+ var buffer = require('buffer')
6
+ var Buffer = buffer.Buffer
7
+
8
+ var safer = {}
9
+
10
+ var key
11
+
12
+ for (key in buffer) {
13
+ if (!buffer.hasOwnProperty(key)) continue
14
+ if (key === 'SlowBuffer' || key === 'Buffer') continue
15
+ safer[key] = buffer[key]
16
+ }
17
+
18
+ var Safer = safer.Buffer = {}
19
+ for (key in Buffer) {
20
+ if (!Buffer.hasOwnProperty(key)) continue
21
+ if (key === 'allocUnsafe' || key === 'allocUnsafeSlow') continue
22
+ Safer[key] = Buffer[key]
23
+ }
24
+
25
+ safer.Buffer.prototype = Buffer.prototype
26
+
27
+ if (!Safer.from || Safer.from === Uint8Array.from) {
28
+ Safer.from = function (value, encodingOrOffset, length) {
29
+ if (typeof value === 'number') {
30
+ throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof value)
31
+ }
32
+ if (value && typeof value.length === 'undefined') {
33
+ throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type ' + typeof value)
34
+ }
35
+ return Buffer(value, encodingOrOffset, length)
36
+ }
37
+ }
38
+
39
+ if (!Safer.alloc) {
40
+ Safer.alloc = function (size, fill, encoding) {
41
+ if (typeof size !== 'number') {
42
+ throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
43
+ }
44
+ if (size < 0 || size >= 2 * (1 << 30)) {
45
+ throw new RangeError('The value "' + size + '" is invalid for option "size"')
46
+ }
47
+ var buf = Buffer(size)
48
+ if (!fill || fill.length === 0) {
49
+ buf.fill(0)
50
+ } else if (typeof encoding === 'string') {
51
+ buf.fill(fill, encoding)
52
+ } else {
53
+ buf.fill(fill)
54
+ }
55
+ return buf
56
+ }
57
+ }
58
+
59
+ if (!safer.kStringMaxLength) {
60
+ try {
61
+ safer.kStringMaxLength = process.binding('buffer').kStringMaxLength
62
+ } catch (e) {
63
+ // we can't determine kStringMaxLength in environments where process.binding
64
+ // is unsupported, so let's not set it
65
+ }
66
+ }
67
+
68
+ if (!safer.constants) {
69
+ safer.constants = {
70
+ MAX_LENGTH: safer.kMaxLength
71
+ }
72
+ if (safer.kStringMaxLength) {
73
+ safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength
74
+ }
75
+ }
76
+
77
+ module.exports = safer
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/safer-buffer/tests.js CHANGED
@@ -1,3 +1,406 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:511906fdf6a233c84a9216065d1701dbfd84f380fbd495ae1cf5a002370b9885
3
- size 15735
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* eslint-disable node/no-deprecated-api */
2
+
3
+ 'use strict'
4
+
5
+ var test = require('tape')
6
+
7
+ var buffer = require('buffer')
8
+
9
+ var index = require('./')
10
+ var safer = require('./safer')
11
+ var dangerous = require('./dangerous')
12
+
13
+ /* Inheritance tests */
14
+
15
+ test('Default is Safer', function (t) {
16
+ t.equal(index, safer)
17
+ t.notEqual(safer, dangerous)
18
+ t.notEqual(index, dangerous)
19
+ t.end()
20
+ })
21
+
22
+ test('Is not a function', function (t) {
23
+ [index, safer, dangerous].forEach(function (impl) {
24
+ t.equal(typeof impl, 'object')
25
+ t.equal(typeof impl.Buffer, 'object')
26
+ });
27
+ [buffer].forEach(function (impl) {
28
+ t.equal(typeof impl, 'object')
29
+ t.equal(typeof impl.Buffer, 'function')
30
+ })
31
+ t.end()
32
+ })
33
+
34
+ test('Constructor throws', function (t) {
35
+ [index, safer, dangerous].forEach(function (impl) {
36
+ t.throws(function () { impl.Buffer() })
37
+ t.throws(function () { impl.Buffer(0) })
38
+ t.throws(function () { impl.Buffer('a') })
39
+ t.throws(function () { impl.Buffer('a', 'utf-8') })
40
+ t.throws(function () { return new impl.Buffer() })
41
+ t.throws(function () { return new impl.Buffer(0) })
42
+ t.throws(function () { return new impl.Buffer('a') })
43
+ t.throws(function () { return new impl.Buffer('a', 'utf-8') })
44
+ })
45
+ t.end()
46
+ })
47
+
48
+ test('Safe methods exist', function (t) {
49
+ [index, safer, dangerous].forEach(function (impl) {
50
+ t.equal(typeof impl.Buffer.alloc, 'function', 'alloc')
51
+ t.equal(typeof impl.Buffer.from, 'function', 'from')
52
+ })
53
+ t.end()
54
+ })
55
+
56
+ test('Unsafe methods exist only in Dangerous', function (t) {
57
+ [index, safer].forEach(function (impl) {
58
+ t.equal(typeof impl.Buffer.allocUnsafe, 'undefined')
59
+ t.equal(typeof impl.Buffer.allocUnsafeSlow, 'undefined')
60
+ });
61
+ [dangerous].forEach(function (impl) {
62
+ t.equal(typeof impl.Buffer.allocUnsafe, 'function')
63
+ t.equal(typeof impl.Buffer.allocUnsafeSlow, 'function')
64
+ })
65
+ t.end()
66
+ })
67
+
68
+ test('Generic methods/properties are defined and equal', function (t) {
69
+ ['poolSize', 'isBuffer', 'concat', 'byteLength'].forEach(function (method) {
70
+ [index, safer, dangerous].forEach(function (impl) {
71
+ t.equal(impl.Buffer[method], buffer.Buffer[method], method)
72
+ t.notEqual(typeof impl.Buffer[method], 'undefined', method)
73
+ })
74
+ })
75
+ t.end()
76
+ })
77
+
78
+ test('Built-in buffer static methods/properties are inherited', function (t) {
79
+ Object.keys(buffer).forEach(function (method) {
80
+ if (method === 'SlowBuffer' || method === 'Buffer') return;
81
+ [index, safer, dangerous].forEach(function (impl) {
82
+ t.equal(impl[method], buffer[method], method)
83
+ t.notEqual(typeof impl[method], 'undefined', method)
84
+ })
85
+ })
86
+ t.end()
87
+ })
88
+
89
+ test('Built-in Buffer static methods/properties are inherited', function (t) {
90
+ Object.keys(buffer.Buffer).forEach(function (method) {
91
+ if (method === 'allocUnsafe' || method === 'allocUnsafeSlow') return;
92
+ [index, safer, dangerous].forEach(function (impl) {
93
+ t.equal(impl.Buffer[method], buffer.Buffer[method], method)
94
+ t.notEqual(typeof impl.Buffer[method], 'undefined', method)
95
+ })
96
+ })
97
+ t.end()
98
+ })
99
+
100
+ test('.prototype property of Buffer is inherited', function (t) {
101
+ [index, safer, dangerous].forEach(function (impl) {
102
+ t.equal(impl.Buffer.prototype, buffer.Buffer.prototype, 'prototype')
103
+ t.notEqual(typeof impl.Buffer.prototype, 'undefined', 'prototype')
104
+ })
105
+ t.end()
106
+ })
107
+
108
+ test('All Safer methods are present in Dangerous', function (t) {
109
+ Object.keys(safer).forEach(function (method) {
110
+ if (method === 'Buffer') return;
111
+ [index, safer, dangerous].forEach(function (impl) {
112
+ t.equal(impl[method], safer[method], method)
113
+ if (method !== 'kStringMaxLength') {
114
+ t.notEqual(typeof impl[method], 'undefined', method)
115
+ }
116
+ })
117
+ })
118
+ Object.keys(safer.Buffer).forEach(function (method) {
119
+ [index, safer, dangerous].forEach(function (impl) {
120
+ t.equal(impl.Buffer[method], safer.Buffer[method], method)
121
+ t.notEqual(typeof impl.Buffer[method], 'undefined', method)
122
+ })
123
+ })
124
+ t.end()
125
+ })
126
+
127
+ test('Safe methods from Dangerous methods are present in Safer', function (t) {
128
+ Object.keys(dangerous).forEach(function (method) {
129
+ if (method === 'Buffer') return;
130
+ [index, safer, dangerous].forEach(function (impl) {
131
+ t.equal(impl[method], dangerous[method], method)
132
+ if (method !== 'kStringMaxLength') {
133
+ t.notEqual(typeof impl[method], 'undefined', method)
134
+ }
135
+ })
136
+ })
137
+ Object.keys(dangerous.Buffer).forEach(function (method) {
138
+ if (method === 'allocUnsafe' || method === 'allocUnsafeSlow') return;
139
+ [index, safer, dangerous].forEach(function (impl) {
140
+ t.equal(impl.Buffer[method], dangerous.Buffer[method], method)
141
+ t.notEqual(typeof impl.Buffer[method], 'undefined', method)
142
+ })
143
+ })
144
+ t.end()
145
+ })
146
+
147
+ /* Behaviour tests */
148
+
149
+ test('Methods return Buffers', function (t) {
150
+ [index, safer, dangerous].forEach(function (impl) {
151
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0)))
152
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0, 10)))
153
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0, 'a')))
154
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(10)))
155
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(10, 'x')))
156
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(9, 'ab')))
157
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('')))
158
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('string')))
159
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('string', 'utf-8')))
160
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64')))
161
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.from([0, 42, 3])))
162
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.from(new Uint8Array([0, 42, 3]))))
163
+ t.ok(buffer.Buffer.isBuffer(impl.Buffer.from([])))
164
+ });
165
+ ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
166
+ t.ok(buffer.Buffer.isBuffer(dangerous.Buffer[method](0)))
167
+ t.ok(buffer.Buffer.isBuffer(dangerous.Buffer[method](10)))
168
+ })
169
+ t.end()
170
+ })
171
+
172
+ test('Constructor is buffer.Buffer', function (t) {
173
+ [index, safer, dangerous].forEach(function (impl) {
174
+ t.equal(impl.Buffer.alloc(0).constructor, buffer.Buffer)
175
+ t.equal(impl.Buffer.alloc(0, 10).constructor, buffer.Buffer)
176
+ t.equal(impl.Buffer.alloc(0, 'a').constructor, buffer.Buffer)
177
+ t.equal(impl.Buffer.alloc(10).constructor, buffer.Buffer)
178
+ t.equal(impl.Buffer.alloc(10, 'x').constructor, buffer.Buffer)
179
+ t.equal(impl.Buffer.alloc(9, 'ab').constructor, buffer.Buffer)
180
+ t.equal(impl.Buffer.from('').constructor, buffer.Buffer)
181
+ t.equal(impl.Buffer.from('string').constructor, buffer.Buffer)
182
+ t.equal(impl.Buffer.from('string', 'utf-8').constructor, buffer.Buffer)
183
+ t.equal(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64').constructor, buffer.Buffer)
184
+ t.equal(impl.Buffer.from([0, 42, 3]).constructor, buffer.Buffer)
185
+ t.equal(impl.Buffer.from(new Uint8Array([0, 42, 3])).constructor, buffer.Buffer)
186
+ t.equal(impl.Buffer.from([]).constructor, buffer.Buffer)
187
+ });
188
+ [0, 10, 100].forEach(function (arg) {
189
+ t.equal(dangerous.Buffer.allocUnsafe(arg).constructor, buffer.Buffer)
190
+ t.equal(dangerous.Buffer.allocUnsafeSlow(arg).constructor, buffer.SlowBuffer(0).constructor)
191
+ })
192
+ t.end()
193
+ })
194
+
195
+ test('Invalid calls throw', function (t) {
196
+ [index, safer, dangerous].forEach(function (impl) {
197
+ t.throws(function () { impl.Buffer.from(0) })
198
+ t.throws(function () { impl.Buffer.from(10) })
199
+ t.throws(function () { impl.Buffer.from(10, 'utf-8') })
200
+ t.throws(function () { impl.Buffer.from('string', 'invalid encoding') })
201
+ t.throws(function () { impl.Buffer.from(-10) })
202
+ t.throws(function () { impl.Buffer.from(1e90) })
203
+ t.throws(function () { impl.Buffer.from(Infinity) })
204
+ t.throws(function () { impl.Buffer.from(-Infinity) })
205
+ t.throws(function () { impl.Buffer.from(NaN) })
206
+ t.throws(function () { impl.Buffer.from(null) })
207
+ t.throws(function () { impl.Buffer.from(undefined) })
208
+ t.throws(function () { impl.Buffer.from() })
209
+ t.throws(function () { impl.Buffer.from({}) })
210
+ t.throws(function () { impl.Buffer.alloc('') })
211
+ t.throws(function () { impl.Buffer.alloc('string') })
212
+ t.throws(function () { impl.Buffer.alloc('string', 'utf-8') })
213
+ t.throws(function () { impl.Buffer.alloc('b25ldHdvdGhyZWU=', 'base64') })
214
+ t.throws(function () { impl.Buffer.alloc(-10) })
215
+ t.throws(function () { impl.Buffer.alloc(1e90) })
216
+ t.throws(function () { impl.Buffer.alloc(2 * (1 << 30)) })
217
+ t.throws(function () { impl.Buffer.alloc(Infinity) })
218
+ t.throws(function () { impl.Buffer.alloc(-Infinity) })
219
+ t.throws(function () { impl.Buffer.alloc(null) })
220
+ t.throws(function () { impl.Buffer.alloc(undefined) })
221
+ t.throws(function () { impl.Buffer.alloc() })
222
+ t.throws(function () { impl.Buffer.alloc([]) })
223
+ t.throws(function () { impl.Buffer.alloc([0, 42, 3]) })
224
+ t.throws(function () { impl.Buffer.alloc({}) })
225
+ });
226
+ ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
227
+ t.throws(function () { dangerous.Buffer[method]('') })
228
+ t.throws(function () { dangerous.Buffer[method]('string') })
229
+ t.throws(function () { dangerous.Buffer[method]('string', 'utf-8') })
230
+ t.throws(function () { dangerous.Buffer[method](2 * (1 << 30)) })
231
+ t.throws(function () { dangerous.Buffer[method](Infinity) })
232
+ if (dangerous.Buffer[method] === buffer.Buffer.allocUnsafe) {
233
+ t.skip('Skipping, older impl of allocUnsafe coerced negative sizes to 0')
234
+ } else {
235
+ t.throws(function () { dangerous.Buffer[method](-10) })
236
+ t.throws(function () { dangerous.Buffer[method](-1e90) })
237
+ t.throws(function () { dangerous.Buffer[method](-Infinity) })
238
+ }
239
+ t.throws(function () { dangerous.Buffer[method](null) })
240
+ t.throws(function () { dangerous.Buffer[method](undefined) })
241
+ t.throws(function () { dangerous.Buffer[method]() })
242
+ t.throws(function () { dangerous.Buffer[method]([]) })
243
+ t.throws(function () { dangerous.Buffer[method]([0, 42, 3]) })
244
+ t.throws(function () { dangerous.Buffer[method]({}) })
245
+ })
246
+ t.end()
247
+ })
248
+
249
+ test('Buffers have appropriate lengths', function (t) {
250
+ [index, safer, dangerous].forEach(function (impl) {
251
+ t.equal(impl.Buffer.alloc(0).length, 0)
252
+ t.equal(impl.Buffer.alloc(10).length, 10)
253
+ t.equal(impl.Buffer.from('').length, 0)
254
+ t.equal(impl.Buffer.from('string').length, 6)
255
+ t.equal(impl.Buffer.from('string', 'utf-8').length, 6)
256
+ t.equal(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64').length, 11)
257
+ t.equal(impl.Buffer.from([0, 42, 3]).length, 3)
258
+ t.equal(impl.Buffer.from(new Uint8Array([0, 42, 3])).length, 3)
259
+ t.equal(impl.Buffer.from([]).length, 0)
260
+ });
261
+ ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
262
+ t.equal(dangerous.Buffer[method](0).length, 0)
263
+ t.equal(dangerous.Buffer[method](10).length, 10)
264
+ })
265
+ t.end()
266
+ })
267
+
268
+ test('Buffers have appropriate lengths (2)', function (t) {
269
+ t.equal(index.Buffer.alloc, safer.Buffer.alloc)
270
+ t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
271
+ var ok = true;
272
+ [ safer.Buffer.alloc,
273
+ dangerous.Buffer.allocUnsafe,
274
+ dangerous.Buffer.allocUnsafeSlow
275
+ ].forEach(function (method) {
276
+ for (var i = 0; i < 1e2; i++) {
277
+ var length = Math.round(Math.random() * 1e5)
278
+ var buf = method(length)
279
+ if (!buffer.Buffer.isBuffer(buf)) ok = false
280
+ if (buf.length !== length) ok = false
281
+ }
282
+ })
283
+ t.ok(ok)
284
+ t.end()
285
+ })
286
+
287
+ test('.alloc(size) is zero-filled and has correct length', function (t) {
288
+ t.equal(index.Buffer.alloc, safer.Buffer.alloc)
289
+ t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
290
+ var ok = true
291
+ for (var i = 0; i < 1e2; i++) {
292
+ var length = Math.round(Math.random() * 2e6)
293
+ var buf = index.Buffer.alloc(length)
294
+ if (!buffer.Buffer.isBuffer(buf)) ok = false
295
+ if (buf.length !== length) ok = false
296
+ var j
297
+ for (j = 0; j < length; j++) {
298
+ if (buf[j] !== 0) ok = false
299
+ }
300
+ buf.fill(1)
301
+ for (j = 0; j < length; j++) {
302
+ if (buf[j] !== 1) ok = false
303
+ }
304
+ }
305
+ t.ok(ok)
306
+ t.end()
307
+ })
308
+
309
+ test('.allocUnsafe / .allocUnsafeSlow are fillable and have correct lengths', function (t) {
310
+ ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
311
+ var ok = true
312
+ for (var i = 0; i < 1e2; i++) {
313
+ var length = Math.round(Math.random() * 2e6)
314
+ var buf = dangerous.Buffer[method](length)
315
+ if (!buffer.Buffer.isBuffer(buf)) ok = false
316
+ if (buf.length !== length) ok = false
317
+ buf.fill(0, 0, length)
318
+ var j
319
+ for (j = 0; j < length; j++) {
320
+ if (buf[j] !== 0) ok = false
321
+ }
322
+ buf.fill(1, 0, length)
323
+ for (j = 0; j < length; j++) {
324
+ if (buf[j] !== 1) ok = false
325
+ }
326
+ }
327
+ t.ok(ok, method)
328
+ })
329
+ t.end()
330
+ })
331
+
332
+ test('.alloc(size, fill) is `fill`-filled', function (t) {
333
+ t.equal(index.Buffer.alloc, safer.Buffer.alloc)
334
+ t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
335
+ var ok = true
336
+ for (var i = 0; i < 1e2; i++) {
337
+ var length = Math.round(Math.random() * 2e6)
338
+ var fill = Math.round(Math.random() * 255)
339
+ var buf = index.Buffer.alloc(length, fill)
340
+ if (!buffer.Buffer.isBuffer(buf)) ok = false
341
+ if (buf.length !== length) ok = false
342
+ for (var j = 0; j < length; j++) {
343
+ if (buf[j] !== fill) ok = false
344
+ }
345
+ }
346
+ t.ok(ok)
347
+ t.end()
348
+ })
349
+
350
+ test('.alloc(size, fill) is `fill`-filled', function (t) {
351
+ t.equal(index.Buffer.alloc, safer.Buffer.alloc)
352
+ t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
353
+ var ok = true
354
+ for (var i = 0; i < 1e2; i++) {
355
+ var length = Math.round(Math.random() * 2e6)
356
+ var fill = Math.round(Math.random() * 255)
357
+ var buf = index.Buffer.alloc(length, fill)
358
+ if (!buffer.Buffer.isBuffer(buf)) ok = false
359
+ if (buf.length !== length) ok = false
360
+ for (var j = 0; j < length; j++) {
361
+ if (buf[j] !== fill) ok = false
362
+ }
363
+ }
364
+ t.ok(ok)
365
+ t.deepEqual(index.Buffer.alloc(9, 'a'), index.Buffer.alloc(9, 97))
366
+ t.notDeepEqual(index.Buffer.alloc(9, 'a'), index.Buffer.alloc(9, 98))
367
+
368
+ var tmp = new buffer.Buffer(2)
369
+ tmp.fill('ok')
370
+ if (tmp[1] === tmp[0]) {
371
+ // Outdated Node.js
372
+ t.deepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('ooooo'))
373
+ } else {
374
+ t.deepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('okoko'))
375
+ }
376
+ t.notDeepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('kokok'))
377
+
378
+ t.end()
379
+ })
380
+
381
+ test('safer.Buffer.from returns results same as Buffer constructor', function (t) {
382
+ [index, safer, dangerous].forEach(function (impl) {
383
+ t.deepEqual(impl.Buffer.from(''), new buffer.Buffer(''))
384
+ t.deepEqual(impl.Buffer.from('string'), new buffer.Buffer('string'))
385
+ t.deepEqual(impl.Buffer.from('string', 'utf-8'), new buffer.Buffer('string', 'utf-8'))
386
+ t.deepEqual(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64'), new buffer.Buffer('b25ldHdvdGhyZWU=', 'base64'))
387
+ t.deepEqual(impl.Buffer.from([0, 42, 3]), new buffer.Buffer([0, 42, 3]))
388
+ t.deepEqual(impl.Buffer.from(new Uint8Array([0, 42, 3])), new buffer.Buffer(new Uint8Array([0, 42, 3])))
389
+ t.deepEqual(impl.Buffer.from([]), new buffer.Buffer([]))
390
+ })
391
+ t.end()
392
+ })
393
+
394
+ test('safer.Buffer.from returns consistent results', function (t) {
395
+ [index, safer, dangerous].forEach(function (impl) {
396
+ t.deepEqual(impl.Buffer.from(''), impl.Buffer.alloc(0))
397
+ t.deepEqual(impl.Buffer.from([]), impl.Buffer.alloc(0))
398
+ t.deepEqual(impl.Buffer.from(new Uint8Array([])), impl.Buffer.alloc(0))
399
+ t.deepEqual(impl.Buffer.from('string', 'utf-8'), impl.Buffer.from('string'))
400
+ t.deepEqual(impl.Buffer.from('string'), impl.Buffer.from([115, 116, 114, 105, 110, 103]))
401
+ t.deepEqual(impl.Buffer.from('string'), impl.Buffer.from(impl.Buffer.from('string')))
402
+ t.deepEqual(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64'), impl.Buffer.from('onetwothree'))
403
+ t.notDeepEqual(impl.Buffer.from('b25ldHdvdGhyZWU='), impl.Buffer.from('onetwothree'))
404
+ })
405
+ t.end()
406
+ })
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/LICENSE CHANGED
@@ -1,3 +1,1727 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c128e51e7cf068fc98f558e3d21c1fe35bf50bb2a373fd22a6dff8c14494e2ff
3
- size 88141
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Dart Sass license:
2
+
3
+ Copyright (c) 2016, Google Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+
25
+ --------------------------------------------------------------------------------
26
+
27
+ Dart SDK license:
28
+
29
+ Copyright 2012, the Dart project authors.
30
+
31
+ Redistribution and use in source and binary forms, with or without
32
+ modification, are permitted provided that the following conditions are
33
+ met:
34
+ * Redistributions of source code must retain the above copyright
35
+ notice, this list of conditions and the following disclaimer.
36
+ * Redistributions in binary form must reproduce the above
37
+ copyright notice, this list of conditions and the following
38
+ disclaimer in the documentation and/or other materials provided
39
+ with the distribution.
40
+ * Neither the name of Google LLC nor the names of its
41
+ contributors may be used to endorse or promote products derived
42
+ from this software without specific prior written permission.
43
+
44
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
45
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
46
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
47
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
48
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
49
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
50
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
51
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
52
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
53
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
54
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
55
+
56
+
57
+ --------------------------------------------------------------------------------
58
+
59
+ _fe_analyzer_shared license:
60
+
61
+ Copyright 2019, the Dart project authors.
62
+
63
+ Redistribution and use in source and binary forms, with or without
64
+ modification, are permitted provided that the following conditions are
65
+ met:
66
+
67
+ * Redistributions of source code must retain the above copyright
68
+ notice, this list of conditions and the following disclaimer.
69
+ * Redistributions in binary form must reproduce the above
70
+ copyright notice, this list of conditions and the following
71
+ disclaimer in the documentation and/or other materials provided
72
+ with the distribution.
73
+ * Neither the name of Google LLC nor the names of its
74
+ contributors may be used to endorse or promote products derived
75
+ from this software without specific prior written permission.
76
+
77
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
78
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
79
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
80
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
81
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
82
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
83
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
84
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
85
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
86
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
87
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
88
+
89
+
90
+ --------------------------------------------------------------------------------
91
+
92
+ _macros and macros license:
93
+
94
+ Copyright 2024, the Dart project authors.
95
+
96
+ Redistribution and use in source and binary forms, with or without
97
+ modification, are permitted provided that the following conditions are
98
+ met:
99
+
100
+ * Redistributions of source code must retain the above copyright
101
+ notice, this list of conditions and the following disclaimer.
102
+ * Redistributions in binary form must reproduce the above
103
+ copyright notice, this list of conditions and the following
104
+ disclaimer in the documentation and/or other materials provided
105
+ with the distribution.
106
+ * Neither the name of Google LLC nor the names of its
107
+ contributors may be used to endorse or promote products derived
108
+ from this software without specific prior written permission.
109
+
110
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
111
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
112
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
113
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
114
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
115
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
116
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
117
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
118
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
119
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
120
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
121
+
122
+
123
+ --------------------------------------------------------------------------------
124
+
125
+ analyzer, protobuf and protoc_plugin license:
126
+
127
+ Copyright 2013, the Dart project authors.
128
+
129
+ Redistribution and use in source and binary forms, with or without
130
+ modification, are permitted provided that the following conditions are
131
+ met:
132
+
133
+ * Redistributions of source code must retain the above copyright
134
+ notice, this list of conditions and the following disclaimer.
135
+ * Redistributions in binary form must reproduce the above
136
+ copyright notice, this list of conditions and the following
137
+ disclaimer in the documentation and/or other materials provided
138
+ with the distribution.
139
+ * Neither the name of Google LLC nor the names of its
140
+ contributors may be used to endorse or promote products derived
141
+ from this software without specific prior written permission.
142
+
143
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
144
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
145
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
146
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
147
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
148
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
149
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
150
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
151
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
152
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
153
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
154
+
155
+
156
+ --------------------------------------------------------------------------------
157
+
158
+ archive license:
159
+
160
+ The MIT License
161
+
162
+ Copyright (c) 2013-2021 Brendan Duncan.
163
+ All rights reserved.
164
+
165
+ Permission is hereby granted, free of charge, to any person obtaining a copy
166
+ of this software and associated documentation files (the "Software"), to deal
167
+ in the Software without restriction, including without limitation the rights
168
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
169
+ copies of the Software, and to permit persons to whom the Software is
170
+ furnished to do so, subject to the following conditions:
171
+
172
+ The above copyright notice and this permission notice shall be included in
173
+ all copies or substantial portions of the Software.
174
+
175
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
176
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
177
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
178
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
179
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
180
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
181
+ THE SOFTWARE.
182
+
183
+ --------------------------------------------------------------------------------
184
+
185
+ args, csslib and logging license:
186
+
187
+ Copyright 2013, the Dart project authors.
188
+
189
+ Redistribution and use in source and binary forms, with or without
190
+ modification, are permitted provided that the following conditions are
191
+ met:
192
+
193
+ * Redistributions of source code must retain the above copyright
194
+ notice, this list of conditions and the following disclaimer.
195
+ * Redistributions in binary form must reproduce the above
196
+ copyright notice, this list of conditions and the following
197
+ disclaimer in the documentation and/or other materials provided
198
+ with the distribution.
199
+ * Neither the name of Google LLC nor the names of its
200
+ contributors may be used to endorse or promote products derived
201
+ from this software without specific prior written permission.
202
+
203
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
204
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
205
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
206
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
207
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
208
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
209
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
210
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
211
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
212
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
213
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
214
+
215
+
216
+ --------------------------------------------------------------------------------
217
+
218
+ async, cli_util, collection, mime, source_map_stack_trace, stream_channel and
219
+ typed_data license:
220
+
221
+ Copyright 2015, the Dart project authors.
222
+
223
+ Redistribution and use in source and binary forms, with or without
224
+ modification, are permitted provided that the following conditions are
225
+ met:
226
+
227
+ * Redistributions of source code must retain the above copyright
228
+ notice, this list of conditions and the following disclaimer.
229
+ * Redistributions in binary form must reproduce the above
230
+ copyright notice, this list of conditions and the following
231
+ disclaimer in the documentation and/or other materials provided
232
+ with the distribution.
233
+ * Neither the name of Google LLC nor the names of its
234
+ contributors may be used to endorse or promote products derived
235
+ from this software without specific prior written permission.
236
+
237
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
238
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
239
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
240
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
241
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
242
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
243
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
244
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
245
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
246
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
247
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
248
+
249
+
250
+ --------------------------------------------------------------------------------
251
+
252
+ boolean_selector, meta and shelf_packages_handler license:
253
+
254
+ Copyright 2016, the Dart project authors.
255
+
256
+ Redistribution and use in source and binary forms, with or without
257
+ modification, are permitted provided that the following conditions are
258
+ met:
259
+
260
+ * Redistributions of source code must retain the above copyright
261
+ notice, this list of conditions and the following disclaimer.
262
+ * Redistributions in binary form must reproduce the above
263
+ copyright notice, this list of conditions and the following
264
+ disclaimer in the documentation and/or other materials provided
265
+ with the distribution.
266
+ * Neither the name of Google LLC nor the names of its
267
+ contributors may be used to endorse or promote products derived
268
+ from this software without specific prior written permission.
269
+
270
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
271
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
272
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
273
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
274
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
275
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
276
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
277
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
278
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
279
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
280
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
281
+
282
+
283
+ --------------------------------------------------------------------------------
284
+
285
+ charcode license:
286
+
287
+ Copyright 2014, the Dart project authors. All rights reserved.
288
+ Redistribution and use in source and binary forms, with or without
289
+ modification, are permitted provided that the following conditions are
290
+ met:
291
+
292
+ * Redistributions of source code must retain the above copyright
293
+ notice, this list of conditions and the following disclaimer.
294
+ * Redistributions in binary form must reproduce the above
295
+ copyright notice, this list of conditions and the following
296
+ disclaimer in the documentation and/or other materials provided
297
+ with the distribution.
298
+ * Neither the name of Google Inc. nor the names of its
299
+ contributors may be used to endorse or promote products derived
300
+ from this software without specific prior written permission.
301
+
302
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
303
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
304
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
305
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
306
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
307
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
308
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
309
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
310
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
311
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
312
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
313
+
314
+
315
+ --------------------------------------------------------------------------------
316
+
317
+ checked_yaml license:
318
+
319
+ Copyright 2019, the Dart project authors. All rights reserved.
320
+ Redistribution and use in source and binary forms, with or without
321
+ modification, are permitted provided that the following conditions are
322
+ met:
323
+
324
+ * Redistributions of source code must retain the above copyright
325
+ notice, this list of conditions and the following disclaimer.
326
+ * Redistributions in binary form must reproduce the above
327
+ copyright notice, this list of conditions and the following
328
+ disclaimer in the documentation and/or other materials provided
329
+ with the distribution.
330
+ * Neither the name of Google Inc. nor the names of its
331
+ contributors may be used to endorse or promote products derived
332
+ from this software without specific prior written permission.
333
+
334
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
335
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
336
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
337
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
338
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
339
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
340
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
341
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
342
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
343
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
344
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
345
+
346
+
347
+ --------------------------------------------------------------------------------
348
+
349
+ cli_pkg license:
350
+
351
+ Apache License
352
+ Version 2.0, January 2004
353
+ http://www.apache.org/licenses/
354
+
355
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
356
+
357
+ 1. Definitions.
358
+
359
+ "License" shall mean the terms and conditions for use, reproduction,
360
+ and distribution as defined by Sections 1 through 9 of this document.
361
+
362
+ "Licensor" shall mean the copyright owner or entity authorized by
363
+ the copyright owner that is granting the License.
364
+
365
+ "Legal Entity" shall mean the union of the acting entity and all
366
+ other entities that control, are controlled by, or are under common
367
+ control with that entity. For the purposes of this definition,
368
+ "control" means (i) the power, direct or indirect, to cause the
369
+ direction or management of such entity, whether by contract or
370
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
371
+ outstanding shares, or (iii) beneficial ownership of such entity.
372
+
373
+ "You" (or "Your") shall mean an individual or Legal Entity
374
+ exercising permissions granted by this License.
375
+
376
+ "Source" form shall mean the preferred form for making modifications,
377
+ including but not limited to software source code, documentation
378
+ source, and configuration files.
379
+
380
+ "Object" form shall mean any form resulting from mechanical
381
+ transformation or translation of a Source form, including but
382
+ not limited to compiled object code, generated documentation,
383
+ and conversions to other media types.
384
+
385
+ "Work" shall mean the work of authorship, whether in Source or
386
+ Object form, made available under the License, as indicated by a
387
+ copyright notice that is included in or attached to the work
388
+ (an example is provided in the Appendix below).
389
+
390
+ "Derivative Works" shall mean any work, whether in Source or Object
391
+ form, that is based on (or derived from) the Work and for which the
392
+ editorial revisions, annotations, elaborations, or other modifications
393
+ represent, as a whole, an original work of authorship. For the purposes
394
+ of this License, Derivative Works shall not include works that remain
395
+ separable from, or merely link (or bind by name) to the interfaces of,
396
+ the Work and Derivative Works thereof.
397
+
398
+ "Contribution" shall mean any work of authorship, including
399
+ the original version of the Work and any modifications or additions
400
+ to that Work or Derivative Works thereof, that is intentionally
401
+ submitted to Licensor for inclusion in the Work by the copyright owner
402
+ or by an individual or Legal Entity authorized to submit on behalf of
403
+ the copyright owner. For the purposes of this definition, "submitted"
404
+ means any form of electronic, verbal, or written communication sent
405
+ to the Licensor or its representatives, including but not limited to
406
+ communication on electronic mailing lists, source code control systems,
407
+ and issue tracking systems that are managed by, or on behalf of, the
408
+ Licensor for the purpose of discussing and improving the Work, but
409
+ excluding communication that is conspicuously marked or otherwise
410
+ designated in writing by the copyright owner as "Not a Contribution."
411
+
412
+ "Contributor" shall mean Licensor and any individual or Legal Entity
413
+ on behalf of whom a Contribution has been received by Licensor and
414
+ subsequently incorporated within the Work.
415
+
416
+ 2. Grant of Copyright License. Subject to the terms and conditions of
417
+ this License, each Contributor hereby grants to You a perpetual,
418
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
419
+ copyright license to reproduce, prepare Derivative Works of,
420
+ publicly display, publicly perform, sublicense, and distribute the
421
+ Work and such Derivative Works in Source or Object form.
422
+
423
+ 3. Grant of Patent License. Subject to the terms and conditions of
424
+ this License, each Contributor hereby grants to You a perpetual,
425
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
426
+ (except as stated in this section) patent license to make, have made,
427
+ use, offer to sell, sell, import, and otherwise transfer the Work,
428
+ where such license applies only to those patent claims licensable
429
+ by such Contributor that are necessarily infringed by their
430
+ Contribution(s) alone or by combination of their Contribution(s)
431
+ with the Work to which such Contribution(s) was submitted. If You
432
+ institute patent litigation against any entity (including a
433
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
434
+ or a Contribution incorporated within the Work constitutes direct
435
+ or contributory patent infringement, then any patent licenses
436
+ granted to You under this License for that Work shall terminate
437
+ as of the date such litigation is filed.
438
+
439
+ 4. Redistribution. You may reproduce and distribute copies of the
440
+ Work or Derivative Works thereof in any medium, with or without
441
+ modifications, and in Source or Object form, provided that You
442
+ meet the following conditions:
443
+
444
+ (a) You must give any other recipients of the Work or
445
+ Derivative Works a copy of this License; and
446
+
447
+ (b) You must cause any modified files to carry prominent notices
448
+ stating that You changed the files; and
449
+
450
+ (c) You must retain, in the Source form of any Derivative Works
451
+ that You distribute, all copyright, patent, trademark, and
452
+ attribution notices from the Source form of the Work,
453
+ excluding those notices that do not pertain to any part of
454
+ the Derivative Works; and
455
+
456
+ (d) If the Work includes a "NOTICE" text file as part of its
457
+ distribution, then any Derivative Works that You distribute must
458
+ include a readable copy of the attribution notices contained
459
+ within such NOTICE file, excluding those notices that do not
460
+ pertain to any part of the Derivative Works, in at least one
461
+ of the following places: within a NOTICE text file distributed
462
+ as part of the Derivative Works; within the Source form or
463
+ documentation, if provided along with the Derivative Works; or,
464
+ within a display generated by the Derivative Works, if and
465
+ wherever such third-party notices normally appear. The contents
466
+ of the NOTICE file are for informational purposes only and
467
+ do not modify the License. You may add Your own attribution
468
+ notices within Derivative Works that You distribute, alongside
469
+ or as an addendum to the NOTICE text from the Work, provided
470
+ that such additional attribution notices cannot be construed
471
+ as modifying the License.
472
+
473
+ You may add Your own copyright statement to Your modifications and
474
+ may provide additional or different license terms and conditions
475
+ for use, reproduction, or distribution of Your modifications, or
476
+ for any such Derivative Works as a whole, provided Your use,
477
+ reproduction, and distribution of the Work otherwise complies with
478
+ the conditions stated in this License.
479
+
480
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
481
+ any Contribution intentionally submitted for inclusion in the Work
482
+ by You to the Licensor shall be under the terms and conditions of
483
+ this License, without any additional terms or conditions.
484
+ Notwithstanding the above, nothing herein shall supersede or modify
485
+ the terms of any separate license agreement you may have executed
486
+ with Licensor regarding such Contributions.
487
+
488
+ 6. Trademarks. This License does not grant permission to use the trade
489
+ names, trademarks, service marks, or product names of the Licensor,
490
+ except as required for reasonable and customary use in describing the
491
+ origin of the Work and reproducing the content of the NOTICE file.
492
+
493
+ 7. Disclaimer of Warranty. Unless required by applicable law or
494
+ agreed to in writing, Licensor provides the Work (and each
495
+ Contributor provides its Contributions) on an "AS IS" BASIS,
496
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
497
+ implied, including, without limitation, any warranties or conditions
498
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
499
+ PARTICULAR PURPOSE. You are solely responsible for determining the
500
+ appropriateness of using or redistributing the Work and assume any
501
+ risks associated with Your exercise of permissions under this License.
502
+
503
+ 8. Limitation of Liability. In no event and under no legal theory,
504
+ whether in tort (including negligence), contract, or otherwise,
505
+ unless required by applicable law (such as deliberate and grossly
506
+ negligent acts) or agreed to in writing, shall any Contributor be
507
+ liable to You for damages, including any direct, indirect, special,
508
+ incidental, or consequential damages of any character arising as a
509
+ result of this License or out of the use or inability to use the
510
+ Work (including but not limited to damages for loss of goodwill,
511
+ work stoppage, computer failure or malfunction, or any and all
512
+ other commercial damages or losses), even if such Contributor
513
+ has been advised of the possibility of such damages.
514
+
515
+ 9. Accepting Warranty or Additional Liability. While redistributing
516
+ the Work or Derivative Works thereof, You may choose to offer,
517
+ and charge a fee for, acceptance of support, warranty, indemnity,
518
+ or other liability obligations and/or rights consistent with this
519
+ License. However, in accepting such obligations, You may act only
520
+ on Your own behalf and on Your sole responsibility, not on behalf
521
+ of any other Contributor, and only if You agree to indemnify,
522
+ defend, and hold each Contributor harmless for any liability
523
+ incurred by, or claims asserted against, such Contributor by reason
524
+ of your accepting any such warranty or additional liability.
525
+
526
+ END OF TERMS AND CONDITIONS
527
+
528
+ APPENDIX: How to apply the Apache License to your work.
529
+
530
+ To apply the Apache License to your work, attach the following
531
+ boilerplate notice, with the fields enclosed by brackets "[]"
532
+ replaced with your own identifying information. (Don't include
533
+ the brackets!) The text should be enclosed in the appropriate
534
+ comment syntax for the file format. We also recommend that a
535
+ file or class name and description of purpose be included on the
536
+ same "printed page" as the copyright notice for easier
537
+ identification within third-party archives.
538
+
539
+ Copyright [yyyy] [name of copyright owner]
540
+
541
+ Licensed under the Apache License, Version 2.0 (the "License");
542
+ you may not use this file except in compliance with the License.
543
+ You may obtain a copy of the License at
544
+
545
+ http://www.apache.org/licenses/LICENSE-2.0
546
+
547
+ Unless required by applicable law or agreed to in writing, software
548
+ distributed under the License is distributed on an "AS IS" BASIS,
549
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
550
+ See the License for the specific language governing permissions and
551
+ limitations under the License.
552
+
553
+
554
+ --------------------------------------------------------------------------------
555
+
556
+ cli_repl license:
557
+
558
+ Copyright (c) 2018, Jennifer Thakar.
559
+ All rights reserved.
560
+
561
+ Redistribution and use in source and binary forms, with or without
562
+ modification, are permitted provided that the following conditions are met:
563
+ * Redistributions of source code must retain the above copyright
564
+ notice, this list of conditions and the following disclaimer.
565
+ * Redistributions in binary form must reproduce the above copyright
566
+ notice, this list of conditions and the following disclaimer in the
567
+ documentation and/or other materials provided with the distribution.
568
+ * Neither the name of the project nor the names of its contributors may be
569
+ used to endorse or promote products derived from this software without
570
+ specific prior written permission.
571
+
572
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
573
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
574
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
575
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
576
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
577
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
578
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
579
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
580
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
581
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
582
+
583
+
584
+ --------------------------------------------------------------------------------
585
+
586
+ convert, crypto, shelf_static and vm_service license:
587
+
588
+ Copyright 2015, the Dart project authors.
589
+
590
+ Redistribution and use in source and binary forms, with or without
591
+ modification, are permitted provided that the following conditions are
592
+ met:
593
+
594
+ * Redistributions of source code must retain the above copyright
595
+ notice, this list of conditions and the following disclaimer.
596
+ * Redistributions in binary form must reproduce the above
597
+ copyright notice, this list of conditions and the following
598
+ disclaimer in the documentation and/or other materials provided
599
+ with the distribution.
600
+ * Neither the name of Google LLC nor the names of its
601
+ contributors may be used to endorse or promote products derived
602
+ from this software without specific prior written permission.
603
+
604
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
605
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
606
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
607
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
608
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
609
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
610
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
611
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
612
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
613
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
614
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
615
+
616
+
617
+ --------------------------------------------------------------------------------
618
+
619
+ coverage, dart_style, dartdoc, glob, http, http_parser, matcher, path, pool,
620
+ pub_semver, source_span, string_scanner, test and watcher license:
621
+
622
+ Copyright 2014, the Dart project authors.
623
+
624
+ Redistribution and use in source and binary forms, with or without
625
+ modification, are permitted provided that the following conditions are
626
+ met:
627
+
628
+ * Redistributions of source code must retain the above copyright
629
+ notice, this list of conditions and the following disclaimer.
630
+ * Redistributions in binary form must reproduce the above
631
+ copyright notice, this list of conditions and the following
632
+ disclaimer in the documentation and/or other materials provided
633
+ with the distribution.
634
+ * Neither the name of Google LLC nor the names of its
635
+ contributors may be used to endorse or promote products derived
636
+ from this software without specific prior written permission.
637
+
638
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
639
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
640
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
641
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
642
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
643
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
644
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
645
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
646
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
647
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
648
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
649
+
650
+
651
+ --------------------------------------------------------------------------------
652
+
653
+ dart_mappable and type_plus license:
654
+
655
+ MIT License
656
+
657
+ Copyright (c) 2021 Kilian Schulte
658
+
659
+ Permission is hereby granted, free of charge, to any person obtaining a copy
660
+ of this software and associated documentation files (the "Software"), to deal
661
+ in the Software without restriction, including without limitation the rights
662
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
663
+ copies of the Software, and to permit persons to whom the Software is
664
+ furnished to do so, subject to the following conditions:
665
+
666
+ The above copyright notice and this permission notice shall be included in all
667
+ copies or substantial portions of the Software.
668
+
669
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
670
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
671
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
672
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
673
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
674
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
675
+ SOFTWARE.
676
+
677
+ --------------------------------------------------------------------------------
678
+
679
+ ffi and package_config license:
680
+
681
+ Copyright 2019, the Dart project authors.
682
+
683
+ Redistribution and use in source and binary forms, with or without
684
+ modification, are permitted provided that the following conditions are
685
+ met:
686
+
687
+ * Redistributions of source code must retain the above copyright
688
+ notice, this list of conditions and the following disclaimer.
689
+ * Redistributions in binary form must reproduce the above
690
+ copyright notice, this list of conditions and the following
691
+ disclaimer in the documentation and/or other materials provided
692
+ with the distribution.
693
+ * Neither the name of Google LLC nor the names of its
694
+ contributors may be used to endorse or promote products derived
695
+ from this software without specific prior written permission.
696
+
697
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
698
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
699
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
700
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
701
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
702
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
703
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
704
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
705
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
706
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
707
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
708
+
709
+
710
+ --------------------------------------------------------------------------------
711
+
712
+ file license:
713
+
714
+ Copyright 2017, the Dart project authors. All rights reserved.
715
+ Redistribution and use in source and binary forms, with or without
716
+ modification, are permitted provided that the following conditions are
717
+ met:
718
+
719
+ * Redistributions of source code must retain the above copyright
720
+ notice, this list of conditions and the following disclaimer.
721
+ * Redistributions in binary form must reproduce the above
722
+ copyright notice, this list of conditions and the following
723
+ disclaimer in the documentation and/or other materials provided
724
+ with the distribution.
725
+ * Neither the name of Google Inc. nor the names of its
726
+ contributors may be used to endorse or promote products derived
727
+ from this software without specific prior written permission.
728
+
729
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
730
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
731
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
732
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
733
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
734
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
735
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
736
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
737
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
738
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
739
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
740
+
741
+ --------------------------------------------------------------------------------
742
+
743
+ fixnum, http_multi_server, oauth2, shelf, shelf_web_socket, source_maps and
744
+ stack_trace license:
745
+
746
+ Copyright 2014, the Dart project authors.
747
+
748
+ Redistribution and use in source and binary forms, with or without
749
+ modification, are permitted provided that the following conditions are
750
+ met:
751
+
752
+ * Redistributions of source code must retain the above copyright
753
+ notice, this list of conditions and the following disclaimer.
754
+ * Redistributions in binary form must reproduce the above
755
+ copyright notice, this list of conditions and the following
756
+ disclaimer in the documentation and/or other materials provided
757
+ with the distribution.
758
+ * Neither the name of Google LLC nor the names of its
759
+ contributors may be used to endorse or promote products derived
760
+ from this software without specific prior written permission.
761
+
762
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
763
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
764
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
765
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
766
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
767
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
768
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
769
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
770
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
771
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
772
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
773
+
774
+
775
+ --------------------------------------------------------------------------------
776
+
777
+ frontend_server_client license:
778
+
779
+ Copyright 2020, the Dart project authors.
780
+
781
+ Redistribution and use in source and binary forms, with or without
782
+ modification, are permitted provided that the following conditions are
783
+ met:
784
+
785
+ * Redistributions of source code must retain the above copyright
786
+ notice, this list of conditions and the following disclaimer.
787
+ * Redistributions in binary form must reproduce the above
788
+ copyright notice, this list of conditions and the following
789
+ disclaimer in the documentation and/or other materials provided
790
+ with the distribution.
791
+ * Neither the name of Google LLC nor the names of its
792
+ contributors may be used to endorse or promote products derived
793
+ from this software without specific prior written permission.
794
+
795
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
796
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
797
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
798
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
799
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
800
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
801
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
802
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
803
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
804
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
805
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
806
+
807
+
808
+ --------------------------------------------------------------------------------
809
+
810
+ grinder and webkit_inspection_protocol license:
811
+
812
+ Copyright 2013, Google Inc.
813
+ All rights reserved.
814
+
815
+ Redistribution and use in source and binary forms, with or without
816
+ modification, are permitted provided that the following conditions are
817
+ met:
818
+
819
+ * Redistributions of source code must retain the above copyright
820
+ notice, this list of conditions and the following disclaimer.
821
+ * Redistributions in binary form must reproduce the above
822
+ copyright notice, this list of conditions and the following disclaimer
823
+ in the documentation and/or other materials provided with the
824
+ distribution.
825
+ * Neither the name of Google Inc. nor the names of its
826
+ contributors may be used to endorse or promote products derived from
827
+ this software without specific prior written permission.
828
+
829
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
830
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
831
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
832
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
833
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
834
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
835
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
836
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
837
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
838
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
839
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
840
+
841
+
842
+ --------------------------------------------------------------------------------
843
+
844
+ html license:
845
+
846
+ Copyright (c) 2006-2012 The Authors
847
+
848
+ Contributors:
849
+ James Graham - jg307@cam.ac.uk
850
+ Anne van Kesteren - annevankesteren@gmail.com
851
+ Lachlan Hunt - lachlan.hunt@lachy.id.au
852
+ Matt McDonald - kanashii@kanashii.ca
853
+ Sam Ruby - rubys@intertwingly.net
854
+ Ian Hickson (Google) - ian@hixie.ch
855
+ Thomas Broyer - t.broyer@ltgt.net
856
+ Jacques Distler - distler@golem.ph.utexas.edu
857
+ Henri Sivonen - hsivonen@iki.fi
858
+ Adam Barth - abarth@webkit.org
859
+ Eric Seidel - eric@webkit.org
860
+ The Mozilla Foundation (contributions from Henri Sivonen since 2008)
861
+ David Flanagan (Mozilla) - dflanagan@mozilla.com
862
+ Google LLC (contributed the Dart port) - misc@dartlang.org
863
+
864
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
865
+
866
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
867
+
868
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
869
+
870
+
871
+ --------------------------------------------------------------------------------
872
+
873
+ io, stream_transform and term_glyph license:
874
+
875
+ Copyright 2017, the Dart project authors.
876
+
877
+ Redistribution and use in source and binary forms, with or without
878
+ modification, are permitted provided that the following conditions are
879
+ met:
880
+
881
+ * Redistributions of source code must retain the above copyright
882
+ notice, this list of conditions and the following disclaimer.
883
+ * Redistributions in binary form must reproduce the above
884
+ copyright notice, this list of conditions and the following
885
+ disclaimer in the documentation and/or other materials provided
886
+ with the distribution.
887
+ * Neither the name of Google LLC nor the names of its
888
+ contributors may be used to endorse or promote products derived
889
+ from this software without specific prior written permission.
890
+
891
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
892
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
893
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
894
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
895
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
896
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
897
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
898
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
899
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
900
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
901
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
902
+
903
+
904
+ --------------------------------------------------------------------------------
905
+
906
+ js license:
907
+
908
+ Copyright 2012, the Dart project authors.
909
+
910
+ Redistribution and use in source and binary forms, with or without
911
+ modification, are permitted provided that the following conditions are
912
+ met:
913
+
914
+ * Redistributions of source code must retain the above copyright
915
+ notice, this list of conditions and the following disclaimer.
916
+ * Redistributions in binary form must reproduce the above
917
+ copyright notice, this list of conditions and the following
918
+ disclaimer in the documentation and/or other materials provided
919
+ with the distribution.
920
+ * Neither the name of Google LLC nor the names of its
921
+ contributors may be used to endorse or promote products derived
922
+ from this software without specific prior written permission.
923
+
924
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
925
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
926
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
927
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
928
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
929
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
930
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
931
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
932
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
933
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
934
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
935
+
936
+
937
+ --------------------------------------------------------------------------------
938
+
939
+ json_annotation license:
940
+
941
+ Copyright 2017, the Dart project authors. All rights reserved.
942
+ Redistribution and use in source and binary forms, with or without
943
+ modification, are permitted provided that the following conditions are
944
+ met:
945
+
946
+ * Redistributions of source code must retain the above copyright
947
+ notice, this list of conditions and the following disclaimer.
948
+ * Redistributions in binary form must reproduce the above
949
+ copyright notice, this list of conditions and the following
950
+ disclaimer in the documentation and/or other materials provided
951
+ with the distribution.
952
+ * Neither the name of Google Inc. nor the names of its
953
+ contributors may be used to endorse or promote products derived
954
+ from this software without specific prior written permission.
955
+
956
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
957
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
958
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
959
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
960
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
961
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
962
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
963
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
964
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
965
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
966
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
967
+
968
+
969
+ --------------------------------------------------------------------------------
970
+
971
+ lints license:
972
+
973
+ Copyright 2021, the Dart project authors.
974
+
975
+ Redistribution and use in source and binary forms, with or without
976
+ modification, are permitted provided that the following conditions are
977
+ met:
978
+
979
+ * Redistributions of source code must retain the above copyright
980
+ notice, this list of conditions and the following disclaimer.
981
+ * Redistributions in binary form must reproduce the above
982
+ copyright notice, this list of conditions and the following
983
+ disclaimer in the documentation and/or other materials provided
984
+ with the distribution.
985
+ * Neither the name of Google LLC nor the names of its
986
+ contributors may be used to endorse or promote products derived
987
+ from this software without specific prior written permission.
988
+
989
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
990
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
991
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
992
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
993
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
994
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
995
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
996
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
997
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
998
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
999
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1000
+
1001
+
1002
+ --------------------------------------------------------------------------------
1003
+
1004
+ markdown license:
1005
+
1006
+ Copyright 2012, the Dart project authors.
1007
+
1008
+ Redistribution and use in source and binary forms, with or without
1009
+ modification, are permitted provided that the following conditions are
1010
+ met:
1011
+
1012
+ * Redistributions of source code must retain the above copyright
1013
+ notice, this list of conditions and the following disclaimer.
1014
+ * Redistributions in binary form must reproduce the above
1015
+ copyright notice, this list of conditions and the following
1016
+ disclaimer in the documentation and/or other materials provided
1017
+ with the distribution.
1018
+ * Neither the name of Google LLC nor the names of its
1019
+ contributors may be used to endorse or promote products derived
1020
+ from this software without specific prior written permission.
1021
+
1022
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1023
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1024
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1025
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1026
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1027
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1028
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1029
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1030
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1031
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1032
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1033
+
1034
+
1035
+ --------------------------------------------------------------------------------
1036
+
1037
+ native_stack_traces license:
1038
+
1039
+ Copyright 2020, the Dart project authors.
1040
+
1041
+ Redistribution and use in source and binary forms, with or without
1042
+ modification, are permitted provided that the following conditions are
1043
+ met:
1044
+
1045
+ * Redistributions of source code must retain the above copyright
1046
+ notice, this list of conditions and the following disclaimer.
1047
+ * Redistributions in binary form must reproduce the above
1048
+ copyright notice, this list of conditions and the following
1049
+ disclaimer in the documentation and/or other materials provided
1050
+ with the distribution.
1051
+ * Neither the name of Google LLC nor the names of its
1052
+ contributors may be used to endorse or promote products derived
1053
+ from this software without specific prior written permission.
1054
+
1055
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1056
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1057
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1058
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1059
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1060
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1061
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1062
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1063
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1064
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1065
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1066
+
1067
+
1068
+ --------------------------------------------------------------------------------
1069
+
1070
+ native_synchronization license:
1071
+
1072
+ Copyright 2023, the Dart project authors.
1073
+
1074
+ Redistribution and use in source and binary forms, with or without
1075
+ modification, are permitted provided that the following conditions are
1076
+ met:
1077
+
1078
+ * Redistributions of source code must retain the above copyright
1079
+ notice, this list of conditions and the following disclaimer.
1080
+ * Redistributions in binary form must reproduce the above
1081
+ copyright notice, this list of conditions and the following
1082
+ disclaimer in the documentation and/or other materials provided
1083
+ with the distribution.
1084
+ * Neither the name of Google LLC nor the names of its
1085
+ contributors may be used to endorse or promote products derived
1086
+ from this software without specific prior written permission.
1087
+
1088
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1089
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1090
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1091
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1092
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1093
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1094
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1095
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1096
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1097
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1098
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1099
+
1100
+
1101
+ --------------------------------------------------------------------------------
1102
+
1103
+ node_interop license:
1104
+
1105
+ Copyright (c) 2017, Anatoly Pulyaevskiy.
1106
+ All rights reserved.
1107
+
1108
+ Redistribution and use in source and binary forms, with or without
1109
+ modification, are permitted provided that the following conditions are met:
1110
+ * Redistributions of source code must retain the above copyright
1111
+ notice, this list of conditions and the following disclaimer.
1112
+ * Redistributions in binary form must reproduce the above copyright
1113
+ notice, this list of conditions and the following disclaimer in the
1114
+ documentation and/or other materials provided with the distribution.
1115
+ * Neither the name of the <organization> nor the
1116
+ names of its contributors may be used to endorse or promote products
1117
+ derived from this software without specific prior written permission.
1118
+
1119
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1120
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1121
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1122
+ DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
1123
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1124
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1125
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1126
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1127
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1128
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1129
+
1130
+
1131
+ --------------------------------------------------------------------------------
1132
+
1133
+ node_preamble license:
1134
+
1135
+ The MIT License (MIT)
1136
+
1137
+ Copyright (c) 2015 Michael Bullington
1138
+
1139
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1140
+ of this software and associated documentation files (the "Software"), to deal
1141
+ in the Software without restriction, including without limitation the rights
1142
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1143
+ copies of the Software, and to permit persons to whom the Software is
1144
+ furnished to do so, subject to the following conditions:
1145
+
1146
+ The above copyright notice and this permission notice shall be included in all
1147
+ copies or substantial portions of the Software.
1148
+
1149
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1150
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1151
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1152
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1153
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1154
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1155
+ SOFTWARE.
1156
+
1157
+ ===
1158
+
1159
+ Copyright 2012, the Dart project authors. All rights reserved.
1160
+ Redistribution and use in source and binary forms, with or without
1161
+ modification, are permitted provided that the following conditions are
1162
+ met:
1163
+ * Redistributions of source code must retain the above copyright
1164
+ notice, this list of conditions and the following disclaimer.
1165
+ * Redistributions in binary form must reproduce the above
1166
+ copyright notice, this list of conditions and the following
1167
+ disclaimer in the documentation and/or other materials provided
1168
+ with the distribution.
1169
+ * Neither the name of Google Inc. nor the names of its
1170
+ contributors may be used to endorse or promote products derived
1171
+ from this software without specific prior written permission.
1172
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1173
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1174
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1175
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1176
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1177
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1178
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1179
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1180
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1181
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1182
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1183
+
1184
+
1185
+ --------------------------------------------------------------------------------
1186
+
1187
+ petitparser and xml license:
1188
+
1189
+ The MIT License
1190
+
1191
+ Copyright (c) 2006-2023 Lukas Renggli.
1192
+ All rights reserved.
1193
+
1194
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1195
+ of this software and associated documentation files (the "Software"), to deal
1196
+ in the Software without restriction, including without limitation the rights
1197
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1198
+ copies of the Software, and to permit persons to whom the Software is
1199
+ furnished to do so, subject to the following conditions:
1200
+
1201
+ The above copyright notice and this permission notice shall be included in
1202
+ all copies or substantial portions of the Software.
1203
+
1204
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1205
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1206
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1207
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1208
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1209
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1210
+ THE SOFTWARE.
1211
+
1212
+
1213
+ --------------------------------------------------------------------------------
1214
+
1215
+ pub_api_client license:
1216
+
1217
+ MIT License
1218
+
1219
+ Copyright (c) 2020 Leo Farias
1220
+
1221
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1222
+ of this software and associated documentation files (the "Software"), to deal
1223
+ in the Software without restriction, including without limitation the rights
1224
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1225
+ copies of the Software, and to permit persons to whom the Software is
1226
+ furnished to do so, subject to the following conditions:
1227
+
1228
+ The above copyright notice and this permission notice shall be included in all
1229
+ copies or substantial portions of the Software.
1230
+
1231
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1232
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1233
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1234
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1235
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1236
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1237
+ SOFTWARE.
1238
+
1239
+
1240
+ --------------------------------------------------------------------------------
1241
+
1242
+ pubspec license:
1243
+
1244
+ Copyright (c) 2015, Anders Holmgren.
1245
+ All rights reserved.
1246
+
1247
+ Redistribution and use in source and binary forms, with or without
1248
+ modification, are permitted provided that the following conditions are met:
1249
+ * Redistributions of source code must retain the above copyright
1250
+ notice, this list of conditions and the following disclaimer.
1251
+ * Redistributions in binary form must reproduce the above copyright
1252
+ notice, this list of conditions and the following disclaimer in the
1253
+ documentation and/or other materials provided with the distribution.
1254
+ * Neither the name of the <organization> nor the
1255
+ names of its contributors may be used to endorse or promote products
1256
+ derived from this software without specific prior written permission.
1257
+
1258
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1259
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1260
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1261
+ DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
1262
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1263
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1264
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1265
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1266
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1267
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1268
+
1269
+
1270
+ --------------------------------------------------------------------------------
1271
+
1272
+ pubspec_parse license:
1273
+
1274
+ Copyright 2018, the Dart project authors.
1275
+
1276
+ Redistribution and use in source and binary forms, with or without
1277
+ modification, are permitted provided that the following conditions are
1278
+ met:
1279
+
1280
+ * Redistributions of source code must retain the above copyright
1281
+ notice, this list of conditions and the following disclaimer.
1282
+ * Redistributions in binary form must reproduce the above
1283
+ copyright notice, this list of conditions and the following
1284
+ disclaimer in the documentation and/or other materials provided
1285
+ with the distribution.
1286
+ * Neither the name of Google LLC nor the names of its
1287
+ contributors may be used to endorse or promote products derived
1288
+ from this software without specific prior written permission.
1289
+
1290
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1291
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1292
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1293
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1294
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1295
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1296
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1297
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1298
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1299
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1300
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1301
+
1302
+
1303
+ --------------------------------------------------------------------------------
1304
+
1305
+ quiver and retry license:
1306
+
1307
+
1308
+ Apache License
1309
+ Version 2.0, January 2004
1310
+ http://www.apache.org/licenses/
1311
+
1312
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1313
+
1314
+ 1. Definitions.
1315
+
1316
+ "License" shall mean the terms and conditions for use, reproduction,
1317
+ and distribution as defined by Sections 1 through 9 of this document.
1318
+
1319
+ "Licensor" shall mean the copyright owner or entity authorized by
1320
+ the copyright owner that is granting the License.
1321
+
1322
+ "Legal Entity" shall mean the union of the acting entity and all
1323
+ other entities that control, are controlled by, or are under common
1324
+ control with that entity. For the purposes of this definition,
1325
+ "control" means (i) the power, direct or indirect, to cause the
1326
+ direction or management of such entity, whether by contract or
1327
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1328
+ outstanding shares, or (iii) beneficial ownership of such entity.
1329
+
1330
+ "You" (or "Your") shall mean an individual or Legal Entity
1331
+ exercising permissions granted by this License.
1332
+
1333
+ "Source" form shall mean the preferred form for making modifications,
1334
+ including but not limited to software source code, documentation
1335
+ source, and configuration files.
1336
+
1337
+ "Object" form shall mean any form resulting from mechanical
1338
+ transformation or translation of a Source form, including but
1339
+ not limited to compiled object code, generated documentation,
1340
+ and conversions to other media types.
1341
+
1342
+ "Work" shall mean the work of authorship, whether in Source or
1343
+ Object form, made available under the License, as indicated by a
1344
+ copyright notice that is included in or attached to the work
1345
+ (an example is provided in the Appendix below).
1346
+
1347
+ "Derivative Works" shall mean any work, whether in Source or Object
1348
+ form, that is based on (or derived from) the Work and for which the
1349
+ editorial revisions, annotations, elaborations, or other modifications
1350
+ represent, as a whole, an original work of authorship. For the purposes
1351
+ of this License, Derivative Works shall not include works that remain
1352
+ separable from, or merely link (or bind by name) to the interfaces of,
1353
+ the Work and Derivative Works thereof.
1354
+
1355
+ "Contribution" shall mean any work of authorship, including
1356
+ the original version of the Work and any modifications or additions
1357
+ to that Work or Derivative Works thereof, that is intentionally
1358
+ submitted to Licensor for inclusion in the Work by the copyright owner
1359
+ or by an individual or Legal Entity authorized to submit on behalf of
1360
+ the copyright owner. For the purposes of this definition, "submitted"
1361
+ means any form of electronic, verbal, or written communication sent
1362
+ to the Licensor or its representatives, including but not limited to
1363
+ communication on electronic mailing lists, source code control systems,
1364
+ and issue tracking systems that are managed by, or on behalf of, the
1365
+ Licensor for the purpose of discussing and improving the Work, but
1366
+ excluding communication that is conspicuously marked or otherwise
1367
+ designated in writing by the copyright owner as "Not a Contribution."
1368
+
1369
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1370
+ on behalf of whom a Contribution has been received by Licensor and
1371
+ subsequently incorporated within the Work.
1372
+
1373
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1374
+ this License, each Contributor hereby grants to You a perpetual,
1375
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1376
+ copyright license to reproduce, prepare Derivative Works of,
1377
+ publicly display, publicly perform, sublicense, and distribute the
1378
+ Work and such Derivative Works in Source or Object form.
1379
+
1380
+ 3. Grant of Patent License. Subject to the terms and conditions of
1381
+ this License, each Contributor hereby grants to You a perpetual,
1382
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1383
+ (except as stated in this section) patent license to make, have made,
1384
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1385
+ where such license applies only to those patent claims licensable
1386
+ by such Contributor that are necessarily infringed by their
1387
+ Contribution(s) alone or by combination of their Contribution(s)
1388
+ with the Work to which such Contribution(s) was submitted. If You
1389
+ institute patent litigation against any entity (including a
1390
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1391
+ or a Contribution incorporated within the Work constitutes direct
1392
+ or contributory patent infringement, then any patent licenses
1393
+ granted to You under this License for that Work shall terminate
1394
+ as of the date such litigation is filed.
1395
+
1396
+ 4. Redistribution. You may reproduce and distribute copies of the
1397
+ Work or Derivative Works thereof in any medium, with or without
1398
+ modifications, and in Source or Object form, provided that You
1399
+ meet the following conditions:
1400
+
1401
+ (a) You must give any other recipients of the Work or
1402
+ Derivative Works a copy of this License; and
1403
+
1404
+ (b) You must cause any modified files to carry prominent notices
1405
+ stating that You changed the files; and
1406
+
1407
+ (c) You must retain, in the Source form of any Derivative Works
1408
+ that You distribute, all copyright, patent, trademark, and
1409
+ attribution notices from the Source form of the Work,
1410
+ excluding those notices that do not pertain to any part of
1411
+ the Derivative Works; and
1412
+
1413
+ (d) If the Work includes a "NOTICE" text file as part of its
1414
+ distribution, then any Derivative Works that You distribute must
1415
+ include a readable copy of the attribution notices contained
1416
+ within such NOTICE file, excluding those notices that do not
1417
+ pertain to any part of the Derivative Works, in at least one
1418
+ of the following places: within a NOTICE text file distributed
1419
+ as part of the Derivative Works; within the Source form or
1420
+ documentation, if provided along with the Derivative Works; or,
1421
+ within a display generated by the Derivative Works, if and
1422
+ wherever such third-party notices normally appear. The contents
1423
+ of the NOTICE file are for informational purposes only and
1424
+ do not modify the License. You may add Your own attribution
1425
+ notices within Derivative Works that You distribute, alongside
1426
+ or as an addendum to the NOTICE text from the Work, provided
1427
+ that such additional attribution notices cannot be construed
1428
+ as modifying the License.
1429
+
1430
+ You may add Your own copyright statement to Your modifications and
1431
+ may provide additional or different license terms and conditions
1432
+ for use, reproduction, or distribution of Your modifications, or
1433
+ for any such Derivative Works as a whole, provided Your use,
1434
+ reproduction, and distribution of the Work otherwise complies with
1435
+ the conditions stated in this License.
1436
+
1437
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1438
+ any Contribution intentionally submitted for inclusion in the Work
1439
+ by You to the Licensor shall be under the terms and conditions of
1440
+ this License, without any additional terms or conditions.
1441
+ Notwithstanding the above, nothing herein shall supersede or modify
1442
+ the terms of any separate license agreement you may have executed
1443
+ with Licensor regarding such Contributions.
1444
+
1445
+ 6. Trademarks. This License does not grant permission to use the trade
1446
+ names, trademarks, service marks, or product names of the Licensor,
1447
+ except as required for reasonable and customary use in describing the
1448
+ origin of the Work and reproducing the content of the NOTICE file.
1449
+
1450
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1451
+ agreed to in writing, Licensor provides the Work (and each
1452
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1453
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1454
+ implied, including, without limitation, any warranties or conditions
1455
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1456
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1457
+ appropriateness of using or redistributing the Work and assume any
1458
+ risks associated with Your exercise of permissions under this License.
1459
+
1460
+ 8. Limitation of Liability. In no event and under no legal theory,
1461
+ whether in tort (including negligence), contract, or otherwise,
1462
+ unless required by applicable law (such as deliberate and grossly
1463
+ negligent acts) or agreed to in writing, shall any Contributor be
1464
+ liable to You for damages, including any direct, indirect, special,
1465
+ incidental, or consequential damages of any character arising as a
1466
+ result of this License or out of the use or inability to use the
1467
+ Work (including but not limited to damages for loss of goodwill,
1468
+ work stoppage, computer failure or malfunction, or any and all
1469
+ other commercial damages or losses), even if such Contributor
1470
+ has been advised of the possibility of such damages.
1471
+
1472
+ 9. Accepting Warranty or Additional Liability. While redistributing
1473
+ the Work or Derivative Works thereof, You may choose to offer,
1474
+ and charge a fee for, acceptance of support, warranty, indemnity,
1475
+ or other liability obligations and/or rights consistent with this
1476
+ License. However, in accepting such obligations, You may act only
1477
+ on Your own behalf and on Your sole responsibility, not on behalf
1478
+ of any other Contributor, and only if You agree to indemnify,
1479
+ defend, and hold each Contributor harmless for any liability
1480
+ incurred by, or claims asserted against, such Contributor by reason
1481
+ of your accepting any such warranty or additional liability.
1482
+
1483
+ END OF TERMS AND CONDITIONS
1484
+
1485
+ APPENDIX: How to apply the Apache License to your work.
1486
+
1487
+ To apply the Apache License to your work, attach the following
1488
+ boilerplate notice, with the fields enclosed by brackets "[]"
1489
+ replaced with your own identifying information. (Don't include
1490
+ the brackets!) The text should be enclosed in the appropriate
1491
+ comment syntax for the file format. We also recommend that a
1492
+ file or class name and description of purpose be included on the
1493
+ same "printed page" as the copyright notice for easier
1494
+ identification within third-party archives.
1495
+
1496
+ Copyright [yyyy] [name of copyright owner]
1497
+
1498
+ Licensed under the Apache License, Version 2.0 (the "License");
1499
+ you may not use this file except in compliance with the License.
1500
+ You may obtain a copy of the License at
1501
+
1502
+ http://www.apache.org/licenses/LICENSE-2.0
1503
+
1504
+ Unless required by applicable law or agreed to in writing, software
1505
+ distributed under the License is distributed on an "AS IS" BASIS,
1506
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1507
+ See the License for the specific language governing permissions and
1508
+ limitations under the License.
1509
+
1510
+ --------------------------------------------------------------------------------
1511
+
1512
+ test_api and test_core license:
1513
+
1514
+ Copyright 2018, the Dart project authors.
1515
+
1516
+ Redistribution and use in source and binary forms, with or without
1517
+ modification, are permitted provided that the following conditions are
1518
+ met:
1519
+
1520
+ * Redistributions of source code must retain the above copyright
1521
+ notice, this list of conditions and the following disclaimer.
1522
+ * Redistributions in binary form must reproduce the above
1523
+ copyright notice, this list of conditions and the following
1524
+ disclaimer in the documentation and/or other materials provided
1525
+ with the distribution.
1526
+ * Neither the name of Google LLC nor the names of its
1527
+ contributors may be used to endorse or promote products derived
1528
+ from this software without specific prior written permission.
1529
+
1530
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1531
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1532
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1533
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1534
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1535
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1536
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1537
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1538
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1539
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1540
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1541
+
1542
+
1543
+ --------------------------------------------------------------------------------
1544
+
1545
+ test_descriptor and web_socket_channel license:
1546
+
1547
+ Copyright 2016, the Dart project authors.
1548
+
1549
+ Redistribution and use in source and binary forms, with or without
1550
+ modification, are permitted provided that the following conditions are
1551
+ met:
1552
+
1553
+ * Redistributions of source code must retain the above copyright
1554
+ notice, this list of conditions and the following disclaimer.
1555
+ * Redistributions in binary form must reproduce the above
1556
+ copyright notice, this list of conditions and the following
1557
+ disclaimer in the documentation and/or other materials provided
1558
+ with the distribution.
1559
+ * Neither the name of Google LLC nor the names of its
1560
+ contributors may be used to endorse or promote products derived
1561
+ from this software without specific prior written permission.
1562
+
1563
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1564
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1565
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1566
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1567
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1568
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1569
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1570
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1571
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1572
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1573
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1574
+
1575
+
1576
+ --------------------------------------------------------------------------------
1577
+
1578
+ test_process license:
1579
+
1580
+ Copyright 2017, the Dart project authors.
1581
+
1582
+ Redistribution and use in source and binary forms, with or without
1583
+ modification, are permitted provided that the following conditions are
1584
+ met:
1585
+
1586
+ * Redistributions of source code must retain the above copyright
1587
+ notice, this list of conditions and the following disclaimer.
1588
+ * Redistributions in binary form must reproduce the above
1589
+ copyright notice, this list of conditions and the following
1590
+ disclaimer in the documentation and/or other materials provided
1591
+ with the distribution.
1592
+ * Neither the name of Google LLC nor the names of its
1593
+ contributors may be used to endorse or promote products derived
1594
+ from this software without specific prior written permission.
1595
+
1596
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1597
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1598
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1599
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1600
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1601
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1602
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1603
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1604
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1605
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1606
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1607
+
1608
+
1609
+ --------------------------------------------------------------------------------
1610
+
1611
+ uri license:
1612
+
1613
+ Copyright 2013, the Dart project authors. All rights reserved.
1614
+ Redistribution and use in source and binary forms, with or without
1615
+ modification, are permitted provided that the following conditions are
1616
+ met:
1617
+ * Redistributions of source code must retain the above copyright
1618
+ notice, this list of conditions and the following disclaimer.
1619
+ * Redistributions in binary form must reproduce the above
1620
+ copyright notice, this list of conditions and the following
1621
+ disclaimer in the documentation and/or other materials provided
1622
+ with the distribution.
1623
+ * Neither the name of Google Inc. nor the names of its
1624
+ contributors may be used to endorse or promote products derived
1625
+ from this software without specific prior written permission.
1626
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1627
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1628
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1629
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1630
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1631
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1632
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1633
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1634
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1635
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1636
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1637
+
1638
+
1639
+ --------------------------------------------------------------------------------
1640
+
1641
+ web license:
1642
+
1643
+ Copyright 2023, the Dart project authors.
1644
+
1645
+ Redistribution and use in source and binary forms, with or without
1646
+ modification, are permitted provided that the following conditions are
1647
+ met:
1648
+ * Redistributions of source code must retain the above copyright
1649
+ notice, this list of conditions and the following disclaimer.
1650
+ * Redistributions in binary form must reproduce the above
1651
+ copyright notice, this list of conditions and the following
1652
+ disclaimer in the documentation and/or other materials provided
1653
+ with the distribution.
1654
+ * Neither the name of Google LLC nor the names of its
1655
+ contributors may be used to endorse or promote products derived
1656
+ from this software without specific prior written permission.
1657
+
1658
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1659
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1660
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1661
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1662
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1663
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1664
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1665
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1666
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1667
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1668
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1669
+
1670
+
1671
+ --------------------------------------------------------------------------------
1672
+
1673
+ web_socket license:
1674
+
1675
+ Copyright 2024, the Dart project authors.
1676
+
1677
+ Redistribution and use in source and binary forms, with or without
1678
+ modification, are permitted provided that the following conditions are
1679
+ met:
1680
+
1681
+ * Redistributions of source code must retain the above copyright
1682
+ notice, this list of conditions and the following disclaimer.
1683
+ * Redistributions in binary form must reproduce the above
1684
+ copyright notice, this list of conditions and the following
1685
+ disclaimer in the documentation and/or other materials provided
1686
+ with the distribution.
1687
+ * Neither the name of Google LLC nor the names of its
1688
+ contributors may be used to endorse or promote products derived
1689
+ from this software without specific prior written permission.
1690
+
1691
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1692
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1693
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1694
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1695
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1696
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1697
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1698
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1699
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1700
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1701
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1702
+
1703
+
1704
+ --------------------------------------------------------------------------------
1705
+
1706
+ yaml license:
1707
+
1708
+ Copyright (c) 2014, the Dart project authors.
1709
+ Copyright (c) 2006, Kirill Simonov.
1710
+
1711
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
1712
+ this software and associated documentation files (the "Software"), to deal in
1713
+ the Software without restriction, including without limitation the rights to
1714
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
1715
+ of the Software, and to permit persons to whom the Software is furnished to do
1716
+ so, subject to the following conditions:
1717
+
1718
+ The above copyright notice and this permission notice shall be included in all
1719
+ copies or substantial portions of the Software.
1720
+
1721
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1722
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1723
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1724
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1725
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1726
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1727
+ SOFTWARE.
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/README.md CHANGED
@@ -1,3 +1,173 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8b41e2046af0685bba913cf7d9cf925c7672b1b456b17a21906142381c4d2c94
3
- size 7403
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ A pure JavaScript implementation of [Sass][sass]. **Sass makes CSS fun again**.
2
+
3
+ <table>
4
+ <tr>
5
+ <td>
6
+ <img width="118px" alt="Sass logo" src="https://rawgit.com/sass/sass-site/master/source/assets/img/logos/logo.svg" />
7
+ </td>
8
+ <td valign="middle">
9
+ <a href="https://www.npmjs.com/package/sass"><img width="100%" alt="npm statistics" src="https://nodei.co/npm/sass.png?downloads=true"></a>
10
+ </td>
11
+ <td valign="middle">
12
+ <a href="https://github.com/sass/dart-sass/actions"><img alt="GitHub actions build status" src="https://github.com/sass/dart-sass/workflows/CI/badge.svg"></a>
13
+ <br>
14
+ <a href="https://ci.appveyor.com/project/nex3/dart-sass"><img alt="Appveyor build status" src="https://ci.appveyor.com/api/projects/status/84rl9hvu8uoecgef?svg=true"></a>
15
+ </td>
16
+ </tr>
17
+ </table>
18
+
19
+ [sass]: https://sass-lang.com/
20
+
21
+ This package is a distribution of [Dart Sass][], compiled to pure JavaScript
22
+ with no native code or external dependencies. It provides a command-line `sass`
23
+ executable and a Node.js API.
24
+
25
+ [Dart Sass]: https://github.com/sass/dart-sass
26
+
27
+ * [Usage](#usage)
28
+ * [See Also](#see-also)
29
+ * [Behavioral Differences from Ruby Sass](#behavioral-differences-from-ruby-sass)
30
+
31
+ ## Usage
32
+
33
+ You can install Sass globally using `npm install -g sass` which will provide
34
+ access to the `sass` executable. You can also add it to your project using
35
+ `npm install --save-dev sass`. This provides the executable as well as a
36
+ library:
37
+
38
+ [npm]: https://www.npmjs.com/package/sass
39
+
40
+ ```js
41
+ const sass = require('sass');
42
+
43
+ const result = sass.compile(scssFilename);
44
+
45
+ // OR
46
+
47
+ // Note that `compileAsync()` is substantially slower than `compile()`.
48
+ const result = await sass.compileAsync(scssFilename);
49
+ ```
50
+
51
+ See [the Sass website][js api] for full API documentation.
52
+
53
+ [js api]: https://sass-lang.com/documentation/js-api
54
+
55
+ ### Legacy API
56
+
57
+ Dart Sass also supports an older JavaScript API that's fully compatible with
58
+ [Node Sass] (with a few exceptions listed below), with support for both the
59
+ [`render()`] and [`renderSync()`] functions. This API is considered deprecated
60
+ and will be removed in Dart Sass 2.0.0, so it should be avoided in new projects.
61
+
62
+ [Node Sass]: https://github.com/sass/node-sass
63
+ [`render()`]: https://sass-lang.com/documentation/js-api/functions/render
64
+ [`renderSync()`]: https://sass-lang.com/documentation/js-api/functions/renderSync
65
+
66
+ Sass's support for the legacy JavaScript API has the following limitations:
67
+
68
+ * Only the `"expanded"` and `"compressed"` values of [`outputStyle`] are
69
+ supported.
70
+
71
+ * Dart Sass doesn't support the [`precision`] option. Dart Sass defaults to a
72
+ sufficiently high precision for all existing browsers, and making this
73
+ customizable would make the code substantially less efficient.
74
+
75
+ * Dart Sass doesn't support the [`sourceComments`] option. Source maps are the
76
+ recommended way of locating the origin of generated selectors.
77
+
78
+ [`outputStyle`]: https://sass-lang.com/documentation/js-api/interfaces/LegacySharedOptions#outputStyle
79
+ [`precision`]: https://github.com/sass/node-sass#precision
80
+ [`sourceComments`]: https://github.com/sass/node-sass#sourcecomments
81
+
82
+ ## See Also
83
+
84
+ * [Dart Sass][], from which this package is compiled, can be used either as a
85
+ stand-alone executable or as a Dart library. Running Dart Sass on the Dart VM
86
+ is substantially faster than running the pure JavaScript version, so this may
87
+ be appropriate for performance-sensitive applications. The Dart API is also
88
+ (currently) more user-friendly than the JavaScript API. See
89
+ [the Dart Sass README][Using Dart Sass] for details on how to use it.
90
+
91
+ * [Node Sass][], which is a wrapper around [LibSass][], the C++ implementation
92
+ of Sass. Node Sass supports the same API as this package and is also faster
93
+ (although it's usually a little slower than Dart Sass). However, it requires a
94
+ native library which may be difficult to install, and it's generally slower to
95
+ add features and fix bugs.
96
+
97
+ [Using Dart Sass]: https://github.com/sass/dart-sass#using-dart-sass
98
+ [Node Sass]: https://www.npmjs.com/package/node-sass
99
+ [LibSass]: https://sass-lang.com/libsass
100
+
101
+ ## Behavioral Differences from Ruby Sass
102
+
103
+ There are a few intentional behavioral differences between Dart Sass and Ruby
104
+ Sass. These are generally places where Ruby Sass has an undesired behavior, and
105
+ it's substantially easier to implement the correct behavior than it would be to
106
+ implement compatible behavior. These should all have tracking bugs against Ruby
107
+ Sass to update the reference behavior.
108
+
109
+ 1. `@extend` only accepts simple selectors, as does the second argument of
110
+ `selector-extend()`. See [issue 1599][].
111
+
112
+ 2. Subject selectors are not supported. See [issue 1126][].
113
+
114
+ 3. Pseudo selector arguments are parsed as `<declaration-value>`s rather than
115
+ having a more limited custom parsing. See [issue 2120][].
116
+
117
+ 4. The numeric precision is set to 10. See [issue 1122][].
118
+
119
+ 5. The indented syntax parser is more flexible: it doesn't require consistent
120
+ indentation across the whole document. See [issue 2176][].
121
+
122
+ 6. Colors do not support channel-by-channel arithmetic. See [issue 2144][].
123
+
124
+ 7. Unitless numbers aren't `==` to unit numbers with the same value. In
125
+ addition, map keys follow the same logic as `==`-equality. See
126
+ [issue 1496][].
127
+
128
+ 8. `rgba()` and `hsla()` alpha values with percentage units are interpreted as
129
+ percentages. Other units are forbidden. See [issue 1525][].
130
+
131
+ 9. Too many variable arguments passed to a function is an error. See
132
+ [issue 1408][].
133
+
134
+ 10. Allow `@extend` to reach outside a media query if there's an identical
135
+ `@extend` defined outside that query. This isn't tracked explicitly, because
136
+ it'll be irrelevant when [issue 1050][] is fixed.
137
+
138
+ 11. Some selector pseudos containing placeholder selectors will be compiled
139
+ where they wouldn't be in Ruby Sass. This better matches the semantics of
140
+ the selectors in question, and is more efficient. See [issue 2228][].
141
+
142
+ 12. The old-style `:property value` syntax is not supported in the indented
143
+ syntax. See [issue 2245][].
144
+
145
+ 13. The reference combinator is not supported. See [issue 303][].
146
+
147
+ 14. Universal selector unification is symmetrical. See [issue 2247][].
148
+
149
+ 15. `@extend` doesn't produce an error if it matches but fails to unify. See
150
+ [issue 2250][].
151
+
152
+ 16. Dart Sass currently only supports UTF-8 documents. We'd like to support
153
+ more, but Dart currently doesn't support them. See [dart-lang/sdk#11744][],
154
+ for example.
155
+
156
+ [issue 1599]: https://github.com/sass/sass/issues/1599
157
+ [issue 1126]: https://github.com/sass/sass/issues/1126
158
+ [issue 2120]: https://github.com/sass/sass/issues/2120
159
+ [issue 1122]: https://github.com/sass/sass/issues/1122
160
+ [issue 2176]: https://github.com/sass/sass/issues/2176
161
+ [issue 2144]: https://github.com/sass/sass/issues/2144
162
+ [issue 1496]: https://github.com/sass/sass/issues/1496
163
+ [issue 1525]: https://github.com/sass/sass/issues/1525
164
+ [issue 1408]: https://github.com/sass/sass/issues/1408
165
+ [issue 1050]: https://github.com/sass/sass/issues/1050
166
+ [issue 2228]: https://github.com/sass/sass/issues/2228
167
+ [issue 2245]: https://github.com/sass/sass/issues/2245
168
+ [issue 303]: https://github.com/sass/sass/issues/303
169
+ [issue 2247]: https://github.com/sass/sass/issues/2247
170
+ [issue 2250]: https://github.com/sass/sass/issues/2250
171
+ [dart-lang/sdk#11744]: https://github.com/dart-lang/sdk/issues/11744
172
+
173
+ Disclaimer: this is not an official Google product.
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/package.json CHANGED
@@ -1,3 +1 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ecaab6f6f3779bca532667720c58b04521b4e0f4348b37cc031213a77c0c46a9
3
- size 810
 
1
+ {"name":"sass","description":"A pure JavaScript implementation of Sass.","license":"MIT","bugs":"https://github.com/sass/dart-sass/issues","homepage":"https://github.com/sass/dart-sass","repository":{"type":"git","url":"https://github.com/sass/dart-sass"},"author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"engines":{"node":">=14.0.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","exports":{"types":"./types/index.d.ts","node":{"require":"./sass.node.js","default":"./sass.node.mjs"},"default":{"require":"./sass.default.cjs","default":"./sass.default.js"}},"version":"1.77.2","bin":{"sass":"sass.js"},"main":"sass.node.js"}
 
 
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.dart.js CHANGED
The diff for this file is too large to render. See raw diff
 
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.default.cjs CHANGED
@@ -1,3 +1,8 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:47d9d02394759df7e66dff7cffecc23d74a673837939d8ae190d23744c258f53
3
- size 235
 
 
 
 
 
 
1
+ require('./sass.dart.js');
2
+ const library = globalThis._cliPkgExports.pop();
3
+ if (globalThis._cliPkgExports.length === 0) delete globalThis._cliPkgExports;
4
+ library.load({
5
+ immutable: require("immutable"),
6
+ });
7
+
8
+ module.exports = library;
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.default.js CHANGED
@@ -1,3 +1,47 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:45bc8546c827111247f5135d40f14ef578b43559198ef5e760c97c3b3740e021
3
- size 2380
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as immutable from "immutable"
2
+ import "./sass.dart.js";
3
+
4
+ const _cliPkgLibrary = globalThis._cliPkgExports.pop();
5
+ if (globalThis._cliPkgExports.length === 0) delete globalThis._cliPkgExports;
6
+ const _cliPkgExports = {};
7
+ _cliPkgLibrary.load({immutable}, _cliPkgExports);
8
+
9
+ export const compile = _cliPkgExports.compile;
10
+ export const compileAsync = _cliPkgExports.compileAsync;
11
+ export const compileString = _cliPkgExports.compileString;
12
+ export const compileStringAsync = _cliPkgExports.compileStringAsync;
13
+ export const initCompiler = _cliPkgExports.initCompiler;
14
+ export const initAsyncCompiler = _cliPkgExports.initAsyncCompiler;
15
+ export const Compiler = _cliPkgExports.Compiler;
16
+ export const AsyncCompiler = _cliPkgExports.AsyncCompiler;
17
+ export const Logger = _cliPkgExports.Logger;
18
+ export const SassArgumentList = _cliPkgExports.SassArgumentList;
19
+ export const SassBoolean = _cliPkgExports.SassBoolean;
20
+ export const SassCalculation = _cliPkgExports.SassCalculation;
21
+ export const CalculationOperation = _cliPkgExports.CalculationOperation;
22
+ export const CalculationInterpolation = _cliPkgExports.CalculationInterpolation;
23
+ export const SassColor = _cliPkgExports.SassColor;
24
+ export const SassFunction = _cliPkgExports.SassFunction;
25
+ export const SassList = _cliPkgExports.SassList;
26
+ export const SassMap = _cliPkgExports.SassMap;
27
+ export const SassMixin = _cliPkgExports.SassMixin;
28
+ export const SassNumber = _cliPkgExports.SassNumber;
29
+ export const SassString = _cliPkgExports.SassString;
30
+ export const Value = _cliPkgExports.Value;
31
+ export const CustomFunction = _cliPkgExports.CustomFunction;
32
+ export const ListSeparator = _cliPkgExports.ListSeparator;
33
+ export const sassFalse = _cliPkgExports.sassFalse;
34
+ export const sassNull = _cliPkgExports.sassNull;
35
+ export const sassTrue = _cliPkgExports.sassTrue;
36
+ export const Exception = _cliPkgExports.Exception;
37
+ export const PromiseOr = _cliPkgExports.PromiseOr;
38
+ export const info = _cliPkgExports.info;
39
+ export const render = _cliPkgExports.render;
40
+ export const renderSync = _cliPkgExports.renderSync;
41
+ export const TRUE = _cliPkgExports.TRUE;
42
+ export const FALSE = _cliPkgExports.FALSE;
43
+ export const NULL = _cliPkgExports.NULL;
44
+ export const types = _cliPkgExports.types;
45
+ export const NodePackageImporter = _cliPkgExports.NodePackageImporter;
46
+ export const deprecations = _cliPkgExports.deprecations;
47
+ export const Version = _cliPkgExports.Version;
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.js CHANGED
@@ -1,3 +1,17 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6755abaa0ab44c7f11427297a1aeb83da1f982a664776f457c5956fda3a6e4fd
3
- size 451
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env node
2
+
3
+ require('./sass.dart.js');
4
+ var library = globalThis._cliPkgExports.pop();
5
+ if (globalThis._cliPkgExports.length === 0) delete globalThis._cliPkgExports;
6
+
7
+ library.load({
8
+ readline: require("readline"),
9
+ chokidar: require("chokidar"),
10
+ util: require("util"),
11
+ stream: require("stream"),
12
+ nodeModule: require("module"),
13
+ fs: require("fs"),
14
+ immutable: require("immutable"),
15
+ });
16
+
17
+ library.cli_pkg_main_0_(process.argv.slice(2));
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.node.js CHANGED
@@ -1,3 +1,12 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:eb7a01ba57a04a0a421bdef0bf2f43558af4790b540a45501ec83900b07b0625
3
- size 343
 
 
 
 
 
 
 
 
 
 
1
+ require('./sass.dart.js');
2
+ const library = globalThis._cliPkgExports.pop();
3
+ if (globalThis._cliPkgExports.length === 0) delete globalThis._cliPkgExports;
4
+ library.load({
5
+ util: require("util"),
6
+ stream: require("stream"),
7
+ nodeModule: require("module"),
8
+ fs: require("fs"),
9
+ immutable: require("immutable"),
10
+ });
11
+
12
+ module.exports = library;
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/sass.node.mjs CHANGED
@@ -1,3 +1,209 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d918833211a0d832b5f0337713499be7cc06b5938342933436a160dcd61fa795
3
- size 5387
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import cjs from "./sass.node.js";
2
+
3
+ export const compile = cjs.compile;
4
+ export const compileAsync = cjs.compileAsync;
5
+ export const compileString = cjs.compileString;
6
+ export const compileStringAsync = cjs.compileStringAsync;
7
+ export const initCompiler = cjs.initCompiler;
8
+ export const initAsyncCompiler = cjs.initAsyncCompiler;
9
+ export const Compiler = cjs.Compiler;
10
+ export const AsyncCompiler = cjs.AsyncCompiler;
11
+ export const Logger = cjs.Logger;
12
+ export const SassArgumentList = cjs.SassArgumentList;
13
+ export const SassBoolean = cjs.SassBoolean;
14
+ export const SassCalculation = cjs.SassCalculation;
15
+ export const CalculationOperation = cjs.CalculationOperation;
16
+ export const CalculationInterpolation = cjs.CalculationInterpolation;
17
+ export const SassColor = cjs.SassColor;
18
+ export const SassFunction = cjs.SassFunction;
19
+ export const SassList = cjs.SassList;
20
+ export const SassMap = cjs.SassMap;
21
+ export const SassMixin = cjs.SassMixin;
22
+ export const SassNumber = cjs.SassNumber;
23
+ export const SassString = cjs.SassString;
24
+ export const Value = cjs.Value;
25
+ export const CustomFunction = cjs.CustomFunction;
26
+ export const ListSeparator = cjs.ListSeparator;
27
+ export const sassFalse = cjs.sassFalse;
28
+ export const sassNull = cjs.sassNull;
29
+ export const sassTrue = cjs.sassTrue;
30
+ export const Exception = cjs.Exception;
31
+ export const PromiseOr = cjs.PromiseOr;
32
+ export const info = cjs.info;
33
+ export const render = cjs.render;
34
+ export const renderSync = cjs.renderSync;
35
+ export const TRUE = cjs.TRUE;
36
+ export const FALSE = cjs.FALSE;
37
+ export const NULL = cjs.NULL;
38
+ export const types = cjs.types;
39
+ export const NodePackageImporter = cjs.NodePackageImporter;
40
+ export const deprecations = cjs.deprecations;
41
+ export const Version = cjs.Version;
42
+
43
+ let printedDefaultExportDeprecation = false;
44
+ function defaultExportDeprecation() {
45
+ if (printedDefaultExportDeprecation) return;
46
+ printedDefaultExportDeprecation = true;
47
+ console.error(
48
+ "`import sass from 'sass'` is deprecated.\n" +
49
+ "Please use `import * as sass from 'sass'` instead.");
50
+ }
51
+
52
+ export default {
53
+ get compile() {
54
+ defaultExportDeprecation();
55
+ return cjs.compile;
56
+ },
57
+ get compileAsync() {
58
+ defaultExportDeprecation();
59
+ return cjs.compileAsync;
60
+ },
61
+ get compileString() {
62
+ defaultExportDeprecation();
63
+ return cjs.compileString;
64
+ },
65
+ get compileStringAsync() {
66
+ defaultExportDeprecation();
67
+ return cjs.compileStringAsync;
68
+ },
69
+ get initCompiler() {
70
+ defaultExportDeprecation();
71
+ return cjs.initCompiler;
72
+ },
73
+ get initAsyncCompiler() {
74
+ defaultExportDeprecation();
75
+ return cjs.initAsyncCompiler;
76
+ },
77
+ get Compiler() {
78
+ defaultExportDeprecation();
79
+ return cjs.Compiler;
80
+ },
81
+ get AsyncCompiler() {
82
+ defaultExportDeprecation();
83
+ return cjs.AsyncCompiler;
84
+ },
85
+ get Logger() {
86
+ defaultExportDeprecation();
87
+ return cjs.Logger;
88
+ },
89
+ get SassArgumentList() {
90
+ defaultExportDeprecation();
91
+ return cjs.SassArgumentList;
92
+ },
93
+ get SassBoolean() {
94
+ defaultExportDeprecation();
95
+ return cjs.SassBoolean;
96
+ },
97
+ get SassCalculation() {
98
+ defaultExportDeprecation();
99
+ return cjs.SassCalculation;
100
+ },
101
+ get CalculationOperation() {
102
+ defaultExportDeprecation();
103
+ return cjs.CalculationOperation;
104
+ },
105
+ get CalculationInterpolation() {
106
+ defaultExportDeprecation();
107
+ return cjs.CalculationInterpolation;
108
+ },
109
+ get SassColor() {
110
+ defaultExportDeprecation();
111
+ return cjs.SassColor;
112
+ },
113
+ get SassFunction() {
114
+ defaultExportDeprecation();
115
+ return cjs.SassFunction;
116
+ },
117
+ get SassList() {
118
+ defaultExportDeprecation();
119
+ return cjs.SassList;
120
+ },
121
+ get SassMap() {
122
+ defaultExportDeprecation();
123
+ return cjs.SassMap;
124
+ },
125
+ get SassMixin() {
126
+ defaultExportDeprecation();
127
+ return cjs.SassMixin;
128
+ },
129
+ get SassNumber() {
130
+ defaultExportDeprecation();
131
+ return cjs.SassNumber;
132
+ },
133
+ get SassString() {
134
+ defaultExportDeprecation();
135
+ return cjs.SassString;
136
+ },
137
+ get Value() {
138
+ defaultExportDeprecation();
139
+ return cjs.Value;
140
+ },
141
+ get CustomFunction() {
142
+ defaultExportDeprecation();
143
+ return cjs.CustomFunction;
144
+ },
145
+ get ListSeparator() {
146
+ defaultExportDeprecation();
147
+ return cjs.ListSeparator;
148
+ },
149
+ get sassFalse() {
150
+ defaultExportDeprecation();
151
+ return cjs.sassFalse;
152
+ },
153
+ get sassNull() {
154
+ defaultExportDeprecation();
155
+ return cjs.sassNull;
156
+ },
157
+ get sassTrue() {
158
+ defaultExportDeprecation();
159
+ return cjs.sassTrue;
160
+ },
161
+ get Exception() {
162
+ defaultExportDeprecation();
163
+ return cjs.Exception;
164
+ },
165
+ get PromiseOr() {
166
+ defaultExportDeprecation();
167
+ return cjs.PromiseOr;
168
+ },
169
+ get info() {
170
+ defaultExportDeprecation();
171
+ return cjs.info;
172
+ },
173
+ get render() {
174
+ defaultExportDeprecation();
175
+ return cjs.render;
176
+ },
177
+ get renderSync() {
178
+ defaultExportDeprecation();
179
+ return cjs.renderSync;
180
+ },
181
+ get TRUE() {
182
+ defaultExportDeprecation();
183
+ return cjs.TRUE;
184
+ },
185
+ get FALSE() {
186
+ defaultExportDeprecation();
187
+ return cjs.FALSE;
188
+ },
189
+ get NULL() {
190
+ defaultExportDeprecation();
191
+ return cjs.NULL;
192
+ },
193
+ get types() {
194
+ defaultExportDeprecation();
195
+ return cjs.types;
196
+ },
197
+ get NodePackageImporter() {
198
+ defaultExportDeprecation();
199
+ return cjs.NodePackageImporter;
200
+ },
201
+ get deprecations() {
202
+ defaultExportDeprecation();
203
+ return cjs.deprecations;
204
+ },
205
+ get Version() {
206
+ defaultExportDeprecation();
207
+ return cjs.Version;
208
+ },
209
+ };
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/compile.d.ts CHANGED
@@ -1,3 +1,342 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ca055d26105248f745ea6259b4c498ebeed18c9b772e7f2b3a16f50226ff9078
3
- size 11071
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import {RawSourceMap} from 'source-map-js';
2
+
3
+ import {Options, StringOptions} from './options';
4
+
5
+ /**
6
+ * The result of compiling Sass to CSS. Returned by {@link compile}, {@link
7
+ * compileAsync}, {@link compileString}, and {@link compileStringAsync}.
8
+ *
9
+ * @category Compile
10
+ */
11
+ export interface CompileResult {
12
+ /**
13
+ * The generated CSS.
14
+ *
15
+ * Note that this *never* includes a `sourceMapUrl` comment—it's up to the
16
+ * caller to determine where to save the source map and how to link to it from
17
+ * the stylesheet.
18
+ */
19
+ css: string;
20
+
21
+ /**
22
+ * The canonical URLs of all the stylesheets that were loaded during the
23
+ * Sass compilation. The order of these URLs is not guaranteed.
24
+ */
25
+ loadedUrls: URL[];
26
+
27
+ /**
28
+ * The object representation of the source map that maps locations in the
29
+ * generated CSS back to locations in the Sass source code.
30
+ *
31
+ * This typically uses absolute `file:` URLs to refer to Sass files, although
32
+ * this can be controlled by having a custom {@link Importer} return {@link
33
+ * ImporterResult.sourceMapUrl}.
34
+ *
35
+ * This is set if and only if {@link Options.sourceMap} is `true`.
36
+ */
37
+ sourceMap?: RawSourceMap;
38
+ }
39
+
40
+ /**
41
+ * The result of creating a synchronous compiler. Returned by
42
+ * {@link initCompiler}.
43
+ *
44
+ * @category Compile
45
+ */
46
+ export class Compiler {
47
+ /**
48
+ * Throws an error if constructed directly, instead of via
49
+ * {@link initCompiler}.
50
+ */
51
+ private constructor();
52
+
53
+ /**
54
+ * The {@link compile} method exposed through a Compiler instance while it is
55
+ * active. If this is called after {@link dispose} on the Compiler
56
+ * instance, an error will be thrown.
57
+ *
58
+ * During the Compiler instance's lifespan, given the same input, this will
59
+ * return an identical result to the {@link compile} method exposed at the
60
+ * module root.
61
+ */
62
+ compile(path: string, options?: Options<'sync'>): CompileResult;
63
+
64
+ /**
65
+ * The {@link compileString} method exposed through a Compiler instance while
66
+ * it is active. If this is called after {@link dispose} on the Compiler
67
+ * instance, an error will be thrown.
68
+ *
69
+ * During the Compiler instance's lifespan, given the same input, this will
70
+ * return an identical result to the {@link compileString} method exposed at
71
+ * the module root.
72
+ */
73
+ compileString(source: string, options?: StringOptions<'sync'>): CompileResult;
74
+
75
+ /**
76
+ * Ends the lifespan of this Compiler instance. After this is invoked, all
77
+ * calls to the Compiler instance's {@link compile} or {@link compileString}
78
+ * methods will result in an error.
79
+ */
80
+ dispose(): void;
81
+ }
82
+
83
+ /**
84
+ * The result of creating an asynchronous compiler. Returned by
85
+ * {@link initAsyncCompiler}.
86
+ *
87
+ * @category Compile
88
+ */
89
+ export class AsyncCompiler {
90
+ /**
91
+ * Throws an error if constructed directly, instead of via
92
+ * {@link initAsyncCompiler}.
93
+ */
94
+ private constructor();
95
+
96
+ /**
97
+ * The {@link compileAsync} method exposed through an Async Compiler instance
98
+ * while it is active. If this is called after {@link dispose} on the Async
99
+ * Compiler instance, an error will be thrown.
100
+ *
101
+ * During the Async Compiler instance's lifespan, given the same input, this
102
+ * will return an identical result to the {@link compileAsync} method exposed
103
+ * at the module root.
104
+ */
105
+ compileAsync(
106
+ path: string,
107
+ options?: Options<'async'>
108
+ ): Promise<CompileResult>;
109
+
110
+ /**
111
+ * The {@link compileStringAsync} method exposed through an Async Compiler
112
+ * instance while it is active. If this is called after {@link dispose} on the
113
+ * Async Compiler instance, an error will be thrown.
114
+ *
115
+ * During the Async Compiler instance's lifespan, given the same input, this
116
+ * will return an identical result to the {@link compileStringAsync} method
117
+ * exposed at the module root.
118
+ */
119
+ compileStringAsync(
120
+ source: string,
121
+ options?: StringOptions<'async'>
122
+ ): Promise<CompileResult>;
123
+
124
+ /**
125
+ * Ends the lifespan of this Async Compiler instance. After this is invoked,
126
+ * all subsequent calls to the Compiler instance's `compileAsync` or
127
+ * `compileStringAsync` methods will result in an error.
128
+ *
129
+ * Any compilations that are submitted before `dispose` will not be cancelled,
130
+ * and will be allowed to settle.
131
+ *
132
+ * After all compilations have been settled and Sass completes any internal
133
+ * task cleanup, `dispose` will resolve its promise.
134
+ */
135
+ dispose(): Promise<void>;
136
+ }
137
+
138
+ /**
139
+ * Synchronously compiles the Sass file at `path` to CSS. If it succeeds it
140
+ * returns a {@link CompileResult}, and if it fails it throws an {@link
141
+ * Exception}.
142
+ *
143
+ * This only allows synchronous {@link Importer}s and {@link CustomFunction}s.
144
+ *
145
+ * **Heads up!** When using the [sass-embedded] npm package for single
146
+ * compilations, **{@link compileAsync} is almost always faster than
147
+ * {@link compile}**, due to the overhead of emulating synchronous messaging
148
+ * with worker threads and concurrent compilations being blocked on main thread.
149
+ *
150
+ * If you are running multiple compilations with the [sass-embedded] npm
151
+ * package, using a {@link Compiler} will provide some speed improvements over
152
+ * the module-level methods, and an {@link AsyncCompiler} will be much faster.
153
+ *
154
+ * [sass-embedded]: https://www.npmjs.com/package/sass-embedded
155
+ *
156
+ * @example
157
+ *
158
+ * ```js
159
+ * const sass = require('sass');
160
+ *
161
+ * const result = sass.compile("style.scss");
162
+ * console.log(result.css);
163
+ * ```
164
+ *
165
+ * @category Compile
166
+ * @compatibility dart: "1.45.0", node: false
167
+ */
168
+ export function compile(path: string, options?: Options<'sync'>): CompileResult;
169
+
170
+ /**
171
+ * Asynchronously compiles the Sass file at `path` to CSS. Returns a promise
172
+ * that resolves with a {@link CompileResult} if it succeeds and rejects with an
173
+ * {@link Exception} if it fails.
174
+ *
175
+ * This only allows synchronous or asynchronous {@link Importer}s and
176
+ * {@link CustomFunction}s.
177
+ *
178
+ * **Heads up!** When using the `sass` npm package, **{@link compile} is almost
179
+ * twice as fast as {@link compileAsync}**, due to the overhead of making the
180
+ * entire evaluation process asynchronous.
181
+ *
182
+ * @example
183
+ *
184
+ * ```js
185
+ * const sass = require('sass');
186
+ *
187
+ * const result = await sass.compileAsync("style.scss");
188
+ * console.log(result.css);
189
+ * ```
190
+ *
191
+ * @category Compile
192
+ * @compatibility dart: "1.45.0", node: false
193
+ */
194
+ export function compileAsync(
195
+ path: string,
196
+ options?: Options<'async'>
197
+ ): Promise<CompileResult>;
198
+
199
+ /**
200
+ * Synchronously compiles a stylesheet whose contents is `source` to CSS. If it
201
+ * succeeds it returns a {@link CompileResult}, and if it fails it throws an
202
+ * {@link Exception}.
203
+ *
204
+ * This only allows synchronous {@link Importer}s and {@link CustomFunction}s.
205
+ *
206
+ * **Heads up!** When using the [sass-embedded] npm package for single
207
+ * compilations, **{@link compileStringAsync} is almost always faster than
208
+ * {@link compileString}**, due to the overhead of emulating synchronous
209
+ * messaging with worker threads and concurrent compilations being blocked on
210
+ * main thread.
211
+ *
212
+ * If you are running multiple compilations with the [sass-embedded] npm
213
+ * package, using a {@link Compiler} will provide some speed improvements over
214
+ * the module-level methods, and an {@link AsyncCompiler} will be much faster.
215
+ *
216
+ * [sass-embedded]: https://www.npmjs.com/package/sass-embedded
217
+ *
218
+ * @example
219
+ *
220
+ * ```js
221
+ * const sass = require('sass');
222
+ *
223
+ * const result = sass.compileString(`
224
+ * h1 {
225
+ * font-size: 40px;
226
+ * code {
227
+ * font-face: Roboto Mono;
228
+ * }
229
+ * }`);
230
+ * console.log(result.css);
231
+ * ```
232
+ *
233
+ * @category Compile
234
+ * @compatibility dart: "1.45.0", node: false
235
+ */
236
+ export function compileString(
237
+ source: string,
238
+ options?: StringOptions<'sync'>
239
+ ): CompileResult;
240
+
241
+ /**
242
+ * Asynchronously compiles a stylesheet whose contents is `source` to CSS.
243
+ * Returns a promise that resolves with a {@link CompileResult} if it succeeds
244
+ * and rejects with an {@link Exception} if it fails.
245
+ *
246
+ * This only allows synchronous or asynchronous {@link Importer}s and {@link
247
+ * CustomFunction}s.
248
+ *
249
+ * **Heads up!** When using the `sass` npm package, **{@link compileString} is
250
+ * almost twice as fast as {@link compileStringAsync}**, due to the overhead
251
+ * of making the entire evaluation process asynchronous.
252
+ *
253
+ * @example
254
+ *
255
+ * ```js
256
+ * const sass = require('sass');
257
+ *
258
+ * const result = await sass.compileStringAsync(`
259
+ * h1 {
260
+ * font-size: 40px;
261
+ * code {
262
+ * font-face: Roboto Mono;
263
+ * }
264
+ * }`);
265
+ * console.log(result.css);
266
+ * ```
267
+ *
268
+ * @category Compile
269
+ * @compatibility dart: "1.45.0", node: false
270
+ */
271
+ export function compileStringAsync(
272
+ source: string,
273
+ options?: StringOptions<'async'>
274
+ ): Promise<CompileResult>;
275
+
276
+ /**
277
+ * Creates a synchronous {@link Compiler}. Each compiler instance exposes the
278
+ * {@link compile} and {@link compileString} methods within the lifespan of the
279
+ * Compiler. Given identical input, these methods will return results identical
280
+ * to their counterparts exposed at the module root. To use asynchronous
281
+ * compilation, use {@link initAsyncCompiler}.
282
+ *
283
+ * When calling the compile functions multiple times, using a compiler instance
284
+ * with the [sass-embedded] npm package is much faster than using the top-level
285
+ * compilation methods or the [sass] npm package.
286
+ *
287
+ * [sass-embedded]: https://www.npmjs.com/package/sass-embedded
288
+ *
289
+ * [sass]: https://www.npmjs.com/package/sass
290
+ *
291
+ * @example
292
+ *
293
+ * ```js
294
+ * const sass = require('sass');
295
+ * function setup() {
296
+ * const compiler = sass.initCompiler();
297
+ * const result1 = compiler.compileString('a {b: c}').css;
298
+ * const result2 = compiler.compileString('a {b: c}').css;
299
+ * compiler.dispose();
300
+ *
301
+ * // throws error
302
+ * const result3 = sass.compileString('a {b: c}').css;
303
+ * }
304
+ * ```
305
+ * @category Compile
306
+ * @compatibility dart: "1.70.0", node: false
307
+ */
308
+ export function initCompiler(): Compiler;
309
+
310
+ /**
311
+ * Creates an asynchronous {@link AsyncCompiler}. Each compiler
312
+ * instance exposes the {@link compileAsync} and {@link compileStringAsync}
313
+ * methods within the lifespan of the Compiler. Given identical input, these
314
+ * methods will return results identical to their counterparts exposed at the
315
+ * module root. To use synchronous compilation, use {@link initCompiler};
316
+ *
317
+ * When calling the compile functions multiple times, using a compiler instance
318
+ * with the [sass-embedded] npm package is much faster than using the top-level
319
+ * compilation methods or the [sass] npm package.
320
+ *
321
+ * [sass-embedded]: https://www.npmjs.com/package/sass-embedded
322
+ *
323
+ * [sass]: https://www.npmjs.com/package/sass
324
+ *
325
+ * @example
326
+ *
327
+ * ```js
328
+ * const sass = require('sass');
329
+ * async function setup() {
330
+ * const compiler = await sass.initAsyncCompiler();
331
+ * const result1 = await compiler.compileStringAsync('a {b: c}').css;
332
+ * const result2 = await compiler.compileStringAsync('a {b: c}').css;
333
+ * await compiler.dispose();
334
+ *
335
+ * // throws error
336
+ * const result3 = await sass.compileStringAsync('a {b: c}').css;
337
+ * }
338
+ * ```
339
+ * @category Compile
340
+ * @compatibility dart: "1.70.0", node: false
341
+ */
342
+ export function initAsyncCompiler(): Promise<AsyncCompiler>;
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/deprecations.d.ts CHANGED
@@ -1,3 +1,216 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3104ebb4981a00e92e8aad28bdcebf57f01653fae6c1c931335b44b9d15b3824
3
- size 5794
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * All of the deprecation types currently used by Sass.
3
+ *
4
+ * Any of these IDs or the deprecation objects they point to can be passed to
5
+ * `fatalDeprecations`, `futureDeprecations`, or `silenceDeprecations`.
6
+ */
7
+ export interface Deprecations {
8
+ /**
9
+ * Deprecation for passing a string to `call` instead of using `get-function`.
10
+ *
11
+ * This deprecation has been active in all versions of Dart Sass.
12
+ */
13
+ 'call-string': Deprecation<'call-string'>;
14
+
15
+ /**
16
+ * Deprecation for `@elseif`.
17
+ *
18
+ * This deprecation became active in Dart Sass 1.3.2.
19
+ */
20
+ elseif: Deprecation<'elseif'>;
21
+
22
+ /**
23
+ * Deprecation for parsing `@-moz-document`.
24
+ *
25
+ * This deprecation became active in Dart Sass 1.7.2.
26
+ */
27
+ 'moz-document': Deprecation<'moz-document'>;
28
+
29
+ /**
30
+ * Deprecation for imports using relative canonical URLs.
31
+ *
32
+ * This deprecation became active in Dart Sass 1.17.2.
33
+ */
34
+ 'relative-canonical': Deprecation<'relative-canonical'>;
35
+
36
+ /**
37
+ * Deprecation for declaring new variables with `!global`.
38
+ *
39
+ * This deprecation became active in Dart Sass 1.17.2.
40
+ */
41
+ 'new-global': Deprecation<'new-global'>;
42
+
43
+ /**
44
+ * Deprecation for using color module functions in place of plain CSS
45
+ * functions.
46
+ *
47
+ * This deprecation became active in Dart Sass 1.23.0.
48
+ */
49
+ 'color-module-compat': Deprecation<'color-module-compat'>;
50
+
51
+ /**
52
+ * Deprecation for treating `/` as division.
53
+ *
54
+ * This deprecation became active in Dart Sass 1.33.0.
55
+ */
56
+ 'slash-div': Deprecation<'slash-div'>;
57
+
58
+ /**
59
+ * Deprecation for leading, trailing, and repeated combinators.
60
+ *
61
+ * This deprecation became active in Dart Sass 1.54.0.
62
+ */
63
+ 'bogus-combinators': Deprecation<'bogus-combinators'>;
64
+
65
+ /**
66
+ * Deprecation for ambiguous `+` and `-` operators.
67
+ *
68
+ * This deprecation became active in Dart Sass 1.55.0.
69
+ */
70
+ 'strict-unary': Deprecation<'strict-unary'>;
71
+
72
+ /**
73
+ * Deprecation for passing invalid units to certain built-in functions.
74
+ *
75
+ * This deprecation became active in Dart Sass 1.56.0.
76
+ */
77
+ 'function-units': Deprecation<'function-units'>;
78
+
79
+ /**
80
+ * Deprecation for using `!default` or `!global` multiple times for one
81
+ * variable.
82
+ *
83
+ * This deprecation became active in Dart Sass 1.62.0.
84
+ */
85
+ 'duplicate-var-flags': Deprecation<'duplicate-var-flags'>;
86
+
87
+ /**
88
+ * Deprecation for passing null as alpha in the JS API.
89
+ *
90
+ * This deprecation became active in Dart Sass 1.62.3.
91
+ */
92
+ 'null-alpha': Deprecation<'null-alpha'>;
93
+
94
+ /**
95
+ * Deprecation for passing percentages to the Sass `abs()` function.
96
+ *
97
+ * This deprecation became active in Dart Sass 1.65.0.
98
+ */
99
+ 'abs-percent': Deprecation<'abs-percent'>;
100
+
101
+ /**
102
+ * Deprecation for using the current working directory as an implicit load
103
+ * path.
104
+ *
105
+ * This deprecation became active in Dart Sass 1.73.0.
106
+ */
107
+ 'fs-importer-cwd': Deprecation<'fs-importer-cwd'>;
108
+
109
+ /**
110
+ * Deprecation for function and mixin names beginning with `--`.
111
+ *
112
+ * This deprecation became active in Dart Sass 1.76.0.
113
+ */
114
+ 'css-function-mixin': Deprecation<'css-function-mixin'>;
115
+
116
+ /**
117
+ * Deprecation for `@import` rules.
118
+ *
119
+ * This deprecation is not yet active, but will be soon.
120
+ */
121
+ import: Deprecation<'import'>;
122
+
123
+ /**
124
+ * Used for any user-emitted deprecation warnings.
125
+ */
126
+ 'user-authored': Deprecation<'user-authored', 'user'>;
127
+ }
128
+
129
+ /**
130
+ * Either a deprecation or its ID, either of which can be passed to any of
131
+ * the relevant compiler options.
132
+ *
133
+ * @category Messages
134
+ * @compatibility dart: "1.74.0", node: false
135
+ */
136
+ export type DeprecationOrId = Deprecation | keyof Deprecations;
137
+
138
+ /**
139
+ * The possible statuses that each deprecation can have.
140
+ *
141
+ * "active" deprecations are currently emitting deprecation warnings.
142
+ * "future" deprecations are not yet active, but will be in the future.
143
+ * "obsolete" deprecations were once active, but no longer are.
144
+ *
145
+ * The only "user" deprecation is "user-authored", which is used for deprecation
146
+ * warnings coming from user code.
147
+ *
148
+ * @category Messages
149
+ * @compatibility dart: "1.74.0", node: false
150
+ */
151
+ export type DeprecationStatus = 'active' | 'user' | 'future' | 'obsolete';
152
+
153
+ /**
154
+ * A deprecated feature in the language.
155
+ *
156
+ * @category Messages
157
+ * @compatibility dart: "1.74.0", node: false
158
+ */
159
+ export interface Deprecation<
160
+ id extends keyof Deprecations = keyof Deprecations,
161
+ status extends DeprecationStatus = DeprecationStatus
162
+ > {
163
+ /** The unique ID of this deprecation. */
164
+ id: id;
165
+
166
+ /** The current status of this deprecation. */
167
+ status: status;
168
+
169
+ /** A human-readable description of this deprecation. */
170
+ description?: string;
171
+
172
+ /** The version this deprecation first became active in. */
173
+ deprecatedIn: status extends 'future' | 'user' ? null : Version;
174
+
175
+ /** The version this deprecation became obsolete in. */
176
+ obsoleteIn: status extends 'obsolete' ? Version : null;
177
+ }
178
+
179
+ /**
180
+ * A semantic version of the compiler.
181
+ *
182
+ * @category Messages
183
+ * @compatibility dart: "1.74.0", node: false
184
+ */
185
+ export class Version {
186
+ /**
187
+ * Constructs a new version.
188
+ *
189
+ * All components must be non-negative integers.
190
+ *
191
+ * @param major - The major version.
192
+ * @param minor - The minor version.
193
+ * @param patch - The patch version.
194
+ */
195
+ constructor(major: number, minor: number, patch: number);
196
+ readonly major: number;
197
+ readonly minor: number;
198
+ readonly patch: number;
199
+
200
+ /**
201
+ * Parses a version from a string.
202
+ *
203
+ * This throws an error if a valid version can't be parsed.
204
+ *
205
+ * @param version - A string in the form "major.minor.patch".
206
+ */
207
+ static parse(version: string): Version;
208
+ }
209
+
210
+ /**
211
+ * An object containing all deprecation types.
212
+ *
213
+ * @category Messages
214
+ * @compatibility dart: "1.74.0", node: false
215
+ */
216
+ export const deprecations: Deprecations;
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/exception.d.ts CHANGED
@@ -1,3 +1,41 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea6b2badb951d6dfa24bb7d7eb733327e5f9a15fc994d6dc1c54b2c7a83b6a0b
3
- size 1148
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import {SourceSpan} from './logger';
2
+
3
+ /**
4
+ * An exception thrown because a Sass compilation failed.
5
+ *
6
+ * @category Other
7
+ */
8
+ export class Exception extends Error {
9
+ private constructor();
10
+
11
+ /**
12
+ * A human-friendly representation of the exception.
13
+ *
14
+ * Because many tools simply print `Error.message` directly, this includes not
15
+ * only the textual description of what went wrong (the {@link sassMessage})
16
+ * but also an indication of where in the Sass stylesheet the error occurred
17
+ * (the {@link span}) and the Sass stack trace at the point of error (the
18
+ * {@link sassStack}).
19
+ */
20
+ message: string;
21
+
22
+ /**
23
+ * A textual description of what went wrong.
24
+ *
25
+ * Unlike {@link message}, this does *not* include representations of {@link
26
+ * span} or {@link sassStack}.
27
+ */
28
+ readonly sassMessage: string;
29
+
30
+ /**
31
+ * A human-friendly representation of the Sass stack trace at the point of
32
+ * error.
33
+ */
34
+ readonly sassStack: string;
35
+
36
+ /** The location the error occurred in the Sass file that triggered it. */
37
+ readonly span: SourceSpan;
38
+
39
+ /** Returns the same string as {@link message}. */
40
+ toString(): string;
41
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/importer.d.ts CHANGED
@@ -1,3 +1,465 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7c0ace9de3109ecdd8ad808dd40a052b82681786c66bb0bff6d848c1fc56a7c4
3
- size 18780
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import {Syntax} from './options';
2
+ import {PromiseOr} from './util/promise_or';
3
+
4
+ /**
5
+ * Contextual information passed to {@link Importer.canonicalize} and {@link
6
+ * FileImporter.findFileUrl}. Not all importers will need this information to
7
+ * resolve loads, but some may find it useful.
8
+ */
9
+ export interface CanonicalizeContext {
10
+ /**
11
+ * Whether this is being invoked because of a Sass
12
+ * `@import` rule, as opposed to a `@use` or `@forward` rule.
13
+ *
14
+ * This should *only* be used for determining whether or not to load
15
+ * [import-only files](https://sass-lang.com/documentation/at-rules/import#import-only-files).
16
+ */
17
+ fromImport: boolean;
18
+
19
+ /**
20
+ * The canonical URL of the file that contains the load, if that information
21
+ * is available.
22
+ *
23
+ * For an {@link Importer}, this is only passed when the `url` parameter is a
24
+ * relative URL _or_ when its [URL scheme] is included in {@link
25
+ * Importer.nonCanonicalScheme}. This ensures that canonical URLs are always
26
+ * resolved the same way regardless of context.
27
+ *
28
+ * [URL scheme]: https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL#scheme
29
+ *
30
+ * For a {@link FileImporter}, this is always available as long as Sass knows
31
+ * the canonical URL of the containing file.
32
+ */
33
+ containingUrl: URL | null;
34
+ }
35
+
36
+ /**
37
+ * A special type of importer that redirects all loads to existing files on
38
+ * disk. Although this is less powerful than a full {@link Importer}, it
39
+ * automatically takes care of Sass features like resolving partials and file
40
+ * extensions and of loading the file from disk.
41
+ *
42
+ * Like all importers, this implements custom Sass loading logic for [`@use`
43
+ * rules](https://sass-lang.com/documentation/at-rules/use) and [`@import`
44
+ * rules](https://sass-lang.com/documentation/at-rules/import). It can be passed
45
+ * to {@link Options.importers} or {@link StringOptions.importer}.
46
+ *
47
+ * @typeParam sync - A `FileImporter<'sync'>`'s {@link findFileUrl} must return
48
+ * synchronously, but in return it can be passed to {@link compile} and {@link
49
+ * compileString} in addition to {@link compileAsync} and {@link
50
+ * compileStringAsync}.
51
+ *
52
+ * A `FileImporter<'async'>`'s {@link findFileUrl} may either return
53
+ * synchronously or asynchronously, but it can only be used with {@link
54
+ * compileAsync} and {@link compileStringAsync}.
55
+ *
56
+ * @example
57
+ *
58
+ * ```js
59
+ * const {pathToFileURL} = require('url');
60
+ *
61
+ * sass.compile('style.scss', {
62
+ * importers: [{
63
+ * // An importer that redirects relative URLs starting with "~" to
64
+ * // `node_modules`.
65
+ * findFileUrl(url) {
66
+ * if (!url.startsWith('~')) return null;
67
+ * return new URL(url.substring(1), pathToFileURL('node_modules'));
68
+ * }
69
+ * }]
70
+ * });
71
+ * ```
72
+ *
73
+ * @category Importer
74
+ */
75
+ export interface FileImporter<
76
+ sync extends 'sync' | 'async' = 'sync' | 'async'
77
+ > {
78
+ /**
79
+ * A callback that's called to partially resolve a load (such as
80
+ * [`@use`](https://sass-lang.com/documentation/at-rules/use) or
81
+ * [`@import`](https://sass-lang.com/documentation/at-rules/import)) to a file
82
+ * on disk.
83
+ *
84
+ * Unlike an {@link Importer}, the compiler will automatically handle relative
85
+ * loads for a {@link FileImporter}. See {@link Options.importers} for more
86
+ * details on the way loads are resolved.
87
+ *
88
+ * @param url - The loaded URL. Since this might be relative, it's represented
89
+ * as a string rather than a {@link URL} object.
90
+ *
91
+ * @returns An absolute `file:` URL if this importer recognizes the `url`.
92
+ * This may be only partially resolved: the compiler will automatically look
93
+ * for [partials](https://sass-lang.com/documentation/at-rules/use#partials),
94
+ * [index files](https://sass-lang.com/documentation/at-rules/use#index-files),
95
+ * and file extensions based on the returned URL. An importer may also return
96
+ * a fully resolved URL if it so chooses.
97
+ *
98
+ * If this importer doesn't recognize the URL, it should return `null` instead
99
+ * to allow other importers or {@link Options.loadPaths | load paths} to
100
+ * handle it.
101
+ *
102
+ * This may also return a `Promise`, but if it does the importer may only be
103
+ * passed to {@link compileAsync} and {@link compileStringAsync}, not {@link
104
+ * compile} or {@link compileString}.
105
+ *
106
+ * @throws any - If this importer recognizes `url` but determines that it's
107
+ * invalid, it may throw an exception that will be wrapped by Sass. If the
108
+ * exception object has a `message` property, it will be used as the wrapped
109
+ * exception's message; otherwise, the exception object's `toString()` will be
110
+ * used. This means it's safe for importers to throw plain strings.
111
+ */
112
+ findFileUrl(
113
+ url: string,
114
+ context: CanonicalizeContext
115
+ ): PromiseOr<URL | null, sync>;
116
+
117
+ /** @hidden */
118
+ canonicalize?: never;
119
+ }
120
+
121
+ /**
122
+ * An object that implements custom Sass loading logic for [`@use`
123
+ * rules](https://sass-lang.com/documentation/at-rules/use) and [`@import`
124
+ * rules](https://sass-lang.com/documentation/at-rules/import). It can be passed
125
+ * to {@link Options.importers} or {@link StringOptions.importer}.
126
+ *
127
+ * Importers that simply redirect to files on disk are encouraged to use the
128
+ * {@link FileImporter} interface instead.
129
+ *
130
+ * ### Resolving a Load
131
+ *
132
+ * This is the process of resolving a load using a custom importer:
133
+ *
134
+ * - The compiler encounters `@use "db:foo/bar/baz"`.
135
+ * - It calls {@link canonicalize} with `"db:foo/bar/baz"`.
136
+ * - {@link canonicalize} returns `new URL("db:foo/bar/baz/_index.scss")`.
137
+ * - If the compiler has already loaded a stylesheet with this canonical URL, it
138
+ * re-uses the existing module.
139
+ * - Otherwise, it calls {@link load} with `new
140
+ * URL("db:foo/bar/baz/_index.scss")`.
141
+ * - {@link load} returns an {@link ImporterResult} that the compiler uses as
142
+ * the contents of the module.
143
+ *
144
+ * See {@link Options.importers} for more details on the way loads are resolved
145
+ * using multiple importers and load paths.
146
+ *
147
+ * @typeParam sync - An `Importer<'sync'>`'s {@link canonicalize} and {@link
148
+ * load} must return synchronously, but in return it can be passed to {@link
149
+ * compile} and {@link compileString} in addition to {@link compileAsync} and
150
+ * {@link compileStringAsync}.
151
+ *
152
+ * An `Importer<'async'>`'s {@link canonicalize} and {@link load} may either
153
+ * return synchronously or asynchronously, but it can only be used with {@link
154
+ * compileAsync} and {@link compileStringAsync}.
155
+ *
156
+ * @example
157
+ *
158
+ * ```js
159
+ * sass.compile('style.scss', {
160
+ * // An importer for URLs like `bgcolor:orange` that generates a
161
+ * // stylesheet with the given background color.
162
+ * importers: [{
163
+ * canonicalize(url) {
164
+ * if (!url.startsWith('bgcolor:')) return null;
165
+ * return new URL(url);
166
+ * },
167
+ * load(canonicalUrl) {
168
+ * return {
169
+ * contents: `body {background-color: ${canonicalUrl.pathname}}`,
170
+ * syntax: 'scss'
171
+ * };
172
+ * }
173
+ * }]
174
+ * });
175
+ * ```
176
+ *
177
+ * @category Importer
178
+ */
179
+ export interface Importer<sync extends 'sync' | 'async' = 'sync' | 'async'> {
180
+ /**
181
+ * If `url` is recognized by this importer, returns its canonical format.
182
+ *
183
+ * If Sass has already loaded a stylesheet with the returned canonical URL, it
184
+ * re-uses the existing parse tree (and the loaded module for `@use`). This
185
+ * means that importers **must ensure** that the same canonical URL always
186
+ * refers to the same stylesheet, *even across different importers*. As such,
187
+ * importers are encouraged to use unique URL schemes to disambiguate between
188
+ * one another.
189
+ *
190
+ * As much as possible, custom importers should canonicalize URLs the same way
191
+ * as the built-in filesystem importer:
192
+ *
193
+ * - The importer should look for stylesheets by adding the prefix `_` to the
194
+ * URL's basename, and by adding the extensions `.sass` and `.scss` if the
195
+ * URL doesn't already have one of those extensions. For example, if the
196
+ * URL was `foo/bar/baz`, the importer would look for:
197
+ * - `foo/bar/baz.sass`
198
+ * - `foo/bar/baz.scss`
199
+ * - `foo/bar/_baz.sass`
200
+ * - `foo/bar/_baz.scss`
201
+ *
202
+ * If the URL was `foo/bar/baz.scss`, the importer would just look for:
203
+ * - `foo/bar/baz.scss`
204
+ * - `foo/bar/_baz.scss`
205
+ *
206
+ * If the importer finds a stylesheet at more than one of these URLs, it
207
+ * should throw an exception indicating that the URL is ambiguous. Note that
208
+ * if the extension is explicitly specified, a stylesheet with the opposite
209
+ * extension is allowed to exist.
210
+ *
211
+ * - If none of the possible paths is valid, the importer should perform the
212
+ * same resolution on the URL followed by `/index`. In the example above,
213
+ * it would look for:
214
+ * - `foo/bar/baz/index.sass`
215
+ * - `foo/bar/baz/index.scss`
216
+ * - `foo/bar/baz/_index.sass`
217
+ * - `foo/bar/baz/_index.scss`
218
+ *
219
+ * As above, if the importer finds a stylesheet at more than one of these
220
+ * URLs, it should throw an exception indicating that the import is
221
+ * ambiguous.
222
+ *
223
+ * If no stylesheets are found, the importer should return `null`.
224
+ *
225
+ * Calling {@link canonicalize} multiple times with the same URL must return
226
+ * the same result. Calling {@link canonicalize} with a URL returned by a
227
+ * previous call to {@link canonicalize} must return that URL.
228
+ *
229
+ * Relative loads in stylesheets loaded from an importer are handled by
230
+ * resolving the loaded URL relative to the canonical URL of the stylesheet
231
+ * that contains it, and passing that URL back to the importer's {@link
232
+ * canonicalize} method. For example, suppose the "Resolving a Load" example
233
+ * {@link Importer | above} returned a stylesheet that contained `@use
234
+ * "mixins"`:
235
+ *
236
+ * - The compiler resolves the URL `mixins` relative to the current
237
+ * stylesheet's canonical URL `db:foo/bar/baz/_index.scss` to get
238
+ * `db:foo/bar/baz/mixins`.
239
+ * - It calls {@link canonicalize} with `"db:foo/bar/baz/mixins"`.
240
+ * - {@link canonicalize} returns `new URL("db:foo/bar/baz/_mixins.scss")`.
241
+ *
242
+ * Because of this, {@link canonicalize} must return a meaningful result when
243
+ * called with a URL relative to one returned by an earlier call to {@link
244
+ * canonicalize}.
245
+ *
246
+ * @param url - The loaded URL. Since this might be relative, it's represented
247
+ * as a string rather than a {@link URL} object.
248
+ *
249
+ * @returns An absolute URL if this importer recognizes the `url`, or `null`
250
+ * if it doesn't. If this returns `null`, other importers or {@link
251
+ * Options.loadPaths | load paths} may handle the load.
252
+ *
253
+ * This may also return a `Promise`, but if it does the importer may only be
254
+ * passed to {@link compileAsync} and {@link compileStringAsync}, not {@link
255
+ * compile} or {@link compileString}.
256
+ *
257
+ * @throws any - If this importer recognizes `url` but determines that it's
258
+ * invalid, it may throw an exception that will be wrapped by Sass. If the
259
+ * exception object has a `message` property, it will be used as the wrapped
260
+ * exception's message; otherwise, the exception object's `toString()` will be
261
+ * used. This means it's safe for importers to throw plain strings.
262
+ */
263
+ canonicalize(
264
+ url: string,
265
+ context: CanonicalizeContext
266
+ ): PromiseOr<URL | null, sync>;
267
+
268
+ /**
269
+ * Loads the Sass text for the given `canonicalUrl`, or returns `null` if this
270
+ * importer can't find the stylesheet it refers to.
271
+ *
272
+ * @param canonicalUrl - The canonical URL of the stylesheet to load. This is
273
+ * guaranteed to come from a call to {@link canonicalize}, although not every
274
+ * call to {@link canonicalize} will result in a call to {@link load}.
275
+ *
276
+ * @returns The contents of the stylesheet at `canonicalUrl` if it can be
277
+ * loaded, or `null` if it can't.
278
+ *
279
+ * This may also return a `Promise`, but if it does the importer may only be
280
+ * passed to {@link compileAsync} and {@link compileStringAsync}, not {@link
281
+ * compile} or {@link compileString}.
282
+ *
283
+ * @throws any - If this importer finds a stylesheet at `url` but it fails to
284
+ * load for some reason, or if `url` is uniquely associated with this importer
285
+ * but doesn't refer to a real stylesheet, the importer may throw an exception
286
+ * that will be wrapped by Sass. If the exception object has a `message`
287
+ * property, it will be used as the wrapped exception's message; otherwise,
288
+ * the exception object's `toString()` will be used. This means it's safe for
289
+ * importers to throw plain strings.
290
+ */
291
+ load(canonicalUrl: URL): PromiseOr<ImporterResult | null, sync>;
292
+
293
+ /** @hidden */
294
+ findFileUrl?: never;
295
+
296
+ /**
297
+ * A URL scheme or set of schemes (without the `:`) that this importer
298
+ * promises never to use for URLs returned by {@link canonicalize}. If it does
299
+ * return a URL with one of these schemes, that's an error.
300
+ *
301
+ * If this is set, any call to canonicalize for a URL with a non-canonical
302
+ * scheme will be passed {@link CanonicalizeContext.containingUrl} if it's
303
+ * known.
304
+ *
305
+ * These schemes may only contain lowercase ASCII letters, ASCII numerals,
306
+ * `+`, `-`, and `.`. They may not be empty.
307
+ */
308
+ nonCanonicalScheme?: string | string[];
309
+ }
310
+
311
+ declare const nodePackageImporterKey: unique symbol;
312
+
313
+ /**
314
+ * The built-in Node.js package importer. This loads pkg: URLs from node_modules
315
+ * according to the standard Node.js resolution algorithm.
316
+ *
317
+ * A Node.js package importer is exposed as a class that can be added to the
318
+ * `importers` option.
319
+ *
320
+ *```js
321
+ * const sass = require('sass');
322
+ * sass.compileString('@use "pkg:vuetify', {
323
+ * importers: [new sass.NodePackageImporter()]
324
+ * });
325
+ *```
326
+ *
327
+ * ## Writing Sass packages
328
+ *
329
+ * Package authors can control what is exposed to their users through their
330
+ * `package.json` manifest. The recommended method is to add a `sass`
331
+ * conditional export to `package.json`.
332
+ *
333
+ * ```json
334
+ * // node_modules/uicomponents/package.json
335
+ * {
336
+ * "exports": {
337
+ * ".": {
338
+ * "sass": "./src/scss/index.scss",
339
+ * "import": "./dist/js/index.mjs",
340
+ * "default": "./dist/js/index.js"
341
+ * }
342
+ * }
343
+ * }
344
+ * ```
345
+ *
346
+ * This allows a package user to write `@use "pkg:uicomponents"` to load the
347
+ * file at `node_modules/uicomponents/src/scss/index.scss`.
348
+ *
349
+ * The Node.js package importer supports the variety of formats supported by
350
+ * Node.js [package entry points], allowing authors to expose multiple subpaths.
351
+ *
352
+ * [package entry points]:
353
+ * https://nodejs.org/api/packages.html#package-entry-points
354
+ *
355
+ * ```json
356
+ * // node_modules/uicomponents/package.json
357
+ * {
358
+ * "exports": {
359
+ * ".": {
360
+ * "sass": "./src/scss/index.scss",
361
+ * },
362
+ * "./colors.scss": {
363
+ * "sass": "./src/scss/_colors.scss",
364
+ * },
365
+ * "./theme/*.scss": {
366
+ * "sass": "./src/scss/theme/*.scss",
367
+ * },
368
+ * }
369
+ * }
370
+ * ```
371
+ *
372
+ * This allows a package user to write:
373
+ *
374
+ * - `@use "pkg:uicomponents";` to import the root export.
375
+ * - `@use "pkg:uicomponents/colors";` to import the colors partial.
376
+ * - `@use "pkg:uicomponents/theme/purple";` to import a purple theme.
377
+ *
378
+ * Note that while library users can rely on the importer to resolve
379
+ * [partials](https://sass-lang.com/documentation/at-rules/use#partials), [index
380
+ * files](https://sass-lang.com/documentation/at-rules/use#index-files), and
381
+ * extensions, library authors must specify the entire file path in `exports`.
382
+ *
383
+ * In addition to the `sass` condition, the `style` condition is also
384
+ * acceptable. Sass will match the `default` condition if it's a relevant file
385
+ * type, but authors are discouraged from relying on this. Notably, the key
386
+ * order matters, and the importer will resolve to the first value with a key
387
+ * that is `sass`, `style`, or `default`, so you should always put `default`
388
+ * last.
389
+ *
390
+ * To help package authors who haven't transitioned to package entry points
391
+ * using the `exports` field, the Node.js package importer provides several
392
+ * fallback options. If the `pkg:` URL does not have a subpath, the Node.js
393
+ * package importer will look for a `sass` or `style` key at the root of
394
+ * `package.json`.
395
+ *
396
+ * ```json
397
+ * // node_modules/uicomponents/package.json
398
+ * {
399
+ * "sass": "./src/scss/index.scss",
400
+ * }
401
+ * ```
402
+ *
403
+ * This allows a user to write `@use "pkg:uicomponents";` to import the
404
+ * `index.scss` file.
405
+ *
406
+ * Finally, the Node.js package importer will look for an `index` file at the
407
+ * package root, resolving partials and extensions. For example, if the file
408
+ * `_index.scss` exists in the package root of `uicomponents`, a user can import
409
+ * that with `@use "pkg:uicomponents";`.
410
+ *
411
+ * If a `pkg:` URL includes a subpath that doesn't have a match in package entry
412
+ * points, the Node.js importer will attempt to find that file relative to the
413
+ * package root, resolving for file extensions, partials and index files. For
414
+ * example, if the file `src/sass/_colors.scss` exists in the `uicomponents`
415
+ * package, a user can import that file using `@use
416
+ * "pkg:uicomponents/src/sass/colors";`.
417
+ *
418
+ * @compatibility dart: "1.71.0", node: false
419
+ * @category Importer
420
+ */
421
+ export class NodePackageImporter {
422
+ /** Used to distinguish this type from any arbitrary object. */
423
+ private readonly [nodePackageImporterKey]: true;
424
+
425
+ /**
426
+ * The NodePackageImporter has an optional `entryPointDirectory` option, which
427
+ * is the directory where the Node Package Importer should start when
428
+ * resolving `pkg:` URLs in sources other than files on disk. This will be
429
+ * used as the `parentURL` in the [Node Module
430
+ * Resolution](https://nodejs.org/api/esm.html#resolution-algorithm-specification)
431
+ * algorithm.
432
+ *
433
+ * In order to be found by the Node Package Importer, a package will need to
434
+ * be inside a node_modules folder located in the `entryPointDirectory`, or
435
+ * one of its parent directories, up to the filesystem root.
436
+ *
437
+ * Relative paths will be resolved relative to the current working directory.
438
+ * If a path is not provided, this defaults to the parent directory of the
439
+ * Node.js entrypoint. If that's not available, this will throw an error.
440
+ */
441
+ constructor(entryPointDirectory?: string);
442
+ }
443
+
444
+ /**
445
+ * The result of successfully loading a stylesheet with an {@link Importer}.
446
+ *
447
+ * @category Importer
448
+ */
449
+ export interface ImporterResult {
450
+ /** The contents of the stylesheet. */
451
+ contents: string;
452
+
453
+ /** The syntax with which to parse {@link contents}. */
454
+ syntax: Syntax;
455
+
456
+ /**
457
+ * The URL to use to link to the loaded stylesheet's source code in source
458
+ * maps. A `file:` URL is ideal because it's accessible to both browsers and
459
+ * other build tools, but an `http:` URL is also acceptable.
460
+ *
461
+ * If this isn't set, it defaults to a `data:` URL that contains the contents
462
+ * of the loaded stylesheet.
463
+ */
464
+ sourceMapUrl?: URL;
465
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/index.d.ts CHANGED
@@ -1,3 +1,104 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f78979c57dfa739f660c0188293b7b710654cefe8faea38cd7ed13e6152844f8
3
- size 2405
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // This is a mirror of the JS API definitions in `spec/js-api`, but with comments
2
+ // written to provide user-facing documentation rather than to specify behavior for
3
+ // implementations.
4
+
5
+ export {
6
+ AsyncCompiler,
7
+ CompileResult,
8
+ Compiler,
9
+ compile,
10
+ compileAsync,
11
+ compileString,
12
+ compileStringAsync,
13
+ initCompiler,
14
+ initAsyncCompiler,
15
+ } from './compile';
16
+ export {
17
+ deprecations,
18
+ Deprecation,
19
+ Deprecations,
20
+ DeprecationOrId,
21
+ DeprecationStatus,
22
+ Version,
23
+ } from './deprecations';
24
+ export {Exception} from './exception';
25
+ export {
26
+ CanonicalizeContext,
27
+ FileImporter,
28
+ Importer,
29
+ ImporterResult,
30
+ NodePackageImporter,
31
+ } from './importer';
32
+ export {Logger, SourceSpan, SourceLocation} from './logger';
33
+ export {
34
+ CustomFunction,
35
+ Options,
36
+ OutputStyle,
37
+ StringOptions,
38
+ StringOptionsWithImporter,
39
+ StringOptionsWithoutImporter,
40
+ Syntax,
41
+ } from './options';
42
+ export {PromiseOr} from './util/promise_or';
43
+ export {
44
+ CalculationInterpolation,
45
+ CalculationOperation,
46
+ CalculationOperator,
47
+ CalculationValue,
48
+ ListSeparator,
49
+ SassArgumentList,
50
+ SassBoolean,
51
+ SassCalculation,
52
+ SassColor,
53
+ SassFunction,
54
+ SassList,
55
+ SassMap,
56
+ SassMixin,
57
+ SassNumber,
58
+ SassString,
59
+ Value,
60
+ sassFalse,
61
+ sassNull,
62
+ sassTrue,
63
+ } from './value';
64
+
65
+ // Legacy APIs
66
+ export {LegacyException} from './legacy/exception';
67
+ export {
68
+ FALSE,
69
+ LegacyAsyncFunction,
70
+ LegacyAsyncFunctionDone,
71
+ LegacyFunction,
72
+ LegacySyncFunction,
73
+ LegacyValue,
74
+ NULL,
75
+ TRUE,
76
+ types,
77
+ } from './legacy/function';
78
+ export {
79
+ LegacyAsyncImporter,
80
+ LegacyImporter,
81
+ LegacyImporterResult,
82
+ LegacyImporterThis,
83
+ LegacySyncImporter,
84
+ } from './legacy/importer';
85
+ export {
86
+ LegacySharedOptions,
87
+ LegacyFileOptions,
88
+ LegacyStringOptions,
89
+ LegacyOptions,
90
+ } from './legacy/options';
91
+ export {LegacyPluginThis} from './legacy/plugin_this';
92
+ export {LegacyResult, render, renderSync} from './legacy/render';
93
+
94
+ /**
95
+ * Information about the Sass implementation. This always begins with a unique
96
+ * identifier for the Sass implementation, followed by U+0009 TAB, followed by
97
+ * its npm package version. Some implementations include additional information
98
+ * as well, but not in any standardized format.
99
+ *
100
+ * * For Dart Sass, the implementation name is `dart-sass`.
101
+ * * For Node Sass, the implementation name is `node-sass`.
102
+ * * For the embedded host, the implementation name is `sass-embedded`.
103
+ */
104
+ export const info: string;
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/exception.d.ts CHANGED
@@ -1,3 +1,55 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:03fdf8dba650d830388b9985750d770dd435f95634717f41cea814863a9ac98b
3
- size 1862
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * The exception type thrown by {@link renderSync} and passed as the error to
3
+ * {@link render}'s callback.
4
+ *
5
+ * @category Legacy
6
+ * @deprecated This is only thrown by the legacy {@link render} and {@link
7
+ * renderSync} APIs. Use {@link compile}, {@link compileString}, {@link
8
+ * compileAsync}, and {@link compileStringAsync} instead.
9
+ */
10
+ export interface LegacyException extends Error {
11
+ /**
12
+ * The error message. For Dart Sass, when possible this includes a highlighted
13
+ * indication of where in the source file the error occurred as well as the
14
+ * Sass stack trace.
15
+ */
16
+ message: string;
17
+
18
+ /**
19
+ * The error message. For Dart Sass, this is the same as the result of calling
20
+ * {@link toString}, which is itself the same as {@link message} but with the
21
+ * prefix "Error:".
22
+ */
23
+ formatted: string;
24
+
25
+ /**
26
+ * The (1-based) line number on which the error occurred, if this exception is
27
+ * associated with a specific Sass file location.
28
+ */
29
+ line?: number;
30
+
31
+ /**
32
+ * The (1-based) column number within {@link line} at which the error
33
+ * occurred, if this exception is associated with a specific Sass file
34
+ * location.
35
+ */
36
+ column?: number;
37
+
38
+ /**
39
+ * Analogous to the exit code for an executable. `1` for an error caused by a
40
+ * Sass file, `3` for any other type of error.
41
+ */
42
+ status: number;
43
+
44
+ /**
45
+ * If this exception was caused by an error in a Sass file, this will
46
+ * represent the Sass file's location. It can be in one of three formats:
47
+ *
48
+ * * If the Sass file was loaded from disk, this is the path to that file.
49
+ * * If the Sass file was generated by an importer, this is its canonical URL.
50
+ * * If the Sass file was passed as {@link LegacyStringOptions.data} without a
51
+ * corresponding {@link LegacyStringOptions.file}, this is the special
52
+ * string `"stdin"`.
53
+ */
54
+ file?: string;
55
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/function.d.ts CHANGED
@@ -1,3 +1,757 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2e988cd4d24edac4936449630581c79686c8adac10357eb0cdb410c24f47c7f0
3
- size 22983
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import {LegacyPluginThis} from './plugin_this';
2
+
3
+ /**
4
+ * A synchronous callback that implements a custom Sass function. This can be
5
+ * passed to {@link LegacySharedOptions.functions} for either {@link render} or
6
+ * {@link renderSync}.
7
+ *
8
+ * If this throws an error, Sass will treat that as the function failing with
9
+ * that error message.
10
+ *
11
+ * ```js
12
+ * const result = sass.renderSync({
13
+ * file: 'style.scss',
14
+ * functions: {
15
+ * "sum($arg1, $arg2)": (arg1, arg2) => {
16
+ * if (!(arg1 instanceof sass.types.Number)) {
17
+ * throw new Error("$arg1: Expected a number");
18
+ * } else if (!(arg2 instanceof sass.types.Number)) {
19
+ * throw new Error("$arg2: Expected a number");
20
+ * }
21
+ * return new sass.types.Number(arg1.getValue() + arg2.getValue());
22
+ * }
23
+ * }
24
+ * });
25
+ * ```
26
+ *
27
+ * @param args - One argument for each argument that's declared in the signature
28
+ * that's passed to {@link LegacySharedOptions.functions}. If the signature
29
+ * [takes arbitrary
30
+ * arguments](https://sass-lang.com/documentation/at-rules/function#taking-arbitrary-arguments),
31
+ * they're passed as a single argument list in the last argument.
32
+ *
33
+ * @category Legacy
34
+ * @deprecated This only works with the legacy {@link render} and {@link
35
+ * renderSync} APIs. Use {@link CustomFunction} with {@link compile}, {@link
36
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
37
+ */
38
+ export type LegacySyncFunction = (
39
+ this: LegacyPluginThis,
40
+ ...args: LegacyValue[]
41
+ ) => LegacyValue;
42
+
43
+ /**
44
+ * An asynchronous callback that implements a custom Sass function. This can be
45
+ * passed to {@link LegacySharedOptions.functions}, but only for {@link render}.
46
+ *
47
+ * An asynchronous function must return `undefined`. Its final argument will
48
+ * always be a callback, which it should call with the result of the function
49
+ * once it's done running.
50
+ *
51
+ * If this throws an error, Sass will treat that as the function failing with
52
+ * that error message.
53
+ *
54
+ * ```js
55
+ * sass.render({
56
+ * file: 'style.scss',
57
+ * functions: {
58
+ * "sum($arg1, $arg2)": (arg1, arg2, done) => {
59
+ * if (!(arg1 instanceof sass.types.Number)) {
60
+ * throw new Error("$arg1: Expected a number");
61
+ * } else if (!(arg2 instanceof sass.types.Number)) {
62
+ * throw new Error("$arg2: Expected a number");
63
+ * }
64
+ * done(new sass.types.Number(arg1.getValue() + arg2.getValue()));
65
+ * }
66
+ * }
67
+ * }, (result, error) => {
68
+ * // ...
69
+ * });
70
+ * ```
71
+ *
72
+ * This is passed one argument for each argument that's declared in the
73
+ * signature that's passed to {@link LegacySharedOptions.functions}. If the
74
+ * signature [takes arbitrary
75
+ * arguments](https://sass-lang.com/documentation/at-rules/function#taking-arbitrary-arguments),
76
+ * they're passed as a single argument list in the last argument before the
77
+ * callback.
78
+ *
79
+ * @category Legacy
80
+ * @deprecated This only works with the legacy {@link render} and {@link
81
+ * renderSync} APIs. Use {@link CustomFunction} with {@link compile}, {@link
82
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
83
+ */
84
+ export type LegacyAsyncFunction =
85
+ | ((this: LegacyPluginThis, done: (result: LegacyValue) => void) => void)
86
+ | ((
87
+ this: LegacyPluginThis,
88
+ arg1: LegacyValue,
89
+ done: LegacyAsyncFunctionDone
90
+ ) => void)
91
+ | ((
92
+ this: LegacyPluginThis,
93
+ arg1: LegacyValue,
94
+ arg2: LegacyValue,
95
+ done: LegacyAsyncFunctionDone
96
+ ) => void)
97
+ | ((
98
+ this: LegacyPluginThis,
99
+ arg1: LegacyValue,
100
+ arg2: LegacyValue,
101
+ arg3: LegacyValue,
102
+ done: LegacyAsyncFunctionDone
103
+ ) => void)
104
+ | ((
105
+ this: LegacyPluginThis,
106
+ arg1: LegacyValue,
107
+ arg2: LegacyValue,
108
+ arg3: LegacyValue,
109
+ arg4: LegacyValue,
110
+ done: LegacyAsyncFunctionDone
111
+ ) => void)
112
+ | ((
113
+ this: LegacyPluginThis,
114
+ arg1: LegacyValue,
115
+ arg2: LegacyValue,
116
+ arg3: LegacyValue,
117
+ arg4: LegacyValue,
118
+ arg5: LegacyValue,
119
+ done: LegacyAsyncFunctionDone
120
+ ) => void)
121
+ | ((
122
+ this: LegacyPluginThis,
123
+ arg1: LegacyValue,
124
+ arg2: LegacyValue,
125
+ arg3: LegacyValue,
126
+ arg4: LegacyValue,
127
+ arg5: LegacyValue,
128
+ arg6: LegacyValue,
129
+ done: LegacyAsyncFunctionDone
130
+ ) => void)
131
+ | ((
132
+ this: LegacyPluginThis,
133
+ ...args: [...LegacyValue[], LegacyAsyncFunctionDone]
134
+ ) => void);
135
+
136
+ /**
137
+ * The function called by a {@link LegacyAsyncFunction} to indicate that it's
138
+ * finished.
139
+ *
140
+ * @param result - If this is a {@link LegacyValue}, that indicates that the
141
+ * function call completed successfully. If it's a {@link types.Error}, that
142
+ * indicates that the function call failed.
143
+ *
144
+ * @category Legacy
145
+ * @deprecated This only works with the legacy {@link render} and {@link
146
+ * renderSync} APIs. Use {@link CustomFunction} with {@link compile}, {@link
147
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
148
+ */
149
+ export type LegacyAsyncFunctionDone = (
150
+ result: LegacyValue | types.Error
151
+ ) => void;
152
+
153
+ /**
154
+ * A callback that implements a custom Sass function. For {@link renderSync},
155
+ * this must be a {@link LegacySyncFunction} which returns its result directly;
156
+ * for {@link render}, it may be either a {@link LegacySyncFunction} or a {@link
157
+ * LegacyAsyncFunction} which calls a callback with its result.
158
+ *
159
+ * See {@link LegacySharedOptions.functions} for more details.
160
+ *
161
+ * @category Legacy
162
+ * @deprecated This only works with the legacy {@link render} and {@link
163
+ * renderSync} APIs. Use {@link CustomFunction} with {@link compile}, {@link
164
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
165
+ */
166
+ export type LegacyFunction<sync extends 'sync' | 'async'> = sync extends 'async'
167
+ ? LegacySyncFunction | LegacyAsyncFunction
168
+ : LegacySyncFunction;
169
+
170
+ /**
171
+ * A type representing all the possible values that may be passed to or returned
172
+ * from a {@link LegacyFunction}.
173
+ *
174
+ * @category Legacy
175
+ * @deprecated This only works with the legacy {@link render} and {@link
176
+ * renderSync} APIs. Use {@link Value} with {@link compile}, {@link
177
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
178
+ */
179
+ export type LegacyValue =
180
+ | types.Null
181
+ | types.Number
182
+ | types.String
183
+ | types.Boolean
184
+ | types.Color
185
+ | types.List
186
+ | types.Map;
187
+
188
+ /**
189
+ * A shorthand for `sass.types.Boolean.TRUE`.
190
+ *
191
+ * @category Legacy
192
+ * @deprecated This only works with the legacy {@link render} and {@link
193
+ * renderSync} APIs. Use {@link sassTrue} with {@link compile}, {@link
194
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
195
+ */
196
+ export const TRUE: types.Boolean<true>;
197
+
198
+ /**
199
+ * A shorthand for `sass.types.Boolean.FALSE`.
200
+ *
201
+ * @category Legacy
202
+ * @deprecated This only works with the legacy {@link render} and {@link
203
+ * renderSync} APIs. Use {@link sassFalse} with {@link compile}, {@link
204
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
205
+ */
206
+ export const FALSE: types.Boolean<false>;
207
+
208
+ /**
209
+ * A shorthand for `sass.types.Null.NULL`.
210
+ *
211
+ * @category Legacy
212
+ * @deprecated This only works with the legacy {@link render} and {@link
213
+ * renderSync} APIs. Use {@link sassNull} with {@link compile}, {@link
214
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
215
+ */
216
+ export const NULL: types.Null;
217
+
218
+ /**
219
+ * The namespace for value types used in the legacy function API.
220
+ *
221
+ * @category Legacy
222
+ * @deprecated This only works with the legacy {@link render} and {@link
223
+ * renderSync} APIs. Use {@link Value} with {@link compile}, {@link
224
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
225
+ */
226
+ export namespace types {
227
+ /**
228
+ * The class for Sass's singleton [`null`
229
+ * value](https://sass-lang.com/documentation/values/null). The value itself
230
+ * can be accessed through the {@link NULL} field.
231
+ */
232
+ export class Null {
233
+ /** Sass's singleton `null` value. */
234
+ static readonly NULL: Null;
235
+ }
236
+
237
+ /**
238
+ * Sass's [number type](https://sass-lang.com/documentation/values/numbers).
239
+ */
240
+ export class Number {
241
+ /**
242
+ * @param value - The numeric value of the number.
243
+ *
244
+ * @param unit - If passed, the number's unit.
245
+ *
246
+ * Complex units can be represented as
247
+ * `<unit>*<unit>*.../<unit>*<unit>*...`, with numerator units on the
248
+ * left-hand side of the `/` and denominator units on the right. A number
249
+ * with only numerator units may omit the `/` and the units after it, and a
250
+ * number with only denominator units may be represented
251
+ * with no units before the `/`.
252
+ *
253
+ * @example
254
+ *
255
+ * ```scss
256
+ * new sass.types.Number(0.5); // == 0.5
257
+ * new sass.types.Number(10, "px"); // == 10px
258
+ * new sass.types.Number(10, "px*px"); // == 10px * 1px
259
+ * new sass.types.Number(10, "px/s"); // == math.div(10px, 1s)
260
+ * new sass.types.Number(10, "px*px/s*s"); // == 10px * math.div(math.div(1px, 1s), 1s)
261
+ * ```
262
+ */
263
+ constructor(value: number, unit?: string);
264
+
265
+ /**
266
+ * Returns the value of the number, ignoring units.
267
+ *
268
+ * **Heads up!** This means that `96px` and `1in` will return different
269
+ * values, even though they represent the same length.
270
+ *
271
+ * @example
272
+ *
273
+ * ```js
274
+ * const number = new sass.types.Number(10, "px");
275
+ * number.getValue(); // 10
276
+ * ```
277
+ */
278
+ getValue(): number;
279
+
280
+ /**
281
+ * Destructively modifies this number by setting its numeric value to
282
+ * `value`, independent of its units.
283
+ *
284
+ * @deprecated Use {@link constructor} instead.
285
+ */
286
+ setValue(value: number): void;
287
+
288
+ /**
289
+ * Returns a string representation of this number's units. Complex units are
290
+ * returned in the same format that {@link constructor} accepts them.
291
+ *
292
+ * @example
293
+ *
294
+ * ```js
295
+ * // number is `10px`.
296
+ * number.getUnit(); // "px"
297
+ *
298
+ * // number is `math.div(10px, 1s)`.
299
+ * number.getUnit(); // "px/s"
300
+ * ```
301
+ */
302
+ getUnit(): string;
303
+
304
+ /**
305
+ * Destructively modifies this number by setting its units to `unit`,
306
+ * independent of its numeric value. Complex units are specified in the same
307
+ * format as {@link constructor}.
308
+ *
309
+ * @deprecated Use {@link constructor} instead.
310
+ */
311
+ setUnit(unit: string): void;
312
+ }
313
+
314
+ /**
315
+ * Sass's [string type](https://sass-lang.com/documentation/values/strings).
316
+ *
317
+ * **Heads up!** This API currently provides no way of distinguishing between
318
+ * a [quoted](https://sass-lang.com/documentation/values/strings#quoted) and
319
+ * [unquoted](https://sass-lang.com/documentation/values/strings#unquoted)
320
+ * string.
321
+ */
322
+ export class String {
323
+ /**
324
+ * Creates an unquoted string with the given contents.
325
+ *
326
+ * **Heads up!** This API currently provides no way of creating a
327
+ * [quoted](https://sass-lang.com/documentation/values/strings#quoted)
328
+ * string.
329
+ */
330
+ constructor(value: string);
331
+
332
+ /**
333
+ * Returns the contents of the string. If the string contains escapes,
334
+ * those escapes are included literally if it’s
335
+ * [unquoted](https://sass-lang.com/documentation/values/strings#unquoted),
336
+ * while the values of the escapes are included if it’s
337
+ * [quoted](https://sass-lang.com/documentation/values/strings#quoted).
338
+ *
339
+ * @example
340
+ *
341
+ * ```
342
+ * // string is `Arial`.
343
+ * string.getValue(); // "Arial"
344
+ *
345
+ * // string is `"Helvetica Neue"`.
346
+ * string.getValue(); // "Helvetica Neue"
347
+ *
348
+ * // string is `\1F46D`.
349
+ * string.getValue(); // "\\1F46D"
350
+ *
351
+ * // string is `"\1F46D"`.
352
+ * string.getValue(); // "👭"
353
+ * ```
354
+ */
355
+ getValue(): string;
356
+
357
+ /**
358
+ * Destructively modifies this string by setting its numeric value to
359
+ * `value`.
360
+ *
361
+ * **Heads up!** Even if the string was originally quoted, this will cause
362
+ * it to become unquoted.
363
+ *
364
+ * @deprecated Use {@link constructor} instead.
365
+ */
366
+ setValue(value: string): void;
367
+ }
368
+
369
+ /**
370
+ * Sass's [boolean type](https://sass-lang.com/documentation/values/booleans).
371
+ *
372
+ * Custom functions should respect Sass’s notion of
373
+ * [truthiness](https://sass-lang.com/documentation/at-rules/control/if#truthiness-and-falsiness)
374
+ * by treating `false` and `null` as falsey and everything else as truthy.
375
+ *
376
+ * **Heads up!** Boolean values can't be constructed, they can only be
377
+ * accessed through the {@link TRUE} and {@link FALSE} constants.
378
+ */
379
+ export class Boolean<T extends boolean = boolean> {
380
+ /**
381
+ * Returns `true` if this is Sass's `true` value and `false` if this is
382
+ * Sass's `false` value.
383
+ *
384
+ * @example
385
+ *
386
+ * ```js
387
+ * // boolean is `true`.
388
+ * boolean.getValue(); // true
389
+ * boolean === sass.types.Boolean.TRUE; // true
390
+ *
391
+ * // boolean is `false`.
392
+ * boolean.getValue(); // false
393
+ * boolean === sass.types.Boolean.FALSE; // true
394
+ * ```
395
+ */
396
+ getValue(): T;
397
+
398
+ /** Sass's `true` value. */
399
+ static readonly TRUE: Boolean<true>;
400
+
401
+ /** Sass's `false` value. */
402
+ static readonly FALSE: Boolean<false>;
403
+ }
404
+
405
+ /**
406
+ * Sass's [color type](https://sass-lang.com/documentation/values/colors).
407
+ */
408
+ export class Color {
409
+ /**
410
+ * Creates a new Sass color with the given red, green, blue, and alpha
411
+ * channels. The red, green, and blue channels must be integers between 0
412
+ * and 255 (inclusive), and alpha must be between 0 and 1 (inclusive).
413
+ *
414
+ * @example
415
+ *
416
+ * ```js
417
+ * new sass.types.Color(107, 113, 127); // #6b717f
418
+ * new sass.types.Color(0, 0, 0, 0); // rgba(0, 0, 0, 0)
419
+ * ```
420
+ */
421
+ constructor(r: number, g: number, b: number, a?: number);
422
+
423
+ /**
424
+ * Creates a new Sass color with alpha, red, green, and blue channels taken
425
+ * from respective two-byte chunks of a hexidecimal number.
426
+ *
427
+ * @example
428
+ *
429
+ * ```js
430
+ * new sass.types.Color(0xff6b717f); // #6b717f
431
+ * new sass.types.Color(0x00000000); // rgba(0, 0, 0, 0)
432
+ * ```
433
+ */
434
+ constructor(argb: number);
435
+
436
+ /**
437
+ * Returns the red channel of the color as an integer from 0 to 255.
438
+ *
439
+ * @example
440
+ *
441
+ * ```js
442
+ * // color is `#6b717f`.
443
+ * color.getR(); // 107
444
+ *
445
+ * // color is `#b37399`.
446
+ * color.getR(); // 179
447
+ * ```
448
+ */
449
+ getR(): number;
450
+
451
+ /**
452
+ * Sets the red channel of the color. The value must be an integer between 0
453
+ * and 255 (inclusive).
454
+ *
455
+ * @deprecated Use {@link constructor} instead.
456
+ */
457
+ setR(value: number): void;
458
+
459
+ /**
460
+ * Returns the green channel of the color as an integer from 0 to 255.
461
+ *
462
+ * @example
463
+ *
464
+ * ```js
465
+ * // color is `#6b717f`.
466
+ * color.getG(); // 113
467
+ *
468
+ * // color is `#b37399`.
469
+ * color.getG(); // 115
470
+ * ```
471
+ */
472
+ getG(): number;
473
+
474
+ /**
475
+ * Sets the green channel of the color. The value must be an integer between
476
+ * 0 and 255 (inclusive).
477
+ *
478
+ * @deprecated Use {@link constructor} instead.
479
+ */
480
+ setG(value: number): void;
481
+
482
+ /**
483
+ * Returns the blue channel of the color as an integer from 0 to 255.
484
+ *
485
+ * @example
486
+ *
487
+ * ```js
488
+ * // color is `#6b717f`.
489
+ * color.getB(); // 127
490
+ *
491
+ * // color is `#b37399`.
492
+ * color.getB(); // 153
493
+ * ```
494
+ */
495
+ getB(): number;
496
+
497
+ /**
498
+ * Sets the blue channel of the color. The value must be an integer between
499
+ * 0 and 255 (inclusive).
500
+ *
501
+ * @deprecated Use {@link constructor} instead.
502
+ */
503
+ setB(value: number): void;
504
+
505
+ /**
506
+ * Returns the alpha channel of the color as a number from 0 to 1.
507
+ *
508
+ * @example
509
+ *
510
+ * ```js
511
+ * // color is `#6b717f`.
512
+ * color.getA(); // 1
513
+ *
514
+ * // color is `transparent`.
515
+ * color.getA(); // 0
516
+ * ```
517
+ */
518
+ getA(): number;
519
+
520
+ /**
521
+ * Sets the alpha channel of the color. The value must be between 0 and 1
522
+ * (inclusive).
523
+ *
524
+ * @deprecated Use {@link constructor} instead.
525
+ */
526
+ setA(value: number): void;
527
+ }
528
+
529
+ /**
530
+ * Sass's [list type](https://sass-lang.com/documentation/values/lists).
531
+ *
532
+ * **Heads up!** This list type’s methods use 0-based indexing, even though
533
+ * within Sass lists use 1-based indexing. These methods also don’t support
534
+ * using negative numbers to index backwards from the end of the list.
535
+ */
536
+ export class List {
537
+ /**
538
+ * Creates a new Sass list.
539
+ *
540
+ * **Heads up!** The initial values of the list elements are undefined.
541
+ * These elements must be set using {@link setValue} before accessing them
542
+ * or passing the list back to Sass.
543
+ *
544
+ * @example
545
+ *
546
+ * ```js
547
+ * const list = new sass.types.List(3);
548
+ * list.setValue(0, new sass.types.Number(10, "px"));
549
+ * list.setValue(1, new sass.types.Number(15, "px"));
550
+ * list.setValue(2, new sass.types.Number(32, "px"));
551
+ * list; // 10px, 15px, 32px
552
+ * ```
553
+ *
554
+ * @param length - The number of (initially undefined) elements in the list.
555
+ * @param commaSeparator - If `true`, the list is comma-separated; otherwise,
556
+ * it's space-separated. Defaults to `true`.
557
+ */
558
+ constructor(length: number, commaSeparator?: boolean);
559
+
560
+ /**
561
+ * Returns the element at `index`, or `undefined` if that value hasn't yet
562
+ * been set.
563
+ *
564
+ * @example
565
+ *
566
+ * ```js
567
+ * // list is `10px, 15px, 32px`
568
+ * list.getValue(0); // 10px
569
+ * list.getValue(2); // 32px
570
+ * ```
571
+ *
572
+ * @param index - A (0-based) index into this list.
573
+ * @throws `Error` if `index` is less than 0 or greater than or equal to the
574
+ * number of elements in this list.
575
+ */
576
+ getValue(index: number): LegacyValue | undefined;
577
+
578
+ /**
579
+ * Sets the element at `index` to `value`.
580
+ *
581
+ * @example
582
+ *
583
+ * ```js
584
+ * // list is `10px, 15px, 32px`
585
+ * list.setValue(1, new sass.types.Number(18, "px"));
586
+ * list; // 10px, 18px, 32px
587
+ * ```
588
+ *
589
+ * @param index - A (0-based) index into this list.
590
+ * @throws `Error` if `index` is less than 0 or greater than or equal to the
591
+ * number of elements in this list.
592
+ */
593
+ setValue(index: number, value: LegacyValue): void;
594
+
595
+ /**
596
+ * Returns `true` if this list is comma-separated and `false` otherwise.
597
+ *
598
+ * @example
599
+ *
600
+ * ```js
601
+ * // list is `10px, 15px, 32px`
602
+ * list.getSeparator(); // true
603
+ *
604
+ * // list is `1px solid`
605
+ * list.getSeparator(); // false
606
+ * ```
607
+ */
608
+ getSeparator(): boolean;
609
+
610
+ /**
611
+ * Sets whether the list is comma-separated.
612
+ *
613
+ * @param isComma - `true` to make the list comma-separated, `false` otherwise.
614
+ */
615
+ setSeparator(isComma: boolean): void;
616
+
617
+ /**
618
+ * Returns the number of elements in the list.
619
+ *
620
+ * @example
621
+ *
622
+ * ```js
623
+ * // list is `10px, 15px, 32px`
624
+ * list.getLength(); // 3
625
+ *
626
+ * // list is `1px solid`
627
+ * list.getLength(); // 2
628
+ * ```
629
+ */
630
+ getLength(): number;
631
+ }
632
+
633
+ /**
634
+ * Sass's [map type](https://sass-lang.com/documentation/values/maps).
635
+ *
636
+ * **Heads up!** This map type is represented as a list of key-value pairs
637
+ * rather than a mapping from keys to values. The only way to find the value
638
+ * associated with a given key is to iterate through the map checking for that
639
+ * key. Maps created through this API are still forbidden from having duplicate
640
+ * keys.
641
+ */
642
+ export class Map {
643
+ /**
644
+ * Creates a new Sass map.
645
+ *
646
+ * **Heads up!** The initial keys and values of the map are undefined. They
647
+ * must be set using {@link setKey} and {@link setValue} before accessing
648
+ * them or passing the map back to Sass.
649
+ *
650
+ * @example
651
+ *
652
+ * ```js
653
+ * const map = new sass.types.Map(2);
654
+ * map.setKey(0, new sass.types.String("width"));
655
+ * map.setValue(0, new sass.types.Number(300, "px"));
656
+ * map.setKey(1, new sass.types.String("height"));
657
+ * map.setValue(1, new sass.types.Number(100, "px"));
658
+ * map; // (width: 300px, height: 100px)
659
+ * ```
660
+ *
661
+ * @param length - The number of (initially undefined) key/value pairs in the map.
662
+ */
663
+ constructor(length: number);
664
+
665
+ /**
666
+ * Returns the value in the key/value pair at `index`.
667
+ *
668
+ * @example
669
+ *
670
+ * ```js
671
+ * // map is `(width: 300px, height: 100px)`
672
+ * map.getValue(0); // 300px
673
+ * map.getValue(1); // 100px
674
+ * ```
675
+ *
676
+ * @param index - A (0-based) index of a key/value pair in this map.
677
+ * @throws `Error` if `index` is less than 0 or greater than or equal to the
678
+ * number of pairs in this map.
679
+ */
680
+ getValue(index: number): LegacyValue;
681
+
682
+ /**
683
+ * Sets the value in the key/value pair at `index` to `value`.
684
+ *
685
+ * @example
686
+ *
687
+ * ```js
688
+ * // map is `("light": 200, "medium": 400, "bold": 600)`
689
+ * map.setValue(1, new sass.types.Number(300));
690
+ * map; // ("light": 200, "medium": 300, "bold": 600)
691
+ * ```
692
+ *
693
+ * @param index - A (0-based) index of a key/value pair in this map.
694
+ * @throws `Error` if `index` is less than 0 or greater than or equal to the
695
+ * number of pairs in this map.
696
+ */
697
+ setValue(index: number, value: LegacyValue): void;
698
+
699
+ /**
700
+ * Returns the key in the key/value pair at `index`.
701
+ *
702
+ * @example
703
+ *
704
+ * ```js
705
+ * // map is `(width: 300px, height: 100px)`
706
+ * map.getKey(0); // width
707
+ * map.getKey(1); // height
708
+ * ```
709
+ *
710
+ * @param index - A (0-based) index of a key/value pair in this map.
711
+ * @throws `Error` if `index` is less than 0 or greater than or equal to the
712
+ * number of pairs in this map.
713
+ */
714
+ getKey(index: number): LegacyValue;
715
+
716
+ /**
717
+ * Sets the value in the key/value pair at `index` to `value`.
718
+ *
719
+ * @example
720
+ *
721
+ * ```js
722
+ * // map is `("light": 200, "medium": 400, "bold": 600)`
723
+ * map.setValue(1, new sass.types.String("lighter"));
724
+ * map; // ("lighter": 200, "medium": 300, "bold": 600)
725
+ * ```
726
+ *
727
+ * @param index - A (0-based) index of a key/value pair in this map.
728
+ * @throws `Error` if `index` is less than 0 or greater than or equal to the
729
+ * number of pairs in this map.
730
+ */
731
+ setKey(index: number, key: LegacyValue): void;
732
+
733
+ /**
734
+ * Returns the number of key/value pairs in this map.
735
+ *
736
+ * @example
737
+ *
738
+ * ```js
739
+ * // map is `("light": 200, "medium": 400, "bold": 600)`
740
+ * map.getLength(); // 3
741
+ *
742
+ * // map is `(width: 300px, height: 100px)`
743
+ * map.getLength(); // 2
744
+ * ```
745
+ */
746
+ getLength(): number;
747
+ }
748
+
749
+ /**
750
+ * An error that can be returned from a Sass function to signal that it
751
+ * encountered an error. This is the only way to signal an error
752
+ * asynchronously from a {@link LegacyAsyncFunction}.
753
+ */
754
+ export class Error {
755
+ constructor(message: string);
756
+ }
757
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/importer.d.ts CHANGED
@@ -1,3 +1,169 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b813f62a37886ed986b0f6f8c5bf323b3fcae32c1952b71d75741e74ea9353cf
3
- size 6358
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import {LegacyPluginThis} from './plugin_this';
2
+
3
+ /**
4
+ * The value of `this` in the context of a {@link LegacyImporter} function.
5
+ *
6
+ * @category Legacy
7
+ * @deprecated This is only used by the legacy {@link render} and {@link
8
+ * renderSync} APIs. Use {@link Importer} with {@link compile}, {@link
9
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
10
+ */
11
+ interface LegacyImporterThis extends LegacyPluginThis {
12
+ /**
13
+ * Whether the importer is being invoked because of a Sass `@import` rule, as
14
+ * opposed to a `@use` or `@forward` rule.
15
+ *
16
+ * This should *only* be used for determining whether or not to load
17
+ * [import-only files](https://sass-lang.com/documentation/at-rules/import#import-only-files).
18
+ *
19
+ * @compatibility dart: "1.33.0", node: false
20
+ */
21
+ fromImport: boolean;
22
+ }
23
+
24
+ /**
25
+ * The result of running a {@link LegacyImporter}. It must be one of the
26
+ * following types:
27
+ *
28
+ * * An object with the key `contents` whose value is the contents of a stylesheet
29
+ * (in SCSS syntax). This causes Sass to load that stylesheet’s contents.
30
+ *
31
+ * * An object with the key `file` whose value is a path on disk. This causes Sass
32
+ * to load that file as though it had been imported directly.
33
+ *
34
+ * * `null`, which indicates that it doesn’t recognize the URL and another
35
+ * importer should be tried instead.
36
+ *
37
+ * * An [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error)
38
+ * object, indicating that importing failed.
39
+ *
40
+ * @category Legacy
41
+ * @deprecated This only works with the legacy {@link render} and {@link
42
+ * renderSync} APIs. Use {@link ImporterResult} with {@link compile}, {@link
43
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
44
+ */
45
+ export type LegacyImporterResult =
46
+ | {file: string}
47
+ | {contents: string}
48
+ | Error
49
+ | null;
50
+
51
+ /**
52
+ * A synchronous callback that implements custom Sass loading logic for
53
+ * [`@import` rules](https://sass-lang.com/documentation/at-rules/import) and
54
+ * [`@use` rules](https://sass-lang.com/documentation/at-rules/use). This can be
55
+ * passed to {@link LegacySharedOptions.importer} for either {@link render} or
56
+ * {@link renderSync}.
57
+ *
58
+ * See {@link LegacySharedOptions.importer} for more detailed documentation.
59
+ *
60
+ * ```js
61
+ * sass.renderSync({
62
+ * file: "style.scss",
63
+ * importer: [
64
+ * function(url, prev) {
65
+ * if (url != "big-headers") return null;
66
+ *
67
+ * return {
68
+ * contents: 'h1 { font-size: 40px; }'
69
+ * };
70
+ * }
71
+ * ]
72
+ * });
73
+ * ```
74
+ *
75
+ * @param url - The `@use` or `@import` rule’s URL as a string, exactly as it
76
+ * appears in the stylesheet.
77
+ *
78
+ * @param prev - A string identifying the stylesheet that contained the `@use`
79
+ * or `@import`. This string’s format depends on how that stylesheet was loaded:
80
+ *
81
+ * * If the stylesheet was loaded from the filesystem, it’s the absolute path of
82
+ * its file.
83
+ * * If the stylesheet was loaded from an importer that returned its contents,
84
+ * it’s the URL of the `@use` or `@import` rule that loaded it.
85
+ * * If the stylesheet came from the data option, it’s the string "stdin".
86
+ *
87
+ * @category Legacy
88
+ * @deprecated This only works with the legacy {@link render} and {@link
89
+ * renderSync} APIs. Use {@link Importer} with {@link compile}, {@link
90
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
91
+ */
92
+ type LegacySyncImporter = (
93
+ this: LegacyImporterThis,
94
+ url: string,
95
+ prev: string
96
+ ) => LegacyImporterResult;
97
+
98
+ /**
99
+ * An asynchronous callback that implements custom Sass loading logic for
100
+ * [`@import` rules](https://sass-lang.com/documentation/at-rules/import) and
101
+ * [`@use` rules](https://sass-lang.com/documentation/at-rules/use). This can be
102
+ * passed to {@link LegacySharedOptions.importer} for either {@link render} or
103
+ * {@link renderSync}.
104
+ *
105
+ * An asynchronous importer must return `undefined`, and then call `done` with
106
+ * the result of its {@link LegacyImporterResult} once it's done running.
107
+ *
108
+ * See {@link LegacySharedOptions.importer} for more detailed documentation.
109
+ *
110
+ * ```js
111
+ * sass.render({
112
+ * file: "style.scss",
113
+ * importer: [
114
+ * function(url, prev, done) {
115
+ * if (url != "big-headers") done(null);
116
+ *
117
+ * done({
118
+ * contents: 'h1 { font-size: 40px; }'
119
+ * });
120
+ * }
121
+ * ]
122
+ * });
123
+ * ```
124
+ *
125
+ * @param url - The `@use` or `@import` rule’s URL as a string, exactly as it
126
+ * appears in the stylesheet.
127
+ *
128
+ * @param prev - A string identifying the stylesheet that contained the `@use`
129
+ * or `@import`. This string’s format depends on how that stylesheet was loaded:
130
+ *
131
+ * * If the stylesheet was loaded from the filesystem, it’s the absolute path of
132
+ * its file.
133
+ * * If the stylesheet was loaded from an importer that returned its contents,
134
+ * it’s the URL of the `@use` or `@import` rule that loaded it.
135
+ * * If the stylesheet came from the data option, it’s the string "stdin".
136
+ *
137
+ * @param done - The callback to call once the importer has finished running.
138
+ *
139
+ * @category Legacy
140
+ * @deprecated This only works with the legacy {@link render} and {@link
141
+ * renderSync} APIs. Use {@link Importer} with {@link compile}, {@link
142
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
143
+ */
144
+ type LegacyAsyncImporter = (
145
+ this: LegacyImporterThis,
146
+ url: string,
147
+ prev: string,
148
+ done: (result: LegacyImporterResult) => void
149
+ ) => void;
150
+
151
+ /**
152
+ * A callback that implements custom Sass loading logic for [`@import`
153
+ * rules](https://sass-lang.com/documentation/at-rules/import) and [`@use`
154
+ * rules](https://sass-lang.com/documentation/at-rules/use). For {@link
155
+ * renderSync}, this must be a {@link LegacySyncImporter} which returns its
156
+ * result directly; for {@link render}, it may be either a {@link
157
+ * LegacySyncImporter} or a {@link LegacyAsyncImporter} which calls a callback
158
+ * with its result.
159
+ *
160
+ * See {@link LegacySharedOptions.importer} for more details.
161
+ *
162
+ * @category Legacy
163
+ * @deprecated This only works with the legacy {@link render} and {@link
164
+ * renderSync} APIs. Use {@link Importer} with {@link compile}, {@link
165
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
166
+ */
167
+ export type LegacyImporter<sync = 'sync' | 'async'> = sync extends 'async'
168
+ ? LegacySyncImporter | LegacyAsyncImporter
169
+ : LegacySyncImporter;
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/options.d.ts CHANGED
@@ -1,3 +1,660 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:658763e1893aa10322784cc2e8d43874d7093fde48992b094913aaa83cf262c8
3
- size 20877
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import {Logger} from '../logger';
2
+ import {LegacyImporter} from './importer';
3
+ import {LegacyFunction} from './function';
4
+ import {NodePackageImporter} from '../importer';
5
+
6
+ /**
7
+ * Options for {@link render} and {@link renderSync} that are shared between
8
+ * {@link LegacyFileOptions} and {@link LegacyStringOptions}.
9
+ *
10
+ * @typeParam sync - This lets the TypeScript checker verify that {@link
11
+ * LegacyAsyncImporter}s and {@link LegacyAsyncFunction}s aren't passed to
12
+ * {@link renderSync}.
13
+ *
14
+ * @category Legacy
15
+ * @deprecated This only works with the legacy {@link render} and {@link
16
+ * renderSync} APIs. Use {@link Options} with {@link compile}, {@link
17
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
18
+ */
19
+ export interface LegacySharedOptions<sync extends 'sync' | 'async'> {
20
+ /**
21
+ * This array of strings option provides [load
22
+ * paths](https://sass-lang.com/documentation/at-rules/import#load-paths) for
23
+ * Sass to look for stylesheets. Earlier load paths will take precedence over
24
+ * later ones.
25
+ *
26
+ * ```js
27
+ * sass.renderSync({
28
+ * file: "style.scss",
29
+ * includePaths: ["node_modules/bootstrap/dist/css"]
30
+ * });
31
+ * ```
32
+ *
33
+ * Load paths are also loaded from the `SASS_PATH` environment variable, if
34
+ * it’s set. This variable should be a list of paths separated by `;` (on
35
+ * Windows) or `:` (on other operating systems). Load paths from the
36
+ * `includePaths` option take precedence over load paths from `SASS_PATH`.
37
+ *
38
+ * ```sh
39
+ * $ SASS_PATH=node_modules/bootstrap/dist/css sass style.scss style.css
40
+ * ```
41
+ *
42
+ * @category Input
43
+ * @compatibility feature: "SASS_PATH", dart: "1.15.0", node: "3.9.0"
44
+ *
45
+ * Earlier versions of Dart Sass and Node Sass didn’t support the `SASS_PATH`
46
+ * environment variable.
47
+ */
48
+ includePaths?: string[];
49
+
50
+ /**
51
+ * Whether the generated CSS should use spaces or tabs for indentation.
52
+ *
53
+ * ```js
54
+ * const result = sass.renderSync({
55
+ * file: "style.scss",
56
+ * indentType: "tab",
57
+ * indentWidth: 1
58
+ * });
59
+ *
60
+ * result.css.toString();
61
+ * // "h1 {\n\tfont-size: 40px;\n}\n"
62
+ * ```
63
+ *
64
+ * @defaultValue `'space'`
65
+ * @category Output
66
+ * @compatibility dart: true, node: "3.0.0"
67
+ */
68
+ indentType?: 'space' | 'tab';
69
+
70
+ /**
71
+ * How many spaces or tabs (depending on {@link indentType}) should be used
72
+ * per indentation level in the generated CSS. It must be between 0 and 10
73
+ * (inclusive).
74
+ *
75
+ * @defaultValue `2`
76
+ * @category Output
77
+ * @compatibility dart: true, node: "3.0.0"
78
+ */
79
+ indentWidth?: number;
80
+
81
+ /**
82
+ * Which character sequence to use at the end of each line in the generated
83
+ * CSS. It can have the following values:
84
+ *
85
+ * * `'lf'` uses U+000A LINE FEED.
86
+ * * `'lfcr'` uses U+000A LINE FEED followed by U+000D CARRIAGE RETURN.
87
+ * * `'cr'` uses U+000D CARRIAGE RETURN.
88
+ * * `'crlf'` uses U+000D CARRIAGE RETURN followed by U+000A LINE FEED.
89
+ *
90
+ * @defaultValue `'lf'`
91
+ * @category Output
92
+ * @compatibility dart: true, node: "3.0.0"
93
+ */
94
+ linefeed?: 'cr' | 'crlf' | 'lf' | 'lfcr';
95
+
96
+ /**
97
+ * If `true`, Sass won't add a link from the generated CSS to the source map.
98
+ *
99
+ * ```js
100
+ * const result = sass.renderSync({
101
+ * file: "style.scss",
102
+ * sourceMap: "out.map",
103
+ * omitSourceMapUrl: true
104
+ * })
105
+ * console.log(result.css.toString());
106
+ * // h1 {
107
+ * // font-size: 40px;
108
+ * // }
109
+ * ```
110
+ *
111
+ * @defaultValue `false`
112
+ * @category Source Maps
113
+ */
114
+ omitSourceMapUrl?: boolean;
115
+
116
+ /**
117
+ * The location that Sass expects the generated CSS to be saved to. It’s used
118
+ * to determine the URL used to link from the generated CSS to the source map,
119
+ * and from the source map to the Sass source files.
120
+ *
121
+ * **Heads up!** Despite the name, Sass does *not* write the CSS output to
122
+ * this file. The caller must do that themselves.
123
+ *
124
+ * ```js
125
+ * result = sass.renderSync({
126
+ * file: "style.scss",
127
+ * sourceMap: true,
128
+ * outFile: "out.css"
129
+ * })
130
+ * console.log(result.css.toString());
131
+ * // h1 {
132
+ * // font-size: 40px;
133
+ * // }
134
+ * // /*# sourceMappingURL=out.css.map * /
135
+ * ```
136
+ *
137
+ * @category Source Maps
138
+ */
139
+ outFile?: string;
140
+
141
+ /**
142
+ * The output style of the compiled CSS. There are four possible output styles:
143
+ *
144
+ * * `"expanded"` (the default for Dart Sass) writes each selector and
145
+ * declaration on its own line.
146
+ *
147
+ * * `"compressed"` removes as many extra characters as possible, and writes
148
+ * the entire stylesheet on a single line.
149
+ *
150
+ * * `"nested"` (the default for Node Sass, not supported by Dart Sass)
151
+ * indents CSS rules to match the nesting of the Sass source.
152
+ *
153
+ * * `"compact"` (not supported by Dart Sass) puts each CSS rule on its own single line.
154
+ *
155
+ * @example
156
+ *
157
+ * ```js
158
+ * const source = `
159
+ * h1 {
160
+ * font-size: 40px;
161
+ * code {
162
+ * font-face: Roboto Mono;
163
+ * }
164
+ * }`;
165
+ *
166
+ * let result = sass.renderSync({
167
+ * data: source,
168
+ * outputStyle: "expanded"
169
+ * });
170
+ * console.log(result.css.toString());
171
+ * // h1 {
172
+ * // font-size: 40px;
173
+ * // }
174
+ * // h1 code {
175
+ * // font-face: Roboto Mono;
176
+ * // }
177
+ *
178
+ * result = sass.renderSync({
179
+ * data: source,
180
+ * outputStyle: "compressed"
181
+ * });
182
+ * console.log(result.css.toString());
183
+ * // h1{font-size:40px}h1 code{font-face:Roboto Mono}
184
+ *
185
+ * result = sass.renderSync({
186
+ * data: source,
187
+ * outputStyle: "nested"
188
+ * });
189
+ * console.log(result.css.toString());
190
+ * // h1 {
191
+ * // font-size: 40px; }
192
+ * // h1 code {
193
+ * // font-face: Roboto Mono; }
194
+ *
195
+ * result = sass.renderSync({
196
+ * data: source,
197
+ * outputStyle: "compact"
198
+ * });
199
+ * console.log(result.css.toString());
200
+ * // h1 { font-size: 40px; }
201
+ * // h1 code { font-face: Roboto Mono; }
202
+ * ```
203
+ *
204
+ * @category Output
205
+ */
206
+ outputStyle?: 'compressed' | 'expanded' | 'nested' | 'compact';
207
+
208
+ /**
209
+ * Whether or not Sass should generate a source map. If it does, the source
210
+ * map will be available as {@link LegacyResult.map} (unless {@link
211
+ * sourceMapEmbed} is `true`).
212
+ *
213
+ * If this option is a string, it’s the path that the source map is expected
214
+ * to be written to, which is used to link to the source map from the
215
+ * generated CSS and to link *from* the source map to the Sass source files.
216
+ * Note that if `sourceMap` is a string and {@link outFile} isn’t passed, Sass
217
+ * assumes that the CSS will be written to the same directory as the file
218
+ * option if it’s passed.
219
+ *
220
+ * If this option is `true`, the path is assumed to be {@link outFile} with
221
+ * `.map` added to the end. If it’s `true` and {@link outFile} isn’t passed,
222
+ * it has no effect.
223
+ *
224
+ * @example
225
+ *
226
+ * ```js
227
+ * let result = sass.renderSync({
228
+ * file: "style.scss",
229
+ * sourceMap: "out.map"
230
+ * })
231
+ * console.log(result.css.toString());
232
+ * // h1 {
233
+ * // font-size: 40px;
234
+ * // }
235
+ * // /*# sourceMappingURL=out.map * /
236
+ *
237
+ * result = sass.renderSync({
238
+ * file: "style.scss",
239
+ * sourceMap: true,
240
+ * outFile: "out.css"
241
+ * })
242
+ * console.log(result.css.toString());
243
+ * // h1 {
244
+ * // font-size: 40px;
245
+ * // }
246
+ * // /*# sourceMappingURL=out.css.map * /
247
+ * ```
248
+ *
249
+ * @defaultValue `false`
250
+ * @category Source Maps
251
+ */
252
+ sourceMap?: boolean | string;
253
+
254
+ /**
255
+ * Whether to embed the entire contents of the Sass files that contributed to
256
+ * the generated CSS in the source map. This may produce very large source
257
+ * maps, but it guarantees that the source will be available on any computer
258
+ * no matter how the CSS is served.
259
+ *
260
+ * @example
261
+ *
262
+ * ```js
263
+ * sass.renderSync({
264
+ * file: "style.scss",
265
+ * sourceMap: "out.map",
266
+ * sourceMapContents: true
267
+ * })
268
+ * ```
269
+ *
270
+ * @defaultValue `false`
271
+ * @category Source Maps
272
+ */
273
+ sourceMapContents?: boolean;
274
+
275
+ /**
276
+ * Whether to embed the contents of the source map file in the generated CSS,
277
+ * rather than creating a separate file and linking to it from the CSS.
278
+ *
279
+ * @example
280
+ *
281
+ * ```js
282
+ * sass.renderSync({
283
+ * file: "style.scss",
284
+ * sourceMap: "out.map",
285
+ * sourceMapEmbed: true
286
+ * });
287
+ * ```
288
+ *
289
+ * @defaultValue `false`
290
+ * @category Source Maps
291
+ */
292
+ sourceMapEmbed?: boolean;
293
+
294
+ /**
295
+ * If this is passed, it's prepended to all the links from the source map to
296
+ * the Sass source files.
297
+ *
298
+ * @category Source Maps
299
+ */
300
+ sourceMapRoot?: string;
301
+
302
+ /**
303
+ * Additional handler(s) for loading files when a [`@use`
304
+ * rule](https://sass-lang.com/documentation/at-rules/use) or an [`@import`
305
+ * rule](https://sass-lang.com/documentation/at-rules/import) is encountered.
306
+ * It can either be a single {@link LegacyImporter} function, or an array of
307
+ * {@link LegacyImporter}s.
308
+ *
309
+ * Importers take the URL of the `@import` or `@use` rule and return a {@link
310
+ * LegacyImporterResult} indicating how to handle that rule. For more details,
311
+ * see {@link LegacySyncImporter} and {@link LegacyAsyncImporter}.
312
+ *
313
+ * Loads are resolved by trying, in order:
314
+ *
315
+ * * Loading a file from disk relative to the file in which the `@use` or
316
+ * `@import` appeared.
317
+ *
318
+ * * Each custom importer.
319
+ *
320
+ * * Loading a file relative to the current working directory.
321
+ *
322
+ * * Each load path in {@link includePaths}.
323
+ *
324
+ * * Each load path specified in the `SASS_PATH` environment variable, which
325
+ * should be semicolon-separated on Windows and colon-separated elsewhere.
326
+ *
327
+ * @example
328
+ *
329
+ * ```js
330
+ * sass.render({
331
+ * file: "style.scss",
332
+ * importer: [
333
+ * // This importer uses the synchronous API, and can be passed to either
334
+ * // renderSync() or render().
335
+ * function(url, prev) {
336
+ * // This generates a stylesheet from scratch for `@use "big-headers"`.
337
+ * if (url != "big-headers") return null;
338
+ *
339
+ * return {
340
+ * contents: `
341
+ * h1 {
342
+ * font-size: 40px;
343
+ * }`
344
+ * };
345
+ * },
346
+ *
347
+ * // This importer uses the asynchronous API, and can only be passed to
348
+ * // render().
349
+ * function(url, prev, done) {
350
+ * // Convert `@use "foo/bar"` to "node_modules/foo/sass/bar".
351
+ * const components = url.split('/');
352
+ * const innerPath = components.slice(1).join('/');
353
+ * done({
354
+ * file: `node_modules/${components.first}/sass/${innerPath}`
355
+ * });
356
+ * }
357
+ * ]
358
+ * }, function(err, result) {
359
+ * // ...
360
+ * });
361
+ * ```
362
+ *
363
+ * @category Plugins
364
+ * @compatibility dart: true, node: "3.0.0"
365
+ *
366
+ * Versions of Node Sass before 3.0.0 don’t support arrays of importers, nor
367
+ * do they support importers that return `Error` objects.
368
+ *
369
+ * Versions of Node Sass before 2.0.0 don’t support the `importer` option at
370
+ * all.
371
+ *
372
+ * @compatibility feature: "Import order", dart: "1.20.2", node: false
373
+ *
374
+ * Versions of Dart Sass before 1.20.2 preferred resolving imports using
375
+ * {@link includePaths} before resolving them using custom importers.
376
+ *
377
+ * All versions of Node Sass currently pass imports to importers before
378
+ * loading them relative to the file in which the `@import` appears. This
379
+ * behavior is considered incorrect and should not be relied on because it
380
+ * violates the principle of *locality*, which says that it should be possible
381
+ * to reason about a stylesheet without knowing everything about how the
382
+ * entire system is set up. If a user tries to import a stylesheet relative to
383
+ * another stylesheet, that import should *always* work. It shouldn’t be
384
+ * possible for some configuration somewhere else to break it.
385
+ */
386
+ importer?: LegacyImporter<sync> | LegacyImporter<sync>[];
387
+
388
+ /**
389
+ * Additional built-in Sass functions that are available in all stylesheets.
390
+ * This option takes an object whose keys are Sass function signatures and
391
+ * whose values are {@link LegacyFunction}s. Each function should take the
392
+ * same arguments as its signature.
393
+ *
394
+ * Functions are passed subclasses of {@link LegacyValue}, and must return the
395
+ * same.
396
+ *
397
+ * **Heads up!** When writing custom functions, it’s important to ensure that
398
+ * all the arguments are the types you expect. Otherwise, users’ stylesheets
399
+ * could crash in hard-to-debug ways or, worse, compile to meaningless CSS.
400
+ *
401
+ * @example
402
+ *
403
+ * ```js
404
+ * sass.render({
405
+ * data: `
406
+ * h1 {
407
+ * font-size: pow(2, 5) * 1px;
408
+ * }`,
409
+ * functions: {
410
+ * // This function uses the synchronous API, and can be passed to either
411
+ * // renderSync() or render().
412
+ * 'pow($base, $exponent)': function(base, exponent) {
413
+ * if (!(base instanceof sass.types.Number)) {
414
+ * throw "$base: Expected a number.";
415
+ * } else if (base.getUnit()) {
416
+ * throw "$base: Expected a unitless number.";
417
+ * }
418
+ *
419
+ * if (!(exponent instanceof sass.types.Number)) {
420
+ * throw "$exponent: Expected a number.";
421
+ * } else if (exponent.getUnit()) {
422
+ * throw "$exponent: Expected a unitless number.";
423
+ * }
424
+ *
425
+ * return new sass.types.Number(
426
+ * Math.pow(base.getValue(), exponent.getValue()));
427
+ * },
428
+ *
429
+ * // This function uses the asynchronous API, and can only be passed to
430
+ * // render().
431
+ * 'sqrt($number)': function(number, done) {
432
+ * if (!(number instanceof sass.types.Number)) {
433
+ * throw "$number: Expected a number.";
434
+ * } else if (number.getUnit()) {
435
+ * throw "$number: Expected a unitless number.";
436
+ * }
437
+ *
438
+ * done(new sass.types.Number(Math.sqrt(number.getValue())));
439
+ * }
440
+ * }
441
+ * }, function(err, result) {
442
+ * console.log(result.css.toString());
443
+ * // h1 {
444
+ * // font-size: 32px;
445
+ * // }
446
+ * });
447
+ * ```
448
+ *
449
+ * @category Plugins
450
+ */
451
+ functions?: {[key: string]: LegacyFunction<sync>};
452
+
453
+ /**
454
+ * By default, if the CSS document contains non-ASCII characters, Sass adds a
455
+ * `@charset` declaration (in expanded output mode) or a byte-order mark (in
456
+ * compressed mode) to indicate its encoding to browsers or other consumers.
457
+ * If `charset` is `false`, these annotations are omitted.
458
+ *
459
+ * @category Output
460
+ * @compatibility dart: "1.39.0", node: false
461
+ */
462
+ charset?: boolean;
463
+
464
+ /**
465
+ * If this option is set to `true`, Sass won’t print warnings that are caused
466
+ * by dependencies. A “dependency” is defined as any file that’s loaded
467
+ * through {@link includePaths} or {@link importer}. Stylesheets that are
468
+ * imported relative to the entrypoint are not considered dependencies.
469
+ *
470
+ * This is useful for silencing deprecation warnings that you can’t fix on
471
+ * your own. However, please <em>also</em> notify your dependencies of the deprecations
472
+ * so that they can get fixed as soon as possible!
473
+ *
474
+ * **Heads up!** If {@link render} or {@link renderSync} is called without
475
+ * {@link LegacyFileOptions.file} or {@link LegacyStringOptions.file},
476
+ * <em>all</em> stylesheets it loads will be considered dependencies. Since it
477
+ * doesn’t have a path of its own, everything it loads is coming from a load
478
+ * path rather than a relative import.
479
+ *
480
+ * @defaultValue `false`
481
+ * @category Messages
482
+ * @compatibility dart: "1.35.0", node: false
483
+ */
484
+ quietDeps?: boolean;
485
+
486
+ /**
487
+ * By default, Dart Sass will print only five instances of the same
488
+ * deprecation warning per compilation to avoid deluging users in console
489
+ * noise. If you set `verbose` to `true`, it will instead print every
490
+ * deprecation warning it encounters.
491
+ *
492
+ * @defaultValue `false`
493
+ * @category Messages
494
+ * @compatibility dart: "1.35.0", node: false
495
+ */
496
+ verbose?: boolean;
497
+
498
+ /**
499
+ * An object to use to handle warnings and/or debug messages from Sass.
500
+ *
501
+ * By default, Sass emits warnings and debug messages to standard error, but
502
+ * if {@link Logger.warn} or {@link Logger.debug} is set, this will invoke
503
+ * them instead.
504
+ *
505
+ * The special value {@link Logger.silent} can be used to easily silence all
506
+ * messages.
507
+ *
508
+ * @category Messages
509
+ * @compatibility dart: "1.43.0", node: false
510
+ */
511
+ logger?: Logger;
512
+
513
+ /**
514
+ * If this option is set to an instance of `NodePackageImporter`, Sass will
515
+ * use the built-in Node.js package importer to resolve Sass files with a
516
+ * `pkg:` URL scheme. Details for library authors and users can be found in
517
+ * the {@link NodePackageImporter} documentation.
518
+ *
519
+ * @example
520
+ * ```js
521
+ * sass.renderSync({
522
+ * data: '@use "pkg:vuetify";',
523
+ * pkgImporter: new sass.NodePackageImporter()
524
+ * });
525
+ * ```
526
+ * @category Plugins
527
+ * @compatibility dart: "2.0", node: false
528
+ */
529
+ pkgImporter?: NodePackageImporter;
530
+ }
531
+
532
+ /**
533
+ * If {@link file} is passed without {@link data}, Sass will load the stylesheet
534
+ * at {@link file} and compile it to CSS.
535
+ *
536
+ * @typeParam sync - This lets the TypeScript checker verify that {@link
537
+ * LegacyAsyncImporter}s and {@link LegacyAsyncFunction}s aren't passed to
538
+ * {@link renderSync}.
539
+ */
540
+ export interface LegacyFileOptions<sync extends 'sync' | 'async'>
541
+ extends LegacySharedOptions<sync> {
542
+ /**
543
+ * The path to the file for Sass to load and compile. If the file’s extension
544
+ * is `.scss`, it will be parsed as SCSS; if it’s `.sass`, it will be parsed
545
+ * as the indented syntax; and if it’s `.css`, it will be parsed as plain CSS.
546
+ * If it has no extension, it will be parsed as SCSS.
547
+ *
548
+ * @example
549
+ *
550
+ * ```js
551
+ * sass.renderSync({file: "style.scss"});
552
+ * ```
553
+ *
554
+ * @category Input
555
+ * @compatibility feature: "Plain CSS files", dart: "1.11.0", node: "partial"
556
+ *
557
+ * Node Sass and older versions of Dart Sass support loading files with the
558
+ * extension `.css`, but contrary to the specification they’re treated as SCSS
559
+ * files rather than being parsed as CSS. This behavior has been deprecated
560
+ * and should not be relied on. Any files that use Sass features should use
561
+ * the `.scss` extension.
562
+ *
563
+ * All versions of Node Sass and Dart Sass otherwise support the file option
564
+ * as described below.
565
+ */
566
+ file: string;
567
+
568
+ /**
569
+ * See {@link LegacyStringOptions.file} for documentation of passing {@link
570
+ * file} along with {@link data}.
571
+ *
572
+ * @category Input
573
+ */
574
+ data?: never;
575
+ }
576
+
577
+ /**
578
+ * If {@link data} is passed, Sass will use it as the contents of the stylesheet
579
+ * to compile.
580
+ *
581
+ * @typeParam sync - This lets the TypeScript checker verify that {@link
582
+ * LegacyAsyncImporter}s and {@link LegacyAsyncFunction}s aren't passed to
583
+ * {@link renderSync}.
584
+ *
585
+ * @category Legacy
586
+ * @deprecated This only works with the legacy {@link render} and {@link
587
+ * renderSync} APIs. Use {@link StringOptions} with {@link compile}, {@link
588
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
589
+ */
590
+ export interface LegacyStringOptions<sync extends 'sync' | 'async'>
591
+ extends LegacySharedOptions<sync> {
592
+ /**
593
+ * The contents of the stylesheet to compile. Unless {@link file} is passed as
594
+ * well, the stylesheet’s URL is set to `"stdin"`.
595
+ *
596
+ * By default, this stylesheet is parsed as SCSS. This can be controlled using
597
+ * {@link indentedSyntax}.
598
+ *
599
+ * @example
600
+ *
601
+ * ```js
602
+ * sass.renderSync({
603
+ * data: `
604
+ * h1 {
605
+ * font-size: 40px;
606
+ * }`
607
+ * });
608
+ * ```
609
+ *
610
+ * @category Input
611
+ */
612
+ data: string;
613
+
614
+ /**
615
+ * If `file` and {@link data} are both passed, `file` is used as the path of
616
+ * the stylesheet for error reporting, but {@link data} is used as the
617
+ * contents of the stylesheet. In this case, `file`’s extension is not used to
618
+ * determine the syntax of the stylesheet.
619
+ *
620
+ * @category Input
621
+ */
622
+ file?: string;
623
+
624
+ /**
625
+ * This flag controls whether {@link data} is parsed as the indented syntax or
626
+ * not.
627
+ *
628
+ * @example
629
+ *
630
+ * ```js
631
+ * sass.renderSync({
632
+ * data: `
633
+ * h1
634
+ * font-size: 40px`,
635
+ * indentedSyntax: true
636
+ * });
637
+ * ```
638
+ *
639
+ * @defaultValue `false`
640
+ * @category Input
641
+ */
642
+ indentedSyntax?: boolean;
643
+ }
644
+
645
+ /**
646
+ * Options for {@link render} and {@link renderSync}. This can either be {@link
647
+ * LegacyFileOptions} to load a file from disk, or {@link LegacyStringOptions}
648
+ * to compile a string of Sass code.
649
+ *
650
+ * See {@link LegacySharedOptions} for options that are shared across both file
651
+ * and string inputs.
652
+ *
653
+ * @category Legacy
654
+ * @deprecated This only works with the legacy {@link render} and {@link
655
+ * renderSync} APIs. Use {@link Options} with {@link compile}, {@link
656
+ * compileString}, {@link compileAsync}, and {@link compileStringAsync} instead.
657
+ */
658
+ export type LegacyOptions<sync extends 'sync' | 'async'> =
659
+ | LegacyFileOptions<sync>
660
+ | LegacyStringOptions<sync>;
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/plugin_this.d.ts CHANGED
@@ -1,3 +1,74 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6fd08e3ef1568cd0dc735c9015f6765e25143a4a0331d004a29c51b50eec402a
3
- size 2107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * The value of `this` in the context of a {@link LegacyImporter} or {@link
3
+ * LegacyFunction} callback.
4
+ *
5
+ * @category Legacy
6
+ * @deprecated This is only used by the legacy {@link render} and {@link
7
+ * renderSync} APIs. Use {@link compile}, {@link compileString}, {@link
8
+ * compileAsync}, and {@link compileStringAsync} instead.
9
+ */
10
+ export interface LegacyPluginThis {
11
+ /**
12
+ * A partial representation of the options passed to {@link render} or {@link
13
+ * renderSync}.
14
+ */
15
+ options: {
16
+ /** The same {@link LegacyPluginThis} instance that contains this object. */
17
+ context: LegacyPluginThis;
18
+
19
+ /**
20
+ * The value passed to {@link LegacyFileOptions.file} or {@link
21
+ * LegacyStringOptions.file}.
22
+ */
23
+ file?: string;
24
+
25
+ /** The value passed to {@link LegacyStringOptions.data}. */
26
+ data?: string;
27
+
28
+ /**
29
+ * The value passed to {@link LegacySharedOptions.includePaths} separated by
30
+ * `";"` on Windows or `":"` on other operating systems. This always
31
+ * includes the current working directory as the first entry.
32
+ */
33
+ includePaths: string;
34
+
35
+ /** Always the number 10. */
36
+ precision: 10;
37
+
38
+ /** Always the number 1. */
39
+ style: 1;
40
+
41
+ /** 1 if {@link LegacySharedOptions.indentType} was `"tab"`, 0 otherwise. */
42
+ indentType: 1 | 0;
43
+
44
+ /**
45
+ * The value passed to {@link LegacySharedOptions.indentWidth}, or `2`
46
+ * otherwise.
47
+ */
48
+ indentWidth: number;
49
+
50
+ /**
51
+ * The value passed to {@link LegacySharedOptions.linefeed}, or `"\n"`
52
+ * otherwise.
53
+ */
54
+ linefeed: '\r' | '\r\n' | '\n' | '\n\r';
55
+
56
+ /** A partially-constructed {@link LegacyResult} object. */
57
+ result: {
58
+ /** Partial information about the compilation in progress. */
59
+ stats: {
60
+ /**
61
+ * The number of milliseconds between 1 January 1970 at 00:00:00 UTC and
62
+ * the time at which Sass compilation began.
63
+ */
64
+ start: number;
65
+
66
+ /**
67
+ * {@link LegacyFileOptions.file} if it was passed, otherwise the string
68
+ * `"data"`.
69
+ */
70
+ entry: string;
71
+ };
72
+ };
73
+ };
74
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/legacy/render.d.ts CHANGED
@@ -1,3 +1,144 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:83fe1053701101ac6d25364696fea50d2ceb2f81d1456bc11e682a20aaeac52e
3
- size 4443
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import {LegacyException} from './exception';
2
+ import {LegacyOptions} from './options';
3
+
4
+ /**
5
+ * The object returned by {@link render} and {@link renderSync} after a
6
+ * successful compilation.
7
+ *
8
+ * @category Legacy
9
+ * @deprecated This is only used by the legacy {@link render} and {@link
10
+ * renderSync} APIs. Use {@link compile}, {@link compileString}, {@link
11
+ * compileAsync}, and {@link compileStringAsync} instead.
12
+ */
13
+ export interface LegacyResult {
14
+ /**
15
+ * The compiled CSS. This can be converted to a string by calling
16
+ * [Buffer.toString](https://nodejs.org/api/buffer.html#buffer_buf_tostring_encoding_start_end).
17
+ *
18
+ * @example
19
+ *
20
+ * ```js
21
+ * const result = sass.renderSync({file: "style.scss"});
22
+ *
23
+ * console.log(result.css.toString());
24
+ * ```
25
+ */
26
+ css: Buffer;
27
+
28
+ /**
29
+ * The source map that maps the compiled CSS to the source files from which it
30
+ * was generated. This can be converted to a string by calling
31
+ * [Buffer.toString](https://nodejs.org/api/buffer.html#buffer_buf_tostring_encoding_start_end).
32
+ *
33
+ * This is `undefined` unless either
34
+ *
35
+ * * {@link LegacySharedOptions.sourceMap} is a string; or
36
+ * * {@link LegacySharedOptions.sourceMap} is `true` and
37
+ * {@link LegacySharedOptions.outFile} is set.
38
+ *
39
+ * The source map uses absolute [`file:`
40
+ * URLs](https://en.wikipedia.org/wiki/File_URI_scheme) to link to the Sass
41
+ * source files, except if the source file comes from {@link
42
+ * LegacyStringOptions.data} in which case it lists its URL as `"stdin"`.
43
+ *
44
+ * @example
45
+ *
46
+ * ```js
47
+ * const result = sass.renderSync({
48
+ * file: "style.scss",
49
+ * sourceMap: true,
50
+ * outFile: "style.css"
51
+ * })
52
+ *
53
+ * console.log(result.map.toString());
54
+ * ```
55
+ */
56
+ map?: Buffer;
57
+
58
+ /** Additional information about the compilation. */
59
+ stats: {
60
+ /**
61
+ * The absolute path of {@link LegacyFileOptions.file} or {@link
62
+ * LegacyStringOptions.file}, or `"data"` if {@link
63
+ * LegacyStringOptions.file} wasn't set.
64
+ */
65
+ entry: string;
66
+
67
+ /**
68
+ * The number of milliseconds between 1 January 1970 at 00:00:00 UTC and the
69
+ * time at which Sass compilation began.
70
+ */
71
+ start: number;
72
+
73
+ /**
74
+ * The number of milliseconds between 1 January 1970 at 00:00:00 UTC and the
75
+ * time at which Sass compilation ended.
76
+ */
77
+ end: number;
78
+
79
+ /**
80
+ * The number of milliseconds it took to compile the Sass file. This is
81
+ * always equal to `start` minus `end`.
82
+ */
83
+ duration: number;
84
+
85
+ /**
86
+ * An array of the absolute paths of all Sass files loaded during
87
+ * compilation. If a stylesheet was loaded from a {@link LegacyImporter}
88
+ * that returned the stylesheet’s contents, the raw string of the `@use` or
89
+ * `@import` that loaded that stylesheet included in this array.
90
+ */
91
+ includedFiles: string[];
92
+ };
93
+ }
94
+
95
+ /**
96
+ * This function synchronously compiles a Sass file to CSS. If it succeeds, it
97
+ * returns the result, and if it fails it throws an error.
98
+ *
99
+ * **Heads up!** When using the `sass-embedded` npm package, **{@link render}
100
+ * is almost always faster than {@link renderSync}**, due to the overhead of
101
+ * emulating synchronous messaging with worker threads and concurrent
102
+ * compilations being blocked on main thread.
103
+ *
104
+ * @example
105
+ *
106
+ * ```js
107
+ * const sass = require('sass'); // or require('node-sass');
108
+ *
109
+ * const result = sass.renderSync({file: "style.scss"});
110
+ * // ...
111
+ * ```
112
+ *
113
+ * @category Legacy
114
+ * @deprecated Use {@link compile} or {@link compileString} instead.
115
+ */
116
+ export function renderSync(options: LegacyOptions<'sync'>): LegacyResult;
117
+
118
+ /**
119
+
120
+ * This function asynchronously compiles a Sass file to CSS, and calls
121
+ * `callback` with a {@link LegacyResult} if compilation succeeds or {@link
122
+ * LegacyException} if it fails.
123
+ *
124
+ * **Heads up!** When using the `sass` npm package, **{@link renderSync} is
125
+ * almost twice as fast as {@link render}** by default, due to the overhead of
126
+ * making the entire evaluation process asynchronous.
127
+ *
128
+ * ```js
129
+ * const sass = require('sass'); // or require('node-sass');
130
+ *
131
+ * sass.render({
132
+ * file: "style.scss"
133
+ * }, function(err, result) {
134
+ * // ...
135
+ * });
136
+ * ```
137
+ *
138
+ * @category Legacy
139
+ * @deprecated Use {@link compileAsync} or {@link compileStringAsync} instead.
140
+ */
141
+ export function render(
142
+ options: LegacyOptions<'async'>,
143
+ callback: (exception?: LegacyException, result?: LegacyResult) => void
144
+ ): void;
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/logger/index.d.ts CHANGED
@@ -1,3 +1,99 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:39dd9c61bc4f718b56e4ed93dfbab462d47d08af464428d5a5b400367e9147ea
3
- size 2659
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import {Deprecation} from '../deprecations';
2
+ import {SourceSpan} from './source_span';
3
+
4
+ export {SourceLocation} from './source_location';
5
+ export {SourceSpan} from './source_span';
6
+
7
+ /**
8
+ * An object that can be passed to {@link LegacySharedOptions.logger} to control
9
+ * how Sass emits warnings and debug messages.
10
+ *
11
+ * @example
12
+ *
13
+ * ```js
14
+ * const fs = require('fs');
15
+ * const sass = require('sass');
16
+ *
17
+ * let log = "";
18
+ * sass.renderSync({
19
+ * file: 'input.scss',
20
+ * logger: {
21
+ * warn(message, options) {
22
+ * if (options.span) {
23
+ * log += `${span.url}:${span.start.line}:${span.start.column}: ` +
24
+ * `${message}\n`;
25
+ * } else {
26
+ * log += `::: ${message}\n`;
27
+ * }
28
+ * }
29
+ * }
30
+ * });
31
+ *
32
+ * fs.writeFileSync('log.txt', log);
33
+ * ```
34
+ *
35
+ * @category Logger
36
+ */
37
+ export interface Logger {
38
+ /**
39
+ * This method is called when Sass emits a warning, whether due to a [`@warn`
40
+ * rule](https://sass-lang.com/documentation/at-rules/warn) or a warning
41
+ * generated by the Sass compiler.
42
+ *
43
+ * If this is `undefined`, Sass will print warnings to standard error.
44
+ *
45
+ * @param message - The warning message.
46
+ * @param options.deprecation - Whether this is a deprecation warning.
47
+ * @param options.deprecationType - The type of deprecation this warning is
48
+ * for, if any.
49
+ * @param options.span - The location in the Sass source code that generated this
50
+ * warning.
51
+ * @param options.stack - The Sass stack trace at the point the warning was issued.
52
+ */
53
+ warn?(
54
+ message: string,
55
+ options: (
56
+ | {
57
+ deprecation: true;
58
+ deprecationType: Deprecation;
59
+ }
60
+ | {deprecation: false}
61
+ ) & {span?: SourceSpan; stack?: string}
62
+ ): void;
63
+
64
+ /**
65
+ * This method is called when Sass emits a debug message due to a [`@debug`
66
+ * rule](https://sass-lang.com/documentation/at-rules/debug).
67
+ *
68
+ * If this is `undefined`, Sass will print debug messages to standard error.
69
+ *
70
+ * @param message - The debug message.
71
+ * @param options.span - The location in the Sass source code that generated this
72
+ * debug message.
73
+ */
74
+ debug?(message: string, options: {span: SourceSpan}): void;
75
+ }
76
+
77
+ /**
78
+ * A namespace for built-in {@link Logger}s.
79
+ *
80
+ * @category Logger
81
+ * @compatibility dart: "1.43.0", node: false
82
+ */
83
+ export namespace Logger {
84
+ /**
85
+ * A {@link Logger} that silently ignores all warnings and debug messages.
86
+ *
87
+ * @example
88
+ *
89
+ * ```js
90
+ * const sass = require('sass');
91
+ *
92
+ * const result = sass.renderSync({
93
+ * file: 'input.scss',
94
+ * logger: sass.Logger.silent,
95
+ * });
96
+ * ```
97
+ */
98
+ export const silent: Logger;
99
+ }
Java开发环境安装/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/sass/types/logger/source_location.d.ts CHANGED
@@ -1,3 +1,21 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1223780c318ef42fd33ac772996335ed92d57cf7c0fc73178acab5e154971aab
3
- size 486
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * A specific location within a source file.
3
+ *
4
+ * This is always associated with a {@link SourceSpan} which indicates *which*
5
+ * file it refers to.
6
+ *
7
+ * @category Logger
8
+ */
9
+ export interface SourceLocation {
10
+ /**
11
+ * The 0-based index of this location within its source file, in terms of
12
+ * UTF-16 code units.
13
+ */
14
+ offset: number;
15
+
16
+ /** The 0-based line number of this location. */
17
+ line: number;
18
+
19
+ /** The 0-based column number of this location. */
20
+ column: number;
21
+ }