",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/tomas/needle.git"
+ },
+ "dependencies": {
+ "iconv-lite": "^0.6.3",
+ "sax": "^1.2.4"
+ },
+ "devDependencies": {
+ "JSONStream": "^1.3.5",
+ "jschardet": "^1.6.0",
+ "mocha": "^5.2.0",
+ "pump": "^3.0.0",
+ "q": "^1.5.1",
+ "should": "^13.2.3",
+ "sinon": "^2.3.0",
+ "xml2js": "^0.4.19"
+ },
+ "scripts": {
+ "test": "mocha test"
+ },
+ "directories": {
+ "lib": "./lib"
+ },
+ "main": "./lib/needle",
+ "bin": {
+ "needle": "./bin/needle"
+ },
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4.4.x"
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/auth_digest_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/auth_digest_spec.js"
index c471bbe61afb94e19ac35da7a2fac1d32d8e7fb4..e1c67100f7bdb6e98037706b2c941b84fcba2688 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/auth_digest_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/auth_digest_spec.js"
@@ -1,3 +1,231 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:20a3bfba205fb8e2441b5650c02da5f060abf96c56e8c3006b0d5666d34f5e52
-size 7641
+var needle = require('../'),
+ auth = require('../lib/auth'),
+ sinon = require('sinon'),
+ should = require('should'),
+ http = require('http'),
+ helpers = require('./helpers');
+
+var createHash = require('crypto').createHash;
+
+function md5(string) {
+ return createHash('md5').update(string).digest('hex');
+}
+
+function parse_header(header) {
+ var challenge = {},
+ matches = header.match(/([a-z0-9_-]+)="?([a-z0-9=\/\.@\s-\+]+)"?/gi);
+
+ for (var i = 0, l = matches.length; i < l; i++) {
+ var parts = matches[i].split('='),
+ key = parts.shift(),
+ val = parts.join('=').replace(/^"/, '').replace(/"$/, '');
+
+ challenge[key] = val;
+ }
+
+ return challenge;
+}
+
+describe('auth_digest', function() {
+ describe('With qop (RFC 2617)', function() {
+ it('should generate a proper header', function() {
+ // from https://tools.ietf.org/html/rfc2617
+ var performDigest = function() {
+ var header = 'Digest realm="testrealm@host.com", qop="auth,auth-int", nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", opaque="5ccc069c403ebaf9f0171e9517f40e41"';
+ var user = 'Mufasa';
+ var pass = 'Circle Of Life';
+ var method = 'get';
+ var path = '/dir/index.html';
+
+ var updatedHeader = auth.digest(header, user, pass, method, path);
+ var parsedUpdatedHeader = parse_header(updatedHeader);
+
+ var ha1 = md5(user + ':' + parsedUpdatedHeader.realm + ':' + pass);
+ var ha2 = md5(method.toUpperCase() + ':' + path);
+ var expectedResponse = md5([
+ ha1,
+ parsedUpdatedHeader.nonce,
+ parsedUpdatedHeader.nc,
+ parsedUpdatedHeader.cnonce,
+ parsedUpdatedHeader.qop,
+ ha2
+ ].join(':'));
+
+ return {
+ header: updatedHeader,
+ parsed: parsedUpdatedHeader,
+ expectedResponse: expectedResponse,
+ }
+ }
+
+ const result = performDigest();
+
+ (result.header).should
+ .match(/qop="auth"/)
+ .match(/uri="\/dir\/index.html"/)
+ .match(/opaque="5ccc069c403ebaf9f0171e9517f40e41"/)
+ .match(/realm="testrealm@host\.com"/)
+ .match(/response=/)
+ .match(/nc=/)
+ .match(/nonce=/)
+ .match(/cnonce=/);
+
+ (result.parsed.response).should.be.eql(result.expectedResponse);
+ });
+ });
+
+ describe('With plus character in nonce header', function() {
+ it('should generate a proper header', function() {
+ // from https://tools.ietf.org/html/rfc2617
+ var performDigest = function() {
+ var header = 'Digest realm="testrealm@host.com", qop="auth,auth-int", nonce="dcd98b7102dd2f0e8b11d0f6+00bfb0c093", opaque="5ccc069c403ebaf9f0171e9517f40e41"';
+ var user = 'Mufasa';
+ var pass = 'Circle Of Life';
+ var method = 'get';
+ var path = '/dir/index.html';
+
+ var updatedHeader = auth.digest(header, user, pass, method, path);
+ var parsedUpdatedHeader = parse_header(updatedHeader);
+
+ var ha1 = md5(user + ':' + parsedUpdatedHeader.realm + ':' + pass);
+ var ha2 = md5(method.toUpperCase() + ':' + path);
+ var expectedResponse = md5([
+ ha1,
+ parsedUpdatedHeader.nonce,
+ parsedUpdatedHeader.nc,
+ parsedUpdatedHeader.cnonce,
+ parsedUpdatedHeader.qop,
+ ha2
+ ].join(':'));
+
+ return {
+ header: updatedHeader,
+ parsed: parsedUpdatedHeader,
+ expectedResponse: expectedResponse,
+ }
+ }
+
+ const result = performDigest();
+
+ (result.header).should
+ .match(/nonce="dcd98b7102dd2f0e8b11d0f6\+00bfb0c093"/)
+ });
+ });
+
+ describe('With colon character in nonce header', function() {
+ it('should generate a proper header', function() {
+ // from https://tools.ietf.org/html/rfc2617
+ var performDigest = function() {
+ var header = 'Digest realm="IP Camera", charset="UTF-8", algorithm="MD5", nonce="636144c2:2970b5fdd41b5ac6b669848f43d2d22b", qop="auth"';
+ var user = 'Mufasa';
+ var pass = 'Circle Of Life';
+ var method = 'get';
+ var path = '/dir/index.html';
+
+ var updatedHeader = auth.digest(header, user, pass, method, path);
+ var parsedUpdatedHeader = parse_header(updatedHeader);
+
+ var ha1 = md5(user + ':' + parsedUpdatedHeader.realm + ':' + pass);
+ var ha2 = md5(method.toUpperCase() + ':' + path);
+ var expectedResponse = md5([
+ ha1,
+ parsedUpdatedHeader.nonce,
+ parsedUpdatedHeader.nc,
+ parsedUpdatedHeader.cnonce,
+ parsedUpdatedHeader.qop,
+ ha2
+ ].join(':'));
+
+ return {
+ header: updatedHeader,
+ parsed: parsedUpdatedHeader,
+ expectedResponse: expectedResponse,
+ }
+ }
+
+ const result = performDigest();
+
+ (result.header).should
+ .match(/nonce="636144c2:2970b5fdd41b5ac6b669848f43d2d22b"/)
+ });
+ });
+
+
+ describe('With brackets in realm header', function() {
+ it('should generate a proper header', function() {
+ // from https://tools.ietf.org/html/rfc2617
+ var performDigest = function() {
+ var header = 'Digest qop="auth", realm="IP Camera(76475)", nonce="4e4449794d575269597a706b5a575935595441324d673d3d", stale="FALSE", Basic realm="IP Camera(76475)"';
+ var user = 'Mufasa';
+ var pass = 'Circle Of Life';
+ var method = 'get';
+ var path = '/dir/index.html';
+
+ var updatedHeader = auth.digest(header, user, pass, method, path);
+ var parsedUpdatedHeader = parse_header(updatedHeader);
+
+ var ha1 = md5(user + ':' + parsedUpdatedHeader.realm + ':' + pass);
+ var ha2 = md5(method.toUpperCase() + ':' + path);
+ var expectedResponse = md5([
+ ha1,
+ parsedUpdatedHeader.nonce,
+ parsedUpdatedHeader.nc,
+ parsedUpdatedHeader.cnonce,
+ parsedUpdatedHeader.qop,
+ ha2
+ ].join(':'));
+
+ return {
+ header: updatedHeader,
+ parsed: parsedUpdatedHeader,
+ expectedResponse: expectedResponse,
+ }
+ }
+
+ const result = performDigest();
+
+ (result.header).should
+ .match(/realm="IP Camera\(76475\)"/)
+ });
+ });
+
+ describe('Without qop (RFC 2617)', function() {
+ it('should generate a proper header', function() {
+ // from https://tools.ietf.org/html/rfc2069
+ var performDigest = function() {
+ var header = 'Digest realm="testrealm@host.com", nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", opaque="5ccc069c403ebaf9f0171e9517f40e41"';
+ var user = 'Mufasa';
+ var pass = 'Circle Of Life';
+ var method = 'get';
+ var path = '/dir/index.html';
+
+ var updatedHeader = auth.digest(header, user, pass, method, path);
+ var parsedUpdatedHeader = parse_header(updatedHeader);
+
+ var ha1 = md5(user + ':' + parsedUpdatedHeader.realm + ':' + pass);
+ var ha2 = md5(method.toUpperCase() + ':' + path);
+ var expectedResponse = md5([ha1, parsedUpdatedHeader.nonce, ha2].join(':'));
+
+ return {
+ header: updatedHeader,
+ parsed: parsedUpdatedHeader,
+ expectedResponse: expectedResponse,
+ }
+ }
+
+ const result = performDigest();
+
+ (result.header).should
+ .not.match(/qop=/)
+ .match(/uri="\/dir\/index.html"/)
+ .match(/opaque="5ccc069c403ebaf9f0171e9517f40e41"/)
+ .match(/realm="testrealm@host\.com"/)
+ .match(/response=/)
+ .not.match(/nc=/)
+ .match(/nonce=/)
+ .not.match(/cnonce=/);
+
+ (result.parsed.response).should.be.eql(result.expectedResponse);
+ });
+ });
+})
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/basic_auth_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/basic_auth_spec.js"
index 2686a1094c1387a302a88775bd43d2e1f5863179..343f1db0e9640b5db952f3a10ec89734611cdd22 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/basic_auth_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/basic_auth_spec.js"
@@ -1,3 +1,196 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:03f0e1e5410b8f345573dc4b795efe8976a3a332d3898b6288b9674e0fa66b14
-size 6139
+var helpers = require('./helpers'),
+ should = require('should'),
+ needle = require('./../'),
+ server;
+
+var port = 7707;
+
+describe('Basic Auth', function() {
+
+ before(function(done) {
+ server = helpers.server({ port: port }, done);
+ })
+
+ after(function(done) {
+ server.close(done);
+ })
+
+ ///////////////// helpers
+
+ var get_auth = function(header) {
+ var token = header.split(/\s+/).pop();
+ return token && Buffer.from(token, 'base64').toString().split(':');
+ }
+
+ describe('when neither username or password are passed', function() {
+
+ it('doesnt send any Authorization headers', function(done) {
+ needle.get('localhost:' + port, { parse: true }, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ Object.keys(sent_headers).should.not.containEql('authorization');
+ done();
+ })
+ })
+
+ })
+
+ describe('when username is an empty string, and password is a valid string', function() {
+
+ var opts = { username: '', password: 'foobar', parse: true };
+
+ it('doesnt send any Authorization headers', function(done) {
+ needle.get('localhost:' + port, { parse: true }, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ Object.keys(sent_headers).should.not.containEql('authorization');
+ done();
+ })
+ })
+
+ });
+
+ describe('when username is a valid string, but no username is passed', function() {
+
+ var opts = { username: 'foobar', parse: true };
+
+ it('sends Authorization header', function(done) {
+ needle.get('localhost:' + port, opts, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ Object.keys(sent_headers).should.containEql('authorization');
+ done();
+ })
+ })
+
+ it('Basic Auth only includes username, without colon', function(done) {
+ needle.get('localhost:' + port, opts, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ var auth = get_auth(sent_headers['authorization']);
+ auth[0].should.equal('foobar');
+ auth.should.have.lengthOf(1);
+ done();
+ })
+ })
+
+ })
+
+ describe('when username is a valid string, and password is null', function() {
+
+ var opts = { username: 'foobar', password: null, parse: true };
+
+ it('sends Authorization header', function(done) {
+ needle.get('localhost:' + port, opts, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ Object.keys(sent_headers).should.containEql('authorization');
+ done();
+ })
+ })
+
+ it('Basic Auth only includes both username and password', function(done) {
+ needle.get('localhost:' + port, opts, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ var auth = get_auth(sent_headers['authorization']);
+ auth[0].should.equal('foobar');
+ auth[1].should.equal('');
+ done();
+ })
+ })
+
+ })
+
+ describe('when username is a valid string, and password is an empty string', function() {
+
+ var opts = { username: 'foobar', password: '', parse: true };
+
+ it('sends Authorization header', function(done) {
+ needle.get('localhost:' + port, opts, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ Object.keys(sent_headers).should.containEql('authorization');
+ done();
+ })
+ })
+
+ it('Basic Auth only includes both username and password', function(done) {
+ needle.get('localhost:' + port, opts, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ var auth = get_auth(sent_headers['authorization']);
+ auth[0].should.equal('foobar');
+ auth[1].should.equal('');
+ auth.should.have.lengthOf(2);
+ done();
+ })
+ })
+
+ })
+
+ describe('when username AND password are non empty strings', function() {
+
+ var opts = { username: 'foobar', password: 'jakub', parse: true };
+
+ it('sends Authorization header', function(done) {
+ needle.get('localhost:' + port, opts, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ Object.keys(sent_headers).should.containEql('authorization');
+ done();
+ })
+ })
+
+ it('Basic Auth only includes both user and password', function(done) {
+ needle.get('localhost:' + port, opts, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ var auth = get_auth(sent_headers['authorization']);
+ auth[0].should.equal('foobar');
+ auth[1].should.equal('jakub');
+ auth.should.have.lengthOf(2);
+ done();
+ })
+ })
+
+ })
+
+ describe('URL with @ but not username/pass', function() {
+ it('doesnt send Authorization header', function(done) {
+ var url = 'localhost:' + port + '/abc/@def/xyz.zip';
+
+ needle.get(url, {}, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ Object.keys(sent_headers).should.not.containEql('authorization');
+ done();
+ })
+ })
+
+ it('sends user:pass headers if passed via options', function(done) {
+ var url = 'localhost:' + port + '/abc/@def/xyz.zip';
+
+ needle.get(url, { username: 'foo' }, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ Object.keys(sent_headers).should.containEql('authorization');
+ sent_headers['authorization'].should.eql('Basic Zm9v')
+ done();
+ })
+ })
+ })
+
+ describe('when username/password are included in URL', function() {
+ var opts = { parse: true };
+
+ it('sends Authorization header', function(done) {
+ needle.get('foobar:jakub@localhost:' + port, opts, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ Object.keys(sent_headers).should.containEql('authorization');
+ done();
+ })
+ })
+
+ it('Basic Auth only includes both user and password', function(done) {
+ needle.get('foobar:jakub@localhost:' + port, opts, function(err, resp) {
+ var sent_headers = resp.body.headers;
+ var auth = get_auth(sent_headers['authorization']);
+ auth[0].should.equal('foobar');
+ auth[1].should.equal('jakub');
+ auth.should.have.lengthOf(2);
+ done();
+ })
+ })
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/compression_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/compression_spec.js"
index 7af9122c313feac06d2a9c87af62c321261a7e72..227ae09355b02de975157c0a386ff78b65e1ce22 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/compression_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/compression_spec.js"
@@ -1,3 +1,112 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f28095c0175010c3ada677114da334a0858dfc82d36f39cf7d58ac32929b087b
-size 3782
+var should = require('should'),
+ needle = require('./../'),
+ http = require('http'),
+ zlib = require('zlib'),
+ stream = require('stream'),
+ port = 11123,
+ server;
+
+describe('compression', function(){
+
+ require.bind(null, 'zlib').should.not.throw()
+
+ var jsonData = '{"foo":"bar"}';
+
+ describe('when server supports compression', function(){
+
+ before(function(){
+ server = http.createServer(function(req, res) {
+ var raw = new stream.PassThrough();
+
+ var acceptEncoding = req.headers['accept-encoding'];
+ if (!acceptEncoding) {
+ acceptEncoding = '';
+ }
+
+ if (acceptEncoding.match(/\bdeflate\b/)) {
+ res.setHeader('Content-Encoding', 'deflate');
+ raw.pipe(zlib.createDeflate()).pipe(res);
+ } else if (acceptEncoding.match(/\bgzip\b/)) {
+ res.setHeader('Content-Encoding', 'gzip');
+ raw.pipe(zlib.createGzip()).pipe(res);
+ } else if (acceptEncoding.match(/\bbr\b/)) {
+ res.setHeader('Content-Encoding', 'br');
+ raw.pipe(zlib.createBrotliCompress()).pipe(res);
+ } else {
+ raw.pipe(res);
+ }
+
+ res.setHeader('Content-Type', 'application/json')
+ if (req.headers['with-bad']) {
+ res.end('foo'); // end, no deflate data
+ } else {
+ raw.end(jsonData)
+ }
+
+ })
+
+ server.listen(port);
+ });
+
+ after(function(done){
+ server.close(done);
+ })
+
+ describe('and client requests no compression', function() {
+ it('should have the body decompressed', function(done){
+ needle.get('localhost:' + port, function(err, response, body){
+ should.ifError(err);
+ body.should.have.property('foo', 'bar');
+ response.bytes.should.equal(jsonData.length);
+ done();
+ })
+ })
+ })
+
+ describe('and client requests gzip compression', function() {
+ it('should have the body decompressed', function(done){
+ needle.get('localhost:' + port, {headers: {'Accept-Encoding': 'gzip'}}, function(err, response, body){
+ should.ifError(err);
+ body.should.have.property('foo', 'bar');
+ response.bytes.should.not.equal(jsonData.length);
+ done();
+ })
+ })
+ })
+
+ describe('and client requests deflate compression', function() {
+ it('should have the body decompressed', function(done){
+ needle.get('localhost:' + port, {headers: {'Accept-Encoding': 'deflate'}}, function(err, response, body){
+ should.ifError(err);
+ body.should.have.property('foo', 'bar');
+ response.bytes.should.not.equal(jsonData.length);
+ done();
+ })
+ })
+
+ it('should rethrow errors from decompressors', function(done){
+ needle.get('localhost:' + port, {headers: {'Accept-Encoding': 'deflate', 'With-Bad': 'true'}}, function(err, response, body) {
+ should.exist(err);
+ err.message.should.equal("incorrect header check");
+ err.code.should.equal("Z_DATA_ERROR")
+ done();
+ })
+ })
+ })
+
+ describe('and client requests brotli compression', function() {
+ it('should have the body decompressed', function(done){
+ // Skip this test if Brotli is not supported
+ if (typeof zlib.BrotliDecompress !== 'function') {
+ return done();
+ }
+ needle.get('localhost:' + port, {headers: {'Accept-Encoding': 'br'}}, function(err, response, body){
+ should.ifError(err);
+ body.should.have.property('foo', 'bar');
+ response.bytes.should.not.equal(jsonData.length);
+ done();
+ })
+ })
+ })
+ })
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/cookies_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/cookies_spec.js"
index f289e8e83dd18b365db44462d8311c643c41351c..745f4c71f81fc3fe7f1b8dc903d50e09a3cc2eb8 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/cookies_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/cookies_spec.js"
@@ -1,3 +1,396 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3a9111a360fa3661e37739f4cf016e67380800694671f9635096e83dff2c645d
-size 14271
+var needle = require('../'),
+ cookies = require('../lib/cookies'),
+ sinon = require('sinon'),
+ http = require('http'),
+ should = require('should');
+
+var WEIRD_COOKIE_NAME = 'wc',
+ BASE64_COOKIE_NAME = 'bc',
+ FORBIDDEN_COOKIE_NAME = 'fc',
+ NUMBER_COOKIE_NAME = 'nc';
+
+var WEIRD_COOKIE_VALUE = '!\'*+#()&-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~',
+ BASE64_COOKIE_VALUE = 'Y29va2llCg==',
+ FORBIDDEN_COOKIE_VALUE = ' ;"\\,',
+ NUMBER_COOKIE_VALUE = 12354342;
+
+var NO_COOKIES_TEST_PORT = 11112,
+ ALL_COOKIES_TEST_PORT = 11113;
+
+describe('cookies', function() {
+
+ var setCookieHeader, headers, server, opts;
+
+ function decode(str) {
+ return decodeURIComponent(str);
+ }
+
+ function encode(str) {
+ str = str.toString().replace(/[\x00-\x1F\x7F]/g, encodeURIComponent);
+ return str.replace(/[\s\"\,;\\%]/g, encodeURIComponent);
+ }
+
+ before(function() {
+ setCookieHeader = [
+ WEIRD_COOKIE_NAME + '=' + encode(WEIRD_COOKIE_VALUE) + ';',
+ BASE64_COOKIE_NAME + '=' + encode(BASE64_COOKIE_VALUE) + ';',
+ FORBIDDEN_COOKIE_NAME + '=' + encode(FORBIDDEN_COOKIE_VALUE) + ';',
+ NUMBER_COOKIE_NAME + '=' + encode(NUMBER_COOKIE_VALUE) + ';'
+ ];
+ });
+
+ before(function(done) {
+ serverAllCookies = http.createServer(function(req, res) {
+ res.setHeader('Content-Type', 'text/html');
+ res.setHeader('Set-Cookie', setCookieHeader);
+ res.end('200');
+ }).listen(ALL_COOKIES_TEST_PORT, done);
+ });
+
+ after(function(done) {
+ serverAllCookies.close(done);
+ });
+
+ describe('with default options', function() {
+ it('no cookie header is set on request', function(done) {
+ needle.get(
+ 'localhost:' + ALL_COOKIES_TEST_PORT, function(err, response) {
+ should.not.exist(response.req._headers.cookie);
+ done();
+ });
+ });
+ });
+
+ describe('if response does not contain cookies', function() {
+ before(function(done) {
+ serverNoCookies = http.createServer(function(req, res) {
+ res.setHeader('Content-Type', 'text/html');
+ res.end('200');
+ }).listen(NO_COOKIES_TEST_PORT, done);
+ });
+
+ it('response.cookies is undefined', function(done) {
+ needle.get(
+ 'localhost:' + NO_COOKIES_TEST_PORT, function(error, response) {
+ should.not.exist(response.cookies);
+ done();
+ });
+ });
+
+ after(function(done) {
+ serverNoCookies.close(done);
+ });
+ });
+
+ describe('if response contains cookies', function() {
+
+ it('puts them on resp.cookies', function(done) {
+ needle.get(
+ 'localhost:' + ALL_COOKIES_TEST_PORT, function(error, response) {
+ response.should.have.property('cookies');
+ done();
+ });
+ });
+
+ it('parses them as a object', function(done) {
+ needle.get(
+ 'localhost:' + ALL_COOKIES_TEST_PORT, function(error, response) {
+ response.cookies.should.be.an.instanceOf(Object)
+ .and.have.property(WEIRD_COOKIE_NAME);
+ response.cookies.should.have.property(BASE64_COOKIE_NAME);
+ response.cookies.should.have.property(FORBIDDEN_COOKIE_NAME);
+ response.cookies.should.have.property(NUMBER_COOKIE_NAME);
+ done();
+ });
+ });
+
+ it('must decode it', function(done) {
+ needle.get(
+ 'localhost:' + ALL_COOKIES_TEST_PORT, function(error, response) {
+ response.cookies.wc.should.be.eql(WEIRD_COOKIE_VALUE);
+ response.cookies.bc.should.be.eql(BASE64_COOKIE_VALUE);
+ response.cookies.fc.should.be.eql(FORBIDDEN_COOKIE_VALUE);
+ response.cookies.nc.should.be.eql(NUMBER_COOKIE_VALUE.toString());
+ done();
+ });
+ });
+
+ describe('when a cookie value is invalid', function() {
+
+ before(function() {
+ setCookieHeader = [
+ 'geo_city=%D1%E0%ED%EA%F2-%CF%E5%F2%E5%F0%E1%F3%F0%E3'
+ ];
+ })
+
+ it('doesnt blow up', function(done) {
+ needle.get('localhost:' + ALL_COOKIES_TEST_PORT, function(error, response) {
+ should.not.exist(error)
+ var whatever = 'efbfbdefbfbdefbfbdefbfbdefbfbd2defbfbdefbfbdefbfbdefbfbdefbfbdefbfbdefbfbdefbfbdefbfbd';
+ Buffer.from(response.cookies.geo_city).toString('hex').should.eql(whatever)
+ done();
+ });
+ })
+
+ })
+
+ describe('and response is a redirect', function() {
+
+ var redirectServer, testPort = 22222;
+ var requestCookies = [];
+
+ var responseCookies = [
+ [ // first req
+ WEIRD_COOKIE_NAME + '=' + encode(WEIRD_COOKIE_VALUE) + ';',
+ BASE64_COOKIE_NAME + '=' + encode(BASE64_COOKIE_VALUE) + ';',
+ 'FOO=123;'
+ ], [ // second req
+ FORBIDDEN_COOKIE_NAME + '=' + encode(FORBIDDEN_COOKIE_VALUE) + ';',
+ NUMBER_COOKIE_NAME + '=' + encode(NUMBER_COOKIE_VALUE) + ';'
+ ], [ // third red
+ 'FOO=BAR;'
+ ]
+ ]
+
+ before(function(done) {
+ redirectServer = http.createServer(function(req, res) {
+ var number = parseInt(req.url.replace('/', ''));
+ var nextUrl = 'http://' + 'localhost:' + testPort + '/' + (number + 1);
+
+ if (number == 0) requestCookies = []; // reset
+ requestCookies.push(req.headers['cookie']);
+
+ if (responseCookies[number]) { // we should send cookies for this request
+ res.statusCode = 302;
+ res.setHeader('Set-Cookie', responseCookies[number]);
+ res.setHeader('Location', nextUrl);
+ } else if (number == 3) {
+ res.statusCode = 302; // redirect but without cookies
+ res.setHeader('Location', nextUrl);
+ }
+
+ res.end('OK');
+ }).listen(22222, done);
+ });
+
+ after(function(done) {
+ redirectServer.close(done);
+ })
+
+ describe('and follow_set_cookies is false', function() {
+
+ describe('with original request cookie', function() {
+
+ var opts = {
+ follow_set_cookies: false,
+ follow_max: 4,
+ cookies: { 'xxx': 123 }
+ };
+
+ it('request cookie is not passed to redirects', function(done) {
+ needle.get('localhost:' + testPort + '/0', opts, function(err, resp) {
+ requestCookies.should.eql(["xxx=123", undefined, undefined, undefined, undefined])
+ done();
+ });
+ });
+
+ it('response cookies are not passed either', function(done) {
+ needle.get('localhost:' + testPort + '/0', opts, function(err, resp) {
+ should.not.exist(resp.cookies);
+ done();
+ });
+ });
+
+ })
+
+ describe('without original request cookie', function() {
+
+ var opts = {
+ follow_set_cookies: false,
+ follow_max: 4,
+ };
+
+ it('no request cookies are sent', function(done) {
+ needle.get('localhost:' + testPort + '/0', opts, function(err, resp) {
+ requestCookies.should.eql([undefined, undefined, undefined, undefined, undefined])
+ done();
+ });
+ });
+
+ it('response cookies are not passed either', function(done) {
+ needle.get('localhost:' + testPort + '/0', opts, function(err, resp) {
+ should.not.exist(resp.cookies);
+ done();
+ });
+ });
+
+ })
+
+ });
+
+ describe('and follow_set_cookies is true', function() {
+
+ describe('with original request cookie', function() {
+
+ var opts = {
+ follow_set_cookies: true,
+ follow_max: 4,
+ cookies: { 'xxx': 123 }
+ };
+
+ it('request cookie is passed passed to redirects, and response cookies are added too', function(done) {
+ needle.get('localhost:' + testPort + '/0', opts, function(err, resp) {
+ requestCookies.should.eql([
+ "xxx=123",
+ "xxx=123; wc=!'*+#()&-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~; bc=Y29va2llCg==; FOO=123",
+ "xxx=123; wc=!\'*+#()&-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~; bc=Y29va2llCg==; FOO=123; fc=%20%3B%22%5C%2C; nc=12354342",
+ "xxx=123; wc=!\'*+#()&-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~; bc=Y29va2llCg==; FOO=BAR; fc=%20%3B%22%5C%2C; nc=12354342",
+ "xxx=123; wc=!\'*+#()&-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~; bc=Y29va2llCg==; FOO=BAR; fc=%20%3B%22%5C%2C; nc=12354342"
+ ])
+ done();
+ });
+ });
+
+ it('response cookies are passed as well', function(done) {
+ needle.get('localhost:' + testPort + '/0', opts, function(err, resp) {
+ resp.cookies.should.have.property(WEIRD_COOKIE_NAME);
+ resp.cookies.should.have.property(BASE64_COOKIE_NAME);
+ resp.cookies.should.have.property(FORBIDDEN_COOKIE_NAME);
+ resp.cookies.should.have.property(NUMBER_COOKIE_NAME);
+ resp.cookies.should.have.property('FOO');
+ resp.cookies.FOO.should.eql('BAR'); // should overwrite previous one
+ done();
+ });
+ });
+
+ })
+
+ describe('without original request cookie', function() {
+
+ var opts = {
+ follow_set_cookies: true,
+ follow_max: 4,
+ };
+
+ it('response cookies are passed to redirects', function(done) {
+ needle.get('localhost:' + testPort + '/0', opts, function(err, resp) {
+ requestCookies.should.eql([
+ undefined,
+ "wc=!'*+#()&-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~; bc=Y29va2llCg==; FOO=123",
+ "wc=!\'*+#()&-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~; bc=Y29va2llCg==; FOO=123; fc=%20%3B%22%5C%2C; nc=12354342",
+ "wc=!\'*+#()&-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~; bc=Y29va2llCg==; FOO=BAR; fc=%20%3B%22%5C%2C; nc=12354342",
+ "wc=!\'*+#()&-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~; bc=Y29va2llCg==; FOO=BAR; fc=%20%3B%22%5C%2C; nc=12354342"
+ ])
+ done();
+ });
+ });
+
+ it('response cookies are passed as well', function(done) {
+ needle.get('localhost:' + testPort + '/0', opts, function(err, resp) {
+ // resp.cookies.should.have.property(WEIRD_COOKIE_NAME);
+ // resp.cookies.should.have.property(BASE64_COOKIE_NAME);
+ // resp.cookies.should.have.property(FORBIDDEN_COOKIE_NAME);
+ // resp.cookies.should.have.property(NUMBER_COOKIE_NAME);
+ // resp.cookies.should.have.property('FOO');
+ // resp.cookies.FOO.should.eql('BAR'); // should overwrite previous one
+ done();
+ });
+ });
+
+ })
+
+ });
+ });
+
+ describe('with parse_cookies = false', function() {
+ it('does not parse them', function(done) {
+ needle.get(
+ 'localhost:' + ALL_COOKIES_TEST_PORT, { parse_cookies: false }, function(error, response) {
+ should.not.exist(response.cookies);
+ done();
+ });
+ });
+ });
+ });
+
+ describe('if request contains cookie header', function() {
+ var opts = {
+ cookies: {}
+ };
+
+ before(function() {
+ opts.cookies[WEIRD_COOKIE_NAME] = WEIRD_COOKIE_VALUE;
+ opts.cookies[BASE64_COOKIE_NAME] = BASE64_COOKIE_VALUE;
+ opts.cookies[FORBIDDEN_COOKIE_NAME] = FORBIDDEN_COOKIE_VALUE;
+ opts.cookies[NUMBER_COOKIE_NAME] = NUMBER_COOKIE_VALUE;
+ });
+
+ it('must be a valid cookie string', function(done) {
+ var COOKIE_PAIR = /^([^=\s]+)\s*=\s*("?)\s*(.*)\s*\2\s*$/;
+
+ var full_header = [
+ WEIRD_COOKIE_NAME + '=' + WEIRD_COOKIE_VALUE,
+ BASE64_COOKIE_NAME + '=' + BASE64_COOKIE_VALUE,
+ FORBIDDEN_COOKIE_NAME + '=' + encode(FORBIDDEN_COOKIE_VALUE),
+ NUMBER_COOKIE_NAME + '=' + NUMBER_COOKIE_VALUE
+ ].join('; ')
+
+ needle.get('localhost:' + ALL_COOKIES_TEST_PORT, opts, function(error, response) {
+ var cookieString = response.req._headers.cookie;
+ cookieString.should.be.type('string');
+
+ cookieString.split(/\s*;\s*/).forEach(function(pair) {
+ COOKIE_PAIR.test(pair).should.be.exactly(true);
+ });
+
+ cookieString.should.be.exactly(full_header);
+ done();
+ });
+ });
+
+ it('dont have to encode allowed characters', function(done) {
+ var COOKIE_PAIR = /^([^=\s]+)\s*=\s*("?)\s*(.*)\s*\2\s*$/,
+ KEY_INDEX = 1,
+ VALUE_INEX = 3;
+
+ needle.get('localhost:' + ALL_COOKIES_TEST_PORT, opts, function(error, response) {
+ var cookieObj = {},
+ cookieString = response.req._headers.cookie;
+
+ cookieString.split(/\s*;\s*/).forEach(function(str) {
+ var pair = COOKIE_PAIR.exec(str);
+ cookieObj[pair[KEY_INDEX]] = pair[VALUE_INEX];
+ });
+
+ cookieObj[WEIRD_COOKIE_NAME].should.be.exactly(WEIRD_COOKIE_VALUE);
+ cookieObj[BASE64_COOKIE_NAME].should.be.exactly(BASE64_COOKIE_VALUE);
+ done();
+ });
+ });
+
+ it('must encode forbidden characters', function(done) {
+ var COOKIE_PAIR = /^([^=\s]+)\s*=\s*("?)\s*(.*)\s*\2\s*$/,
+ KEY_INDEX = 1,
+ VALUE_INEX = 3;
+
+ needle.get('localhost:' + ALL_COOKIES_TEST_PORT, opts, function(error, response) {
+ var cookieObj = {},
+ cookieString = response.req._headers.cookie;
+
+ cookieString.split(/\s*;\s*/).forEach(function(str) {
+ var pair = COOKIE_PAIR.exec(str);
+ cookieObj[pair[KEY_INDEX]] = pair[VALUE_INEX];
+ });
+
+ cookieObj[FORBIDDEN_COOKIE_NAME].should.not.be.eql(
+ FORBIDDEN_COOKIE_VALUE);
+ cookieObj[FORBIDDEN_COOKIE_NAME].should.be.exactly(
+ encode(FORBIDDEN_COOKIE_VALUE));
+ cookieObj[FORBIDDEN_COOKIE_NAME].should.be.exactly(
+ encodeURIComponent(FORBIDDEN_COOKIE_VALUE));
+ done();
+ });
+ });
+ });
+
+});
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/decoder_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/decoder_spec.js"
index d534c28a6dedcce7e471c5dbc600ca3d7f9d0dc0..2041467b8a87f5cbadca3ae8b781af60e307c7dc 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/decoder_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/decoder_spec.js"
@@ -1,3 +1,270 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2b7a43552cdba6f0563d0c8d463d0f39a4c1c78c27193e9d273e6d47b07b6dff
-size 7455
+var should = require('should'),
+ needle = require('./../'),
+ decoder = require('./../lib/decoder'),
+ Q = require('q'),
+ chardet = require('jschardet'),
+ fs = require('fs'),
+ http = require('http'),
+ helpers = require('./helpers');
+
+describe('character encoding', function() {
+
+ this.timeout(5000);
+
+ function staticServerFor(file, content_type) {
+ return http.createServer(function(req, res) {
+ req.on('data', function(chunk) {})
+ req.on('end', function() {
+ // We used to pull from a particular site that is no longer up.
+ // This is a local mirror pulled from archive.org
+ // https://web.archive.org/web/20181003202907/http://www.nina.jp/server/slackware/webapp/tomcat_charset.html
+ fs.readFile(file, function(err, data) {
+ if (err) {
+ res.writeHead(404);
+ res.end(JSON.stringify(err));
+ return;
+ }
+ res.writeHeader(200, { 'Content-Type': content_type })
+ res.end(data);
+ });
+ })
+ })
+ }
+
+ describe('Given content-type: "text/html; charset=EUC-JP"', function() {
+ var server, port = 2233;
+
+ before(function(done) {
+ server = staticServerFor('test/files/tomcat_charset.html', 'text/html; charset=EUC-JP')
+ server.listen(port, done)
+ url = 'http://localhost:' + port;
+ })
+
+ after(function(done) {
+ server.close(done)
+ })
+
+ describe('with decode = false', function() {
+ it('does not decode', function(done) {
+ needle.get(url, { decode: false }, function(err, resp) {
+ resp.body.should.be.a.String;
+ chardet.detect(resp.body).encoding.should.eql('windows-1252');
+ resp.body.indexOf('EUCを使�').should.eql(-1);
+ done();
+ })
+ })
+ })
+
+ describe('with decode = true', function() {
+ it('decodes', function(done) {
+ needle.get(url, { decode: true }, function(err, resp) {
+ resp.body.should.be.a.String;
+ chardet.detect(resp.body).encoding.should.eql('ascii');
+ resp.body.indexOf('EUCを使�').should.not.eql(-1);
+ done();
+ })
+ })
+ })
+ })
+
+ describe('Given content-type: "text/html but file is charset: gb2312', function() {
+
+ it('encodes to UTF-8', function(done) {
+
+ // Our Needle wrapper that requests a chinese website.
+ var task = Q.nbind(needle.get, needle, 'http://www.chinesetop100.com/');
+
+ // Different instantiations of this task
+ var tasks = [Q.fcall(task, {decode: true}),
+ Q.fcall(task, {decode: false})];
+
+ var results = tasks.map(function(task) {
+ return task.then(function(obj) {
+ return obj[0].body;
+ });
+ });
+
+ // Execute all requests concurrently
+ Q.all(results).done(function(bodies) {
+
+ var charsets = [
+ chardet.detect(bodies[0]).encoding,
+ chardet.detect(bodies[1]).encoding,
+ ]
+
+ // We wanted to decode our first stream as specified by options
+ charsets[0].should.equal('ascii');
+ bodies[0].indexOf('å…¨ç�ƒä¸æ–‡ç½‘ç«™å‰�二å��强').should.not.equal(-1);
+
+ // But not our second stream
+ charsets[1].should.equal('windows-1252');
+ bodies[1].indexOf('å…¨ç�ƒä¸æ–‡ç½‘ç«™å‰�二å��强').should.equal(-1);
+
+ done();
+ });
+ })
+ })
+
+ describe('Given content-type: text/html; charset=maccentraleurope', function() {
+ var server, port = 2233;
+
+ // from 'https://wayback.archive-it.org/3259/20160921140616/https://www.arc.gov/research/MapsofAppalachia.asp?MAP_ID=11';
+ before(function(done) {
+ server = staticServerFor('test/files/Appalachia.html', 'text/html; charset=maccentraleurope')
+ server.listen(port, done)
+ url = 'http://localhost:' + port;
+ })
+
+ after(function(done) {
+ server.close(done)
+ })
+
+ describe('with decode = false', function() {
+ it('does not decode', function(done) {
+ needle.get(url, { decode: false }, function(err, resp) {
+ resp.body.should.be.a.String;
+ chardet.detect(resp.body).encoding.should.eql('ascii');
+ done();
+ })
+ })
+ })
+
+ describe('with decode = true', function() {
+ it('does not explode', function(done) {
+ (function() {
+ needle.get(url, { decode: true }, function(err, resp) {
+ resp.body.should.be.a.String;
+ chardet.detect(resp.body).encoding.should.eql('ascii');
+ done();
+ })
+ }).should.not.throw();
+ })
+ })
+ })
+
+ describe('Given content-type: "text/html"', function () {
+
+ var server,
+ port = 54321,
+ text = 'Magyarországi Fióktelepe'
+
+ before(function(done) {
+ server = helpers.server({
+ port: port,
+ response: text,
+ headers: { 'Content-Type': 'text/html' }
+ }, done);
+ })
+
+ after(function(done) {
+ server.close(done)
+ })
+
+ describe('with decode = false', function () {
+ it('decodes by default to utf-8', function (done) {
+
+ needle.get('http://localhost:' + port, { decode: false }, function (err, resp) {
+ resp.body.should.be.a.String;
+ chardet.detect(resp.body).encoding.should.eql('ISO-8859-2');
+ resp.body.should.eql('Magyarországi Fióktelepe')
+ done();
+ })
+
+ })
+
+ })
+ })
+
+ describe('multibyte characters split across chunks', function () {
+
+ describe('with encoding = utf-8', function() {
+
+ var d,
+ result = Buffer.allocUnsafe(0);
+
+ before(function(done) {
+ d = decoder('utf-8');
+ done();
+ });
+
+ it('reassembles split multibyte characters', function (done) {
+
+ d.on("data", function(chunk){
+ result = Buffer.concat([ result, chunk ]);
+ });
+
+ d.on("end", function(){
+ result.toString("utf-8").should.eql('æ…¶');
+ done();
+ });
+
+ // write 'æ…¶' in utf-8 split across chunks
+ d.write(Buffer.from([0xE6]));
+ d.write(Buffer.from([0x85]));
+ d.write(Buffer.from([0xB6]));
+ d.end();
+
+ })
+ })
+
+ describe('with encoding = euc-jp', function() {
+
+ var d,
+ result = Buffer.allocUnsafe(0);
+
+ before(function(done) {
+ d = decoder('euc-jp');
+ done();
+ });
+
+ it('reassembles split multibyte characters', function (done) {
+
+ d.on("data", function(chunk){
+ result = Buffer.concat([ result, chunk ]);
+ });
+
+ d.on("end", function(){
+ result.toString("utf-8").should.eql('æ…¶');
+ done();
+ });
+
+ // write 'æ…¶' in euc-jp split across chunks
+ d.write(Buffer.from([0xB7]));
+ d.write(Buffer.from([0xC4]));
+ d.end();
+
+ })
+ })
+
+ describe('with encoding = gb18030', function() {
+
+ var d,
+ result = Buffer.allocUnsafe(0);
+
+ before(function(done) {
+ d = decoder('gb18030');
+ done();
+ });
+
+ it('reassembles split multibyte characters', function (done) {
+
+ d.on("data", function(chunk){
+ result = Buffer.concat([ result, chunk ]);
+ });
+
+ d.on("end", function(){
+ result.toString("utf-8").should.eql('æ…¶');
+ done();
+ });
+
+ // write 'æ…¶' in gb18030 split across chunks
+ d.write(Buffer.from([0x91]));
+ d.write(Buffer.from([0x63]));
+ d.end();
+
+ })
+ })
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/errors_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/errors_spec.js"
index 40919370efeff7f9f684f3e6a70c6e7d2ea1b0b3..4a9acc75586937bbb34c538763c1d0654628f565 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/errors_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/errors_spec.js"
@@ -1,3 +1,406 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:425f788d418c7c701df97c298cd3a5bdc2bc7f8672e74b371a21cb8d5938d54f
-size 10114
+var needle = require('../'),
+ sinon = require('sinon'),
+ should = require('should'),
+ http = require('http'),
+ Emitter = require('events').EventEmitter,
+ helpers = require('./helpers');
+
+var get_catch = function(url, opts) {
+ var err;
+ try {
+ needle.get(url, opts);
+ } catch(e) {
+ err = e;
+ }
+ return err;
+}
+
+describe('errors', function() {
+
+ after(function(done) {
+ setTimeout(done, 100)
+ })
+
+ describe('when host does not exist', function() {
+
+ var url = 'http://unexistinghost/foo';
+
+ describe('with callback', function() {
+
+ it('does not throw', function() {
+ var ex = get_catch(url);
+ should.not.exist(ex);
+ })
+
+ it('callbacks an error', function(done) {
+ needle.get(url, function(err) {
+ err.should.be.a.Error;
+ done();
+ })
+ })
+
+ it('error should be ENOTFOUND or EADDRINFO or EAI_AGAIN', function(done) {
+ needle.get(url, function(err) {
+ err.code.should.match(/ENOTFOUND|EADDRINFO|EAI_AGAIN/)
+ done();
+ })
+ })
+
+ it('does not callback a response', function(done) {
+ needle.get(url, function(err, resp) {
+ should.not.exist(resp);
+ done();
+ })
+ })
+
+ it('does not emit an error event', function(done) {
+ var emitted = false;
+ var req = needle.get(url, function(err, resp) { })
+
+ req.on('error', function() {
+ emitted = true;
+ })
+
+ setTimeout(function() {
+ emitted.should.eql(false);
+ done();
+ }, 100);
+ })
+
+ })
+
+ describe('without callback', function() {
+
+ it('does not throw', function() {
+ var ex = get_catch(url);
+ should.not.exist(ex);
+ })
+
+ it('emits end event once, with error', function(done) {
+ var callcount = 0,
+ stream = needle.get(url);
+
+ stream.on('done', function(err) {
+ err.code.should.match(/ENOTFOUND|EADDRINFO|EAI_AGAIN/)
+ callcount++;
+ })
+
+ setTimeout(function() {
+ callcount.should.equal(1);
+ done();
+ }, 200)
+ })
+
+ it('does not emit a readable event', function(done) {
+ var called = false,
+ stream = needle.get(url);
+
+ stream.on('readable', function() {
+ called = true;
+ })
+
+ stream.on('done', function(err) {
+ called.should.be.false;
+ done();
+ })
+ })
+
+ it('does not emit an error event', function(done) {
+ var emitted = false,
+ stream = needle.get(url);
+
+ stream.on('error', function() {
+ emitted = true;
+ })
+
+ stream.on('done', function(err) {
+ emitted.should.eql(false);
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('when request times out waiting for response', function() {
+
+ var server,
+ url = 'http://localhost:3333/foo';
+
+ var send_request = function(cb) {
+ return needle.get(url, { response_timeout: 200 }, cb);
+ }
+
+ before(function() {
+ server = helpers.server({ port: 3333, wait: 1000 });
+ })
+
+ after(function() {
+ server.close();
+ })
+
+ describe('with callback', function() {
+
+ it('aborts the request', function(done) {
+
+ var time = new Date();
+
+ send_request(function(err) {
+ var timediff = (new Date() - time);
+ timediff.should.be.within(200, 300);
+ done();
+ })
+
+ })
+
+ it('callbacks an error', function(done) {
+ send_request(function(err) {
+ err.should.be.a.Error;
+ done();
+ })
+ })
+
+ it('error should be ECONNRESET', function(done) {
+ send_request(function(err) {
+ err.code.should.equal('ECONNRESET')
+ done();
+ })
+ })
+
+ it('does not callback a response', function(done) {
+ send_request(function(err, resp) {
+ should.not.exist(resp);
+ done();
+ })
+ })
+
+ it('does not emit an error event', function(done) {
+ var emitted = false;
+
+ var req = send_request(function(err, resp) {
+ should.not.exist(resp);
+ })
+
+ req.on('error', function() {
+ emitted = true;
+ })
+
+ setTimeout(function() {
+ emitted.should.eql(false);
+ done();
+ }, 350);
+ })
+
+ })
+
+ describe('without callback', function() {
+
+ it('emits done event once, with error', function(done) {
+ var error,
+ called = 0,
+ stream = send_request();
+
+ stream.on('done', function(err) {
+ err.code.should.equal('ECONNRESET');
+ called++;
+ })
+
+ setTimeout(function() {
+ called.should.equal(1);
+ done();
+ }, 250)
+ })
+
+ it('aborts the request', function(done) {
+
+ var time = new Date();
+ var stream = send_request();
+
+ stream.on('done', function(err) {
+ var timediff = (new Date() - time);
+ timediff.should.be.within(200, 300);
+ done();
+ })
+
+ })
+
+ it('error should be ECONNRESET', function(done) {
+ var error,
+ stream = send_request();
+
+ stream.on('done', function(err) {
+ err.code.should.equal('ECONNRESET')
+ done();
+ })
+ })
+
+ it('does not emit a readable event', function(done) {
+ var called = false,
+ stream = send_request();
+
+ stream.on('readable', function() {
+ called = true;
+ })
+
+ stream.on('done', function(err) {
+ called.should.be.false;
+ done();
+ })
+ })
+
+ it('does not emit an error event', function(done) {
+ var emitted = false;
+ var stream = send_request();
+
+ stream.on('error', function() {
+ emitted = true;
+ })
+
+ stream.on('done', function(err) {
+ err.should.be.a.Error;
+ err.code.should.equal('ECONNRESET')
+ emitted.should.eql(false);
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ var node_major_ver = process.version.split('.')[0].replace('v', '');
+ if (node_major_ver >= 16) {
+ describe('when request is aborted by signal', function() {
+
+ var server,
+ url = 'http://localhost:3333/foo';
+
+ before(function() {
+ server = helpers.server({ port: 3333, wait: 600 });
+ })
+
+ after(function() {
+ server.close();
+ })
+
+ afterEach(function() {
+ // reset signal to default
+ needle.defaults({signal: null});
+ })
+
+ it('works if passing an already aborted signal aborts the request', function(done) {
+ var abortedSignal = AbortSignal.abort();
+ var start = new Date();
+
+ abortedSignal.aborted.should.equal(true);
+
+ needle.get(url, { signal: abortedSignal, response_timeout: 10000 }, function(err, res) {
+ var timediff = (new Date() - start);
+
+ should.not.exist(res);
+ err.code.should.equal('ABORT_ERR');
+ timediff.should.be.within(0, 50);
+
+ done();
+ });
+ })
+
+ it('works if request aborts before timing out', function(done) {
+ var cancel = new AbortController();
+ var start = new Date();
+
+ needle.get(url, { signal: cancel.signal, response_timeout: 500, open_timeout: 500, read_timeout: 500 }, function(err, res) {
+ var timediff = (new Date() - start);
+
+ should.not.exist(res);
+ if (node_major_ver <= 16)
+ err.code.should.equal('ECONNRESET');
+ if (node_major_ver > 16)
+ err.code.should.equal('ABORT_ERR');
+ cancel.signal.aborted.should.equal(true);
+ timediff.should.be.within(200, 250);
+
+ done();
+ });
+
+ function abort() {
+ cancel.abort();
+ }
+ setTimeout(abort, 200);
+ })
+
+ it('works if request times out before being aborted', function(done) {
+ var cancel = new AbortController();
+ var start = new Date();
+
+ needle.get(url, { signal: cancel.signal, response_timeout: 200, open_timeout: 200, read_timeout: 200 }, function(err, res) {
+ var timediff = (new Date() - start);
+
+ should.not.exist(res);
+ err.code.should.equal('ECONNRESET');
+ timediff.should.be.within(200, 250);
+ });
+
+ function abort() {
+ cancel.signal.aborted.should.equal(false);
+ done();
+ }
+ setTimeout(abort, 500);
+ })
+
+ it('works if setting default signal aborts all requests', function(done) {
+ var cancel = new AbortController();
+
+ needle.defaults({signal: cancel.signal});
+
+ var start = new Date();
+ var count = 0;
+ function cb(err, res) {
+ var timediff = (new Date() - start);
+
+ should.not.exist(res);
+ if (node_major_ver <= 16)
+ err.code.should.equal('ECONNRESET');
+ if (node_major_ver > 16)
+ err.code.should.equal('ABORT_ERR');
+ cancel.signal.aborted.should.equal(true);
+ timediff.should.be.within(200, 250);
+
+ if ( count++ === 2 ) done();
+ }
+
+ needle.get(url, { timeout: 300 }, cb);
+ needle.get(url, { timeout: 350 }, cb);
+ needle.get(url, { timeout: 400 }, cb);
+
+ function abort() {
+ cancel.abort();
+ }
+ setTimeout(abort, 200);
+ })
+
+ it('does not work if invalid signal passed', function(done) {
+ try {
+ needle.get(url, { signal: 'invalid signal' }, function(err, res) {
+ done(new Error('A bad option error expected to be thrown'));
+ });
+ } catch(e) {
+ e.should.be.a.TypeError;
+ done();
+ }
+ })
+
+ it('does not work if invalid signal set by default', function(done) {
+ try {
+ needle.defaults({signal: new Error(), timeout: 1200});
+ done(new Error('A bad option error expected to be thrown'));
+ } catch(e) {
+ e.should.be.a.TypeError;
+ done();
+ }
+ })
+
+ })
+ }
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/files/Appalachia.html" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/files/Appalachia.html"
index b05452732eb903658bb683bcb7b0c1f1a7a3f55c..73a88480b9f7e452513fdecf66f8ac2928286bce 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/files/Appalachia.html"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/files/Appalachia.html"
@@ -1,3 +1,797 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:dfdb872dd63137a95367aed3226379ac3ce6d5666478579afded6cdc70b17bde
-size 47943
+
+
+
+County Economic Status in Appalachia, FY 2004 - Appalachian Regional Commission
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+hide
+
+You are viewing an archived web page collected at the request of Federal Depository Library Program Web Archive using Archive-It. This page was captured on 14:18:18 Mar 18, 2016,
+and is part of the ARC, Appalachian Regional Commission collection.
+The information on this web page may be out of date. See All versions of this archived page.
+Found 0 archived media items out of 0 total on this page.
+
+
+ Enable QA
+
+View Missing URLs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
County Economic Status in Appalachia, FY 2004
+
+
+
(Effective October 1, 2003 through September 30, 2004)
+
Each fiscal year the Appalachian Regional Commission classifies
+the Region’s counties into one of four economic levels based on a
+comparison of county and national rates for three economic indicators:
+three-year average unemployment rates, per-capita market income rates,
+and poverty rates. See the methodology for a description of each
+economic level.
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/files/tomcat_charset.html" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/files/tomcat_charset.html"
index d57df22c15265ab401057b1f0e66ffe327a94d42..f849f7c058cd62238f3ef3457cfabdc7017897bb 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/files/tomcat_charset.html"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/files/tomcat_charset.html"
@@ -1,3 +1,342 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e3f34cac9b026a16616162edb5efc91faab4f73df81ecd859a028131f7e59ab2
-size 18499
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Tomcat¤ÇUTF-8/EUC¤ò»È¤¦
+
+
+
+
+
+
+
+
+
+
+
+
+
COLLECTED BY
+
+
+
+ Organization:
Alexa Crawls
+
+
+ Starting in 1996,
Alexa Internet has been donating their crawl data to the Internet Archive. Flowing in every day, these data are added to the
Wayback Machine after an embargo period.
+
+
+
+
+
+
+
+ Starting in 1996,
Alexa Internet has been donating their crawl data to the Internet Archive. Flowing in every day, these data are added to the
Wayback Machine after an embargo period.
+
+
+
+
+
+
The Wayback Machine - https://web.archive.org/web/20181003202907/http://www.nina.jp:80/server/slackware/webapp/tomcat_charset.html
+
+
+Tomcat¤ÇUTF-8/EUC-JP¤ò»È¤¦
+
+[¥µ¡¼¥Ð¤Î¼Â¸³¼¼ Slackware]
+
+
+ºîÀ® : 2004/12/31
+
+
+
+
+
+Tomcat¤«¤éÊÖ¤µ¤ì¤ë¥¥ã¥é¥¯¥¿¥»¥Ã¥È¤Î¾ðÊó¤Ï¡¢httpd.conf¤Î¥ë¡¼¥È¤Ç»ØÄꤷ¤¿AddDefaultCharset¤ÎÃÍ¤ÈÆ±¤¸¤Ë¤Ê¤ë¤é¤·¤¤¡£
+Directory¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤ÎÃæ¤Ç»ØÄꤷ¤¿AddDefaultCharset¤Ï̵»ë¤µ¤ì¤ë¤Ã¤Ý¤¤¡£
+¤Ä¤¤¤Ç¤Ë¡¢meta¥¿¥°¤â̵»ë¤µ¤ì¤ë¤ß¤¿¤¤¡£
+¡Ê<---¤³¤Î¤Ø¤ó¡¢¸å½Ò¤ÎSetCharacterEncodingFilter¤¬¤Á¤ã¤ó¤Èưºî¤·¤Ê¤¤¤³¤È¤â¤¢¤ê¡¢¼«¿®¤Ê¤·...¡Ë
+
+
+
+¤¦¤Á¤ÎWEB¥µ¡¼¥Ð¤Ï¥ë¡¼¥È¤ÎAddDefaultCharset¤ÇEUC-JP»ØÄê¤ò¤·¤Æ¤ª¤ê¡¢¥³¥ó¥Æ¥¥¹¥È¥Ñ¥¹°Ê²¼¤ÏUTF-8¤Ë¤·¤¿¤¤¤Î¤Ç¡¢¤Ê¤ó¤é¤«¤ÎÂкö¤ò¤·¤Ê¤¤¤Èʸ»ú²½¤±¤·¤Æ¤·¤Þ¤¦¡£
+
+
+¥µ¡¼¥Ö¥ì¥Ã¥È¤Î¾ì¹ç
+
+response.setContentType¤Ç¥¥ã¥é¥¯¥¿¥»¥Ã¥È¤ò»ØÄꤹ¤ë¡£
+EUC-JP¤ò»ÈÍѤ¹¤ë¤Ê¤é¡¢response.setContentType("text/html; charset=EUC-JP")¡£
+UTF-8¤ò»ÈÍѤ¹¤ë¤Ê¤é¡¢response.setContentType("text/html; charset=UTF-8")¡£
+
+
+# HelloWorld.java
+
+import java.io.*;
+import java.text.*;
+import java.util.*;
+import javax.servlet.*;
+import javax.servlet.http.*;
+
+public class HelloWorld extends HttpServlet {
+
+ public void doGet(HttpServletRequest request,
+ HttpServletResponse response)
+ throws IOException, ServletException
+ {
+ response.setContentType("text/html; charset=EUC-JP");
+ PrintWriter out = response.getWriter();
+
+ out.println("<html>");
+ out.println("<head>");
+ out.println("<title>HelloWorld</title>");
+ out.println("</head>");
+ out.println("<body>");
+ out.println("<p>");
+ out.println("¤³¤ó¤Ë¤Á¤ÏÀ¤³¦");
+ out.println("</p>");
+ out.println("</body>");
+ out.println("</html>");
+ }
+}
+
+
+JAVA¤ÏUTF-8¤Ç½èÍý¤ò¹Ô¤¦¤Î¤Ç¡¢¤½¤ì°Ê³°¤ÎEUC-JP¤Ê¤É¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤È¤¤Ë-encoding¤ò¤Ä¤±¤ë¤³¤È¡£
+
+
+# javac -encoding EUC-JP -classpath .:$CATALINA_HOME/common/lib/servlet-api.jar HelloWorld.java
+
+
+JSP¤Î¾ì¹ç
+
+¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ç¥¥ã¥é¥¯¥¿¥»¥Ã¥È¤ò»ØÄꤹ¤ë¡£
+EUC-JP¤ò»ÈÍѤ¹¤ë¤Ê¤é¡¢<%@ page contentType="text/html; charset=EUC-JP" %>¡£
+UTF-8¤ò»ÈÍѤ¹¤ë¤Ê¤é¡¢<%@ page contentType="text/html; charset=UTF-8" %>¡£
+
+
+# hello.jsp
+
+<%@ page contentType="text/html; charset=EUC-JP" %>
+<html>
+<head>
+<title>HelloWorld</title>
+</head>
+<body>
+<p>
+<%
+ out.println("¤³¤ó¤Ë¤Á¤ÏÀ¤³¦");
+%>
+</p>
+</body>
+</html>
+
+
+ÀÅŪ¥³¥ó¥Æ¥ó¥Ä¡ÊHTML¡Ë¤Î¾ì¹ç
+
+workers2.propeties¥Õ¥¡¥¤¥ë¤Ç¡¢¥³¥ó¥Æ¥¥¹¥È¥Ñ¥¹°Ê²¼¤Î¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¤òTomcat¤ËÅϤ¹¤è¤¦ÀßÄꤷ¤Æ¤¤¤ë¾ì¹ç¡¢ÀÅŪ¥³¥ó¥Æ¥ó¥Ä¤Ë¤Ä¤¤¤Æ¤â¤³¤Î¥Ú¡¼¥¸¤ÎÀèÆ¬¤Ë½ñ¤¤¤¿¤è¤¦¤Ê¥¥ã¥é¥¯¥¿¥»¥Ã¥È¾ðÊó¤¬ÊÖ¤µ¤ì¤ë¡£
+HTML¤Îmeta¥¿¥°¤Çcharset¤ò»ØÄꤷ¤Æ¤â̵»ë¤µ¤ì¤ë¤Î¤Ç¡¢¥É¥¥å¥á¥ó¥È¥ë¡¼¥È¤È¥³¥ó¥Æ¥¥¹¥È¥Ñ¥¹¤Ç°Û¤Ê¤ë¥¥ã¥é¥¯¥¿¥»¥Ã¥È¤ò»ÈÍѤ·¤¿¤¤¤È¤¤ÏÃí°Õ¤¬É¬Íס£
+
+
+# workers2.properties
+
+[uri:/hoge/*] <---¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¤òTomcat¤Ë½èÍý¤µ¤»¤ë
+
+
+Ä̾ï¤ÏSetCharacterEncodingFilter¤òÍøÍѤ¹¤ë¤Î¤¬¾ïÅå¼êÃʤΤ褦¤À¤¬¡¢¤É¤¦¤ä¤Ã¤Æ¤âcharset¤òÊÖ¤·¤Æ¤¯¤ì¤Ê¤¤¡£
+¤·¤«¤¿¤Ê¤¤¤Î¤Ç¡¢web.xml¤Î<mime-mapping>¤Çcharset¤È³ÈÄ¥»Ò¤Î´ØÏ¢ÉÕ¤±¤ò»ØÄꤷ¤¿¡£
+
+
+<!--¡Ê¥³¥ó¥Æ¥¥¹¥È¥Ñ¥¹¡Ë/WEB-INF/web.xml-->
+
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE web-app
+ PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <mime-mapping>
+ <extension>html</extension>
+ <mime-type>text/html; charset=UTF-8</mime-type>
+ </mime-mapping>
+</web-app>
+
+
+¤¤¤Á¤ª¤¦¡¢SetCharacterEncodingFilter¤òÍøÍѤ¹¤ëÊýË¡¤ò½ñ¤¤¤Æ¤ª¤¯¤È¡¢$CATALINA_HOME/webapps/jsp-examples/WEB-INF/classes/filters¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ëSetCharacterEncodingFilter.java¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¡¢
+
+
+# cd $CATALINA_HOME/webapps/jsp-examples/WEB-INF/classes
+# javac -classpath .:$CATALINA_HOME/common/lib/servlet-api.jar filters.SetCharacterEncodingFilter.java
+
+
+À¸À®¤µ¤ì¤¿¥¯¥é¥¹¥Õ¥¡¥¤¥ë¤ò¡Ê¥³¥ó¥Æ¥¥¹¥È¥Ñ¥¹¡Ë/WEB-INF/classes/filters¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥³¥Ô¡¼¤·¤Æ¡¢¡Ê¥³¥ó¥Æ¥¥¹¥È¥Ñ¥¹¡Ë/WEB-INF/web.xml¤Ë¥Õ¥£¥ë¥¿¤ÎÀßÄê¤òµ½Ò¤¹¤ë¤À¤±¤é¤·¤¤¡£
+
+
+<!--¡Ê¥³¥ó¥Æ¥¥¹¥È¥Ñ¥¹¡Ë/WEB-INF/web.xml-->
+
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE web-app
+ PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <filter>
+ <filter-name>Set Character Encoding</filter-name>
+ <filter-class>filters.SetCharacterEncodingFilter</filter-class>
+ <init-param>
+ <param-name>encoding</param-name>
+ <param-value>UTF-8</param-value>
+ </init-param>
+ </filter>
+ <filter-mapping>
+ <filter-name>Set Character Encoding</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+</web-app>
+
+
+¤¦¤à¤à...
+
+
+
+
+[¥µ¡¼¥Ð¤Î¼Â¸³¼¼ Slackware]
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/headers_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/headers_spec.js"
index 59cf8d54da04989f3555d746852efdb83b9f4cfb..5ae62592bcb4dc1273033d007afb1343d3929995 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/headers_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/headers_spec.js"
@@ -1,3 +1,320 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:de85f0fc9302863e2fd61ebd1f2f44535175e44d8a802d84187620617af7602d
-size 9379
+var http = require('http'),
+ helpers = require('./helpers'),
+ should = require('should');
+
+var port = 54321;
+
+
+describe('request headers', function() {
+
+ var needle,
+ server,
+ existing_sockets,
+ original_defaultMaxSockets;
+
+ before(function(done) {
+ setTimeout(function() {
+ existing_sockets = get_active_sockets().length;
+ server = helpers.server({ port: port }, done);
+ }, 100);
+ })
+
+ after(function(done) {
+ server.close(done);
+ })
+
+ function send_request(opts, cb) {
+ needle.get('http://localhost:' + port, opts, cb);
+ }
+
+ function get_active_sockets() {
+ var handles = process._getActiveHandles();
+
+ return handles.filter(function(el) {
+ if (el.constructor.name.toString() == 'Socket') {
+ return el.destroyed !== true;
+ }
+ })
+ }
+
+ describe('old node versions (<0.11.4) with persistent keep-alive connections', function() {
+
+ // emulate old node behaviour
+ before(function() {
+ delete require.cache[require.resolve('..')] // in case it was already loaded
+ original_defaultMaxSockets = http.Agent.defaultMaxSockets;
+ http.Agent.defaultMaxSockets = 5;
+ needle = require('..');
+ })
+
+ after(function() {
+ http.Agent.defaultMaxSockets = original_defaultMaxSockets;
+ delete require.cache[require.resolve('..')]
+ })
+
+ describe('default options', function() {
+
+ it('sends a Connection: close header', function(done) {
+ send_request({}, function(err, resp) {
+ resp.body.headers['connection'].should.eql('close');
+ done();
+ })
+ })
+
+ it('no open sockets remain after request', function(done) {
+ send_request({}, function(err, resp) {
+ setTimeout(function() {
+ get_active_sockets().length.should.eql(existing_sockets);
+ done();
+ }, 10)
+ });
+ })
+
+ })
+
+ describe('passing connection: close', function() {
+
+ it('sends a Connection: close header', function(done) {
+ send_request({ connection: 'close' }, function(err, resp) {
+ resp.body.headers['connection'].should.eql('close');
+ done();
+ })
+ })
+
+ it('no open sockets remain after request', function(done) {
+ send_request({ connection: 'close' }, function(err, resp) {
+ setTimeout(function() {
+ get_active_sockets().length.should.eql(existing_sockets);
+ done();
+ }, 10)
+ });
+ })
+
+ })
+
+ describe('passing connection: keep-alive', function() {
+
+ it('sends a Connection: keep-alive header (using options.headers.connection)', function(done) {
+ send_request({ headers: { connection: 'keep-alive' }}, function(err, resp) {
+ resp.body.headers['connection'].should.eql('keep-alive');
+ done();
+ })
+ })
+
+ it('sends a Connection: keep-alive header (using options.connection)', function(done) {
+ send_request({ connection: 'keep-alive' }, function(err, resp) {
+ resp.body.headers['connection'].should.eql('keep-alive');
+ done();
+ })
+ })
+
+ it('one open socket remain after request', function(done) {
+ send_request({ connection: 'keep-alive' }, function(err, resp) {
+ get_active_sockets().length.should.eql(existing_sockets + 1);
+ done();
+ });
+ })
+
+ })
+
+ })
+
+ describe('new node versions with smarter connection disposing', function() {
+
+ before(function() {
+ delete require.cache[require.resolve('..')]
+ original_defaultMaxSockets = http.Agent.defaultMaxSockets;
+ http.Agent.defaultMaxSockets = Infinity;
+ needle = require('..');
+ })
+
+ after(function() {
+ http.Agent.defaultMaxSockets = original_defaultMaxSockets;
+ delete require.cache[require.resolve('..')]
+ })
+
+ describe('default options', function() {
+
+ var node_major_ver = process.version.split('.')[0].replace('v', '');
+
+ if (parseInt(node_major_ver) >= 4) {
+
+ it('sets Connection header to close (> v4)', function(done) {
+ send_request({}, function(err, resp) {
+ resp.body.headers['connection'].should.eql('close');
+ done()
+ })
+ })
+
+ } else {
+
+ it('sets Connection header to keep-alive (< v4)', function(done) {
+ send_request({}, function(err, resp) {
+ resp.body.headers['connection'].should.eql('keep-alive');
+ done();
+ })
+ })
+
+ }
+
+ if (parseInt(node_major_ver) >= 14) {
+
+ // TODO: figure out why this happens
+ it('two open sockets remains after request (>= v14)', function(done) {
+ send_request({}, function(err, resp) {
+ get_active_sockets().length.should.eql(existing_sockets + 2);
+ done();
+ });
+ })
+
+ } else if (parseInt(node_major_ver) >= 8 || parseInt(node_major_ver) == 0) {
+
+ it('one open socket remains after request (> v8 && v0.10)', function(done) {
+ send_request({}, function(err, resp) {
+ get_active_sockets().length.should.eql(existing_sockets + 1);
+ done();
+ });
+ })
+
+ } else {
+
+ it('no open sockets remain after request (> v0.10 && < v8)', function(done) {
+ send_request({}, function(err, resp) {
+ get_active_sockets().length.should.eql(existing_sockets);
+ done();
+ });
+ })
+
+ }
+
+ })
+
+ describe('passing connection: close', function() {
+
+ it('sends a Connection: close header', function(done) {
+ send_request({ connection: 'close' }, function(err, resp) {
+ resp.body.headers['connection'].should.eql('close');
+ done();
+ })
+ })
+
+ it('no open sockets remain after request', function(done) {
+ send_request({ connection: 'close' }, function(err, resp) {
+ setTimeout(function() {
+ get_active_sockets().length.should.eql(existing_sockets);
+ done();
+ }, 10);
+ });
+ })
+
+ })
+
+ describe('passing connection: keep-alive', function() {
+
+ it('sends a Connection: keep-alive header (using options.headers.connection)', function(done) {
+ send_request({ headers: { connection: 'keep-alive' }}, function(err, resp) {
+ resp.body.headers['connection'].should.eql('keep-alive');
+ done();
+ })
+ })
+
+ it('sends a Connection: keep-alive header (using options.connection)', function(done) {
+ send_request({ connection: 'keep-alive' }, function(err, resp) {
+ resp.body.headers['connection'].should.eql('keep-alive');
+ done();
+ })
+ })
+
+ it('one open socket remain after request', function(done) {
+ send_request({ connection: 'keep-alive' }, function(err, resp) {
+ get_active_sockets().length.should.eql(existing_sockets + 1);
+ done();
+ });
+ })
+
+ })
+
+ })
+
+ describe('using shared keep-alive agent', function() {
+
+ before(function() {
+ needle.defaults({ agent: http.Agent({ keepAlive: true }) })
+ })
+
+ after(function() {
+ needle.defaults().agent.destroy(); // close existing connections
+ needle.defaults({ agent: null }); // and reset default value
+ })
+
+ describe('default options', function() {
+
+ it('sends a Connection: keep-alive header', function(done) {
+ send_request({}, function(err, resp) {
+ resp.body.headers['connection'].should.eql('keep-alive');
+ done();
+ })
+ })
+
+ it('one open socket remain after request', function(done) {
+ send_request({ connection: 'keep-alive' }, function(err, resp) {
+ setTimeout(function() {
+ get_active_sockets().length.should.eql(existing_sockets + 1);
+ done();
+ }, 10);
+ });
+ })
+
+ })
+
+ describe('passing connection: close', function() {
+
+ it('sends a Connection: close header', function(done) {
+ send_request({ connection: 'close' }, function(err, resp) {
+ resp.body.headers['connection'].should.eql('close');
+ done();
+ })
+ })
+
+ it('no open sockets remain after request', function(done) {
+ send_request({ connection: 'close' }, function(err, resp) {
+ setTimeout(function() {
+ get_active_sockets().length.should.eql(existing_sockets);
+ done();
+ }, 10)
+ });
+ })
+
+ })
+
+ describe('passing connection: keep-alive', function() {
+
+ it('sends a Connection: keep-alive header (using options.headers.connection)', function(done) {
+ send_request({ headers: { connection: 'keep-alive' }}, function(err, resp) {
+ resp.body.headers['connection'].should.eql('keep-alive');
+ done();
+ })
+ })
+
+ it('sends a Connection: keep-alive header (using options.connection)', function(done) {
+ send_request({ connection: 'keep-alive' }, function(err, resp) {
+ resp.body.headers['connection'].should.eql('keep-alive');
+ done();
+ })
+ })
+
+ it('one open socket remain after request', function(done) {
+ send_request({ connection: 'keep-alive' }, function(err, resp) {
+ setTimeout(function() {
+ get_active_sockets().length.should.eql(existing_sockets + 1);
+ done();
+ }, 10);
+ })
+ })
+
+ })
+
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/helpers.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/helpers.js"
index d608e8e586bfdc68a55f1dfea3cc267c4feba911..613ff5780ac590085b6938592cfa0d28d1389eaf 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/helpers.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/helpers.js"
@@ -1,3 +1,74 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1d296ec95a9260b431f9d6f737440c1995f459935e4da7e1fb11696523a1eeac
-size 1592
+var fs = require('fs');
+
+var protocols = {
+ http : require('http'),
+ https : require('https')
+}
+
+var keys = {
+ cert : fs.readFileSync(__dirname + '/keys/ssl.cert'),
+ key : fs.readFileSync(__dirname + '/keys/ssl.key')
+}
+
+var helpers = {};
+
+helpers.server = function(opts, cb) {
+
+ var defaults = {
+ code : 200,
+ headers : {'Content-Type': 'application/json'}
+ }
+
+ var mirror_response = function(req) {
+ return JSON.stringify({
+ headers: req.headers,
+ body: req.body
+ })
+ }
+
+ var get = function(what) {
+ if (!opts[what])
+ return defaults[what];
+
+ if (typeof opts[what] == 'function')
+ return opts[what](); // set them at runtime
+ else
+ return opts[what];
+ }
+
+ var finish = function(req, res) {
+ if (opts.handler) return opts.handler(req, res);
+
+ res.writeHead(get('code'), get('headers'));
+ res.end(opts.response || mirror_response(req));
+ }
+
+ var handler = function(req, res) {
+
+ req.setEncoding('utf8'); // get as string
+ req.body = '';
+ req.on('data', function(str) { req.body += str })
+ req.socket.on('error', function(e) {
+ // res.writeHead(500, {'Content-Type': 'text/plain'});
+ // res.end('Error: ' + e.message);
+ })
+
+ setTimeout(function(){
+ finish(req, res);
+ }, opts.wait || 0);
+
+ };
+
+ var protocol = opts.protocol || 'http';
+ var server;
+
+ if (protocol == 'https')
+ server = protocols[protocol].createServer(keys, handler);
+ else
+ server = protocols[protocol].createServer(handler);
+
+ server.listen(opts.port, cb);
+ return server;
+}
+
+module.exports = helpers;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/long_string_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/long_string_spec.js"
index ef430cd7d0103be137f2841562d82fa25319806a..4f2fa7365da8262e8b08dbe2df1eabc90e37d1a9 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/long_string_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/long_string_spec.js"
@@ -1,3 +1,43 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:94d6a6301da42495ae669e4fd66e2d127eedb295f2ac448b2c6b566062979d26
-size 928
+var needle = require('../'),
+ should = require('should');
+
+describe('when posting a very long string', function() {
+
+ this.timeout(20000);
+
+ function get_string(length) {
+ var str = '';
+ for (var i = 0; i < length; i++) {
+ str += 'x';
+ }
+ return str;
+ }
+
+ var major_version = process.version.split('.')[0];
+
+ it("shouldn't throw an EPIPE error out of nowhere", function(done) {
+
+ // for some reason this test fails in Github Actions with Node v8.x
+ // although in my Linux box passes without issues
+ if (process.env.CI && (major_version == 'v8' || major_version == 'v6')) {
+ return done();
+ }
+
+ var error;
+
+ function finished() {
+ setTimeout(function() {
+ should.not.exist(error);
+ done();
+ }, 300);
+ }
+
+ try {
+ needle.post('https://google.com', { data: get_string(Math.pow(2, 20)) }, finished)
+ } catch(e) {
+ error = e;
+ }
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/mimetype.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/mimetype.js"
index 9aec0da6fde7ec126146b437f74e42f461ba8439..dbeaf2951de60b9e42a84482ddce11040e78fa93 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/mimetype.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/mimetype.js"
@@ -1,3 +1,81 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:322f3c9e713c7aa78795cfc7e768c0e6e08ac9e3611721c4a75757c572e1053a
-size 1885
+var should = require('should'),
+ needle = require('./../'),
+ helpers = require('./helpers');
+
+describe('receiving json and xml content as string', function() {
+
+ this.timeout(5000);
+
+ ["text/plain", "application/json", "application/ld+json", "application/xml", "image/svg+xml"].forEach(function(mimetype, offset){
+
+ describe('Given content-type: "'+mimetype+'"', function () {
+
+ var server, port = 54330+offset;
+
+ before(function(done) {
+ server = helpers.server({
+ port: port,
+ response: 'content',
+ headers: { 'Content-Type': mimetype }
+ }, done);
+ })
+
+ after(function(done) {
+ server.close(done)
+ })
+
+ describe('with parse = false', function () {
+ it('delivers by default as string', function (done) {
+
+ needle.get('http://localhost:' + port, { parse: false }, function (err, resp) {
+
+ resp.body.should.be.a.String;
+ (typeof resp.body).should.eql('string')
+ done();
+ })
+
+ })
+
+ })
+
+ })
+
+ });
+
+ ["application/octet-stream", "image/png"].forEach(function(mimetype, offset){
+
+ describe('Given content-type: "'+mimetype+'"', function () {
+
+ var server, port = 54340+offset;
+
+ before(function(done) {
+ server = helpers.server({
+ port: port,
+ response: 'content',
+ headers: { 'Content-Type': mimetype }
+ }, done);
+ })
+
+ after(function(done) {
+ server.close(done)
+ })
+
+ describe('with parse = false', function () {
+ it('delivers by default as Buffer', function (done) {
+
+ needle.get('http://localhost:' + port, { parse: false }, function (err, resp) {
+
+ resp.body.should.be.a.Buffer;
+ (resp.body instanceof Buffer).should.eql(true)
+ done();
+ })
+
+ })
+
+ })
+
+ })
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/output_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/output_spec.js"
index 1e79423e8b149a0ecfe0f80098ee25396e352948..ecda05c780a5b263bf4a67be953cc319b98c5fed 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/output_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/output_spec.js"
@@ -1,3 +1,263 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1a34d1e2b06014ab25c602017bcf7249195ce896c7e023d4b15d551167fc13e1
-size 7548
+// this lets us run tests in ancient node versions (v0.10.x)
+if (process.version.split('.')[0] == 'v0' && !Buffer.from) {
+ Buffer.from = function(args) {
+ return new Buffer(args);
+ }
+}
+
+var should = require('should'),
+ needle = require('./../'),
+ http = require('http'),
+ sinon = require('sinon'),
+ stream = require('stream'),
+ fs = require('fs'),
+ port = 11111,
+ server;
+
+describe('with output option', function() {
+
+ var server, handler, file = '/tmp/foobar.out';
+
+ function send_request_cb(where, cb) {
+ var url = 'http://localhost:' + port + '/whatever.file';
+ return needle.get(url, { output: where }, cb);
+ }
+
+ function send_request_stream(where, cb) {
+ var url = 'http://localhost:' + port + '/whatever.file';
+ var stream = needle.get(url, { output: where });
+ stream.on('end', cb);
+ }
+
+ // this will only work in UNICES
+ function get_open_file_descriptors() {
+ var list = fs.readdirSync('/proc/self/fd');
+ return list.length;
+ }
+
+ var send_request = send_request_cb;
+
+ before(function(){
+ server = http.createServer(function(req, res) {
+ handler(req, res);
+ }).listen(port);
+ });
+
+ after(function() {
+ server.close();
+ })
+
+ beforeEach(function() {
+ try { fs.unlinkSync(file) } catch(e) { };
+ })
+
+ describe('and a 404 response', function() {
+
+ before(function() {
+ handler = function(req, res) {
+ res.writeHead(404, {'Content-Type': 'text/plain' });
+ res.end();
+ }
+ })
+
+ it('doesnt attempt to write a file', function(done) {
+ var spy = sinon.spy(fs, 'createWriteStream');
+ send_request(file, function(err, resp) {
+ resp.statusCode.should.eql(404);
+ spy.called.should.eql(false);
+ spy.restore();
+ done();
+ })
+ })
+
+ it('doesnt actually write a file', function(done) {
+ send_request(file, function(err, resp) {
+ resp.statusCode.should.eql(404);
+ fs.existsSync(file).should.eql(false);
+ done();
+ })
+ })
+
+ })
+
+ describe('and a 200 response', function() {
+
+ describe('for an empty response', function() {
+
+ before(function() {
+ handler = function(req, res) {
+ res.writeHead(200, { 'Content-Type': 'text/plain' });
+ res.end();
+ }
+ })
+
+ it('uses a writableStream', function(done) {
+ var spy = sinon.spy(fs, 'createWriteStream');
+ send_request(file, function(err, resp) {
+ resp.statusCode.should.eql(200);
+ spy.called.should.eql(true);
+ spy.restore();
+ done();
+ })
+ })
+
+ it('writes a file', function(done) {
+ fs.existsSync(file).should.eql(false);
+ send_request(file, function(err, resp) {
+ fs.existsSync(file).should.eql(true);
+ done();
+ })
+ })
+
+ it('file is zero bytes in length', function(done) {
+ send_request(file, function(err, resp) {
+ fs.statSync(file).size.should.equal(0);
+ done();
+ })
+ })
+
+ if (process.platform == 'linux') {
+ it('closes the file descriptor', function(done) {
+ var open_descriptors = get_open_file_descriptors();
+ send_request(file + Math.random(), function(err, resp) {
+ var current_descriptors = get_open_file_descriptors();
+ open_descriptors.should.eql(current_descriptors);
+ done()
+ })
+ })
+ }
+
+ })
+
+ describe('for a JSON response', function() {
+
+ before(function() {
+ handler = function(req, res) {
+ res.writeHead(200, { 'Content-Type': 'application/javascript' });
+ res.end(JSON.stringify({foo: 'bar'}));
+ }
+ })
+
+ it('uses a writableStream', function(done) {
+ var spy = sinon.spy(fs, 'createWriteStream');
+ send_request(file, function(err, resp) {
+ resp.statusCode.should.eql(200);
+ spy.called.should.eql(true);
+ spy.restore();
+ done();
+ })
+ })
+
+ it('writes a file', function(done) {
+ fs.existsSync(file).should.eql(false);
+ send_request(file, function(err, resp) {
+ fs.existsSync(file).should.eql(true);
+ done();
+ })
+ })
+
+ it('file size equals response length', function(done) {
+ send_request(file, function(err, resp) {
+ fs.statSync(file).size.should.equal(resp.bytes);
+ done();
+ })
+ })
+
+ it('response pipeline is honoured (JSON is decoded by default)', function(done) {
+ send_request_stream(file, function(err, resp) {
+ // we need to wait a bit since writing to config.output
+ // happens independently of needle's callback logic.
+ setTimeout(function() {
+ fs.readFileSync(file).toString().should.eql('{\"foo\":\"bar\"}');
+ done();
+ }, 20);
+ })
+ })
+
+ if (process.platform == 'linux') {
+ it('closes the file descriptor', function(done) {
+ var open_descriptors = get_open_file_descriptors();
+ send_request(file + Math.random(), function(err, resp) {
+ var current_descriptors = get_open_file_descriptors();
+ open_descriptors.should.eql(current_descriptors);
+ done()
+ })
+ })
+ }
+
+ })
+
+ describe('for a binary file', function() {
+
+ var pixel = Buffer.from("base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs", "base64");
+
+ before(function() {
+ handler = function(req, res) {
+ res.writeHead(200, { 'Content-Type': 'application/octet-stream', 'Transfer-Encoding': 'chunked' });
+ res.write(pixel.slice(0, 10));
+ res.write(pixel.slice(10, 20));
+ res.write(pixel.slice(20, 30));
+ res.write(pixel.slice(30));
+ res.end();
+ }
+ })
+
+ it('uses a writableStream', function(done) {
+ var spy = sinon.spy(fs, 'createWriteStream');
+ send_request(file, function(err, resp) {
+ resp.statusCode.should.eql(200);
+ spy.called.should.eql(true);
+ spy.restore();
+ done();
+ })
+ })
+
+ it('writes a file', function(done) {
+ fs.existsSync(file).should.eql(false);
+ send_request(file, function(err, resp) {
+ fs.existsSync(file).should.eql(true);
+ done();
+ })
+ })
+
+ it('file size equals response length', function(done) {
+ send_request(file, function(err, resp) {
+ fs.statSync(file).size.should.equal(resp.bytes);
+ done();
+ })
+ })
+
+ it('file is equal to original buffer', function(done) {
+ send_request(file, function(err, resp) {
+ // we need to wait a bit since writing to config.output
+ // happens independently of needle's callback logic.
+ setTimeout(function() {
+ fs.readFileSync(file).should.eql(pixel);
+ done();
+ }, 20);
+ })
+ })
+
+ it('returns the data in resp.body too', function(done) {
+ send_request(file, function(err, resp) {
+ resp.body.should.eql(pixel);
+ done();
+ })
+ })
+
+ if (process.platform == 'linux') {
+ it('closes the file descriptor', function(done) {
+ var open_descriptors = get_open_file_descriptors();
+ send_request(file + Math.random(), function(err, resp) {
+ var current_descriptors = get_open_file_descriptors();
+ open_descriptors.should.eql(current_descriptors);
+ done()
+ })
+ })
+ }
+
+ })
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/parsing_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/parsing_spec.js"
index d0005d6dc195be1a380505a446a74c13d79e913e..bb8000befb1f6b9d0ab2f3b5b51327f49c7037b0 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/parsing_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/parsing_spec.js"
@@ -1,3 +1,588 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:36a58b4f0a1be45f2895e74491d1af981ebf2e6d17e16b8c55b086f77a48a3ae
-size 16276
+var should = require('should'),
+ needle = require('./../'),
+ http = require('http'),
+ port = 11111,
+ server;
+
+describe('parsing', function(){
+
+ describe('when response is an JSON string', function(){
+
+ var json_string = '{"foo":"bar"}';
+
+ before(function(done){
+ server = http.createServer(function(req, res) {
+ res.setHeader('Content-Type', 'application/json');
+ res.end(json_string);
+ }).listen(port, done);
+ });
+
+ after(function(done){
+ server.close(done);
+ })
+
+ describe('and parse option is not passed', function() {
+
+ describe('with default parse_response', function() {
+
+ before(function() {
+ needle.defaults().parse_response.should.eql('all')
+ })
+
+ it('should return object', function(done){
+ needle.get('localhost:' + port, function(err, response, body){
+ should.ifError(err);
+ body.should.have.property('foo', 'bar');
+ done();
+ })
+ })
+
+ })
+
+ describe('and default parse_response is set to false', function() {
+
+ it('does NOT return object when disabled using .defaults', function(done){
+ needle.defaults({ parse_response: false })
+
+ needle.get('localhost:' + port, function(err, response, body) {
+ should.not.exist(err);
+ body.should.be.an.instanceof(String)
+ body.toString().should.eql('{"foo":"bar"}');
+
+ needle.defaults({ parse_response: 'all' });
+ done();
+ })
+ })
+
+
+ })
+
+ })
+
+ describe('and parse option is true', function() {
+
+ describe('and JSON is valid', function() {
+
+ it('should return object', function(done) {
+ needle.get('localhost:' + port, { parse: true }, function(err, response, body){
+ should.not.exist(err);
+ body.should.have.property('foo', 'bar')
+ done();
+ })
+ })
+
+ it('should have a .parser = json property', function(done) {
+ needle.get('localhost:' + port, { parse: true }, function(err, resp) {
+ should.not.exist(err);
+ resp.parser.should.eql('json');
+ done();
+ })
+ })
+
+ });
+
+ describe('and response is empty', function() {
+
+ var old_json_string;
+
+ before(function() {
+ old_json_string = json_string;
+ json_string = "";
+ });
+
+ after(function() {
+ json_string = old_json_string;
+ });
+
+ it('should return an empty string', function(done) {
+ needle.get('localhost:' + port, { parse: true }, function(err, resp) {
+ should.not.exist(err);
+ resp.body.should.equal('');
+ done();
+ })
+ })
+
+ })
+
+ describe('and JSON is invalid', function() {
+
+ var old_json_string;
+
+ before(function() {
+ old_json_string = json_string;
+ json_string = "this is not going to work";
+ });
+
+ after(function() {
+ json_string = old_json_string;
+ });
+
+ it('does not throw', function(done) {
+ (function(){
+ needle.get('localhost:' + port, { parse: true }, done);
+ }).should.not.throw();
+ });
+
+ it('does NOT return object', function(done) {
+ needle.get('localhost:' + port, { parse: true }, function(err, response, body) {
+ should.not.exist(err);
+ body.should.be.a.String;
+ body.toString().should.eql('this is not going to work');
+ done();
+ })
+ })
+
+ });
+
+ })
+
+ describe('and parse option is false', function() {
+
+ it('does NOT return object', function(done){
+ needle.get('localhost:' + port, { parse: false }, function(err, response, body) {
+ should.not.exist(err);
+ body.should.be.an.instanceof(String)
+ body.toString().should.eql('{"foo":"bar"}');
+ done();
+ })
+ })
+
+ it('should NOT have a .parser = json property', function(done) {
+ needle.get('localhost:' + port, { parse: false }, function(err, resp) {
+ should.not.exist(err);
+ should.not.exist(resp.parser);
+ done();
+ })
+ })
+
+ })
+
+ describe('and parse option is "xml"', function() {
+
+ it('does NOT return object', function(done){
+ needle.get('localhost:' + port, { parse: 'xml' }, function(err, response, body) {
+ should.not.exist(err);
+ body.should.be.an.instanceof(String)
+ body.toString().should.eql('{"foo":"bar"}');
+ done();
+ })
+ })
+
+ it('should NOT have a .parser = json property', function(done) {
+ needle.get('localhost:' + port, { parse: 'xml' }, function(err, resp) {
+ should.not.exist(err);
+ should.not.exist(resp.parser);
+ done();
+ })
+ })
+
+ })
+
+ });
+
+ describe('when response is JSON \'false\'', function(){
+
+ var json_string = 'false';
+
+ before(function(done){
+ server = http.createServer(function(req, res) {
+ res.setHeader('Content-Type', 'application/json');
+ res.end(json_string);
+ }).listen(port, done);
+ });
+
+ after(function(done){
+ server.close(done);
+ })
+
+ describe('and parse option is not passed', function() {
+
+ it('should return object', function(done){
+ needle.get('localhost:' + port, function(err, response, body){
+ should.ifError(err);
+ body.should.equal(false);
+ done();
+ })
+ })
+
+ })
+
+ describe('and parse option is true', function() {
+
+ describe('and JSON is valid', function() {
+
+ it('should return object', function(done){
+ needle.get('localhost:' + port, { parse: true }, function(err, response, body){
+ should.not.exist(err);
+ body.should.equal(false)
+ done();
+ })
+ })
+
+ });
+
+ describe('and response is empty', function() {
+
+ var old_json_string;
+
+ before(function() {
+ old_json_string = json_string;
+ json_string = "";
+ });
+
+ after(function() {
+ json_string = old_json_string;
+ });
+
+ it('should return an empty string', function(done) {
+ needle.get('localhost:' + port, { parse: true }, function(err, resp) {
+ should.not.exist(err);
+ resp.body.should.equal('');
+ done();
+ })
+ })
+
+ })
+
+ describe('and JSON is invalid', function() {
+
+ var old_json_string;
+
+ before(function() {
+ old_json_string = json_string;
+ json_string = "this is not going to work";
+ });
+
+ after(function() {
+ json_string = old_json_string;
+ });
+
+ it('does not throw', function(done) {
+ (function(){
+ needle.get('localhost:' + port, { parse: true }, done);
+ }).should.not.throw();
+ });
+
+ it('does NOT return object', function(done) {
+ needle.get('localhost:' + port, { parse: true }, function(err, response, body) {
+ should.not.exist(err);
+ body.should.be.a.String;
+ body.toString().should.eql('this is not going to work');
+ done();
+ })
+ })
+
+ });
+
+ })
+
+ describe('and parse option is false', function() {
+
+ it('does NOT return object', function(done){
+ needle.get('localhost:' + port, { parse: false }, function(err, response, body) {
+ should.not.exist(err);
+ body.should.be.an.instanceof(String)
+ body.toString().should.eql('false');
+ done();
+ })
+ })
+
+ })
+
+ describe('and parse option is "xml"', function() {
+
+ it('does NOT return object', function(done){
+ needle.get('localhost:' + port, { parse: 'xml' }, function(err, response, body) {
+ should.not.exist(err);
+ body.should.be.an.instanceof(String)
+ body.toString().should.eql('false');
+ done();
+ })
+ })
+
+ })
+
+
+ });
+
+ describe('when response is an invalid XML string', function(){
+
+ before(function(done){
+ server = http.createServer(function(req, res) {
+ res.writeHeader(200, {'Content-Type': 'application/xml'})
+ res.end("")
+ }).listen(port, done);
+ });
+
+ after(function(done){
+ server.close(done);
+ })
+
+ describe('and parse_response is true', function(){
+
+ it('should return original string', function(done) {
+ needle.get('localhost:' + port, { parse_response: true }, function(err, response, body) {
+ should.not.exist(err);
+ body.should.eql('')
+ should.not.exist(body.name);
+ done();
+ })
+ })
+
+ it('should not have a .parser = xml property', function(done) {
+ needle.get('localhost:' + port, { parse_response: true }, function(err, resp) {
+ should.not.exist(err);
+ should.not.exist(resp.parser);
+ done();
+ })
+ })
+
+ })
+
+ describe('and parse response is false', function(){
+
+ it('should return valid object', function(done) {
+ needle.get('localhost:' + port, { parse_response: false }, function(err, response, body){
+ should.not.exist(err);
+ body.toString().should.eql('')
+ done();
+ })
+ })
+
+ it('should not have a .parser property', function(done) {
+ needle.get('localhost:' + port, { parse_response: false }, function(err, resp) {
+ should.not.exist(err);
+ should.not.exist(resp.parser)
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('when response is a valid XML string', function(){
+
+ before(function(done) {
+ server = http.createServer(function(req, res) {
+ res.writeHeader(200, {'Content-Type': 'application/xml'})
+ res.end("hello
")
+ }).listen(port, done);
+ });
+
+ after(function(done) {
+ server.close(done);
+ })
+
+ describe('and parse_response is true', function(){
+
+ it('should return valid object', function(done) {
+ needle.get('localhost:' + port, { parse_response: true }, function(err, response, body) {
+ should.not.exist(err);
+ body.name.should.eql('post')
+ body.children[0].name.should.eql('p')
+ body.children[0].value.should.eql('hello')
+
+ body.children[1].name.should.eql('p')
+ body.children[1].value.should.eql('world')
+ done();
+ })
+ })
+
+ it('should have a .parser = xml property', function(done) {
+ needle.get('localhost:' + port, { parse_response: true }, function(err, resp) {
+ should.not.exist(err);
+ resp.parser.should.eql('xml');
+ done();
+ })
+ })
+
+ })
+
+ describe('and parse response is false', function(){
+
+ it('should return valid object', function(done) {
+ needle.get('localhost:' + port, { parse_response: false }, function(err, response, body){
+ should.not.exist(err);
+ body.toString().should.eql('hello
')
+ done();
+ })
+ })
+
+ it('should not have a .parser property', function(done) {
+ needle.get('localhost:' + port, { parse_response: false }, function(err, resp) {
+ should.not.exist(err);
+ should.not.exist(resp.parser)
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('valid XML, using xml2js', function() {
+
+ var parsers, origParser;
+
+ before(function(done) {
+ var xml2js = require('xml2js')
+ parsers = require('../lib/parsers');
+ origParser = parsers['application/xml'];
+
+ var customParser = require('xml2js').parseString;
+ parsers.use('xml2js', ['application/xml'], function(buff, cb) {
+ var opts = { explicitRoot: true, explicitArray: false };
+ customParser(buff, opts, cb);
+ })
+
+ server = http.createServer(function(req, res) {
+ res.writeHeader(200, {'Content-Type': 'application/xml'})
+ res.end("hello
world
")
+ }).listen(port, done);
+ });
+
+ after(function(done) {
+ parsers['application/xml'] = origParser;
+ server.close(done);
+ })
+
+ describe('and parse_response is true', function(){
+
+ it('should return valid object', function(done) {
+ needle.get('localhost:' + port, { parse_response: true }, function(err, response, body) {
+ should.not.exist(err);
+ body.should.eql({ post: { p: ['hello', 'world' ]}})
+ done();
+ })
+ })
+
+ it('should have a .parser = xml property', function(done) {
+ needle.get('localhost:' + port, { parse_response: true }, function(err, resp) {
+ should.not.exist(err);
+ resp.parser.should.eql('xml2js');
+ done();
+ })
+ })
+
+ })
+
+ describe('and parse response is false', function(){
+
+ it('should return valid object', function(done) {
+ needle.get('localhost:' + port, { parse_response: false }, function(err, response, body){
+ should.not.exist(err);
+ body.toString().should.eql('hello
world
')
+ done();
+ })
+ })
+
+ it('should not have a .parser property', function(done) {
+ needle.get('localhost:' + port, { parse_response: false }, function(err, resp) {
+ should.not.exist(err);
+ should.not.exist(resp.parser)
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('when response is a JSON API flavored JSON string', function () {
+
+ var json_string = '{"data":[{"type":"articles","id":"1","attributes":{"title":"Needle","body":"The leanest and most handsome HTTP client in the Nodelands."}}],"included":[{"type":"people","id":"42","attributes":{"name":"Tomás"}}]}';
+
+ before(function(done){
+ server = http.createServer(function(req, res) {
+ res.setHeader('Content-Type', 'application/vnd.api+json');
+ res.end(json_string);
+ }).listen(port, done);
+ });
+
+ after(function(done){
+ server.close(done);
+ });
+
+ describe('and parse option is not passed', function() {
+
+ describe('with default parse_response', function() {
+
+ before(function() {
+ needle.defaults().parse_response.should.eql('all')
+ })
+
+ it('should return object', function(done){
+ needle.get('localhost:' + port, function(err, response, body){
+ should.ifError(err);
+ body.should.deepEqual({
+ "data": [{
+ "type": "articles",
+ "id": "1",
+ "attributes": {
+ "title": "Needle",
+ "body": "The leanest and most handsome HTTP client in the Nodelands."
+ }
+ }],
+ "included": [
+ {
+ "type": "people",
+ "id": "42",
+ "attributes": {
+ "name": "Tomás"
+ }
+ }
+ ]
+ });
+ done();
+ });
+ });
+
+ });
+
+ })
+
+ });
+
+ describe('when response is a HAL JSON content-type', function () {
+
+ var json_string = '{"name": "Tomás", "_links": {"href": "https://github.com/tomas/needle.git"}}';
+
+ before(function(done){
+ server = http.createServer(function(req, res) {
+ res.setHeader('Content-Type', 'application/hal+json');
+ res.end(json_string);
+ }).listen(port, done);
+ });
+
+ after(function(done){
+ server.close(done);
+ });
+
+ describe('and parse option is not passed', function() {
+
+ describe('with default parse_response', function() {
+
+ before(function() {
+ needle.defaults().parse_response.should.eql('all')
+ })
+
+ it('should return object', function(done){
+ needle.get('localhost:' + port, function(err, response, body){
+ should.ifError(err);
+ body.should.deepEqual({
+ 'name': 'Tomás',
+ '_links': {
+ 'href': 'https://github.com/tomas/needle.git'
+ }});
+ done();
+ });
+ });
+
+ });
+
+ })
+
+ });
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/post_data_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/post_data_spec.js"
index 5ad655c1f6ca55af72a997203858ebef2d7ca7b2..5c826d67a02c9959e4edcfa51098c14c0d5a54ed 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/post_data_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/post_data_spec.js"
@@ -1,3 +1,1021 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:119b0aadb4307f0d6bfa9056ab508decb11320a0bca44e2f1d52067d2b075914
-size 33129
+var needle = require('..'),
+ http = require('http'),
+ should = require('should'),
+ sinon = require('sinon'),
+ stream = require('stream'),
+ helpers = require('./helpers');
+
+var multiparts = ['----------------------NODENEEDLEHTTPCLIENT'];
+multiparts.push(['Content-Disposition: form-data; name=\"foo\"'])
+multiparts.push(['\r\nbar\r\n----------------------NODENEEDLEHTTPCLIENT--'])
+// multiparts.push(['Content-Disposition: form-data; name=\"test\"'])
+// multiparts.push(['\r\næµè¯\r\n----------------------NODENEEDLEHTTPCLIENT--'])
+// multiparts.push(['\r\n' + Buffer.from('测试').toString() + '\r\n----------------------NODENEEDLEHTTPCLIENT--'])
+
+
+describe('post data (e.g. request body)', function() {
+
+ var stub, spy, server;
+
+ before(function(done) {
+ server = helpers.server({ port: 4321 }, done);
+ })
+
+ after(function(done) {
+ server.close(done);
+ })
+
+ afterEach(function() {
+ if (stub) stub.restore();
+ if (spy) spy.restore();
+ })
+
+ function get(data, opts, cb) {
+ return needle.request('get', 'http://localhost:' + 4321, data, opts, cb)
+ }
+
+ function post(data, opts, cb) {
+ return needle.request('post', 'http://localhost:' + 4321, data, opts, cb)
+ }
+
+ function spystub_request() {
+ var http_req = http.request;
+ stub = sinon.stub(http, 'request').callsFake(function(opts, cb) {
+ var req = http_req(opts, cb);
+ spy = sinon.spy(req, 'write');
+ return req;
+ })
+ }
+
+ function check_request(method) {
+ stub.calledOnce.should.be.true;
+ stub.args[0][0]['headers']['host'].should.equal('localhost:4321');
+ stub.args[0][0]['method'].should.equal(method);
+ }
+
+ describe('with multipart: true', function() {
+
+ describe('when null', function() {
+
+ it('sends request (non multipart)', function(done) {
+ spystub_request();
+
+ post(null, { multipart: true }, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('doesnt set Content-Type header', function(done) {
+ post(null, { multipart: true }, function(err, resp) {
+ should.not.exist(resp.body.headers['content-type']);
+ done();
+ })
+ })
+
+ it('doesnt change default Accept header', function(done) {
+ post(null, { multipart: true }, function(err, resp) {
+ // resp.body contains 'header' and 'body', mirroring what we sent
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('doesnt write anything', function(done) {
+ spystub_request();
+
+ post(null, { multipart: true }, function(err, resp) {
+ spy.called.should.be.false;
+ resp.body.body.should.eql('');
+ done();
+ })
+ })
+
+ })
+
+ describe('when string', function() {
+
+ it('explodes', function() {
+ (function() {
+ post('foobar', { multipart: true })
+ }).should.throw()
+ })
+
+ })
+
+ describe('when object', function() {
+
+ describe('get request', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ get({ foo: 'bar', test: '测试' }, { multipart: true }, function(err, resp) {
+ check_request('get');
+ done();
+ })
+ })
+
+ it('sets Content-Type header', function(done) {
+ post({ foo: 'bar', test: '测试' }, { multipart: true }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('multipart/form-data; boundary=--------------------NODENEEDLEHTTPCLIENT');
+ done();
+ })
+ })
+
+ it('doesnt change default Accept header', function(done) {
+ post({ foo: 'bar', test: '测试' }, { multipart: true }, function(err, resp) {
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('writes string as buffer', function(done) {
+ spystub_request();
+
+ get({ foo: 'bar' }, { multipart: true }, function(err, resp) {
+ spy.called.should.be.true;
+
+ spy.args[0][0].should.be.an.instanceof(String);
+ spy.args[0][0].toString().should.equal(multiparts.join('\r\n'));
+ resp.body.body.should.eql(multiparts.join('\r\n'));
+ done();
+ })
+ })
+
+ it('writes japanese chars correctly as binary', function(done) {
+ spystub_request();
+
+ get({ foo: 'bar', test: '测试' }, { multipart: true }, function(err, resp) {
+ spy.called.should.be.true;
+
+ spy.args[0][0].should.be.an.instanceof(String);
+ Buffer.from(spy.args[0][0]).toString('hex').should.eql('2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d4e4f44454e4545444c4548545450434c49454e540d0a436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d22666f6f220d0a0d0a6261720d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d4e4f44454e4545444c4548545450434c49454e540d0a436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d2274657374220d0a0d0ac3a6c2b5c28bc3a8c2afc2950d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d4e4f44454e4545444c4548545450434c49454e542d2d')
+ done();
+ })
+ })
+
+
+ })
+
+ describe('post request', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post({ foo: 'bar', test: '测试' }, { multipart: true }, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('writes string as buffer', function(done) {
+ spystub_request();
+
+ post({ foo: 'bar' }, { multipart: true }, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].should.be.an.instanceof(String);
+ spy.args[0][0].toString().should.equal(multiparts.join('\r\n'));
+ resp.body.body.should.eql(multiparts.join('\r\n'));
+ done();
+ })
+ })
+
+ it('writes japanese chars correctly as binary', function(done) {
+ spystub_request();
+
+ post({ foo: 'bar', test: '测试' }, { multipart: true }, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].should.be.an.instanceof(String);
+ Buffer.from(spy.args[0][0]).toString('hex').should.eql('2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d4e4f44454e4545444c4548545450434c49454e540d0a436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d22666f6f220d0a0d0a6261720d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d4e4f44454e4545444c4548545450434c49454e540d0a436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d2274657374220d0a0d0ac3a6c2b5c28bc3a8c2afc2950d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d4e4f44454e4545444c4548545450434c49454e542d2d')
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('when stream', function() {
+
+ var stream_for_multipart;
+
+ before(function() {
+ stream_for_multipart = new stream.Readable();
+ stream_for_multipart._read = function() {
+ this.push('foobar');
+ this.push(null);
+ }
+ })
+
+ it('explodes', function() {
+ (function() {
+ post(stream_for_multipart, { multipart: true })
+ }).should.throw()
+ })
+
+ })
+
+ })
+
+ describe('non multipart', function() {
+
+ describe('when null', function() {
+
+ describe('get request', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ get(null, {}, function(err, resp) {
+ check_request('get');
+ done();
+ })
+ })
+
+ it('doesnt write anything', function(done) {
+ spystub_request();
+
+ get(null, {}, function(err, resp) {
+ spy.called.should.be.false;
+ resp.body.body.should.eql('');
+ done();
+ })
+ })
+
+ })
+
+ describe('post request', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post(null, {}, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('doesnt write anything', function(done) {
+ spystub_request();
+
+ post(null, {}, function(err, resp) {
+ spy.called.should.be.false;
+ resp.body.body.should.eql('');
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('when string with no equal sign', function() {
+
+ describe('get request', function() {
+
+ it('explodes', function() {
+ (function() {
+ get('foobar', {})
+ }).should.throw()
+ })
+
+ })
+
+ describe('post request', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post('foobar', {}, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('writes string as buffer', function(done) {
+ spystub_request();
+
+ post('foobar', {}, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].should.be.an.instanceof(Buffer);
+ spy.args[0][0].toString().should.equal('foobar');
+ resp.body.body.should.eql('foobar');
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('when string WITH equal sign', function() {
+
+ describe('get request', function() {
+
+ describe('with json: false (default)', function() {
+
+ it('sends request, adding data as querystring', function(done) {
+ spystub_request();
+
+ get('foo=bar', { json: false }, function(err, resp) {
+ check_request('get');
+ stub.args[0][0]['path'].should.equal('/?foo=bar')
+ done();
+ })
+ })
+
+ it('doesnt set Content-Type header', function(done) {
+ get('foo=bar', { json: false }, function(err, resp) {
+ // resp.body contains 'header' and 'body', mirroring what we sent
+ should.not.exist(resp.body.headers['content-type']);
+ done();
+ })
+ })
+
+ it('doesnt change default Accept header', function(done) {
+ get('foo=bar', { json: false }, function(err, resp) {
+ // resp.body contains 'header' and 'body', mirroring what we sent
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('doesnt write anything', function(done) {
+ get('foo=bar', { json: false }, function(err, resp) {
+ spy.called.should.be.false;
+ resp.body.body.should.eql('');
+ done();
+ })
+ })
+
+ })
+
+ describe('with json: true', function() {
+
+ it('sends request, without setting a querystring', function(done) {
+ spystub_request();
+
+ get('foo=bar', { json: true }, function(err, resp) {
+ check_request('get');
+ stub.args[0][0]['path'].should.equal('/')
+ done();
+ })
+ })
+
+ it('sets Content-Type header', function(done) {
+ get('foo=bar', { json: true }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/json; charset=utf-8');
+ done();
+ })
+ })
+
+ it('set Accept header to application/json', function(done) {
+ get('foo=bar', { json: true }, function(err, resp) {
+ resp.body.headers['accept'].should.equal('application/json');
+ done();
+ })
+ })
+
+ it('writes raw string (assuming it already is JSON, so no JSON.stringify)', function(done) {
+ get('foo=bar', { json: true }, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].toString().should.eql('foo=bar')
+ resp.body.body.should.eql('foo=bar');
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('post request', function() {
+
+ describe('with json: false (default)', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post('foo=bar', { json: false }, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('sets Content-Type header to www-form-urlencoded', function(done) {
+ post('foo=bar', { json: false }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/x-www-form-urlencoded');
+ done();
+ })
+ })
+
+ it('doesnt change default Accept header', function(done) {
+ post('foo=bar', { json: false }, function(err, resp) {
+ // resp.body contains 'header' and 'body', mirroring what we sent
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('writes as buffer', function(done) {
+ post('foo=bar', { json: false }, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].should.be.an.instanceof(Buffer);
+ spy.args[0][0].toString().should.equal('foo=bar');
+ resp.body.body.should.eql('foo=bar');
+ done();
+ })
+ })
+
+ })
+
+ describe('with json: true', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post('foo=bar', { json: true }, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('sets Content-Type header', function(done) {
+ post('foo=bar', { json: true }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/json; charset=utf-8');
+ done();
+ })
+ })
+
+ it('set Accept header to application/json', function(done) {
+ post('foo=bar', { json: true }, function(err, resp) {
+ resp.body.headers['accept'].should.equal('application/json');
+ done();
+ })
+ })
+
+ it('writes raw string (assuming it already is JSON, so no JSON.stringify)', function(done) {
+ post('foo=bar', { json: true }, function(err, resp) {
+ spy.called.should.be.true;
+ var json = JSON.stringify('foo=bar');
+ spy.args[0][0].toString().should.eql('foo=bar')
+ resp.body.body.should.eql('foo=bar');
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ })
+
+ describe('when object', function() {
+
+ describe('get request', function() {
+
+ describe('with json: false (default)', function() {
+
+ it('sends request, adding data as querystring', function(done) {
+ spystub_request();
+
+ get({ foo: 'bar', test: '测试' }, { json: false }, function(err, resp) {
+ check_request('get');
+ stub.args[0][0]['path'].should.equal('/?foo=bar&test=%E6%B5%8B%E8%AF%95')
+ done();
+ })
+ })
+
+ it('doesnt set Content-Type header', function(done) {
+ get({ foo: 'bar', test: '测试' }, { json: false }, function(err, resp) {
+ // resp.body contains 'header' and 'body', mirroring what we sent
+ should.not.exist(resp.body.headers['content-type']);
+ done();
+ })
+ })
+
+ it('doesnt change default Accept header', function(done) {
+ get({ foo: 'bar', test: '测试' }, { json: false }, function(err, resp) {
+ // resp.body contains 'header' and 'body', mirroring what we sent
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('doesnt write anything', function(done) {
+ get({ foo: 'bar', test: '测试' }, { json: false }, function(err, resp) {
+ spy.called.should.be.false;
+ resp.body.body.should.eql('');
+ done();
+ })
+ })
+
+ })
+
+ describe('with json: true', function() {
+
+ it('sends request, without setting a querystring', function(done) {
+ spystub_request();
+
+ get({ foo: 'bar', test: '测试' }, { json: true }, function(err, resp) {
+ check_request('get');
+ stub.args[0][0]['path'].should.equal('/')
+ done();
+ })
+ })
+
+ it('sets Content-Type header', function(done) {
+ get({ foo: 'bar', test: '测试' }, { json: true }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/json; charset=utf-8');
+ done();
+ })
+ })
+
+ it('set Accept header to application/json', function(done) {
+ get({ foo: 'bar', test: '测试' }, { json: true }, function(err, resp) {
+ resp.body.headers['accept'].should.equal('application/json');
+ done();
+ })
+ })
+
+ it('writes JSON.stringify version of object', function(done) {
+ get({ foo: 'bar', test: '测试' }, { json: true }, function(err, resp) {
+ spy.called.should.be.true;
+ var json = JSON.stringify({ foo: 'bar', test: '测试' })
+ spy.args[0][0].toString().should.eql(json)
+ resp.body.body.should.eql(json);
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('post request', function() {
+
+ describe('with json: false (default)', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post({ foo: 'bar', test: '测试' }, { json: false }, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('sets Content-Type header to www-form-urlencoded', function(done) {
+ post({ foo: 'bar', test: '测试' }, { json: false }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/x-www-form-urlencoded');
+ done();
+ })
+ })
+
+ it('doesnt change default Accept header', function(done) {
+ post({ foo: 'bar', test: '测试' }, { json: false }, function(err, resp) {
+ // resp.body contains 'header' and 'body', mirroring what we sent
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('writes as buffer', function(done) {
+ post({ foo: 'bar', test: '测试' }, { json: false }, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].should.be.an.instanceof(Buffer);
+ spy.args[0][0].toString().should.equal('foo=bar&test=%E6%B5%8B%E8%AF%95');
+ resp.body.body.should.eql('foo=bar&test=%E6%B5%8B%E8%AF%95');
+ done();
+ })
+ })
+
+ })
+
+ describe('with json: false and content_type = "application/json"', function() {
+
+ var opts = { json: false, content_type: 'application/json' };
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('sets Content-Type header to application/json', function(done) {
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/json');
+ done();
+ })
+ })
+
+ it('doesnt change default Accept header', function(done) {
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ // resp.body contains 'header' and 'body', mirroring what we sent
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('writes as buffer', function(done) {
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].constructor.name.should.eql('Buffer');
+ spy.args[0][0].toString().should.equal('foo=bar&test=%E6%B5%8B%E8%AF%95');
+ resp.body.body.should.eql('foo=bar&test=%E6%B5%8B%E8%AF%95');
+ done();
+ })
+ })
+
+ })
+
+ describe('with json: undefined but content-type = application/json', function() {
+
+ var opts = { headers: { 'content-type': 'application/json' } };
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('doesnt change Content-Type header', function(done) {
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/json');
+ done();
+ })
+ })
+
+ it('leaves default Accept header', function(done) {
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('writes JSON.stringified object', function(done) {
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ spy.called.should.be.true;
+ var json = JSON.stringify({ foo: 'bar', test: '测试' })
+ spy.args[0][0].toString().should.eql(json)
+ resp.body.body.should.eql(json);
+ done();
+ })
+ })
+ })
+
+ describe('with json: true', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post({ foo: 'bar', test: '测试' }, { json: true }, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('sets Content-Type header', function(done) {
+ post({ foo: 'bar', test: '测试' }, { json: true }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/json; charset=utf-8');
+ done();
+ })
+ })
+
+ it('set Accept header to application/json', function(done) {
+ post({ foo: 'bar', test: '测试' }, { json: true }, function(err, resp) {
+ resp.body.headers['accept'].should.equal('application/json');
+ done();
+ })
+ })
+
+ it('writes JSON.stringified object', function(done) {
+ post({ foo: 'bar', test: '测试' }, { json: true }, function(err, resp) {
+ spy.called.should.be.true;
+ var json = JSON.stringify({ foo: 'bar', test: '测试' })
+ spy.args[0][0].toString().should.eql(json)
+ resp.body.body.should.eql(json);
+ done();
+ })
+ })
+
+ })
+
+
+ describe('with json: true and content_type: */* (passed, not default)', function() {
+
+ var opts = { json: true, accept: '*/*' };
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('sets Content-Type header to application/json', function(done) {
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/json; charset=utf-8');
+ done();
+ })
+ })
+
+ it('respects Accept header set by user', function(done) {
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('writes JSON.stringified object', function(done) {
+ post({ foo: 'bar', test: '测试' }, opts, function(err, resp) {
+ spy.called.should.be.true;
+ var json = JSON.stringify({ foo: 'bar', test: '测试' })
+ spy.args[0][0].toString().should.eql(json)
+ resp.body.body.should.eql(json);
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ })
+
+ describe('when buffer', function() {
+
+ describe('get request', function() {
+
+ describe('with json: false (default)', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ get(Buffer.from('foobar'), { json: false }, function(err, resp) {
+ check_request('get');
+ done();
+ })
+ })
+
+ it('sets Content-Type header', function(done) {
+ get(Buffer.from('foobar'), { json: false }, function(err, resp) {
+ // should.not.exist(resp.body.headers['content-type']);
+ resp.body.headers['content-type'].should.equal('application/x-www-form-urlencoded');
+
+ done();
+ })
+ })
+
+ it('doesnt change default Accept header', function(done) {
+ get(Buffer.from('foobar'), { json: false }, function(err, resp) {
+ // resp.body contains 'header' and 'body', mirroring what we sent
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('writes as buffer', function(done) {
+ get(Buffer.from('foobar'), { json: false }, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].should.be.an.instanceof(Buffer);
+ spy.args[0][0].toString().should.equal('foobar');
+ resp.body.body.should.eql('foobar');
+ done();
+ })
+ })
+
+ })
+
+ describe('with json: true', function() {
+
+ it('sends request, without setting a querystring', function(done) {
+ spystub_request();
+
+ get(Buffer.from('foobar'), { json: true }, function(err, resp) {
+ check_request('get');
+ done();
+ })
+ })
+
+ it('sets Content-Type header', function(done) {
+ get(Buffer.from('foobar'), { json: true }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/json; charset=utf-8');
+ done();
+ })
+ })
+
+ it('set Accept header to application/json', function(done) {
+ get(Buffer.from('foobar'), { json: true }, function(err, resp) {
+ resp.body.headers['accept'].should.equal('application/json');
+ done();
+ })
+ })
+
+ it('writes JSON.stringify version of object', function(done) {
+ get(Buffer.from('foobar'), { json: true }, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].toString().should.eql('foobar')
+ resp.body.body.should.eql('foobar');
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('post request', function() {
+
+ describe('with json: false (default)', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post(Buffer.from('foobar'), { json: false }, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('sets Content-Type header to www-form-urlencoded', function(done) {
+ post(Buffer.from('foobar'), { json: false }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/x-www-form-urlencoded');
+ done();
+ })
+ })
+
+ it('doesnt change default Accept header', function(done) {
+ post(Buffer.from('foobar'), { json: false }, function(err, resp) {
+ // resp.body contains 'header' and 'body', mirroring what we sent
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('writes as buffer', function(done) {
+ post(Buffer.from('foobar'), { json: false }, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].should.be.an.instanceof(Buffer);
+ spy.args[0][0].toString().should.equal('foobar');
+ resp.body.body.should.eql('foobar');
+ done();
+ })
+ })
+
+ })
+
+ describe('with json: true', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post(Buffer.from('foobar'), { json: true }, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('sets Content-Type header', function(done) {
+ post(Buffer.from('foobar'), { json: true }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/json; charset=utf-8');
+ done();
+ })
+ })
+
+ it('set Accept header to application/json', function(done) {
+ post(Buffer.from('foobar'), { json: true }, function(err, resp) {
+ resp.body.headers['accept'].should.equal('application/json');
+ done();
+ })
+ })
+
+ it('passes raw buffer (assuming its a JSON string beneath)', function(done) {
+ post(Buffer.from('foobar'), { json: true }, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].toString().should.eql('foobar')
+ resp.body.body.should.eql('foobar');
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ })
+
+ describe('when stream', function() {
+
+ var input_stream;
+
+ beforeEach(function() {
+ input_stream = new stream.Readable();
+ input_stream._read = function() {
+ this.push('foobar');
+ this.push(null);
+ }
+ })
+
+ describe('get request', function() {
+
+ it('explodes', function() {
+ (function() {
+ get(input_stream, {})
+ }).should.throw()
+ })
+
+ });
+
+ describe('post request', function() {
+
+ describe('with json: false (default)', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post(input_stream, { json: false }, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('sets Content-Type header to www-form-urlencoded', function(done) {
+ post(input_stream, { json: false }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/x-www-form-urlencoded');
+ done();
+ })
+ })
+
+ it('doesnt change default Accept header', function(done) {
+ post(input_stream, { json: false }, function(err, resp) {
+ // resp.body contains 'header' and 'body', mirroring what we sent
+ resp.body.headers['accept'].should.equal('*/*');
+ done();
+ })
+ })
+
+ it('writes as buffer', function(done) {
+ post(input_stream, { json: false }, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].should.be.an.instanceof(Buffer);
+ spy.args[0][0].toString().should.equal('foobar');
+ resp.body.body.should.eql('foobar');
+ done();
+ })
+ })
+
+ })
+
+ describe('with json: true', function() {
+
+ it('sends request', function(done) {
+ spystub_request();
+
+ post(input_stream, { json: true }, function(err, resp) {
+ check_request('post');
+ done();
+ })
+ })
+
+ it('sets Content-Type header', function(done) {
+ post(input_stream, { json: true }, function(err, resp) {
+ resp.body.headers['content-type'].should.equal('application/json; charset=utf-8');
+ done();
+ })
+ })
+
+ it('set Accept header to application/json', function(done) {
+ post(input_stream, { json: true }, function(err, resp) {
+ resp.body.headers['accept'].should.equal('application/json');
+ done();
+ })
+ })
+
+ it('writes JSON.stringified object', function(done) {
+ post(input_stream, { json: true }, function(err, resp) {
+ spy.called.should.be.true;
+ spy.args[0][0].toString().should.eql('foobar')
+ resp.body.body.should.eql('foobar');
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ })
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/proxy_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/proxy_spec.js"
index c8c22506d2873b69a2a2318e15be273531066301..46b0b5ec3c91ea6e8e5bfbb91050f8bc7b8f6603 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/proxy_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/proxy_spec.js"
@@ -1,3 +1,268 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a2770e7ef3fb71977f6ca9bbc3784282e0b0beb6866986276f3f813008c02b1d
-size 6785
+var helpers = require('./helpers'),
+ should = require('should'),
+ sinon = require('sinon'),
+ http = require('http'),
+ needle = require('./../');
+
+var port = 7707;
+var url = 'localhost:' + port;
+var nonexisting_host = 'awepfokawepofawe.com';
+
+describe('proxy option', function() {
+
+ var spy, opts;
+
+ function send_request(opts, done) {
+ if (spy) spy.restore();
+ spy = sinon.spy(http, 'request');
+ needle.get(url, opts, done);
+ }
+
+ //////////////////////
+ // proxy opts helpers
+
+ function not_proxied(done) {
+ return function(err, resp) {
+ var path = spy.args[0][0].path;
+ path.should.eql('/'); // not the full original URI
+ spy.restore();
+ done();
+ }
+ }
+
+ function proxied(host, port, done) {
+ return function(err, resp) {
+ var path = spy.args[0][0].path;
+ path.should.eql('http://' + url); // the full original URI
+
+ var http_host = spy.args[0][0].host;
+ if (http_host) http_host.should.eql(host);
+
+ var http_port = spy.args[0][0].port;
+ if (http_port) http_port.should.eql(port);
+
+ spy.restore();
+ done();
+ }
+ }
+
+ //////////////////////
+ // auth helpers
+
+ function get_auth(header) {
+ var token = header.split(/\s+/).pop();
+ return token && Buffer.from(token, 'base64').toString().split(':');
+ }
+
+ function no_proxy_auth(done) {
+ return function(err, resp) {
+ var headers = spy.args[0][0].headers;
+ Object.keys(headers).should.not.containEql('proxy-authorization');
+ done();
+ }
+ }
+
+ function header_set(name, user, pass, done) {
+ return function(err, resp) {
+ var headers = spy.args[0][0].headers;
+ var auth = get_auth(headers[name]);
+ auth[0].should.eql(user);
+ auth[1].should.eql(pass);
+ done();
+ }
+ }
+
+ function proxy_auth_set(user, pass, done) {
+ return header_set('proxy-authorization', user, pass, done);
+ }
+
+ function basic_auth_set(user, pass, done) {
+ return header_set('authorization', user, pass, done);
+ }
+
+ after(function() {
+ spy.restore();
+ })
+
+ describe('when null proxy is passed', function() {
+
+ it('does not proxy', function(done) {
+ send_request({ proxy: null }, not_proxied(done))
+ })
+
+ describe('but defaults has been set', function() {
+
+ before(function() {
+ needle.defaults({ proxy: 'foobar' });
+ })
+
+ after(function() {
+ needle.defaults({ proxy: null });
+ })
+
+ it('tries to proxy anyway', function(done) {
+ send_request({}, proxied('foobar', 80, done))
+ })
+
+ })
+
+ })
+
+ describe('when weird string is passed', function() {
+
+ it('tries to proxy anyway', function(done) {
+ send_request({ proxy: 'alfalfa' }, proxied('alfalfa', 80, done))
+ })
+ })
+
+ describe('when valid url is passed', function() {
+
+ describe('without NO_PROXY env var set', function() {
+ it('proxies request', function(done) {
+ send_request({ proxy: nonexisting_host + ':123/done' }, proxied(nonexisting_host, '123', done))
+ })
+
+ it('does not set a Proxy-Authorization header', function(done) {
+ send_request({ proxy: nonexisting_host + ':123/done' }, no_proxy_auth(done));
+ })
+ })
+
+ describe('with NO_PROXY env var set', function() {
+
+ it('proxies request if matching host not found in list', function(done) {
+ process.env.NO_PROXY = 'foo';
+ send_request({ proxy: nonexisting_host + ':123/done' }, proxied(nonexisting_host, '123', function() {
+ delete process.env.NO_PROXY;
+ done();
+ }))
+ })
+
+ it('does not proxy request if matching host in list and just has a different port', function(done) {
+ process.env.NO_PROXY = 'localhost';
+ send_request({ proxy: nonexisting_host + ':123/done' }, not_proxied(function() {
+ delete process.env.NO_PROXY;
+ done();
+ }))
+ })
+
+ it('does not proxy if matching host found in list', function(done) {
+ process.env.NO_PROXY = 'foo,' + url;
+ send_request({ proxy: nonexisting_host + ':123/done' }, not_proxied(function() {
+ delete process.env.NO_PROXY;
+ done();
+ }))
+ })
+ })
+
+ describe('and proxy url contains user:pass', function() {
+
+ before(function() {
+ opts = {
+ proxy: 'http://mj:x@' + nonexisting_host + ':123/done'
+ }
+ })
+
+ it('proxies request', function(done) {
+ send_request(opts, proxied(nonexisting_host, '123', done))
+ })
+
+ it('sets Proxy-Authorization header', function(done) {
+ send_request(opts, proxy_auth_set('mj', 'x', done));
+ })
+
+ })
+
+ describe('and a proxy_user is passed', function() {
+
+ before(function() {
+ opts = {
+ proxy: nonexisting_host + ':123',
+ proxy_user: 'someone',
+ proxy_pass: 'else'
+ }
+ })
+
+ it('proxies request', function(done) {
+ send_request(opts, proxied(nonexisting_host, '123', done))
+ })
+
+ it('sets Proxy-Authorization header', function(done) {
+ send_request(opts, proxy_auth_set('someone', 'else', done));
+ })
+
+ describe('and url also contains user:pass', function() {
+
+ it('url user:pass wins', function(done) {
+ var opts = {
+ proxy: 'http://xxx:yyy@' + nonexisting_host + ':123',
+ proxy_user: 'someone',
+ proxy_pass: 'else'
+ }
+
+ send_request(opts, proxy_auth_set('xxx', 'yyy', done));
+ })
+
+ })
+
+ describe('and options.username is also present', function() {
+
+ before(function() {
+ opts = { proxy_user: 'foobar', username: 'someone' };
+ })
+
+ it('a separate Authorization header is set', function(done) {
+ var opts = {
+ proxy: nonexisting_host + ':123',
+ proxy_user: 'someone',
+ proxy_pass: 'else',
+ username: 'test',
+ password: 'X'
+ }
+
+ send_request(opts, basic_auth_set('test', 'X', done));
+ })
+
+ })
+
+ })
+
+ })
+
+ describe('when environment variable is set', function() {
+
+ describe('and default is unchanged', function() {
+
+ before(function() {
+ process.env.HTTP_PROXY = 'foobar';
+ })
+
+ after(function() {
+ delete process.env.HTTP_PROXY;
+ })
+
+ it('tries to proxy', function(done) {
+ send_request({}, proxied('foobar', 80, done))
+ })
+
+ })
+
+ describe('and functionality is disabled', function() {
+
+ before(function() {
+ process.env.HTTP_PROXY = 'foobar';
+ })
+
+ after(function() {
+ delete process.env.HTTP_PROXY;
+ })
+
+ it('ignores proxy', function(done) {
+ send_request({
+ use_proxy_from_env_var: false
+ }, not_proxied(done))
+ })
+
+ })
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/querystring_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/querystring_spec.js"
index e922aea18689ecf99bbd078be7e11213a1ef034b..34c1748c6f2fd986c08722583b1577046c14b75b 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/querystring_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/querystring_spec.js"
@@ -1,3 +1,128 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3b2ed014370436515b14074d0172a642d45574281cfd1ce9db9d1c4874a61ddb
-size 2329
+var should = require('should'),
+ stringify = require('../lib/querystring').build;
+
+describe('stringify', function() {
+
+ describe('with null', function() {
+
+ it('throws', function() {
+ (function() {
+ var res = stringify(null);
+ }).should.throw();
+ })
+
+ })
+
+ describe('with a number', function() {
+
+ it('throws', function() {
+ (function() {
+ var res = stringify(100);
+ }).should.throw();
+ })
+
+ })
+
+ describe('with a string', function() {
+
+ describe('that is empty', function() {
+
+ it('throws', function() {
+ (function() {
+ var res = stringify('');
+ }).should.throw();
+ })
+
+ })
+
+ describe('that doesnt contain an equal sign', function() {
+
+ it('throws', function() {
+ (function() {
+ var res = stringify('boomshagalaga');
+ }).should.throw();
+ })
+
+ })
+
+ describe('that contains an equal sign', function() {
+
+ it('works', function() {
+ var res = stringify('hello=123');
+ res.should.eql('hello=123');
+ })
+
+ })
+
+ })
+
+ describe('with an array', function() {
+
+ describe('with key val objects', function() {
+
+ it('works', function() {
+ var res = stringify([ {foo: 'bar'} ]);
+ res.should.eql('foo=bar');
+ })
+
+ })
+
+ describe('where all elements are strings with an equal sign', function() {
+
+ it('works', function() {
+ var res = stringify([ 'bar=123', 'quux=' ]);
+ res.should.eql('bar=123&quux=');
+ })
+
+ })
+
+ describe('with random words', function() {
+
+ it('throws', function() {
+ (function() {
+ var res = stringify(['hello', 'there']);
+ }).should.throw();
+ })
+
+ })
+
+ describe('with integers', function() {
+
+ it('throws', function() {
+ (function() {
+ var res = stringify([123, 432]);
+ }).should.throw();
+ })
+
+ })
+
+ })
+
+ describe('with an object', function() {
+
+ it('works', function() {
+ var res = stringify({ test: 100 });
+ res.should.eql('test=100');
+ })
+
+ describe('with object where val is an array', function() {
+
+ it('works', function() {
+ var res = stringify({ foo: ['bar', 'baz'] });
+ res.should.eql('foo[]=bar&foo[]=baz');
+ })
+
+ })
+
+ describe('with object where val is an array of key val objects', function() {
+
+ it('works', function() {
+ var res = stringify({ foo: [{'1': 'bar'}, {'2': 'baz'}] });
+ res.should.eql('foo[][1]=bar&foo[][2]=baz');
+ })
+
+ })
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/redirect_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/redirect_spec.js"
index 3cdd49295545751349d08fc26b4fa561516004cd..5b97c5a8f1ef4574c3fa6a08067029cfa7eccf26 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/redirect_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/redirect_spec.js"
@@ -1,3 +1,465 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b161399d5fc322ecf15488a9ef2676b81cd3a74378514c702c9c051ee4e0de60
-size 13986
+var helpers = require('./helpers'),
+ should = require('should'),
+ sinon = require('sinon'),
+ needle = require('./../');
+
+var ports = {
+ http : 8888,
+ https : 9999
+}
+
+var protocols = {
+ http : require('http'),
+ https : require('https')
+}
+
+var code = 301;
+var location; // var to set the response location
+
+function response_code() {
+ return code;
+}
+
+function response_headers() {
+ return { 'Content-Type': 'text/plain', 'Location': location }
+}
+
+describe('redirects', function() {
+
+ var spies = {},
+ servers = {};
+
+ var current_protocol;
+ var hostname = require('os').hostname();
+
+ // open two servers, one that responds to a redirect
+ before(function(done) {
+
+ var conf = {
+ port : ports.http,
+ code : response_code,
+ headers : response_headers
+ }
+
+ servers.http = helpers.server(conf, function() {
+ conf.port = ports.https;
+ conf.protocol = 'https';
+ servers.https = helpers.server(conf, done);
+ });
+ })
+
+ after(function(done) {
+ servers.http.close(function() {
+ servers.https.close(done);
+ });
+ })
+
+ var prots = {'http': 'https'};
+ Object.keys(prots).forEach(function(protocol) {
+
+ current_protocol = protocol;
+ var other_protocol = protocol == 'http' ? 'https' : 'http';
+
+ var opts, // each test will modify this
+ host = '127.0.0.1',
+ url = protocol + '://' + host + ':' + ports[protocol] + '/hello';
+
+ function send_request(opts, cb) {
+ if (protocol == 'https') opts.rejectUnauthorized = false;
+ // console.log(' -- sending request ' + url + ' -- redirect to ' + location);
+ needle.post(url, { foo: 'bar' }, opts, cb);
+ }
+
+ function not_followed(done) {
+ send_request(opts, function(err, resp) {
+ resp.statusCode.should.eql(301);
+ if (current_protocol == 'http') {
+ spies.http.callCount.should.eql(1); // only original request
+ spies.https.callCount.should.eql(0);
+ } else {
+ spies.http.callCount.should.eql(0);
+ spies.https.callCount.should.eql(1); // only original request
+ }
+ done();
+ })
+ }
+
+ function followed_same_protocol(done) {
+ send_request(opts, function(err, resp) {
+ // the original request plus the redirect one
+ spies[current_protocol].callCount.should.eql(2);
+ done();
+ })
+ }
+
+ function followed_other_protocol(done) {
+ send_request(opts, function(err, resp) {
+ // on new-ish node versions, https.request calls http.request internally,
+ // so we need to amount for that additional call.
+ // update: this doesn't happen on node > 10.x
+
+ var node_major_ver = process.version.split('.')[0].replace('v', '');
+ var http_calls = protocols.http.Agent.defaultMaxSockets == Infinity && parseInt(node_major_ver) < 10 ? 2 : 1;
+
+ spies.http.callCount.should.eql(http_calls); // the one(s) from http.request
+ spies.https.callCount.should.eql(1); // the one from https.request (redirect)
+ done();
+ })
+ }
+
+ // set a spy on [protocol].request
+ // so we can see how many times a request was made
+ before(function() {
+ spies.http = sinon.spy(protocols.http, 'request');
+ spies.https = sinon.spy(protocols.https, 'request');
+ })
+
+ // and make sure it is restored after each test
+ afterEach(function() {
+ spies.http.reset();
+ spies.https.reset();
+ })
+
+ after(function() {
+ spies.http.restore();
+ spies.https.restore();
+ })
+
+ describe('when overriding defaults', function() {
+
+ before(function() {
+ needle.defaults({ follow_max: 10 });
+ opts = {};
+ })
+
+ after(function() {
+ // reset values to previous
+ needle.defaults({ follow_max: 0 });
+ })
+
+ describe('and redirected to the same path on same host and protocol', function() {
+ before(function() {
+ location = url;
+ })
+ it('does not follow redirect', not_followed);
+ })
+
+ describe('and redirected to the same path on same host and different protocol', function() {
+ before(function() {
+ location = url.replace(protocol, other_protocol).replace(ports[protocol], ports[other_protocol]);
+ })
+
+ it('follows redirect', followed_other_protocol);
+ })
+
+ describe('and redirected to a different path on same host, same protocol', function() {
+ before(function() {
+ location = url.replace('/hello', '/goodbye');
+ })
+ it('follows redirect', followed_same_protocol);
+ })
+
+ describe('and redirected to a different path on same host, different protocol', function() {
+ before(function() {
+ location = url.replace('/hello', '/goodbye').replace(protocol, other_protocol).replace(ports[protocol], ports[other_protocol]);
+ })
+ it('follows redirect', followed_other_protocol);
+ })
+
+ describe('and redirected to same path on another host, same protocol', function() {
+ before(function() {
+ location = url.replace(host, hostname);
+ })
+ it('follows redirect', followed_same_protocol);
+ })
+
+ describe('and redirected to same path on another host, different protocol', function() {
+ before(function() {
+ location = url.replace(host, hostname).replace(protocol, other_protocol).replace(ports[protocol], ports[other_protocol]);
+ })
+ it('follows redirect', followed_other_protocol);
+ })
+
+ })
+
+ // false and null have the same result
+ var values = [false, null];
+ values.forEach(function(value) {
+
+ describe('when follow is ' + value, function() {
+
+ before(function() {
+ opts = { follow: value };
+ })
+
+ describe('and redirected to the same path on same host and protocol', function() {
+ before(function() {
+ location = url;
+ })
+
+ it('throws an error', function() {
+ (function() {
+ send_request(opts, function() { });
+ }).should.throw;
+ })
+
+ })
+
+ })
+
+ })
+
+ describe('when follow is true', function() {
+
+ before(function() {
+ opts = { follow: true };
+ })
+
+ describe('and redirected to the same path on same host and protocol', function() {
+ before(function() { location = url })
+
+ it('throws an error', function() {
+ (function() {
+ send_request(opts, function() { });
+ }).should.throw;
+ })
+
+ })
+
+ })
+
+ describe('when follow is > 0', function() {
+
+ before(function() {
+ needle.defaults({ follow: 10 });
+ })
+
+ after(function() {
+ needle.defaults({ follow: 0 });
+ })
+
+ describe('when keep_method is false', function() {
+
+ before(function() {
+ opts = { follow_keep_method: false };
+ })
+
+ // defaults to follow host and protocol
+ describe('and redirected to the same path on same host and different protocol', function() {
+
+ before(function() {
+ location = url.replace(protocol, other_protocol);
+ })
+
+ it('follows redirect', followed_other_protocol);
+
+ it('sends a GET request with no data', function(done) {
+ send_request(opts, function(err, resp) {
+ // spy.args[0][3].should.eql(null);
+ spies.http.args[0][0].method.should.eql('GET');
+ done();
+ })
+ })
+
+ it('does not resend cookies if follow_set_cookies is false', function(done) {
+ opts.cookies = {foo: 'bar'};
+ opts.follow_set_cookies = false;
+ send_request(opts, function(err, resp) {
+ should.not.exist(spies.http.args[0][0].headers['cookie']);
+ done();
+ })
+ })
+
+ it('resends cookies if follow_set_cookies is true', function(done) {
+ opts.cookies = {foo: 'bar'};
+ opts.follow_set_cookies = true;
+ send_request(opts, function(err, resp) {
+ spies.http.args[0][0].headers['cookie'].should.eql('foo=bar')
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('and set_referer is true', function() {
+
+ before(function() {
+ opts = { follow_set_referer: true };
+ })
+
+ // defaults to follow host and protocol
+ describe('and redirected to the same path on same host and different protocol', function() {
+
+ before(function() {
+ location = url.replace(protocol, other_protocol);
+ })
+
+ it('follows redirect', followed_other_protocol);
+
+ it('sets Referer header when following redirect', function(done) {
+ send_request(opts, function(err, resp) {
+ // spies.http.args[0][3].should.eql({ foo: 'bar'});
+ spies.http.args[0][0].headers['referer'].should.eql("http://" + host + ":8888/hello");
+ done();
+ })
+ })
+
+ it('does not resend cookies if follow_set_cookies is false', function(done) {
+ opts.cookies = {foo: 'bar'};
+ opts.follow_set_cookies = false;
+ send_request(opts, function(err, resp) {
+ should.not.exist(spies.http.args[0][0].headers['cookie']);
+ done();
+ })
+ })
+
+ it('resends cookies if follow_set_cookies is true', function(done) {
+ opts.cookies = {foo: 'bar'};
+ opts.follow_set_cookies = true;
+ send_request(opts, function(err, resp) {
+ spies.http.args[0][0].headers['cookie'].should.eql('foo=bar')
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('and keep_method is true', function() {
+
+ before(function() {
+ opts = { follow_keep_method: true };
+ })
+
+ // defaults to follow host and protocol
+ describe('and redirected to the same path on same host and different protocol', function() {
+
+ before(function() {
+ location = url.replace(protocol, other_protocol);
+ })
+
+ it('follows redirect', followed_other_protocol);
+
+ it('sends a POST request with the original data', function(done) {
+ send_request(opts, function(err, resp) {
+ spies.http.args[0][0].method.should.eql('post');
+ // spies.http.args[0][3].should.eql({ foo: 'bar'});
+ done();
+ })
+ })
+
+ it('does not resend cookies if follow_set_cookies is false', function(done) {
+ opts.cookies = {foo: 'bar'};
+ opts.follow_set_cookies = false;
+ send_request(opts, function(err, resp) {
+ should.not.exist(spies.http.args[0][0].headers['cookie']);
+ done();
+ })
+ })
+
+ it('resends cookies if follow_set_cookies is true', function(done) {
+ opts.cookies = {foo: 'bar'};
+ opts.follow_set_cookies = true;
+ send_request(opts, function(err, resp) {
+ spies.http.args[0][0].headers['cookie'].should.eql('foo=bar')
+ done();
+ })
+ })
+
+ })
+
+ })
+
+ describe('and if_same_host is false', function() {
+
+ before(function() {
+ opts = { follow_if_same_host: false };
+ })
+
+ // by default it will follow other protocols
+ describe('and redirected to same path on another domain, same protocol', function() {
+ before(function() {
+ location = url.replace(host, hostname);
+ })
+
+ it('follows redirect', followed_same_protocol);
+
+ it('does not resend cookies even if follow_set_cookies is true', function(done) {
+ opts.cookies = {foo: 'bar'};
+ opts.follow_set_cookies = true;
+ send_request(opts, function(err, resp) {
+ should.not.exist(spies.http.args[0][0].headers['cookie']);
+ done();
+ })
+ })
+ })
+
+ })
+
+ describe('and if_same_host is true', function() {
+
+ before(function() {
+ opts = { follow_if_same_host: true };
+ })
+
+ // by default it will follow other protocols
+ describe('and redirected to same path on another domain, same protocol', function() {
+ before(function() {
+ location = url.replace(host, hostname);
+ })
+
+ it('does not follow redirect', not_followed);
+ })
+
+ })
+
+ describe('and if_same_protocol is false', function() {
+
+ before(function() {
+ opts = { follow_if_same_protocol: false };
+ })
+
+ // by default it will follow other hosts
+ describe('and redirected to same path on another domain, different protocol', function() {
+ before(function() {
+ location = url.replace(host, hostname).replace(protocol, other_protocol).replace(ports[protocol], ports[other_protocol]);
+ })
+
+ it('follows redirect', followed_other_protocol);
+
+ it('does not resend cookies even if follow_set_cookies is true', function(done) {
+ opts.cookies = {foo: 'bar'};
+ opts.follow_set_cookies = true;
+ send_request(opts, function(err, resp) {
+ should.not.exist(spies.http.args[0][0].headers['cookie']);
+ done();
+ })
+ })
+ })
+
+ })
+
+ describe('and if_same_protocol is true', function() {
+
+ before(function() {
+ opts = { follow_if_same_protocol: true };
+ })
+
+ // by default it will follow other hosts
+ describe('and redirected to same path on another domain, different protocol', function() {
+ before(function() {
+ location = url.replace(host, hostname).replace(protocol, other_protocol).replace(ports[protocol], ports[other_protocol]);
+ })
+ it('does not follow redirect', not_followed);
+ })
+
+ })
+
+ })
+
+ })
+
+});
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/redirect_with_timeout.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/redirect_with_timeout.js"
index babec1805f40a7c760f27c2e463f9524b4902dfa..7e8e02e630e83c814cbf920e80f9f0ce6c2094b7 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/redirect_with_timeout.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/redirect_with_timeout.js"
@@ -1,3 +1,45 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:20a620e22fea8887016eb4ac83df051f9f645238efc17186110283927a19868c
-size 1353
+var should = require('should')
+var needle = require('./../')
+
+describe('follow redirects when read_timeout is set', function () {
+
+ it('clear timeout before following redirect', function (done) {
+ var opts = {
+ open_timeout: 1000,
+ read_timeout: 3000,
+ follow: 5,
+ user_agent: 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36'
+ }
+
+ var timedOut = 0
+ var redirects = 0
+
+ var timer = setTimeout(function () {
+ var hasRedirects = redirects > 0
+ hasRedirects.should.equal(true)
+ done()
+ }, opts.read_timeout || 3000)
+
+ var resp = needle.get('http://google.com/', opts, function (err, resp, body) {
+ var noErr = err === null
+ var hasBody = body.length > 0
+ noErr.should.equal(true);
+ hasBody.should.equal(true);
+ });
+
+ resp.on('redirect', function (location) {
+ redirects++
+ // console.info(' Redirected to ', location)
+ })
+
+ resp.on('timeout', function (type) {
+ timedOut++
+ timedOut.should.equal(0)
+ // console.error(' ', type, 'timeout')
+ clearTimeout(timer)
+ done()
+ })
+
+ }).timeout(30000)
+
+})
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/request_stream_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/request_stream_spec.js"
index d073fccd302c677029f18bfd48240c756a8dbc0d..8f375339a81163fdcf1b35adc40393a724b8e8c9 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/request_stream_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/request_stream_spec.js"
@@ -1,3 +1,164 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1a3dc9741d394c33ab87a5474d65c931b38a17d6a6e55fd43285864cb0e0474e
-size 4321
+var fs = require('fs'),
+ needle = require('..'),
+ stream = require('stream'),
+ http = require('http'),
+ should = require('should'),
+ sinon = require('sinon');
+
+var port = 2233;
+
+var node_major_ver = parseInt(process.version.split('.')[0].replace('v', ''));
+var node_minor_ver = parseInt(process.version.split('.')[1]);
+
+describe('request stream length', function() {
+
+ var server, writable;
+
+ function createServer() {
+ return http.createServer(function(req, res) {
+
+ req.on('data', function(chunk) {
+ // console.log(chunk.length);
+ })
+
+ req.on('end', function() {
+ res.writeHeader(200, { 'Content-Type': 'application/json'})
+ res.end(JSON.stringify({ headers: req.headers }))
+ })
+
+ })
+ }
+
+ before(function(done) {
+ server = createServer();
+ server.listen(port, done)
+ })
+
+ beforeEach(function() {
+ writable = new stream.Readable();
+ writable._read = function() {
+ this.push('hello world');
+ this.push(null);
+ }
+ })
+
+ after(function(done) {
+ server.close(done)
+ })
+
+ function send_request(opts, cb) {
+ needle.post('http://localhost:' + port, writable, opts, cb)
+ }
+
+ describe('no stream_length set', function() {
+
+ it('doesnt set Content-Length header', function(done) {
+ send_request({}, function(err, resp) {
+ should.not.exist(resp.body.headers['content-length']);
+ done()
+ })
+ })
+
+ it('works if Transfer-Encoding is not set', function(done) {
+ send_request({}, function(err, resp) {
+ should.not.exist(err);
+ resp.statusCode.should.eql(200);
+ done()
+ })
+ })
+
+ })
+
+ describe('stream_length is set to valid value', function() {
+
+ it('sets Content-Length header to that value', function(done) {
+ send_request({ stream_length: 11 }, function(err, resp) {
+ resp.body.headers['content-length'].should.eql('11');
+ done()
+ })
+ })
+
+ it('works if Transfer-Encoding is set to a blank string', function(done) {
+ send_request({ stream_length: 11, headers: { 'Transfer-Encoding': '' }}, function(err, resp) {
+ should.not.exist(err);
+ var code = node_major_ver == 10 && node_minor_ver > 15 ? 400 : 200;
+ resp.statusCode.should.eql(code);
+ done()
+ })
+ })
+
+ it('works if Transfer-Encoding is not set', function(done) {
+ send_request({ stream_length: 11 }, function(err, resp) {
+ should.not.exist(err);
+ resp.statusCode.should.eql(200);
+ done()
+ })
+ })
+
+ })
+
+
+ describe('stream_length set to 0', function() {
+
+ describe('stream with path', function() {
+
+ var stub;
+
+ beforeEach(function() {
+ writable.path = '/foo/bar';
+ stub = sinon.stub(fs, 'stat').callsFake(function(path, cb) {
+ cb(null, { size: 11 })
+ })
+ })
+
+ afterEach(function() {
+ stub.restore();
+ })
+
+ it('sets Content-Length header to streams length', function(done) {
+ send_request({ stream_length: 0 }, function(err, resp) {
+ resp.body.headers['content-length'].should.eql('11');
+ done()
+ })
+ })
+
+ it('works if Transfer-Encoding is set to a blank string', function(done) {
+ send_request({ stream_length: 0, headers: { 'Transfer-Encoding': '' }}, function(err, resp) {
+ should.not.exist(err);
+ var code = node_major_ver == 10 && node_minor_ver > 15 ? 400 : 200;
+ resp.statusCode.should.eql(code);
+ done()
+ })
+ })
+
+ it('works if Transfer-Encoding is not set', function(done) {
+ send_request({ stream_length: 0 }, function(err, resp) {
+ should.not.exist(err);
+ resp.statusCode.should.eql(200);
+ done()
+ })
+ })
+
+ })
+
+ describe('stream without path', function() {
+
+ it('does not set Content-Length header', function(done) {
+ send_request({ stream_length: 0 }, function(err, resp) {
+ should.not.exist(resp.body.headers['content-length']);
+ done()
+ })
+ })
+
+ it('works if Transfer-Encoding is not set', function(done) {
+ send_request({ stream_length: 0 }, function(err, resp) {
+ should.not.exist(err);
+ resp.statusCode.should.eql(200);
+ done()
+ })
+ })
+ })
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/response_stream_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/response_stream_spec.js"
index 39c5ad1e6e651c817d954e2dbf2c8175c4ec49b5..a0ccef8e40a4e8dca7ca6a48ed5a115258df0c80 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/response_stream_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/response_stream_spec.js"
@@ -1,3 +1,138 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a97714458171f5cb525225dd59c163a0be74bb1d353da50e313f5d224d10ffe5
-size 3726
+var should = require('should'),
+ needle = require('./../'),
+ http = require('http'),
+ stream = require('stream'),
+ fs = require('fs'),
+ port = 11111,
+ server;
+
+describe('response streams', function() {
+
+ describe('when the server sends back json', function(){
+
+ before(function(done) {
+ server = http.createServer(function(req, res) {
+ res.setHeader('Content-Type', 'application/json')
+ res.end('{"foo":"bar"}')
+ }).listen(port, done);
+ });
+
+ after(function(done) {
+ server.close(done);
+ })
+
+ describe('and the client uses streams', function(){
+
+ it('creates a proper streams2 stream', function(done) {
+ var stream = needle.get('localhost:' + port)
+
+ // newer node versions set this to null instead of false
+ var bool = !!stream._readableState.flowing;
+ should.equal(false, bool);
+
+ var readableCalled = false;
+ stream.on('readable', function() {
+ readableCalled = true;
+ })
+
+ stream.on('finish', function() {
+ readableCalled.should.be.true;
+ done();
+ });
+
+ stream.resume();
+ })
+
+ it('emits a single data item which is our JSON object', function(done) {
+ var stream = needle.get('localhost:' + port)
+
+ var chunks = [];
+ stream.on('readable', function () {
+ while (chunk = this.read()) {
+ chunk.should.be.an.Object;
+ chunks.push(chunk);
+ }
+ })
+
+ stream.on('done', function () {
+ chunks.should.have.length(1)
+ chunks[0].should.have.property('foo', 'bar');
+ done();
+ });
+ })
+
+ it('emits a raw buffer if we do not want to parse JSON', function(done) {
+ var stream = needle.get('localhost:' + port, { parse: false })
+
+ var chunks = [];
+ stream.on('readable', function () {
+ while (chunk = this.read()) {
+ Buffer.isBuffer(chunk).should.be.true;
+ chunks.push(chunk);
+ }
+ })
+
+ stream.on('done', function() {
+ var body = Buffer.concat(chunks).toString();
+ body.should.equal('{"foo":"bar"}')
+ done();
+ });
+ })
+
+ })
+ })
+
+ describe('when the server sends back what was posted to it', function () {
+ var file = 'asdf.txt';
+
+ before(function(done){
+ server = http.createServer(function(req, res) {
+ res.setHeader('Content-Type', 'application/octet')
+ req.pipe(res);
+ }).listen(port);
+
+ fs.writeFile(file, 'contents of stream', done);
+ });
+
+ after(function(done){
+ server.close();
+ fs.unlink(file, done);
+ })
+
+ it('can PUT a stream', function (done) {
+ var stream = needle.put('localhost:' + port, fs.createReadStream(file), { stream: true });
+
+ var chunks = [];
+ stream.on('readable', function () {
+ while (chunk = this.read()) {
+ Buffer.isBuffer(chunk).should.be.true;
+ chunks.push(chunk);
+ }
+ })
+
+ stream.on('end', function () {
+ var body = Buffer.concat(chunks).toString();
+ body.should.equal('contents of stream')
+ done();
+ });
+ });
+
+ it('can PATCH a stream', function (done) {
+ var stream = needle.patch('localhost:' + port, fs.createReadStream(file), { stream: true });
+
+ var chunks = [];
+ stream.on('readable', function () {
+ while (chunk = this.read()) {
+ Buffer.isBuffer(chunk).should.be.true;
+ chunks.push(chunk);
+ }
+ })
+
+ stream.on('end', function () {
+ var body = Buffer.concat(chunks).toString();
+ body.should.equal('contents of stream')
+ done();
+ });
+ });
+ })
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/socket_cleanup_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/socket_cleanup_spec.js"
index 912d62e0f338df9426cf36f1e70f746a3c1fd327..fdfc0cb73ec68cdb455bb8b40de964dbfff99e92 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/socket_cleanup_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/socket_cleanup_spec.js"
@@ -1,3 +1,79 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4c5bbc9a45389d679bb5ced3d25e5522adb1ab4a68014e70ca661e6b9f55b473
-size 1890
+var should = require('should'),
+ needle = require('./../'),
+ fs = require('fs'),
+ https = require('https'),
+ stream = require('stream');
+
+describe('socket cleanup', function(){
+
+ var outFile = 'test/tmp';
+ var httpAgent, readStream, writeStream
+
+ var file = 'ubuntu-21.04-desktop-amd64.iso',
+ url = 'https://releases.ubuntu.com/21.04/' + file;
+
+ function getActiveSockets() {
+ return Object.keys(httpAgent.sockets).length
+ }
+
+ before(function() {
+ httpAgent = new https.Agent({
+ keepAlive : true,
+ maxSockets : 1
+ });
+ })
+
+ after(function() {
+ httpAgent.destroy()
+ fs.unlinkSync(outFile);
+ })
+
+ it('should cleanup sockets on ERR_STREAM_PREMATURE_CLOSE (using .pipe)', function(done) {
+ getActiveSockets().should.eql(0);
+
+ var resp = needle.get(url, { agent: httpAgent });
+ var writable = fs.createWriteStream(outFile);
+ resp.pipe(writable);
+
+ writable.on('close', function(e) {
+ if (!resp.done) resp.abort();
+ })
+
+ setTimeout(function() {
+ getActiveSockets().should.eql(1);
+ writable.destroy();
+ }, 50);
+
+ setTimeout(function() {
+ getActiveSockets().should.eql(0);
+ done();
+ }, 500); // takes a bit
+ })
+
+ it('should cleanup sockets on ERR_STREAM_PREMATURE_CLOSE (using stream.pipeline)', function(done) {
+ if (!stream.pipeline)
+ return done()
+
+ getActiveSockets().should.eql(0);
+
+ var resp = needle.get(url, { agent: httpAgent });
+ var writable = fs.createWriteStream(outFile);
+
+ stream.pipeline(resp, writable, function(err) {
+ err.code.should.eql('ERR_STREAM_PREMATURE_CLOSE')
+ if (err) resp.request.destroy();
+ });
+
+ setTimeout(function() {
+ getActiveSockets().should.eql(1);
+ writable.destroy();
+ }, 50);
+
+ setTimeout(function() {
+ getActiveSockets().should.eql(0);
+ done();
+ }, 1000); // takes a bit
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/socket_pool_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/socket_pool_spec.js"
index 55dd2386bdc1b36ccbb79c67e8e28d56229766e3..75080bdfb6e5fb45d20dcfd345b1d9b6309aeedd 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/socket_pool_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/socket_pool_spec.js"
@@ -1,3 +1,67 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4a1410a6d64fb0cdb5a781717feb4df0e44e666717eea82aff2ee121e5e6a5a6
-size 1797
+var needle = require('../'),
+ should = require('should'),
+ http = require('http');
+
+var server, port = 11112;
+
+describe('socket reuse', function() {
+
+ var httpAgent = new http.Agent({
+ keepAlive : true,
+ maxSockets : 1
+ });
+
+ before(function(done) {
+ server = http.createServer(function(req, res) {
+ res.setHeader('Content-Type', 'application/json');
+ setTimeout(function() {
+ res.end('{"foo":"bar"}');
+ }, 50);
+ }).listen(port, done);
+ });
+
+ after(function(done) {
+ httpAgent.destroy();
+ server.close(done);
+ });
+
+ describe('when sockets are reused', function() {
+
+ it('does not duplicate listeners on .end', function(done) {
+
+ var last_error;
+ var count = 10;
+
+ function completed(err) {
+ --count || done(last_error);
+ }
+
+ function send() {
+ needle.get('localhost:' + port, { agent: httpAgent }, function(err, resp) {
+ if (err)
+ throw new Error("Unexpected error: " + err);
+
+ // lets go through all sockets and inspect all socket objects
+ for (hostTarget in httpAgent.sockets) {
+ httpAgent.sockets[hostTarget].forEach(function(socket) {
+ // normally, there are 2 internal listeners and 1 needle sets up,
+ // but to be sure the test does not fail even if newer node versions
+ // introduce additional listeners, we use a higher limit.
+ try {
+ socket.listeners('end').length.should.be.below(5, "too many listeners on the socket object's end event");
+ } catch (e) {
+ last_error = e;
+ }
+ });
+ }
+
+ completed();
+ });
+ }
+
+ for (var i = 0; i < count; i++) {
+ send();
+ }
+ });
+ });
+});
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/stream_events_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/stream_events_spec.js"
index 8b473ccd5246d3aaf78d08397f4e14e5ebd35f02..57ef994651f6d60f8ba5b706f45a5a35ff9e7406 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/stream_events_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/stream_events_spec.js"
@@ -1,3 +1,144 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:60d732be5aed820d2a5a14ab215d765d2d04f505acceaa657c5beebbb9699ac3
-size 3590
+var needle = require('../'),
+ fs = require('fs'),
+ should = require('should'),
+ helpers = require('./helpers');
+
+describe('stream events', function() {
+
+ var server,
+ port = 3456,
+ responseData,
+ serverOpts = {},
+ requestHandler = function(req, res) { res.end('OK') }
+
+ before(function() {
+ var opts = {
+ port: port,
+ handler: function(req, res) { requestHandler(req, res) }
+ }
+ server = helpers.server(opts);
+ })
+
+ after(function() {
+ server.close();
+ })
+
+ beforeEach(function() {
+ responseData = '';
+ })
+
+ describe('when consuming data directly', function() {
+
+ function send_request(opts, cb) {
+ return needle
+ .get('http://localhost:' + port, opts)
+ .on('data', function(data) { responseData += data })
+ }
+
+ describe('and request stream fails', function() {
+
+ it('emits done event with error', function(done) {
+ requestHandler = function(req, res) { req.socket.destroy() }
+
+ send_request({}).on('done', function(err) {
+ err.code.should.eql('ECONNRESET');
+ responseData.should.eql('');
+ done()
+ })
+ })
+
+ })
+
+ describe('and request succeeds but decoding fails', function() {
+
+ it('emits done event without error', function(done) {
+ requestHandler = function(req, res) {
+ res.setHeader('Content-Type', 'application/json')
+ res.end('invalid:json')
+ }
+
+ send_request({ json: true }).on('done', function(err) {
+ should.not.exist(err);
+ responseData.should.eql('invalid:json');
+ done()
+ })
+ })
+
+ })
+
+ describe('and request succeeds and pipeline works ok', function() {
+
+ it('emits done event without error', function(done) {
+ requestHandler = function(req, res) { res.end('{"ok":1}') }
+
+ send_request({ json: true }).on('done', function(err) {
+ should.not.exist(err);
+ responseData.should.eql('{"ok":1}');
+ done()
+ })
+ })
+
+ })
+
+ })
+
+ describe('when piping to a fs writableStream', function() {
+
+ var outFile = 'test/tmp.dat';
+
+ function send_request(opts, cb) {
+ return needle
+ .get('http://localhost:' + port, opts)
+ .pipe(fs.createWriteStream(outFile))
+ .on('data', function(data) { responseData += data })
+ }
+
+ after(function(done) {
+ fs.unlink(outFile, done)
+ })
+
+ describe('and request stream fails', function() {
+
+ it('final stream emits done event with error', function(done) {
+ requestHandler = function(req, res) { req.socket.destroy() }
+
+ send_request({}).on('done', function(err) {
+ err.code.should.eql('ECONNRESET');
+ done()
+ })
+ })
+
+ })
+
+ describe('and request succeeds but decoding fails', function() {
+
+ it('final stream emits done event without error', function(done) {
+ requestHandler = function(req, res) {
+ res.setHeader('Content-Type', 'application/json')
+ res.end('invalid:json')
+ }
+
+ send_request({ json: true }).on('done', function(err) {
+ should.not.exist(err);
+ done()
+ })
+ })
+
+ })
+
+ describe('and request succeeds and pipeline works ok', function() {
+
+ it('final stream emits done event without error', function(done) {
+ requestHandler = function(req, res) { res.end('{"ok":1}') }
+
+ send_request({ json: true }).on('done', function(err) {
+ should.not.exist(err);
+ done()
+ })
+ })
+
+ })
+
+ })
+
+})
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/tls_options_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/tls_options_spec.js"
index b1310886a45bfc6215667f07c228648b0b4a5318..208f82995bfe952483b3f4e2f96cad408260ede1 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/tls_options_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/tls_options_spec.js"
@@ -1,3 +1,57 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:05ac1eedb30ea685bce9aa535ba03edae06c672a1fae3263814116a3f10d246d
-size 1535
+var needle = require('..'),
+ https = require('https'),
+ helpers = require('./helpers'),
+ should = require('should');
+
+describe('tls options', function() {
+
+ describe('rejectUnauthorized: false', function() {
+
+ var url = 'https://expired-rsa-dv.ssl.com/';
+
+ it('is an expired cert', function(done) {
+ needle.get(url, function(err, resp) {
+ err.code.should.eql('CERT_HAS_EXPIRED')
+ should.not.exist(resp)
+ done()
+ })
+ })
+
+ it('allows fetching pages under expired certificates', function(done) {
+ needle.get(url, { rejectUnauthorized: false }, function(err, resp) {
+ should.not.exist(err);
+ resp.statusCode.should.eql(200);
+ done()
+ })
+ })
+
+ it('also works when using custom agent', function(done) {
+ var agent = new https.Agent({ rejectUnauthorized: true })
+
+ // should overwrite value from custom agent
+ needle.get(url, { rejectUnauthorized: false }, function(err, resp) {
+ should.not.exist(err);
+ resp.statusCode.should.eql(200);
+ done()
+ })
+
+ })
+
+ it('also works with shared/default agent', function(done) {
+ var agent = new https.Agent({ rejectUnauthorized: true })
+ needle.defaults({ agent: agent })
+
+ // should overwrite value from custom agent
+ needle.get(url, { rejectUnauthorized: false }, function(err, resp) {
+ should.not.exist(err);
+ resp.statusCode.should.eql(200);
+
+ needle.defaults({ agent: null })
+ done()
+ })
+
+ })
+
+ })
+
+})
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/uri_modifier_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/uri_modifier_spec.js"
index 643b53474bf96b7f90939572e8171f99629aebca..1a12a36caf36e03d05cb03d33309648fc2256e2a 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/uri_modifier_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/uri_modifier_spec.js"
@@ -1,3 +1,46 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:15d7402315166366c68f85f0f4df5622c85d2c99aeaf66794ef5b8553ebd0d6e
-size 914
+var needle = require('../'),
+ sinon = require('sinon'),
+ should = require('should'),
+ http = require('http'),
+ helpers = require('./helpers');
+
+var port = 3456;
+
+describe('uri_modifier config parameter function', function() {
+
+ var server, uri;
+
+ function send_request(mw, cb) {
+ needle.get(uri, { uri_modifier: mw }, cb);
+ }
+
+ before(function(done){
+ server = helpers.server({ port: port }, done);
+ })
+
+ after(function(done) {
+ server.close(done);
+ })
+
+ describe('modifies uri', function() {
+
+ var path = '/foo/replace';
+
+ before(function() {
+ uri = 'localhost:' + port + path
+ });
+
+ it('should modify path', function(done) {
+ send_request(function(uri) {
+ return uri.replace('/replace', '');
+ }, function(err, res) {
+ should.not.exist(err);
+ should(res.req.path).be.exactly('/foo');
+ done();
+ });
+
+ });
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/url_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/url_spec.js"
index d7c87eca58da88bd05045fe2783c70e9f3b4d54a..5154d5849aa0096e4f857cb9ad2f265f53d55b49 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/url_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/url_spec.js"
@@ -1,3 +1,155 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d5b4831139585a93d630f76218539c65afe5e37159be4a91e68963f3d4913f27
-size 2841
+var needle = require('../'),
+ sinon = require('sinon'),
+ should = require('should'),
+ http = require('http'),
+ helpers = require('./helpers');
+
+var port = 3456;
+
+describe('urls', function() {
+
+ var server, url;
+
+ function send_request(cb) {
+ return needle.get(url, cb);
+ }
+
+ before(function(done){
+ server = helpers.server({ port: port }, done);
+ })
+
+ after(function(done) {
+ server.close(done);
+ })
+
+ describe('null URL', function(){
+
+ it('throws', function(){
+ (function() {
+ send_request()
+ }).should.throw();
+ })
+
+ })
+
+ describe('invalid protocol', function(){
+
+ before(function() {
+ url = 'foo://google.com/what'
+ })
+
+ it('does not throw', function(done) {
+ (function() {
+ send_request(function(err) {
+ done();
+ })
+ }).should.not.throw()
+ })
+
+ it('returns an error', function(done) {
+ send_request(function(err) {
+ err.should.be.an.Error;
+ err.code.should.match(/ENOTFOUND|EADDRINFO|EAI_AGAIN/)
+ done();
+ })
+ })
+
+ })
+
+ describe('invalid host', function(){
+
+ before(function() {
+ url = 'http://s1\\\u0002.com/'
+ })
+
+ it('fails', function(done) {
+ (function() {
+ send_request(function(){ })
+ }.should.throw(TypeError))
+ done()
+ })
+
+ })
+
+/*
+ describe('invalid path', function(){
+
+ before(function() {
+ url = 'http://www.google.com\\\/x\\\ %^&*() /x2.com/'
+ })
+
+ it('fails', function(done) {
+ send_request(function(err) {
+ err.should.be.an.Error;
+ done();
+ })
+ })
+
+ })
+*/
+
+ describe('valid protocol and path', function() {
+
+ before(function() {
+ url = 'http://localhost:' + port + '/foo';
+ })
+
+ it('works', function(done) {
+ send_request(function(err){
+ should.not.exist(err);
+ done();
+ })
+ })
+
+ })
+
+ describe('no protocol but with slashes and valid path', function() {
+
+ before(function() {
+ url = '//localhost:' + port + '/foo';
+ })
+
+ it('works', function(done) {
+ send_request(function(err){
+ should.not.exist(err);
+ done();
+ })
+ })
+
+ })
+
+ describe('no protocol nor slashes and valid path', function() {
+
+ before(function() {
+ url = 'localhost:' + port + '/foo';
+ })
+
+ it('works', function(done) {
+ send_request(function(err){
+ should.not.exist(err);
+ done();
+ })
+ })
+
+ })
+
+ describe('double encoding', function() {
+
+ var path = '/foo?email=' + encodeURIComponent('what-ever@Example.Com');
+
+ before(function() {
+ url = 'localhost:' + port + path
+ });
+
+ it('should not occur', function(done) {
+ send_request(function(err, res) {
+ should.not.exist(err);
+ should(res.req.path).be.exactly(path);
+ done();
+ });
+
+ });
+
+ })
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/formidable.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/formidable.js"
index 20a1cfdea4faf2dbb2e335c617c39a98b39e6722..ba1d983e2c16778fc6486f01e7797362865972a5 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/formidable.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/formidable.js"
@@ -1,3 +1,17 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0ff3ec1c2ca34534f513f2aac87d9b53a554707c89d43a4b5a3a6f383c4f69e0
-size 559
+var formidable = require('formidable'),
+ http = require('http'),
+ util = require('util');
+
+var port = process.argv[2] || 8888;
+
+http.createServer(function(req, res) {
+ var form = new formidable.IncomingForm();
+ form.parse(req, function(err, fields, files) {
+ res.writeHead(200, {'content-type': 'text/plain'});
+ res.write('received upload:\n\n');
+ console.log(util.inspect({fields: fields, files: files}))
+ res.end(util.inspect({fields: fields, files: files}));
+ });
+}).listen(port);
+
+console.log('HTTP server listening on port ' + port);
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/proxy.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/proxy.js"
index 2b06e4c096936375ed9bbd6e1bae9f768015fab5..531bf49354cb80d16fc964cce7a9c9127e82eb41 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/proxy.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/proxy.js"
@@ -1,3 +1,62 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9c3adf677e36dca364c7bf9ed163137c64d4cafb0691689fbcc0d5ea523abe6b
-size 1618
+var http = require('http'),
+ https = require('https'),
+ url = require('url');
+
+var port = 1234,
+ log = true,
+ request_auth = false;
+
+http.createServer(function(request, response) {
+
+ console.log(request.headers);
+ console.log("Got request: " + request.url);
+ console.log("Forwarding request to " + request.headers['host']);
+
+ if (request_auth) {
+ if (!request.headers['proxy-authorization']) {
+ response.writeHead(407, {'Proxy-Authenticate': 'Basic realm="proxy.com"'})
+ return response.end('Hello.');
+ }
+ }
+
+ var remote = url.parse(request.url);
+ var protocol = remote.protocol == 'https:' ? https : http;
+
+ var opts = {
+ host: request.headers['host'],
+ port: remote.port || (remote.protocol == 'https:' ? 443 : 80),
+ method: request.method,
+ path: remote.pathname,
+ headers: request.headers
+ }
+
+ var proxy_request = protocol.request(opts, function(proxy_response){
+
+ proxy_response.on('data', function(chunk) {
+ if (log) console.log(chunk.toString());
+ response.write(chunk, 'binary');
+ });
+ proxy_response.on('end', function() {
+ response.end();
+ });
+
+ response.writeHead(proxy_response.statusCode, proxy_response.headers);
+ });
+
+ request.on('data', function(chunk) {
+ if (log) console.log(chunk.toString());
+ proxy_request.write(chunk, 'binary');
+ });
+
+ request.on('end', function() {
+ proxy_request.end();
+ });
+
+}).listen(port);
+
+process.on('uncaughtException', function(err){
+ console.log('Uncaught exception!');
+ console.log(err);
+});
+
+console.log("Proxy server listening on port " + port);
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/test.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/test.js"
index 17045cd05a7eb59b18cd5f9ce6ce15696df66d0e..8d58d70f2ae296f92fa7c9b849026ba46a5bdfc6 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/test.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils/test.js"
@@ -1,3 +1,104 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ad5692792759d6b251c598d1eaa0a01cb05f57737fcb02a279350e653419cf36
-size 2431
+// TODO: write specs. :)
+
+var fs = require('fs'),
+ client = require('./../../');
+
+process.env.DEBUG = true;
+
+var response_callback = function(err, resp, body){
+ console.log(err);
+ if(resp) console.log("Got status code " + resp.statusCode)
+ console.log(body);
+}
+
+function simple_head(){
+ client.head('http://www.amazon.com', response_callback);
+}
+
+function simple_get(){
+ client.get('http://www.nodejs.org', response_callback);
+}
+
+function proxy_get(){
+ client.get('https://www.google.com/search?q=nodejs', {proxy: 'http://localhost:1234'}, response_callback);
+}
+
+function auth_get(){
+ client.get('https://www.twitter.com', {username: 'asd', password: '123'}, response_callback);
+}
+
+function simple_post(url){
+
+ var data = {
+ foo: 'bar',
+ baz: {
+ nested: 'attribute'
+ }
+ }
+
+ client.post(url, data, response_callback);
+
+}
+
+function multipart_post(url){
+
+ var filename = 'test_file.txt';
+ var data = 'Plain text data.\nLorem ipsum dolor sit amet.\nBla bla bla.\n';
+ fs.writeFileSync(filename, data);
+
+ var black_pixel = Buffer.from("data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=".replace(/^data:image\/\w+;base64,/, ""), "base64");
+
+ var data = {
+ foo: 'bar',
+ bar: 'baz',
+ nested: {
+ my_document: { file: filename, content_type: 'text/plain' },
+ even: {
+ more: 'nesting'
+ }
+ },
+ pixel: { filename: 'black_pixel.gif', buffer: black_pixel, content_type: 'image/gif' },
+ field2: {value: JSON.stringify({"json":[ {"one":1}, {"two":2} ]}), content_type: 'application/json' }
+ }
+
+ client.post(url, data, {multipart: true}, function(err, resp, body){
+
+ console.log(err);
+ console.log("Got status code " + resp.statusCode)
+ console.log(body);
+ fs.unlink(filename);
+
+ });
+
+}
+
+switch(process.argv[2]){
+ case 'head':
+ simple_head();
+ break;
+ case 'get':
+ simple_get();
+ break;
+ case 'auth':
+ auth_get();
+ break;
+ case 'proxy':
+ proxy_get();
+ break;
+ case 'post':
+ simple_post(process.argv[3] || 'http://posttestserver.com/post.php');
+ break;
+ case 'multipart':
+ multipart_post(process.argv[3] || 'http://posttestserver.com/post.php?dir=example');
+ break;
+ case 'all':
+ simple_head();
+ simple_get();
+ auth_get();
+ proxy_get();
+ simple_post(process.argv[3] || 'http://posttestserver.com/post.php');
+ multipart_post(process.argv[3] || 'http://posttestserver.com/post.php?dir=example');
+ break;
+ default:
+ console.log("Usage: ./test.js [head|get|auth|proxy|multipart]")
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils_spec.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils_spec.js"
index 93f7d0a5c8174193fb0a4850f5e6ceb30c1ba01e..ce9685c9d46eddce3ca9c4b40cb0a53c9411073e 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils_spec.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/needle/test/utils_spec.js"
@@ -1,3 +1,105 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1d9e4a8a11fafa3bc2eaacb34f2d9031e9ebec6217a7fbc05746b9bfd368826f
-size 3344
+var helpers = require('./helpers'),
+ should = require('should'),
+ sinon = require('sinon'),
+ utils = require('./../lib/utils');
+
+describe('utils.should_proxy_to()', function() {
+
+ var should_proxy_to = utils.should_proxy_to;
+
+ var noProxy = ".ic1.mycorp,localhost,127.0.0.1,*.mycorp.org";
+ var noProxyWithPorts = " ,.mycorp.org:1234,.ic1.mycorp,localhost,127.0.0.1";
+
+ var uris = {
+ hostname: "http://registry.random.opr.mycorp.org",
+ with_port: "http://registry.random.opr.mycorp.org:9874",
+ with_another_port: "http://registry.random.opr.mycorp.org:1234",
+ localhost: "http://localhost",
+ ip: "http://127.0.0.1"
+ }
+
+ it("returns true if NO_PROXY is undefined", function(done) {
+ process.env.NO_PROXY = undefined;
+ should_proxy_to(uris.hostname).should.true()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+ it("returns true if NO_PROXY is empty", function(done) {
+ process.env.NO_PROXY = "";
+ should_proxy_to(uris.hostname).should.true()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+ it("returns false if NO_PROXY is a wildcard", function(done) {
+ process.env.NO_PROXY = "*";
+ should_proxy_to(uris.hostname).should.false()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+ it("returns true if the host matches and the ports don't (URI doesn't have port specified)", function(done) {
+ process.env.NO_PROXY = noProxyWithPorts;
+ should_proxy_to(uris.hostname).should.true()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+ it("returns true if the host matches and the ports don't (both have a port specified but just different values)", function(done) {
+ process.env.NO_PROXY = noProxyWithPorts;
+ should_proxy_to(uris.with_port).should.true()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+ it("returns false if the host matches and the ports don't (no_proxy pattern doesn't have a port)", function(done) {
+ process.env.NO_PROXY = noProxy;
+ should_proxy_to(uris.with_port).should.false()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+ it("returns false if host matches", function(done) {
+ process.env.NO_PROXY = noProxy;
+ should_proxy_to(uris.hostname).should.false()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+ it("returns false if the host and port matches", function(done) {
+ process.env.NO_PROXY = noProxyWithPorts;
+ should_proxy_to(uris.with_another_port).should.false()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+ it("returns false if the host matches (localhost)", function(done) {
+ process.env.NO_PROXY = noProxy;
+ should_proxy_to(uris.localhost).should.false()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+ it("returns false if the host matches (ip)", function(done) {
+ process.env.NO_PROXY = noProxy;
+ should_proxy_to(uris.ip).should.false()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+ it("returns false if the host matches (ip)", function(done) {
+ process.env.NO_PROXY = noProxy.replace(/,g/, " ");
+ should_proxy_to(uris.ip).should.false()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+ it("returns false if the host matches (ip)", function(done) {
+ process.env.NO_PROXY = noProxy.replace(/,g/, " ");
+ should_proxy_to(uris.ip).should.false()
+ delete process.env.NO_PROXY;
+ done();
+ });
+
+})
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/LICENSE"
index e138f22edcff4a866675ea1e8eacc0c4c9e84871..d32ab4426a5f6bd7986ed80df4073bbf997903d1 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/LICENSE"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e70ff771504ba41f2be55de812a017ff46433d7a250c862e38fc419159e44500
-size 1088
+The MIT License (MIT)
+
+Copyright (c) 2014-2018, Jon Schlinkert.
+
+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:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+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.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/README.md"
index 3bfc0c82428af2382e8bd3611f91735460f040d3..726d4d6891a295fbd2706d7c98ba72f09b8a4a6b 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/README.md"
@@ -1,3 +1,127 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:af3e56f394e970e17051724817e0b8b0c6b98f3376681cf48973180074a9e83b
-size 5441
+# normalize-path [](https://www.npmjs.com/package/normalize-path) [](https://npmjs.org/package/normalize-path) [](https://npmjs.org/package/normalize-path) [](https://travis-ci.org/jonschlinkert/normalize-path)
+
+> Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
+
+Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save normalize-path
+```
+
+## Usage
+
+```js
+const normalize = require('normalize-path');
+
+console.log(normalize('\\foo\\bar\\baz\\'));
+//=> '/foo/bar/baz'
+```
+
+**win32 namespaces**
+
+```js
+console.log(normalize('\\\\?\\UNC\\Server01\\user\\docs\\Letter.txt'));
+//=> '//?/UNC/Server01/user/docs/Letter.txt'
+
+console.log(normalize('\\\\.\\CdRomX'));
+//=> '//./CdRomX'
+```
+
+**Consecutive slashes**
+
+Condenses multiple consecutive forward slashes (except for leading slashes in win32 namespaces) to a single slash.
+
+```js
+console.log(normalize('.//foo//bar///////baz/'));
+//=> './foo/bar/baz'
+```
+
+### Trailing slashes
+
+By default trailing slashes are removed. Pass `false` as the last argument to disable this behavior and _**keep** trailing slashes_:
+
+```js
+console.log(normalize('foo\\bar\\baz\\', false)); //=> 'foo/bar/baz/'
+console.log(normalize('./foo/bar/baz/', false)); //=> './foo/bar/baz/'
+```
+
+## Release history
+
+### v3.0
+
+No breaking changes in this release.
+
+* a check was added to ensure that [win32 namespaces](https://msdn.microsoft.com/library/windows/desktop/aa365247(v=vs.85).aspx#namespaces) are handled properly by win32 `path.parse()` after a path has been normalized by this library.
+* a minor optimization was made to simplify how the trailing separator was handled
+
+## About
+
+
+Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+
+
+
+Running Tests
+
+Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
+
+```sh
+$ npm install && npm test
+```
+
+
+
+
+Building docs
+
+_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
+
+To generate the readme, run the following command:
+
+```sh
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+
+
+### Related projects
+
+Other useful path-related libraries:
+
+* [contains-path](https://www.npmjs.com/package/contains-path): Return true if a file path contains the given path. | [homepage](https://github.com/jonschlinkert/contains-path "Return true if a file path contains the given path.")
+* [is-absolute](https://www.npmjs.com/package/is-absolute): Returns true if a file path is absolute. Does not rely on the path module… [more](https://github.com/jonschlinkert/is-absolute) | [homepage](https://github.com/jonschlinkert/is-absolute "Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.")
+* [is-relative](https://www.npmjs.com/package/is-relative): Returns `true` if the path appears to be relative. | [homepage](https://github.com/jonschlinkert/is-relative "Returns `true` if the path appears to be relative.")
+* [parse-filepath](https://www.npmjs.com/package/parse-filepath): Pollyfill for node.js `path.parse`, parses a filepath into an object. | [homepage](https://github.com/jonschlinkert/parse-filepath "Pollyfill for node.js `path.parse`, parses a filepath into an object.")
+* [path-ends-with](https://www.npmjs.com/package/path-ends-with): Return `true` if a file path ends with the given string/suffix. | [homepage](https://github.com/jonschlinkert/path-ends-with "Return `true` if a file path ends with the given string/suffix.")
+* [unixify](https://www.npmjs.com/package/unixify): Convert Windows file paths to unix paths. | [homepage](https://github.com/jonschlinkert/unixify "Convert Windows file paths to unix paths.")
+
+### Contributors
+
+| **Commits** | **Contributor** |
+| --- | --- |
+| 35 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 1 | [phated](https://github.com/phated) |
+
+### Author
+
+**Jon Schlinkert**
+
+* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
+* [GitHub Profile](https://github.com/jonschlinkert)
+* [Twitter Profile](https://twitter.com/jonschlinkert)
+
+### License
+
+Copyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
+
+***
+
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on April 19, 2018._
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/index.js"
index e5681a1e4c7ca00288dcb79104cf6f830faf764b..6fac553a30915ee38b6c1552b8df343da69f3926 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/index.js"
@@ -1,3 +1,35 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:202cf63677ddcac13e71d66d2e98c8f07aad10789845ade028e5be755b7abf3a
-size 1024
+/*!
+ * normalize-path
+ *
+ * Copyright (c) 2014-2018, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+
+module.exports = function(path, stripTrailing) {
+ if (typeof path !== 'string') {
+ throw new TypeError('expected path to be a string');
+ }
+
+ if (path === '\\' || path === '/') return '/';
+
+ var len = path.length;
+ if (len <= 1) return path;
+
+ // ensure that win32 namespaces has two leading slashes, so that the path is
+ // handled properly by the win32 version of path.parse() after being normalized
+ // https://msdn.microsoft.com/library/windows/desktop/aa365247(v=vs.85).aspx#namespaces
+ var prefix = '';
+ if (len > 4 && path[3] === '\\') {
+ var ch = path[2];
+ if ((ch === '?' || ch === '.') && path.slice(0, 2) === '\\\\') {
+ path = path.slice(2);
+ prefix = '//';
+ }
+ }
+
+ var segs = path.split(/[/\\]+/);
+ if (stripTrailing !== false && segs[segs.length - 1] === '') {
+ segs.pop();
+ }
+ return prefix + segs.join('/');
+};
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/package.json"
index f1fbeb152db495d40bf5f3a3e8b06be113242e40..ad61098a8a8fc51a4be93b25769a47959abd5ade 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/normalize-path/package.json"
@@ -1,3 +1,77 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:284ea445a01a454ab1235a08101445fe16592303167090815f4a75b54d6fba04
-size 1666
+{
+ "name": "normalize-path",
+ "description": "Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.",
+ "version": "3.0.0",
+ "homepage": "https://github.com/jonschlinkert/normalize-path",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "Blaine Bublitz (https://twitter.com/BlaineBublitz)",
+ "Jon Schlinkert (http://twitter.com/jonschlinkert)"
+ ],
+ "repository": "jonschlinkert/normalize-path",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/normalize-path/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "devDependencies": {
+ "gulp-format-md": "^1.0.0",
+ "minimist": "^1.2.0",
+ "mocha": "^3.5.3"
+ },
+ "keywords": [
+ "absolute",
+ "backslash",
+ "delimiter",
+ "file",
+ "file-path",
+ "filepath",
+ "fix",
+ "forward",
+ "fp",
+ "fs",
+ "normalize",
+ "path",
+ "relative",
+ "separator",
+ "slash",
+ "slashes",
+ "trailing",
+ "unix",
+ "urix"
+ ],
+ "verb": {
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "related": {
+ "description": "Other useful path-related libraries:",
+ "list": [
+ "contains-path",
+ "is-absolute",
+ "is-relative",
+ "parse-filepath",
+ "path-ends-with",
+ "path-ends-with",
+ "unixify"
+ ]
+ },
+ "lint": {
+ "reflinks": true
+ }
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/index.js"
index 90b2ff713eac94b59298f5ca51a863a4c8d5ce1f..0930cf8890b9af66125c222c29d7bd75614ac6b4 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/index.js"
@@ -1,3 +1,90 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e02cb9714ef6e561e971fe400644330212f07ca86120587199470d8b759a4b7c
-size 2108
+/*
+object-assign
+(c) Sindre Sorhus
+@license MIT
+*/
+
+'use strict';
+/* eslint-disable no-unused-vars */
+var getOwnPropertySymbols = Object.getOwnPropertySymbols;
+var hasOwnProperty = Object.prototype.hasOwnProperty;
+var propIsEnumerable = Object.prototype.propertyIsEnumerable;
+
+function toObject(val) {
+ if (val === null || val === undefined) {
+ throw new TypeError('Object.assign cannot be called with null or undefined');
+ }
+
+ return Object(val);
+}
+
+function shouldUseNative() {
+ try {
+ if (!Object.assign) {
+ return false;
+ }
+
+ // Detect buggy property enumeration order in older V8 versions.
+
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
+ test1[5] = 'de';
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
+ return false;
+ }
+
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
+ var test2 = {};
+ for (var i = 0; i < 10; i++) {
+ test2['_' + String.fromCharCode(i)] = i;
+ }
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
+ return test2[n];
+ });
+ if (order2.join('') !== '0123456789') {
+ return false;
+ }
+
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
+ var test3 = {};
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
+ test3[letter] = letter;
+ });
+ if (Object.keys(Object.assign({}, test3)).join('') !==
+ 'abcdefghijklmnopqrst') {
+ return false;
+ }
+
+ return true;
+ } catch (err) {
+ // We don't expect any of the above to throw, but better to be safe.
+ return false;
+ }
+}
+
+module.exports = shouldUseNative() ? Object.assign : function (target, source) {
+ var from;
+ var to = toObject(target);
+ var symbols;
+
+ for (var s = 1; s < arguments.length; s++) {
+ from = Object(arguments[s]);
+
+ for (var key in from) {
+ if (hasOwnProperty.call(from, key)) {
+ to[key] = from[key];
+ }
+ }
+
+ if (getOwnPropertySymbols) {
+ symbols = getOwnPropertySymbols(from);
+ for (var i = 0; i < symbols.length; i++) {
+ if (propIsEnumerable.call(from, symbols[i])) {
+ to[symbols[i]] = from[symbols[i]];
+ }
+ }
+ }
+ }
+
+ return to;
+};
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/license" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/license"
index 1efe6cdeaaf7eff5c76ba10c3ff8b19cbbefcbd4..654d0bfe943437d43242325b1fbcff5f400d84ee 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/license"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/license"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6fb9754611c20f6649f68805e8c990e83261f29316e29de9e6cedae607b8634c
-size 1119
+The MIT License (MIT)
+
+Copyright (c) Sindre Sorhus (sindresorhus.com)
+
+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:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+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.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/package.json"
index 8e56a9ffed04f77a63f2026baa7f0ae845fb8557..503eb1e6d0f5a1404c8e7f6c09fbda7e40fd29b4 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/package.json"
@@ -1,3 +1,42 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5990bbffa235fc675debd925d50f6c3f48a2b4526d8c9f7555cadec9029d0d7f
-size 764
+{
+ "name": "object-assign",
+ "version": "4.1.1",
+ "description": "ES2015 `Object.assign()` ponyfill",
+ "license": "MIT",
+ "repository": "sindresorhus/object-assign",
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "xo && ava",
+ "bench": "matcha bench.js"
+ },
+ "files": [
+ "index.js"
+ ],
+ "keywords": [
+ "object",
+ "assign",
+ "extend",
+ "properties",
+ "es2015",
+ "ecmascript",
+ "harmony",
+ "ponyfill",
+ "prollyfill",
+ "polyfill",
+ "shim",
+ "browser"
+ ],
+ "devDependencies": {
+ "ava": "^0.16.0",
+ "lodash": "^4.16.4",
+ "matcha": "^0.7.0",
+ "xo": "^0.16.0"
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/readme.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/readme.md"
index d68a2c83334f388e7b8f9cc823524260634ee57d..1be09d35c776cc0e9cc59519c2de6b9eecf8aa68 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/readme.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/object-assign/readme.md"
@@ -1,3 +1,61 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3261c0b6a6fb04216942dcf3d71e57fe0be681c1a816b1a5941dac9f81cf862d
-size 1502
+# object-assign [](https://travis-ci.org/sindresorhus/object-assign)
+
+> ES2015 [`Object.assign()`](http://www.2ality.com/2014/01/object-assign.html) [ponyfill](https://ponyfill.com)
+
+
+## Use the built-in
+
+Node.js 4 and up, as well as every evergreen browser (Chrome, Edge, Firefox, Opera, Safari),
+support `Object.assign()` :tada:. If you target only those environments, then by all
+means, use `Object.assign()` instead of this package.
+
+
+## Install
+
+```
+$ npm install --save object-assign
+```
+
+
+## Usage
+
+```js
+const objectAssign = require('object-assign');
+
+objectAssign({foo: 0}, {bar: 1});
+//=> {foo: 0, bar: 1}
+
+// multiple sources
+objectAssign({foo: 0}, {bar: 1}, {baz: 2});
+//=> {foo: 0, bar: 1, baz: 2}
+
+// overwrites equal keys
+objectAssign({foo: 0}, {foo: 1}, {foo: 2});
+//=> {foo: 2}
+
+// ignores null and undefined sources
+objectAssign({foo: 0}, null, {bar: 1}, undefined);
+//=> {foo: 0, bar: 1}
+```
+
+
+## API
+
+### objectAssign(target, [source, ...])
+
+Assigns enumerable own properties of `source` objects to the `target` object and returns the `target` object. Additional `source` objects will overwrite previous ones.
+
+
+## Resources
+
+- [ES2015 spec - Object.assign](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign)
+
+
+## Related
+
+- [deep-assign](https://github.com/sindresorhus/deep-assign) - Recursive `Object.assign()`
+
+
+## License
+
+MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/LICENSE"
index 7b282d77693d3b2778ad4d20257c5956f302f130..19129e315fe593965a2fdd50ec0d1253bcbd2ece 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/LICENSE"
@@ -1,3 +1,15 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4ec3d4c66cd87f5c8d8ad911b10f99bf27cb00cdfcff82621956e379186b016b
-size 765
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter and Contributors
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/README.md"
index 40b561fbef8733f207ce807f92b5f437da2997cf..1f1ffca9330e3ceddd54106e1ba63322fc9751f8 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/README.md"
@@ -1,3 +1,79 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:43b6d72bb23aff98af3243ab7e8d23d9af339ec46cdbdc81ded537c9899fa650
-size 1772
+# once
+
+Only call a function once.
+
+## usage
+
+```javascript
+var once = require('once')
+
+function load (file, cb) {
+ cb = once(cb)
+ loader.load('file')
+ loader.once('load', cb)
+ loader.once('error', cb)
+}
+```
+
+Or add to the Function.prototype in a responsible way:
+
+```javascript
+// only has to be done once
+require('once').proto()
+
+function load (file, cb) {
+ cb = cb.once()
+ loader.load('file')
+ loader.once('load', cb)
+ loader.once('error', cb)
+}
+```
+
+Ironically, the prototype feature makes this module twice as
+complicated as necessary.
+
+To check whether you function has been called, use `fn.called`. Once the
+function is called for the first time the return value of the original
+function is saved in `fn.value` and subsequent calls will continue to
+return this value.
+
+```javascript
+var once = require('once')
+
+function load (cb) {
+ cb = once(cb)
+ var stream = createStream()
+ stream.once('data', cb)
+ stream.once('end', function () {
+ if (!cb.called) cb(new Error('not found'))
+ })
+}
+```
+
+## `once.strict(func)`
+
+Throw an error if the function is called twice.
+
+Some functions are expected to be called only once. Using `once` for them would
+potentially hide logical errors.
+
+In the example below, the `greet` function has to call the callback only once:
+
+```javascript
+function greet (name, cb) {
+ // return is missing from the if statement
+ // when no name is passed, the callback is called twice
+ if (!name) cb('Hello anonymous')
+ cb('Hello ' + name)
+}
+
+function log (msg) {
+ console.log(msg)
+}
+
+// this will print 'Hello anonymous' but the logical error will be missed
+greet(null, once(msg))
+
+// once.strict will print 'Hello anonymous' and throw an error when the callback will be called the second time
+greet(null, once.strict(msg))
+```
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/once.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/once.js"
index 615d63421ae502cb867a344363da71595090a13d..235406736d9d9485bbc0dd0820dd661110da7a4d 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/once.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/once.js"
@@ -1,3 +1,42 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3db73e347ecbdbafdf8d0db85145c877e133f5372e767360ef90c09f70ac5103
-size 935
+var wrappy = require('wrappy')
+module.exports = wrappy(once)
+module.exports.strict = wrappy(onceStrict)
+
+once.proto = once(function () {
+ Object.defineProperty(Function.prototype, 'once', {
+ value: function () {
+ return once(this)
+ },
+ configurable: true
+ })
+
+ Object.defineProperty(Function.prototype, 'onceStrict', {
+ value: function () {
+ return onceStrict(this)
+ },
+ configurable: true
+ })
+})
+
+function once (fn) {
+ var f = function () {
+ if (f.called) return f.value
+ f.called = true
+ return f.value = fn.apply(this, arguments)
+ }
+ f.called = false
+ return f
+}
+
+function onceStrict (fn) {
+ var f = function () {
+ if (f.called)
+ throw new Error(f.onceError)
+ f.called = true
+ return f.value = fn.apply(this, arguments)
+ }
+ var name = fn.name || 'Function wrapped with `once`'
+ f.onceError = name + " shouldn't be called more than once"
+ f.called = false
+ return f
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/package.json"
index b3c180a416cb7782826675c7c91fcc199a9aaa7d..16815b2fa111936c9681a1b76c5fce98421c1631 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/once/package.json"
@@ -1,3 +1,33 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:33840d74c14c94bfb75c76374765b635531b1eacb88d7f1f2f380c94d0ea1328
-size 574
+{
+ "name": "once",
+ "version": "1.4.0",
+ "description": "Run a function exactly one time",
+ "main": "once.js",
+ "directories": {
+ "test": "test"
+ },
+ "dependencies": {
+ "wrappy": "1"
+ },
+ "devDependencies": {
+ "tap": "^7.0.1"
+ },
+ "scripts": {
+ "test": "tap test/*.js"
+ },
+ "files": [
+ "once.js"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/isaacs/once"
+ },
+ "keywords": [
+ "once",
+ "function",
+ "one",
+ "single"
+ ],
+ "author": "Isaac Z. Schlueter (http://blog.izs.me/)",
+ "license": "ISC"
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/LICENSE"
index 8819a657b3dae1a5707bba13dac9d13ab39bc979..bde9654a67ad7a3734a5c70f1db5ed6c680f6ea5 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/LICENSE"
@@ -1,3 +1,22 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:26109c40bdf766c41c903f8e9899ee476aba1bb8e69bae9afea6759391a8cf44
-size 1145
+The MIT License (MIT)
+
+Copyright (c) 2018 Blaine Bublitz and Eric Schoffstall
+
+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:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+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.
+
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/README.md"
index a503ec3638fad8e3b2b8c0b16479c3f453a1d1ac..2bb35bfe60c7c52370ac524138df1d21b35bf686 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/README.md"
@@ -1,3 +1,51 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f446e9699625f22b9dea90b0d3598fe2de475f90a4690a618baf99797b411e87
-size 1891
+
+
+
+
+
+
+# parse-node-version
+
+[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Travis Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url]
+
+Turn node's process.version into something useful.
+
+## Usage
+
+```js
+var nodeVersion = require('parse-node-version')(process.version);
+
+console.log(
+ nodeVersion.major,
+ nodeVersion.minor,
+ nodeVersion.patch,
+ nodeVersion.pre,
+ nodeVersion.build
+);
+```
+
+## API
+
+### parseVersion(nodeVersionString)
+
+Takes a node version string (usually `process.version`) and returns an object with the `major`/`minor`/`patch` (which will all be numbers) and `pre`/`build` keys (which will always be a string). If the version doesn't contain any pre-release or build information, the properties will be returned as empty string.
+
+## License
+
+MIT
+
+[downloads-image]: http://img.shields.io/npm/dm/parse-node-version.svg
+[npm-url]: https://www.npmjs.com/package/parse-node-version
+[npm-image]: http://img.shields.io/npm/v/parse-node-version.svg
+
+[travis-url]: https://travis-ci.org/gulpjs/parse-node-version
+[travis-image]: http://img.shields.io/travis/gulpjs/parse-node-version.svg?label=travis-ci
+
+[appveyor-url]: https://ci.appveyor.com/project/gulpjs/parse-node-version
+[appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/parse-node-version.svg?label=appveyor
+
+[coveralls-url]: https://coveralls.io/r/gulpjs/parse-node-version
+[coveralls-image]: http://img.shields.io/coveralls/gulpjs/parse-node-version/master.svg
+
+[gitter-url]: https://gitter.im/gulpjs/gulp
+[gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/index.js"
index 31efc02e736051fefe605448a4638b24e6467f5b..87fc764d546b28e9d8feb705f06a4e8177860551 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/index.js"
@@ -1,3 +1,20 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:859b9040f102bbbb15f04e46daaa5bdba2522081b451cc623bed807f89ba491a
-size 497
+'use strict';
+
+function parseNodeVersion(version) {
+ var match = version.match(/^v(\d{1,2})\.(\d{1,2})\.(\d{1,2})(?:-([0-9A-Za-z-.]+))?(?:\+([0-9A-Za-z-.]+))?$/); // eslint-disable-line max-len
+ if (!match) {
+ throw new Error('Unable to parse: ' + version);
+ }
+
+ var res = {
+ major: parseInt(match[1], 10),
+ minor: parseInt(match[2], 10),
+ patch: parseInt(match[3], 10),
+ pre: match[4] || '',
+ build: match[5] || '',
+ };
+
+ return res;
+}
+
+module.exports = parseNodeVersion;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/package.json"
index 176918039c733818d138054a399d06fb96dfcfd4..f4124e22fc5fd8daf601b69150003ecdc805b59c 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/parse-node-version/package.json"
@@ -1,3 +1,40 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:81860a9d814af7b30b2941b9041ad2aca2a95d2be9466b0d555c316427171dd1
-size 966
+{
+ "name": "parse-node-version",
+ "version": "1.0.1",
+ "description": "Turn node's process.version into something useful.",
+ "author": "Gulp Team (http://gulpjs.com/)",
+ "contributors": [
+ "Blaine Bublitz "
+ ],
+ "repository": "gulpjs/parse-node-version",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.10"
+ },
+ "main": "index.js",
+ "files": [
+ "LICENSE",
+ "index.js"
+ ],
+ "scripts": {
+ "lint": "eslint .",
+ "pretest": "npm run lint",
+ "test": "mocha --async-only",
+ "cover": "istanbul cover _mocha --report lcovonly",
+ "coveralls": "npm run cover && istanbul-coveralls"
+ },
+ "dependencies": {},
+ "devDependencies": {
+ "eslint": "^2.13.0",
+ "eslint-config-gulp": "^3.0.1",
+ "expect": "^1.20.2",
+ "istanbul": "^0.4.3",
+ "istanbul-coveralls": "^1.0.3",
+ "mocha": "^3.5.3"
+ },
+ "keywords": [
+ "process.version",
+ "node version",
+ "version parse"
+ ]
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/.github/FUNDING.yml" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/.github/FUNDING.yml"
index 3ae10679fb9545d1eea58ccfbcdac3e0c944dca2..a163f0e4c7269b3c229daeb5b60626cfe6257565 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/.github/FUNDING.yml"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/.github/FUNDING.yml"
@@ -1,3 +1,12 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6c205f1930c3910bb94a7ea67ed8738a72ed3db5d0ef39832d65585ee0bd3482
-size 655
+# These are supported funding model platforms
+
+github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
+patreon: # Replace with a single Patreon username
+open_collective: # Replace with a single Open Collective username
+ko_fi: # Replace with a single Ko-fi username
+tidelift: npm/path-browserify
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
+liberapay: # Replace with a single Liberapay username
+issuehunt: # Replace with a single IssueHunt username
+otechie: # Replace with a single Otechie username
+custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/.travis.yml" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/.travis.yml"
index d47986289a31cce95bca8cfc950a6d362e066b0e..b14ef45bbdfb70fcf5b808c92f3c8b6fbc35ff6a 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/.travis.yml"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/.travis.yml"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:811875cafb5bb67a0bad1258809df9c6daef521b1ff899c686884456e68e823c
-size 371
+language: node_js
+sudo: false
+node_js:
+ - "10"
+ - "9"
+ - "8"
+ - "6"
+ - "4"
+ - "iojs"
+ - "0.12"
+ - "0.10"
+ - "0.8"
+before_install:
+ # Old npm certs are untrusted https://github.com/npm/npm/issues/20191
+ - 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ] || [ "${TRAVIS_NODE_VERSION}" = "0.8" ]; then export NPM_CONFIG_STRICT_SSL=false; fi'
+ - 'nvm install-latest-npm'
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/CHANGELOG.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/CHANGELOG.md"
index 6db8fc444edbecfd31639373698dc9099fab033b..957fb130e3c26bd8f80d2c6d3077628641316e49 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/CHANGELOG.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/CHANGELOG.md"
@@ -1,3 +1,20 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:19e8145610e9f27f7c7d95c39f1b0f674ea4dbeb0694be245494017d5a4a9b95
-size 616
+# path-browserify change log
+
+All notable changes to this project will be documented in this file.
+
+This project adheres to [Semantic Versioning](http://semver.org/).
+
+## 1.0.1
+* Fix a duplicate test name.
+* Tweak LICENSE text so Github can recognise it.
+* Tweak LICENSE text to include the year and author.
+* Add security policy file.
+
+## 1.0.0
+This release updates to the Node v10.3.0 API. **This change is breaking**,
+because path methods now throw errors when called with arguments that are not
+strings.
+
+* Add `path.parse` and `path.format`.
+* Add `path.posix` as an alias to `path`.
+* Port tests from Node.js.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/LICENSE"
index 0a2490eef26d17946f16419c102e9cf2d7031aa0..f52ee8c7249baebfc063b5284958105b199bc2c2 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/LICENSE"
@@ -1,3 +1,20 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a22b9d5763f574e5db347c30acc0b33eaf4846767c03d2e27d012e864e79a824
-size 1071
+MIT License
+
+Copyright (c) 2013 James Halliday
+
+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:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+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.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/README.md"
index 9d741d134995ae2d6a542f44e079782fb6f0d910..2f639c2477b348401c39d629dbb7215e4a057794 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/README.md"
@@ -1,3 +1,45 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:326adf55ce92562b49dfa7a7a7421e777164ec8491f1caab977e65c262fb1ff7
-size 2024
+# path-browserify [](https://travis-ci.org/browserify/path-browserify)
+
+> The `path` module from Node.js for browsers
+
+This implements the Node.js [`path`][path] module for environments that do not have it, like browsers.
+
+> `path-browserify` currently matches the **Node.js 10.3** API.
+
+## Install
+
+You usually do not have to install `path-browserify` yourself! If your code runs in Node.js, `path` is built in. If your code runs in the browser, bundlers like [browserify](https://github.com/browserify/browserify) or [webpack](https://github.com/webpack/webpack) include the `path-browserify` module by default.
+
+But if none of those apply, with npm do:
+
+```
+npm install path-browserify
+```
+
+## Usage
+
+```javascript
+var path = require('path')
+
+var filename = 'logo.png';
+var logo = path.join('./assets/img', filename);
+document.querySelector('#logo').src = logo;
+```
+
+## API
+
+See the [Node.js path docs][path]. `path-browserify` currently matches the Node.js 10.3 API.
+`path-browserify` only implements the POSIX functions, not the win32 ones.
+
+## Contributing
+
+PRs are very welcome! The main way to contribute to `path-browserify` is by porting features, bugfixes and tests from Node.js. Ideally, code contributions to this module are copy-pasted from Node.js and transpiled to ES5, rather than reimplemented from scratch. Matching the Node.js code as closely as possible makes maintenance simpler when new changes land in Node.js.
+This module intends to provide exactly the same API as Node.js, so features that are not available in the core `path` module will not be accepted. Feature requests should instead be directed at [nodejs/node](https://github.com/nodejs/node) and will be added to this module once they are implemented in Node.js.
+
+If there is a difference in behaviour between Node.js's `path` module and this module, please open an issue!
+
+## License
+
+[MIT](./LICENSE)
+
+[path]: https://nodejs.org/docs/v10.3.0/api/path.html
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/index.js"
index 0d9c52337342dbf7d797a1aa3542e48cad2031ac..24235288130acf35900f66f60c350d19583816e6 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/index.js"
@@ -1,3 +1,529 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f6d60f9e7cd83f65f947cda34ef846e82706c044d9a9fa7c5b69718b13b78e28
-size 16166
+// 'path' module extracted from Node.js v8.11.1 (only the posix part)
+// transplited with Babel
+
+// Copyright Joyent, Inc. and other Node contributors.
+//
+// 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:
+//
+// The above copyright notice and this permission notice shall be included
+// in all copies or substantial portions of the Software.
+//
+// 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.
+
+'use strict';
+
+function assertPath(path) {
+ if (typeof path !== 'string') {
+ throw new TypeError('Path must be a string. Received ' + JSON.stringify(path));
+ }
+}
+
+// Resolves . and .. elements in a path with directory names
+function normalizeStringPosix(path, allowAboveRoot) {
+ var res = '';
+ var lastSegmentLength = 0;
+ var lastSlash = -1;
+ var dots = 0;
+ var code;
+ for (var i = 0; i <= path.length; ++i) {
+ if (i < path.length)
+ code = path.charCodeAt(i);
+ else if (code === 47 /*/*/)
+ break;
+ else
+ code = 47 /*/*/;
+ if (code === 47 /*/*/) {
+ if (lastSlash === i - 1 || dots === 1) {
+ // NOOP
+ } else if (lastSlash !== i - 1 && dots === 2) {
+ if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== 46 /*.*/ || res.charCodeAt(res.length - 2) !== 46 /*.*/) {
+ if (res.length > 2) {
+ var lastSlashIndex = res.lastIndexOf('/');
+ if (lastSlashIndex !== res.length - 1) {
+ if (lastSlashIndex === -1) {
+ res = '';
+ lastSegmentLength = 0;
+ } else {
+ res = res.slice(0, lastSlashIndex);
+ lastSegmentLength = res.length - 1 - res.lastIndexOf('/');
+ }
+ lastSlash = i;
+ dots = 0;
+ continue;
+ }
+ } else if (res.length === 2 || res.length === 1) {
+ res = '';
+ lastSegmentLength = 0;
+ lastSlash = i;
+ dots = 0;
+ continue;
+ }
+ }
+ if (allowAboveRoot) {
+ if (res.length > 0)
+ res += '/..';
+ else
+ res = '..';
+ lastSegmentLength = 2;
+ }
+ } else {
+ if (res.length > 0)
+ res += '/' + path.slice(lastSlash + 1, i);
+ else
+ res = path.slice(lastSlash + 1, i);
+ lastSegmentLength = i - lastSlash - 1;
+ }
+ lastSlash = i;
+ dots = 0;
+ } else if (code === 46 /*.*/ && dots !== -1) {
+ ++dots;
+ } else {
+ dots = -1;
+ }
+ }
+ return res;
+}
+
+function _format(sep, pathObject) {
+ var dir = pathObject.dir || pathObject.root;
+ var base = pathObject.base || (pathObject.name || '') + (pathObject.ext || '');
+ if (!dir) {
+ return base;
+ }
+ if (dir === pathObject.root) {
+ return dir + base;
+ }
+ return dir + sep + base;
+}
+
+var posix = {
+ // path.resolve([from ...], to)
+ resolve: function resolve() {
+ var resolvedPath = '';
+ var resolvedAbsolute = false;
+ var cwd;
+
+ for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
+ var path;
+ if (i >= 0)
+ path = arguments[i];
+ else {
+ if (cwd === undefined)
+ cwd = process.cwd();
+ path = cwd;
+ }
+
+ assertPath(path);
+
+ // Skip empty entries
+ if (path.length === 0) {
+ continue;
+ }
+
+ resolvedPath = path + '/' + resolvedPath;
+ resolvedAbsolute = path.charCodeAt(0) === 47 /*/*/;
+ }
+
+ // At this point the path should be resolved to a full absolute path, but
+ // handle relative paths to be safe (might happen when process.cwd() fails)
+
+ // Normalize the path
+ resolvedPath = normalizeStringPosix(resolvedPath, !resolvedAbsolute);
+
+ if (resolvedAbsolute) {
+ if (resolvedPath.length > 0)
+ return '/' + resolvedPath;
+ else
+ return '/';
+ } else if (resolvedPath.length > 0) {
+ return resolvedPath;
+ } else {
+ return '.';
+ }
+ },
+
+ normalize: function normalize(path) {
+ assertPath(path);
+
+ if (path.length === 0) return '.';
+
+ var isAbsolute = path.charCodeAt(0) === 47 /*/*/;
+ var trailingSeparator = path.charCodeAt(path.length - 1) === 47 /*/*/;
+
+ // Normalize the path
+ path = normalizeStringPosix(path, !isAbsolute);
+
+ if (path.length === 0 && !isAbsolute) path = '.';
+ if (path.length > 0 && trailingSeparator) path += '/';
+
+ if (isAbsolute) return '/' + path;
+ return path;
+ },
+
+ isAbsolute: function isAbsolute(path) {
+ assertPath(path);
+ return path.length > 0 && path.charCodeAt(0) === 47 /*/*/;
+ },
+
+ join: function join() {
+ if (arguments.length === 0)
+ return '.';
+ var joined;
+ for (var i = 0; i < arguments.length; ++i) {
+ var arg = arguments[i];
+ assertPath(arg);
+ if (arg.length > 0) {
+ if (joined === undefined)
+ joined = arg;
+ else
+ joined += '/' + arg;
+ }
+ }
+ if (joined === undefined)
+ return '.';
+ return posix.normalize(joined);
+ },
+
+ relative: function relative(from, to) {
+ assertPath(from);
+ assertPath(to);
+
+ if (from === to) return '';
+
+ from = posix.resolve(from);
+ to = posix.resolve(to);
+
+ if (from === to) return '';
+
+ // Trim any leading backslashes
+ var fromStart = 1;
+ for (; fromStart < from.length; ++fromStart) {
+ if (from.charCodeAt(fromStart) !== 47 /*/*/)
+ break;
+ }
+ var fromEnd = from.length;
+ var fromLen = fromEnd - fromStart;
+
+ // Trim any leading backslashes
+ var toStart = 1;
+ for (; toStart < to.length; ++toStart) {
+ if (to.charCodeAt(toStart) !== 47 /*/*/)
+ break;
+ }
+ var toEnd = to.length;
+ var toLen = toEnd - toStart;
+
+ // Compare paths to find the longest common path from root
+ var length = fromLen < toLen ? fromLen : toLen;
+ var lastCommonSep = -1;
+ var i = 0;
+ for (; i <= length; ++i) {
+ if (i === length) {
+ if (toLen > length) {
+ if (to.charCodeAt(toStart + i) === 47 /*/*/) {
+ // We get here if `from` is the exact base path for `to`.
+ // For example: from='/foo/bar'; to='/foo/bar/baz'
+ return to.slice(toStart + i + 1);
+ } else if (i === 0) {
+ // We get here if `from` is the root
+ // For example: from='/'; to='/foo'
+ return to.slice(toStart + i);
+ }
+ } else if (fromLen > length) {
+ if (from.charCodeAt(fromStart + i) === 47 /*/*/) {
+ // We get here if `to` is the exact base path for `from`.
+ // For example: from='/foo/bar/baz'; to='/foo/bar'
+ lastCommonSep = i;
+ } else if (i === 0) {
+ // We get here if `to` is the root.
+ // For example: from='/foo'; to='/'
+ lastCommonSep = 0;
+ }
+ }
+ break;
+ }
+ var fromCode = from.charCodeAt(fromStart + i);
+ var toCode = to.charCodeAt(toStart + i);
+ if (fromCode !== toCode)
+ break;
+ else if (fromCode === 47 /*/*/)
+ lastCommonSep = i;
+ }
+
+ var out = '';
+ // Generate the relative path based on the path difference between `to`
+ // and `from`
+ for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {
+ if (i === fromEnd || from.charCodeAt(i) === 47 /*/*/) {
+ if (out.length === 0)
+ out += '..';
+ else
+ out += '/..';
+ }
+ }
+
+ // Lastly, append the rest of the destination (`to`) path that comes after
+ // the common path parts
+ if (out.length > 0)
+ return out + to.slice(toStart + lastCommonSep);
+ else {
+ toStart += lastCommonSep;
+ if (to.charCodeAt(toStart) === 47 /*/*/)
+ ++toStart;
+ return to.slice(toStart);
+ }
+ },
+
+ _makeLong: function _makeLong(path) {
+ return path;
+ },
+
+ dirname: function dirname(path) {
+ assertPath(path);
+ if (path.length === 0) return '.';
+ var code = path.charCodeAt(0);
+ var hasRoot = code === 47 /*/*/;
+ var end = -1;
+ var matchedSlash = true;
+ for (var i = path.length - 1; i >= 1; --i) {
+ code = path.charCodeAt(i);
+ if (code === 47 /*/*/) {
+ if (!matchedSlash) {
+ end = i;
+ break;
+ }
+ } else {
+ // We saw the first non-path separator
+ matchedSlash = false;
+ }
+ }
+
+ if (end === -1) return hasRoot ? '/' : '.';
+ if (hasRoot && end === 1) return '//';
+ return path.slice(0, end);
+ },
+
+ basename: function basename(path, ext) {
+ if (ext !== undefined && typeof ext !== 'string') throw new TypeError('"ext" argument must be a string');
+ assertPath(path);
+
+ var start = 0;
+ var end = -1;
+ var matchedSlash = true;
+ var i;
+
+ if (ext !== undefined && ext.length > 0 && ext.length <= path.length) {
+ if (ext.length === path.length && ext === path) return '';
+ var extIdx = ext.length - 1;
+ var firstNonSlashEnd = -1;
+ for (i = path.length - 1; i >= 0; --i) {
+ var code = path.charCodeAt(i);
+ if (code === 47 /*/*/) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ start = i + 1;
+ break;
+ }
+ } else {
+ if (firstNonSlashEnd === -1) {
+ // We saw the first non-path separator, remember this index in case
+ // we need it if the extension ends up not matching
+ matchedSlash = false;
+ firstNonSlashEnd = i + 1;
+ }
+ if (extIdx >= 0) {
+ // Try to match the explicit extension
+ if (code === ext.charCodeAt(extIdx)) {
+ if (--extIdx === -1) {
+ // We matched the extension, so mark this as the end of our path
+ // component
+ end = i;
+ }
+ } else {
+ // Extension does not match, so our result is the entire path
+ // component
+ extIdx = -1;
+ end = firstNonSlashEnd;
+ }
+ }
+ }
+ }
+
+ if (start === end) end = firstNonSlashEnd;else if (end === -1) end = path.length;
+ return path.slice(start, end);
+ } else {
+ for (i = path.length - 1; i >= 0; --i) {
+ if (path.charCodeAt(i) === 47 /*/*/) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ start = i + 1;
+ break;
+ }
+ } else if (end === -1) {
+ // We saw the first non-path separator, mark this as the end of our
+ // path component
+ matchedSlash = false;
+ end = i + 1;
+ }
+ }
+
+ if (end === -1) return '';
+ return path.slice(start, end);
+ }
+ },
+
+ extname: function extname(path) {
+ assertPath(path);
+ var startDot = -1;
+ var startPart = 0;
+ var end = -1;
+ var matchedSlash = true;
+ // Track the state of characters (if any) we see before our first dot and
+ // after any path separator we find
+ var preDotState = 0;
+ for (var i = path.length - 1; i >= 0; --i) {
+ var code = path.charCodeAt(i);
+ if (code === 47 /*/*/) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ startPart = i + 1;
+ break;
+ }
+ continue;
+ }
+ if (end === -1) {
+ // We saw the first non-path separator, mark this as the end of our
+ // extension
+ matchedSlash = false;
+ end = i + 1;
+ }
+ if (code === 46 /*.*/) {
+ // If this is our first dot, mark it as the start of our extension
+ if (startDot === -1)
+ startDot = i;
+ else if (preDotState !== 1)
+ preDotState = 1;
+ } else if (startDot !== -1) {
+ // We saw a non-dot and non-path separator before our dot, so we should
+ // have a good chance at having a non-empty extension
+ preDotState = -1;
+ }
+ }
+
+ if (startDot === -1 || end === -1 ||
+ // We saw a non-dot character immediately before the dot
+ preDotState === 0 ||
+ // The (right-most) trimmed path component is exactly '..'
+ preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
+ return '';
+ }
+ return path.slice(startDot, end);
+ },
+
+ format: function format(pathObject) {
+ if (pathObject === null || typeof pathObject !== 'object') {
+ throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof pathObject);
+ }
+ return _format('/', pathObject);
+ },
+
+ parse: function parse(path) {
+ assertPath(path);
+
+ var ret = { root: '', dir: '', base: '', ext: '', name: '' };
+ if (path.length === 0) return ret;
+ var code = path.charCodeAt(0);
+ var isAbsolute = code === 47 /*/*/;
+ var start;
+ if (isAbsolute) {
+ ret.root = '/';
+ start = 1;
+ } else {
+ start = 0;
+ }
+ var startDot = -1;
+ var startPart = 0;
+ var end = -1;
+ var matchedSlash = true;
+ var i = path.length - 1;
+
+ // Track the state of characters (if any) we see before our first dot and
+ // after any path separator we find
+ var preDotState = 0;
+
+ // Get non-dir info
+ for (; i >= start; --i) {
+ code = path.charCodeAt(i);
+ if (code === 47 /*/*/) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ startPart = i + 1;
+ break;
+ }
+ continue;
+ }
+ if (end === -1) {
+ // We saw the first non-path separator, mark this as the end of our
+ // extension
+ matchedSlash = false;
+ end = i + 1;
+ }
+ if (code === 46 /*.*/) {
+ // If this is our first dot, mark it as the start of our extension
+ if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;
+ } else if (startDot !== -1) {
+ // We saw a non-dot and non-path separator before our dot, so we should
+ // have a good chance at having a non-empty extension
+ preDotState = -1;
+ }
+ }
+
+ if (startDot === -1 || end === -1 ||
+ // We saw a non-dot character immediately before the dot
+ preDotState === 0 ||
+ // The (right-most) trimmed path component is exactly '..'
+ preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
+ if (end !== -1) {
+ if (startPart === 0 && isAbsolute) ret.base = ret.name = path.slice(1, end);else ret.base = ret.name = path.slice(startPart, end);
+ }
+ } else {
+ if (startPart === 0 && isAbsolute) {
+ ret.name = path.slice(1, startDot);
+ ret.base = path.slice(1, end);
+ } else {
+ ret.name = path.slice(startPart, startDot);
+ ret.base = path.slice(startPart, end);
+ }
+ ret.ext = path.slice(startDot, end);
+ }
+
+ if (startPart > 0) ret.dir = path.slice(0, startPart - 1);else if (isAbsolute) ret.dir = '/';
+
+ return ret;
+ },
+
+ sep: '/',
+ delimiter: ':',
+ win32: null,
+ posix: null
+};
+
+posix.posix = posix;
+
+module.exports = posix;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/package.json"
index 276ded4f51b73ba7c020a0e9973bef645237bafe..821e0cf4b392b86d2b3f2395a81ef8bc18af15c2 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/package.json"
@@ -1,3 +1,30 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8adb61e752398b45fbcf7bc35f254b74302622b100e49915a4905e74c97acb42
-size 650
+{
+ "name": "path-browserify",
+ "description": "the path module from node core for browsers",
+ "version": "1.0.1",
+ "author": {
+ "name": "James Halliday",
+ "email": "mail@substack.net",
+ "url": "http://substack.net"
+ },
+ "bugs": "https://github.com/browserify/path-browserify/issues",
+ "dependencies": {},
+ "devDependencies": {
+ "tape": "^4.9.0"
+ },
+ "homepage": "https://github.com/browserify/path-browserify",
+ "keywords": [
+ "browser",
+ "browserify",
+ "path"
+ ],
+ "license": "MIT",
+ "main": "index.js",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/browserify/path-browserify.git"
+ },
+ "scripts": {
+ "test": "node test"
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/security.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/security.md"
index 5f129448c4244851c96d35d04cad2a1c8b64a622..a14ace6a57db70992630a568df6a7bf57763d26b 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/security.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/security.md"
@@ -1,3 +1,10 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:612dfd309edc618a1c6e5fd0657b9dc902f70252234e0b19f160805bc5ae9767
-size 294
+# Security Policy
+
+## Supported Versions
+Only the latest major version is supported at any given time.
+
+## Reporting a Vulnerability
+
+To report a security vulnerability, please use the
+[Tidelift security contact](https://tidelift.com/security).
+Tidelift will coordinate the fix and disclosure.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/index.js"
index eea32d435075beec55906ad9ff54e1cadad8a3f5..a0fbe2bd10c6ba09b917f22e821f4df737d1a40b 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/index.js"
@@ -1,3 +1,9 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:223bbfe503d1379bf586c2fcccf90bbbfae695f6bcf671ac549591b027f38a9c
-size 294
+require('./test-path');
+require('./test-path-basename');
+require('./test-path-dirname');
+require('./test-path-extname');
+require('./test-path-isabsolute');
+require('./test-path-join');
+require('./test-path-relative');
+require('./test-path-resolve');
+require('./test-path-zero-length-strings');
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-basename.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-basename.js"
index 4030d35ba166b4a15e1a71bca1424a50c9821173..81fa1dcefdee3c9b2eb016607faa055aeb87db85 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-basename.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-basename.js"
@@ -1,3 +1,79 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:45768e41f96b2be5b9ae3d22f5834dfa1f31d419f4365430886ca8f0a31a6a52
-size 4068
+'use strict';
+var tape = require('tape');
+var path = require('../');
+
+tape('path.basename', function (t) {
+ t.strictEqual(path.basename(__filename), 'test-path-basename.js');
+ t.strictEqual(path.basename(__filename, '.js'), 'test-path-basename');
+ t.strictEqual(path.basename('.js', '.js'), '');
+ t.strictEqual(path.basename(''), '');
+ t.strictEqual(path.basename('/dir/basename.ext'), 'basename.ext');
+ t.strictEqual(path.basename('/basename.ext'), 'basename.ext');
+ t.strictEqual(path.basename('basename.ext'), 'basename.ext');
+ t.strictEqual(path.basename('basename.ext/'), 'basename.ext');
+ t.strictEqual(path.basename('basename.ext//'), 'basename.ext');
+ t.strictEqual(path.basename('aaa/bbb', '/bbb'), 'bbb');
+ t.strictEqual(path.basename('aaa/bbb', 'a/bbb'), 'bbb');
+ t.strictEqual(path.basename('aaa/bbb', 'bbb'), 'bbb');
+ t.strictEqual(path.basename('aaa/bbb//', 'bbb'), 'bbb');
+ t.strictEqual(path.basename('aaa/bbb', 'bb'), 'b');
+ t.strictEqual(path.basename('aaa/bbb', 'b'), 'bb');
+ t.strictEqual(path.basename('/aaa/bbb', '/bbb'), 'bbb');
+ t.strictEqual(path.basename('/aaa/bbb', 'a/bbb'), 'bbb');
+ t.strictEqual(path.basename('/aaa/bbb', 'bbb'), 'bbb');
+ t.strictEqual(path.basename('/aaa/bbb//', 'bbb'), 'bbb');
+ t.strictEqual(path.basename('/aaa/bbb', 'bb'), 'b');
+ t.strictEqual(path.basename('/aaa/bbb', 'b'), 'bb');
+ t.strictEqual(path.basename('/aaa/bbb'), 'bbb');
+ t.strictEqual(path.basename('/aaa/'), 'aaa');
+ t.strictEqual(path.basename('/aaa/b'), 'b');
+ t.strictEqual(path.basename('/a/b'), 'b');
+ t.strictEqual(path.basename('//a'), 'a');
+ t.end();
+})
+
+tape('path.win32.basename', { skip: true }, function (t) {
+ // On Windows a backslash acts as a path separator.
+ t.strictEqual(path.win32.basename('\\dir\\basename.ext'), 'basename.ext');
+ t.strictEqual(path.win32.basename('\\basename.ext'), 'basename.ext');
+ t.strictEqual(path.win32.basename('basename.ext'), 'basename.ext');
+ t.strictEqual(path.win32.basename('basename.ext\\'), 'basename.ext');
+ t.strictEqual(path.win32.basename('basename.ext\\\\'), 'basename.ext');
+ t.strictEqual(path.win32.basename('foo'), 'foo');
+ t.strictEqual(path.win32.basename('aaa\\bbb', '\\bbb'), 'bbb');
+ t.strictEqual(path.win32.basename('aaa\\bbb', 'a\\bbb'), 'bbb');
+ t.strictEqual(path.win32.basename('aaa\\bbb', 'bbb'), 'bbb');
+ t.strictEqual(path.win32.basename('aaa\\bbb\\\\\\\\', 'bbb'), 'bbb');
+ t.strictEqual(path.win32.basename('aaa\\bbb', 'bb'), 'b');
+ t.strictEqual(path.win32.basename('aaa\\bbb', 'b'), 'bb');
+ t.strictEqual(path.win32.basename('C:'), '');
+ t.strictEqual(path.win32.basename('C:.'), '.');
+ t.strictEqual(path.win32.basename('C:\\'), '');
+ t.strictEqual(path.win32.basename('C:\\dir\\base.ext'), 'base.ext');
+ t.strictEqual(path.win32.basename('C:\\basename.ext'), 'basename.ext');
+ t.strictEqual(path.win32.basename('C:basename.ext'), 'basename.ext');
+ t.strictEqual(path.win32.basename('C:basename.ext\\'), 'basename.ext');
+ t.strictEqual(path.win32.basename('C:basename.ext\\\\'), 'basename.ext');
+ t.strictEqual(path.win32.basename('C:foo'), 'foo');
+ t.strictEqual(path.win32.basename('file:stream'), 'file:stream');
+ t.end();
+});
+
+tape('On unix a backslash is just treated as any other character.', function (t) {
+ t.strictEqual(path.posix.basename('\\dir\\basename.ext'),
+ '\\dir\\basename.ext');
+ t.strictEqual(path.posix.basename('\\basename.ext'), '\\basename.ext');
+ t.strictEqual(path.posix.basename('basename.ext'), 'basename.ext');
+ t.strictEqual(path.posix.basename('basename.ext\\'), 'basename.ext\\');
+ t.strictEqual(path.posix.basename('basename.ext\\\\'), 'basename.ext\\\\');
+ t.strictEqual(path.posix.basename('foo'), 'foo');
+ t.end();
+});
+
+tape('POSIX filenames may include control characters', function (t) {
+ // c.f. http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html
+ var controlCharFilename = "Icon" + (String.fromCharCode(13));
+ t.strictEqual(path.posix.basename(("/a/b/" + controlCharFilename)),
+ controlCharFilename);
+ t.end();
+});
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-dirname.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-dirname.js"
index 59283254a0e8eee3a78b0c324c536a951a46c973..c775071aad620546a7de955be6514c944fe8a58a 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-dirname.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-dirname.js"
@@ -1,3 +1,58 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ac370524213d123f1927d7f7939b3dc83febcf1c9a2191adbf8f56363acca59b
-size 2730
+'use strict';
+var tape = require('tape');
+var path = require('../');
+
+tape('path.posix.dirname', function (t) {
+ t.strictEqual(path.posix.dirname('/a/b/'), '/a');
+ t.strictEqual(path.posix.dirname('/a/b'), '/a');
+ t.strictEqual(path.posix.dirname('/a'), '/');
+ t.strictEqual(path.posix.dirname(''), '.');
+ t.strictEqual(path.posix.dirname('/'), '/');
+ t.strictEqual(path.posix.dirname('////'), '/');
+ t.strictEqual(path.posix.dirname('//a'), '//');
+ t.strictEqual(path.posix.dirname('foo'), '.');
+ t.end();
+});
+
+tape('path.win32.dirname', { skip: true }, function (t) {
+ t.strictEqual(path.win32.dirname('c:\\'), 'c:\\');
+ t.strictEqual(path.win32.dirname('c:\\foo'), 'c:\\');
+ t.strictEqual(path.win32.dirname('c:\\foo\\'), 'c:\\');
+ t.strictEqual(path.win32.dirname('c:\\foo\\bar'), 'c:\\foo');
+ t.strictEqual(path.win32.dirname('c:\\foo\\bar\\'), 'c:\\foo');
+ t.strictEqual(path.win32.dirname('c:\\foo\\bar\\baz'), 'c:\\foo\\bar');
+ t.strictEqual(path.win32.dirname('\\'), '\\');
+ t.strictEqual(path.win32.dirname('\\foo'), '\\');
+ t.strictEqual(path.win32.dirname('\\foo\\'), '\\');
+ t.strictEqual(path.win32.dirname('\\foo\\bar'), '\\foo');
+ t.strictEqual(path.win32.dirname('\\foo\\bar\\'), '\\foo');
+ t.strictEqual(path.win32.dirname('\\foo\\bar\\baz'), '\\foo\\bar');
+ t.strictEqual(path.win32.dirname('c:'), 'c:');
+ t.strictEqual(path.win32.dirname('c:foo'), 'c:');
+ t.strictEqual(path.win32.dirname('c:foo\\'), 'c:');
+ t.strictEqual(path.win32.dirname('c:foo\\bar'), 'c:foo');
+ t.strictEqual(path.win32.dirname('c:foo\\bar\\'), 'c:foo');
+ t.strictEqual(path.win32.dirname('c:foo\\bar\\baz'), 'c:foo\\bar');
+ t.strictEqual(path.win32.dirname('file:stream'), '.');
+ t.strictEqual(path.win32.dirname('dir\\file:stream'), 'dir');
+ t.strictEqual(path.win32.dirname('\\\\unc\\share'),
+ '\\\\unc\\share');
+ t.strictEqual(path.win32.dirname('\\\\unc\\share\\foo'),
+ '\\\\unc\\share\\');
+ t.strictEqual(path.win32.dirname('\\\\unc\\share\\foo\\'),
+ '\\\\unc\\share\\');
+ t.strictEqual(path.win32.dirname('\\\\unc\\share\\foo\\bar'),
+ '\\\\unc\\share\\foo');
+ t.strictEqual(path.win32.dirname('\\\\unc\\share\\foo\\bar\\'),
+ '\\\\unc\\share\\foo');
+ t.strictEqual(path.win32.dirname('\\\\unc\\share\\foo\\bar\\baz'),
+ '\\\\unc\\share\\foo\\bar');
+ t.strictEqual(path.win32.dirname('/a/b/'), '/a');
+ t.strictEqual(path.win32.dirname('/a/b'), '/a');
+ t.strictEqual(path.win32.dirname('/a'), '/');
+ t.strictEqual(path.win32.dirname(''), '.');
+ t.strictEqual(path.win32.dirname('/'), '/');
+ t.strictEqual(path.win32.dirname('////'), '/');
+ t.strictEqual(path.win32.dirname('foo'), '.');
+ t.end();
+});
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-extname.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-extname.js"
index 19bdcda44eee70d9c1759e0919183c09ebc3d391..dab29d8a024186790c0d1faf94972009eb08f11f 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-extname.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-extname.js"
@@ -1,3 +1,96 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:47f66dd7bf44306d5e53240c753a024812f831c352b098482c469bf3c9c773e5
-size 2701
+'use strict';
+var tape = require('tape');
+var path = require('../');
+
+var slashRE = /\//g;
+
+var pairs = [
+ [__filename, '.js'],
+ ['', ''],
+ ['/path/to/file', ''],
+ ['/path/to/file.ext', '.ext'],
+ ['/path.to/file.ext', '.ext'],
+ ['/path.to/file', ''],
+ ['/path.to/.file', ''],
+ ['/path.to/.file.ext', '.ext'],
+ ['/path/to/f.ext', '.ext'],
+ ['/path/to/..ext', '.ext'],
+ ['/path/to/..', ''],
+ ['file', ''],
+ ['file.ext', '.ext'],
+ ['.file', ''],
+ ['.file.ext', '.ext'],
+ ['/file', ''],
+ ['/file.ext', '.ext'],
+ ['/.file', ''],
+ ['/.file.ext', '.ext'],
+ ['.path/file.ext', '.ext'],
+ ['file.ext.ext', '.ext'],
+ ['file.', '.'],
+ ['.', ''],
+ ['./', ''],
+ ['.file.ext', '.ext'],
+ ['.file', ''],
+ ['.file.', '.'],
+ ['.file..', '.'],
+ ['..', ''],
+ ['../', ''],
+ ['..file.ext', '.ext'],
+ ['..file', '.file'],
+ ['..file.', '.'],
+ ['..file..', '.'],
+ ['...', '.'],
+ ['...ext', '.ext'],
+ ['....', '.'],
+ ['file.ext/', '.ext'],
+ ['file.ext//', '.ext'],
+ ['file/', ''],
+ ['file//', ''],
+ ['file./', '.'],
+ ['file.//', '.'] ];
+
+tape('path.posix.extname', function (t) {
+ pairs.forEach(function (p) {
+ var input = p[0];
+ var expected = p[1];
+ t.strictEqual(expected, path.posix.extname(input));
+ });
+ t.end();
+});
+
+tape('path.win32.extname', { skip: true }, function (t) {
+ pairs.forEach(function (p) {
+ var input = p[0].replace(slashRE, '\\');
+ var expected = p[1];
+ t.strictEqual(expected, path.win32.extname(input));
+ t.strictEqual(expected, path.win32.extname("C:" + input));
+ });
+ t.end();
+});
+
+tape('path.win32.extname backslash', { skip: true }, function (t) {
+ // On Windows, backslash is a path separator.
+ t.strictEqual(path.win32.extname('.\\'), '');
+ t.strictEqual(path.win32.extname('..\\'), '');
+ t.strictEqual(path.win32.extname('file.ext\\'), '.ext');
+ t.strictEqual(path.win32.extname('file.ext\\\\'), '.ext');
+ t.strictEqual(path.win32.extname('file\\'), '');
+ t.strictEqual(path.win32.extname('file\\\\'), '');
+ t.strictEqual(path.win32.extname('file.\\'), '.');
+ t.strictEqual(path.win32.extname('file.\\\\'), '.');
+ t.end();
+});
+
+tape('path.posix.extname backslash', function (t) {
+ // On *nix, backslash is a valid name component like any other character.
+ t.strictEqual(path.posix.extname('.\\'), '');
+ t.strictEqual(path.posix.extname('..\\'), '.\\');
+ t.strictEqual(path.posix.extname('file.ext\\'), '.ext\\');
+ t.strictEqual(path.posix.extname('file.ext\\\\'), '.ext\\\\');
+ t.strictEqual(path.posix.extname('file\\'), '');
+ t.strictEqual(path.posix.extname('file\\\\'), '');
+ t.strictEqual(path.posix.extname('file.\\'), '.\\');
+ t.strictEqual(path.posix.extname('file.\\\\'), '.\\\\');
+ t.end();
+});
+
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-isabsolute.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-isabsolute.js"
index 5ac631b2b22f00618fb543789144c574d2748248..f7fe9e33d2001c921e81f7bb2b1ac85c16efec71 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-isabsolute.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-isabsolute.js"
@@ -1,3 +1,33 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7a90ca603200e1766c76a630840b4d46d3a06124e42fc734e40b9887c439fd1c
-size 1499
+'use strict';
+var tape = require('tape');
+var path = require('../');
+
+tape('path.win32.isAbsolute', { skip: true }, function (t) {
+ t.strictEqual(path.win32.isAbsolute('/'), true);
+ t.strictEqual(path.win32.isAbsolute('//'), true);
+ t.strictEqual(path.win32.isAbsolute('//server'), true);
+ t.strictEqual(path.win32.isAbsolute('//server/file'), true);
+ t.strictEqual(path.win32.isAbsolute('\\\\server\\file'), true);
+ t.strictEqual(path.win32.isAbsolute('\\\\server'), true);
+ t.strictEqual(path.win32.isAbsolute('\\\\'), true);
+ t.strictEqual(path.win32.isAbsolute('c'), false);
+ t.strictEqual(path.win32.isAbsolute('c:'), false);
+ t.strictEqual(path.win32.isAbsolute('c:\\'), true);
+ t.strictEqual(path.win32.isAbsolute('c:/'), true);
+ t.strictEqual(path.win32.isAbsolute('c://'), true);
+ t.strictEqual(path.win32.isAbsolute('C:/Users/'), true);
+ t.strictEqual(path.win32.isAbsolute('C:\\Users\\'), true);
+ t.strictEqual(path.win32.isAbsolute('C:cwd/another'), false);
+ t.strictEqual(path.win32.isAbsolute('C:cwd\\another'), false);
+ t.strictEqual(path.win32.isAbsolute('directory/directory'), false);
+ t.strictEqual(path.win32.isAbsolute('directory\\directory'), false);
+ t.end();
+});
+
+tape('path.posix.isAbsolute', function (t) {
+ t.strictEqual(path.posix.isAbsolute('/home/foo'), true);
+ t.strictEqual(path.posix.isAbsolute('/home/foo/..'), true);
+ t.strictEqual(path.posix.isAbsolute('bar/'), false);
+ t.strictEqual(path.posix.isAbsolute('./baz'), false);
+ t.end();
+});
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-join.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-join.js"
index d64ca4c5f513f8b2e25bde6d8a50ba81cee243f3..086e4a97a22e1eca0ab54c27f41dd4730665ead5 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-join.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-join.js"
@@ -1,3 +1,126 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4e8c1d01f4f158a701c278171f7446eaf0b5017a282fdfe2ea2575798a071a75
-size 4251
+'use strict';
+var tape = require('tape');
+var path = require('../');
+
+var backslashRE = /\\/g;
+
+var joinTests =
+ // arguments result
+ [[['.', 'x/b', '..', '/b/c.js'], 'x/b/c.js'],
+ [[], '.'],
+ [['/.', 'x/b', '..', '/b/c.js'], '/x/b/c.js'],
+ [['/foo', '../../../bar'], '/bar'],
+ [['foo', '../../../bar'], '../../bar'],
+ [['foo/', '../../../bar'], '../../bar'],
+ [['foo/x', '../../../bar'], '../bar'],
+ [['foo/x', './bar'], 'foo/x/bar'],
+ [['foo/x/', './bar'], 'foo/x/bar'],
+ [['foo/x/', '.', 'bar'], 'foo/x/bar'],
+ [['./'], './'],
+ [['.', './'], './'],
+ [['.', '.', '.'], '.'],
+ [['.', './', '.'], '.'],
+ [['.', '/./', '.'], '.'],
+ [['.', '/////./', '.'], '.'],
+ [['.'], '.'],
+ [['', '.'], '.'],
+ [['', 'foo'], 'foo'],
+ [['foo', '/bar'], 'foo/bar'],
+ [['', '/foo'], '/foo'],
+ [['', '', '/foo'], '/foo'],
+ [['', '', 'foo'], 'foo'],
+ [['foo', ''], 'foo'],
+ [['foo/', ''], 'foo/'],
+ [['foo', '', '/bar'], 'foo/bar'],
+ [['./', '..', '/foo'], '../foo'],
+ [['./', '..', '..', '/foo'], '../../foo'],
+ [['.', '..', '..', '/foo'], '../../foo'],
+ [['', '..', '..', '/foo'], '../../foo'],
+ [['/'], '/'],
+ [['/', '.'], '/'],
+ [['/', '..'], '/'],
+ [['/', '..', '..'], '/'],
+ [[''], '.'],
+ [['', ''], '.'],
+ [[' /foo'], ' /foo'],
+ [[' ', 'foo'], ' /foo'],
+ [[' ', '.'], ' '],
+ [[' ', '/'], ' /'],
+ [[' ', ''], ' '],
+ [['/', 'foo'], '/foo'],
+ [['/', '/foo'], '/foo'],
+ [['/', '//foo'], '/foo'],
+ [['/', '', '/foo'], '/foo'],
+ [['', '/', 'foo'], '/foo'],
+ [['', '/', '/foo'], '/foo']
+ ];
+
+// Windows-specific join tests
+var windowsJoinTests =
+ [// arguments result
+ // UNC path expected
+ [['//foo/bar'], '\\\\foo\\bar\\'],
+ [['\\/foo/bar'], '\\\\foo\\bar\\'],
+ [['\\\\foo/bar'], '\\\\foo\\bar\\'],
+ // UNC path expected - server and share separate
+ [['//foo', 'bar'], '\\\\foo\\bar\\'],
+ [['//foo/', 'bar'], '\\\\foo\\bar\\'],
+ [['//foo', '/bar'], '\\\\foo\\bar\\'],
+ // UNC path expected - questionable
+ [['//foo', '', 'bar'], '\\\\foo\\bar\\'],
+ [['//foo/', '', 'bar'], '\\\\foo\\bar\\'],
+ [['//foo/', '', '/bar'], '\\\\foo\\bar\\'],
+ // UNC path expected - even more questionable
+ [['', '//foo', 'bar'], '\\\\foo\\bar\\'],
+ [['', '//foo/', 'bar'], '\\\\foo\\bar\\'],
+ [['', '//foo/', '/bar'], '\\\\foo\\bar\\'],
+ // No UNC path expected (no double slash in first component)
+ [['\\', 'foo/bar'], '\\foo\\bar'],
+ [['\\', '/foo/bar'], '\\foo\\bar'],
+ [['', '/', '/foo/bar'], '\\foo\\bar'],
+ // No UNC path expected (no non-slashes in first component -
+ // questionable)
+ [['//', 'foo/bar'], '\\foo\\bar'],
+ [['//', '/foo/bar'], '\\foo\\bar'],
+ [['\\\\', '/', '/foo/bar'], '\\foo\\bar'],
+ [['//'], '/'],
+ // No UNC path expected (share name missing - questionable).
+ [['//foo'], '\\foo'],
+ [['//foo/'], '\\foo\\'],
+ [['//foo', '/'], '\\foo\\'],
+ [['//foo', '', '/'], '\\foo\\'],
+ // No UNC path expected (too many leading slashes - questionable)
+ [['///foo/bar'], '\\foo\\bar'],
+ [['////foo', 'bar'], '\\foo\\bar'],
+ [['\\\\\\/foo/bar'], '\\foo\\bar'],
+ // Drive-relative vs drive-absolute paths. This merely describes the
+ // status quo, rather than being obviously right
+ [['c:'], 'c:.'],
+ [['c:.'], 'c:.'],
+ [['c:', ''], 'c:.'],
+ [['', 'c:'], 'c:.'],
+ [['c:.', '/'], 'c:.\\'],
+ [['c:.', 'file'], 'c:file'],
+ [['c:', '/'], 'c:\\'],
+ [['c:', 'file'], 'c:\\file']
+ ];
+
+tape('path.posix.join', function (t) {
+ joinTests.forEach(function (p) {
+ var actual = path.posix.join.apply(null, p[0]);
+ t.strictEqual(actual, p[1]);
+ });
+ t.end();
+});
+
+tape('path.win32.join', { skip: true }, function (t) {
+ joinTests.forEach(function (p) {
+ var actual = path.win32.join.apply(null, p[0]).replace(backslashRE, '/');
+ t.strictEqual(actual, p[1]);
+ });
+ windowsJoinTests.forEach(function (p) {
+ var actual = path.win32.join.apply(null, p[0]);
+ t.strictEqual(actual, p[1]);
+ });
+ t.end();
+});
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-parse-format.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-parse-format.js"
index a13d8fa688edfca4eb63c9cfd5b23c84360fac97..aea48b2fbf0e8f6f0d63b273ae6674e62ccd5857 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-parse-format.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-parse-format.js"
@@ -1,3 +1,235 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:045d17ef499a9c0ad0ec98e2cb91c9753742133deedda79994f79e3822d6f5fc
-size 7458
+// Copyright Joyent, Inc. and other Node contributors.
+//
+// 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:
+//
+// The above copyright notice and this permission notice shall be included
+// in all copies or substantial portions of the Software.
+//
+// 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.
+
+'use strict';
+var tape = require('tape');
+var path = require('../');
+
+var winPaths = [
+ // [path, root]
+ ['C:\\path\\dir\\index.html', 'C:\\'],
+ ['C:\\another_path\\DIR\\1\\2\\33\\\\index', 'C:\\'],
+ ['another_path\\DIR with spaces\\1\\2\\33\\index', ''],
+ ['\\', '\\'],
+ ['\\foo\\C:', '\\'],
+ ['file', ''],
+ ['file:stream', ''],
+ ['.\\file', ''],
+ ['C:', 'C:'],
+ ['C:.', 'C:'],
+ ['C:..', 'C:'],
+ ['C:abc', 'C:'],
+ ['C:\\', 'C:\\'],
+ ['C:\\abc', 'C:\\' ],
+ ['', ''],
+
+ // unc
+ ['\\\\server\\share\\file_path', '\\\\server\\share\\'],
+ ['\\\\server two\\shared folder\\file path.zip',
+ '\\\\server two\\shared folder\\'],
+ ['\\\\teela\\admin$\\system32', '\\\\teela\\admin$\\'],
+ ['\\\\?\\UNC\\server\\share', '\\\\?\\UNC\\']
+];
+
+var winSpecialCaseParseTests = [
+ ['/foo/bar', { root: '/' }],
+];
+
+var winSpecialCaseFormatTests = [
+ [{ dir: 'some\\dir' }, 'some\\dir\\'],
+ [{ base: 'index.html' }, 'index.html'],
+ [{ root: 'C:\\' }, 'C:\\'],
+ [{ name: 'index', ext: '.html' }, 'index.html'],
+ [{ dir: 'some\\dir', name: 'index', ext: '.html' }, 'some\\dir\\index.html'],
+ [{ root: 'C:\\', name: 'index', ext: '.html' }, 'C:\\index.html'],
+ [{}, '']
+];
+
+var unixPaths = [
+ // [path, root]
+ ['/home/user/dir/file.txt', '/'],
+ ['/home/user/a dir/another File.zip', '/'],
+ ['/home/user/a dir//another&File.', '/'],
+ ['/home/user/a$$$dir//another File.zip', '/'],
+ ['user/dir/another File.zip', ''],
+ ['file', ''],
+ ['.\\file', ''],
+ ['./file', ''],
+ ['C:\\foo', ''],
+ ['/', '/'],
+ ['', ''],
+ ['.', ''],
+ ['..', ''],
+ ['/foo', '/'],
+ ['/foo.', '/'],
+ ['/foo.bar', '/'],
+ ['/.', '/'],
+ ['/.foo', '/'],
+ ['/.foo.bar', '/'],
+ ['/foo/bar.baz', '/']
+];
+
+var unixSpecialCaseFormatTests = [
+ [{ dir: 'some/dir' }, 'some/dir/'],
+ [{ base: 'index.html' }, 'index.html'],
+ [{ root: '/' }, '/'],
+ [{ name: 'index', ext: '.html' }, 'index.html'],
+ [{ dir: 'some/dir', name: 'index', ext: '.html' }, 'some/dir/index.html'],
+ [{ root: '/', name: 'index', ext: '.html' }, '/index.html'],
+ [{}, '']
+];
+
+var errors = [
+ { method: 'parse', input: [null], message: TypeError },
+ { method: 'parse', input: [{}], message: TypeError },
+ { method: 'parse', input: [true], message: TypeError },
+ { method: 'parse', input: [1], message: TypeError },
+ { method: 'parse', input: [], message: TypeError },
+ { method: 'format', input: [null], message: TypeError },
+ { method: 'format', input: [''], message: TypeError },
+ { method: 'format', input: [true], message: TypeError },
+ { method: 'format', input: [1], message: TypeError },
+];
+
+tape('path.win32.parse', { skip: true }, function (t) {
+ checkParseFormat(t, path.win32, winPaths);
+ checkSpecialCaseParseFormat(t, path.win32, winSpecialCaseParseTests);
+ t.end();
+});
+
+tape('path.posix.parse', function (t) {
+ checkParseFormat(t, path.posix, unixPaths);
+ t.end();
+});
+
+tape('path.win32.parse errors', { skip: true }, function (t) {
+ checkErrors(t, path.win32);
+ t.end();
+});
+
+tape('path.posix.parse errors', function (t) {
+ checkErrors(t, path.posix);
+ t.end();
+});
+
+tape('path.win32.format', { skip: true }, function (t) {
+ checkFormat(t, path.win32, winSpecialCaseFormatTests);
+ t.end();
+});
+
+tape('path.posix.format', function (t) {
+ checkFormat(t, path.posix, unixSpecialCaseFormatTests);
+ t.end();
+});
+
+// Test removal of trailing path separators
+var windowsTrailingTests =
+ [['.\\', { root: '', dir: '', base: '.', ext: '', name: '.' }],
+ ['\\\\', { root: '\\', dir: '\\', base: '', ext: '', name: '' }],
+ ['\\\\', { root: '\\', dir: '\\', base: '', ext: '', name: '' }],
+ ['c:\\foo\\\\\\',
+ { root: 'c:\\', dir: 'c:\\', base: 'foo', ext: '', name: 'foo' }],
+ ['D:\\foo\\\\\\bar.baz',
+ { root: 'D:\\',
+ dir: 'D:\\foo\\\\',
+ base: 'bar.baz',
+ ext: '.baz',
+ name: 'bar'
+ }
+ ]
+ ];
+var posixTrailingTests =
+ [['./', { root: '', dir: '', base: '.', ext: '', name: '.' }],
+ ['//', { root: '/', dir: '/', base: '', ext: '', name: '' }],
+ ['///', { root: '/', dir: '/', base: '', ext: '', name: '' }],
+ ['/foo///', { root: '/', dir: '/', base: 'foo', ext: '', name: 'foo' }],
+ ['/foo///bar.baz',
+ { root: '/', dir: '/foo//', base: 'bar.baz', ext: '.baz', name: 'bar' }
+ ]
+ ];
+
+tape('path.win32.parse trailing', { skip: true }, function (t) {
+ windowsTrailingTests.forEach(function (p) {
+ var actual = path.win32.parse(p[0]);
+ var expected = p[1];
+ t.deepEqual(actual, expected)
+ });
+ t.end();
+});
+
+tape('path.posix.parse trailing', function (t) {
+ posixTrailingTests.forEach(function (p) {
+ var actual = path.posix.parse(p[0]);
+ var expected = p[1];
+ t.deepEqual(actual, expected)
+ });
+ t.end();
+});
+
+function checkErrors(t, path) {
+ errors.forEach(function(errorCase) {
+ t.throws(function () {
+ path[errorCase.method].apply(path, errorCase.input);
+ }, errorCase.message);
+ });
+}
+
+function checkParseFormat(t, path, paths) {
+ paths.forEach(function(p) {
+ var element = p[0];
+ var root = p[1];
+ var output = path.parse(element);
+ t.strictEqual(typeof output.root, 'string');
+ t.strictEqual(typeof output.dir, 'string');
+ t.strictEqual(typeof output.base, 'string');
+ t.strictEqual(typeof output.ext, 'string');
+ t.strictEqual(typeof output.name, 'string');
+ t.strictEqual(path.format(output), element);
+ t.strictEqual(output.root, root);
+ t.ok(output.dir.startsWith(output.root));
+ t.strictEqual(output.dir, output.dir ? path.dirname(element) : '');
+ t.strictEqual(output.base, path.basename(element));
+ t.strictEqual(output.ext, path.extname(element));
+ });
+}
+
+function checkSpecialCaseParseFormat(t, path, testCases) {
+ testCases.forEach(function(testCase) {
+ var element = testCase[0];
+ var expect = testCase[1];
+ var output = path.parse(element);
+ Object.keys(expect).forEach(function(key) {
+ t.strictEqual(output[key], expect[key]);
+ });
+ });
+}
+
+function checkFormat(t, path, testCases) {
+ testCases.forEach(function(testCase) {
+ t.strictEqual(path.format(testCase[0]), testCase[1]);
+ });
+
+ [null, undefined, 1, true, false, 'string'].forEach(function (pathObject) {
+ t.throws(function() {
+ path.format(pathObject);
+ }, /The "pathObject" argument must be of type Object. Received type (\w+)/);
+ });
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-relative.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-relative.js"
index 70a53f6ceca671e83e980b4d62721435e3e2743a..44841f679c1040f1b50574dea47c59ac0af997a2 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-relative.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-relative.js"
@@ -1,3 +1,66 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:418d722f2f98f7625c7facb3ecd41dbe503f2b28ec4b1ce931c6cfd1f212ecbc
-size 2503
+'use strict';
+var tape = require('tape');
+var path = require('../');
+
+var relativeTests = {
+ win32:
+ // arguments result
+ [['c:/blah\\blah', 'd:/games', 'd:\\games'],
+ ['c:/aaaa/bbbb', 'c:/aaaa', '..'],
+ ['c:/aaaa/bbbb', 'c:/cccc', '..\\..\\cccc'],
+ ['c:/aaaa/bbbb', 'c:/aaaa/bbbb', ''],
+ ['c:/aaaa/bbbb', 'c:/aaaa/cccc', '..\\cccc'],
+ ['c:/aaaa/', 'c:/aaaa/cccc', 'cccc'],
+ ['c:/', 'c:\\aaaa\\bbbb', 'aaaa\\bbbb'],
+ ['c:/aaaa/bbbb', 'd:\\', 'd:\\'],
+ ['c:/AaAa/bbbb', 'c:/aaaa/bbbb', ''],
+ ['c:/aaaaa/', 'c:/aaaa/cccc', '..\\aaaa\\cccc'],
+ ['C:\\foo\\bar\\baz\\quux', 'C:\\', '..\\..\\..\\..'],
+ ['C:\\foo\\test', 'C:\\foo\\test\\bar\\package.json', 'bar\\package.json'],
+ ['C:\\foo\\bar\\baz-quux', 'C:\\foo\\bar\\baz', '..\\baz'],
+ ['C:\\foo\\bar\\baz', 'C:\\foo\\bar\\baz-quux', '..\\baz-quux'],
+ ['\\\\foo\\bar', '\\\\foo\\bar\\baz', 'baz'],
+ ['\\\\foo\\bar\\baz', '\\\\foo\\bar', '..'],
+ ['\\\\foo\\bar\\baz-quux', '\\\\foo\\bar\\baz', '..\\baz'],
+ ['\\\\foo\\bar\\baz', '\\\\foo\\bar\\baz-quux', '..\\baz-quux'],
+ ['C:\\baz-quux', 'C:\\baz', '..\\baz'],
+ ['C:\\baz', 'C:\\baz-quux', '..\\baz-quux'],
+ ['\\\\foo\\baz-quux', '\\\\foo\\baz', '..\\baz'],
+ ['\\\\foo\\baz', '\\\\foo\\baz-quux', '..\\baz-quux'],
+ ['C:\\baz', '\\\\foo\\bar\\baz', '\\\\foo\\bar\\baz'],
+ ['\\\\foo\\bar\\baz', 'C:\\baz', 'C:\\baz']
+ ],
+ posix:
+ // arguments result
+ [['/var/lib', '/var', '..'],
+ ['/var/lib', '/bin', '../../bin'],
+ ['/var/lib', '/var/lib', ''],
+ ['/var/lib', '/var/apache', '../apache'],
+ ['/var/', '/var/lib', 'lib'],
+ ['/', '/var/lib', 'var/lib'],
+ ['/foo/test', '/foo/test/bar/package.json', 'bar/package.json'],
+ ['/Users/a/web/b/test/mails', '/Users/a/web/b', '../..'],
+ ['/foo/bar/baz-quux', '/foo/bar/baz', '../baz'],
+ ['/foo/bar/baz', '/foo/bar/baz-quux', '../baz-quux'],
+ ['/baz-quux', '/baz', '../baz'],
+ ['/baz', '/baz-quux', '../baz-quux']
+ ]
+};
+
+tape('path.posix.relative', function (t) {
+ relativeTests.posix.forEach(function (p) {
+ var expected = p[2];
+ var actual = path.posix.relative(p[0], p[1]);
+ t.strictEqual(actual, expected);
+ });
+ t.end();
+});
+
+tape('path.win32.relative', { skip: true }, function (t) {
+ relativeTests.win32.forEach(function (p) {
+ var expected = p[2];
+ var actual = path.win32.relative(p[0], p[1]);
+ t.strictEqual(actual, expected);
+ });
+ t.end();
+});
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-resolve.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-resolve.js"
index 4ad09bd62290e09c7539bc17b1ea3b75d8ea89e5..520fdb8c0ce0682a2b2359149733ab07ce0b313e 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-resolve.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-resolve.js"
@@ -1,3 +1,45 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:75c4a8d71f00ab033e28eb97e528490e10e497854d814bb815a6d4ca34d6a8c0
-size 1596
+'use strict';
+var tape = require('tape');
+var path = require('../');
+
+var windowsTests =
+ // arguments result
+ [[['c:/blah\\blah', 'd:/games', 'c:../a'], 'c:\\blah\\a'],
+ [['c:/ignore', 'd:\\a/b\\c/d', '\\e.exe'], 'd:\\e.exe'],
+ [['c:/ignore', 'c:/some/file'], 'c:\\some\\file'],
+ [['d:/ignore', 'd:some/dir//'], 'd:\\ignore\\some\\dir'],
+ [['.'], process.cwd()],
+ [['//server/share', '..', 'relative\\'], '\\\\server\\share\\relative'],
+ [['c:/', '//'], 'c:\\'],
+ [['c:/', '//dir'], 'c:\\dir'],
+ [['c:/', '//server/share'], '\\\\server\\share\\'],
+ [['c:/', '//server//share'], '\\\\server\\share\\'],
+ [['c:/', '///some//dir'], 'c:\\some\\dir'],
+ [['C:\\foo\\tmp.3\\', '..\\tmp.3\\cycles\\root.js'],
+ 'C:\\foo\\tmp.3\\cycles\\root.js']
+ ];
+var posixTests =
+ // arguments result
+ [[['/var/lib', '../', 'file/'], '/var/file'],
+ [['/var/lib', '/../', 'file/'], '/file'],
+ [['a/b/c/', '../../..'], process.cwd()],
+ [['.'], process.cwd()],
+ [['/some/dir', '.', '/absolute/'], '/absolute'],
+ [['/foo/tmp.3/', '../tmp.3/cycles/root.js'], '/foo/tmp.3/cycles/root.js']
+ ];
+
+tape('path.posix.resolve', function (t) {
+ posixTests.forEach(function (p) {
+ var actual = path.posix.resolve.apply(null, p[0]);
+ t.strictEqual(actual, p[1]);
+ });
+ t.end();
+});
+
+tape('path.win32.resolve', { skip: true }, function (t) {
+ windowsTests.forEach(function (p) {
+ var actual = path.win32.resolve.apply(null, p[0]);
+ t.strictEqual(actual, p[1]);
+ });
+ t.end();
+});
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-zero-length-strings.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-zero-length-strings.js"
index 35705f53c174db5144a95c3a44cbf1a7105df0cc..7361b5c25fb70e9e100d5dda0b518a6c100ede0a 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-zero-length-strings.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path-zero-length-strings.js"
@@ -1,3 +1,53 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5e7a8a0920337827ea6a30413b2782cb8c5b69c05bcd3ddc60d213c077f88a09
-size 1957
+'use strict';
+
+// These testcases are specific to one uncommon behavior in path module. Few
+// of the functions in path module, treat '' strings as current working
+// directory. This test makes sure that the behavior is intact between commits.
+// See: https://github.com/nodejs/node/pull/2106
+
+var tape = require('tape');
+var path = require('../');
+var pwd = process.cwd();
+
+tape('path.join zero-length', function (t) {
+ // join will internally ignore all the zero-length strings and it will return
+ // '.' if the joined string is a zero-length string.
+ t.strictEqual(path.posix.join(''), '.');
+ t.strictEqual(path.posix.join('', ''), '.');
+ if (path.win32) t.strictEqual(path.win32.join(''), '.');
+ if (path.win32) t.strictEqual(path.win32.join('', ''), '.');
+ t.strictEqual(path.join(pwd), pwd);
+ t.strictEqual(path.join(pwd, ''), pwd);
+ t.end();
+});
+
+tape('path.normalize zero-length', function (t) {
+ // normalize will return '.' if the input is a zero-length string
+ t.strictEqual(path.posix.normalize(''), '.');
+ if (path.win32) t.strictEqual(path.win32.normalize(''), '.');
+ t.strictEqual(path.normalize(pwd), pwd);
+ t.end();
+});
+
+tape('path.isAbsolute zero-length', function (t) {
+ // Since '' is not a valid path in any of the common environments, return false
+ t.strictEqual(path.posix.isAbsolute(''), false);
+ if (path.win32) t.strictEqual(path.win32.isAbsolute(''), false);
+ t.end();
+});
+
+tape('path.resolve zero-length', function (t) {
+ // resolve, internally ignores all the zero-length strings and returns the
+ // current working directory
+ t.strictEqual(path.resolve(''), pwd);
+ t.strictEqual(path.resolve('', ''), pwd);
+ t.end();
+});
+
+tape('path.relative zero-length', function (t) {
+ // relative, internally calls resolve. So, '' is actually the current directory
+ t.strictEqual(path.relative('', pwd), '');
+ t.strictEqual(path.relative(pwd, ''), '');
+ t.strictEqual(path.relative(pwd, pwd), '');
+ t.end();
+});
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path.js"
index e1663843997a587c96aa810d1eb697271c0612c8..7de12b4459cca7d222f0a7d5690f10ddd9e0e85e 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-browserify/test/test-path.js"
@@ -1,3 +1,107 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b3e089092049e760912cb7a919cd05b024ce4c20e86c89aadc85ee5ef47b496f
-size 3389
+// Copyright Joyent, Inc. and other Node contributors.
+//
+// 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:
+//
+// The above copyright notice and this permission notice shall be included
+// in all copies or substantial portions of the Software.
+//
+// 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.
+
+'use strict';
+var tape = require('tape');
+var path = require('../');
+
+// Test thrown TypeErrors
+var typeErrorTests = [true, false, 7, null, {}, undefined, [], NaN];
+
+function fail(t, fn) {
+ var args = [].slice.call(arguments, 1);
+
+ t.throws(function () {
+ fn.apply(null, args);
+ }, TypeError);
+}
+
+tape('path.posix TypeErrors', function (t) {
+ typeErrorTests.forEach(function (test) {
+ fail(t, path.posix.join, test);
+ fail(t, path.posix.resolve, test);
+ fail(t, path.posix.normalize, test);
+ fail(t, path.posix.isAbsolute, test);
+ fail(t, path.posix.relative, test, 'foo');
+ fail(t, path.posix.relative, 'foo', test);
+ fail(t, path.posix.parse, test);
+ fail(t, path.posix.dirname, test);
+ fail(t, path.posix.basename, test);
+ fail(t, path.posix.extname, test);
+
+ // undefined is a valid value as the second argument to basename
+ if (test !== undefined) {
+ fail(t, path.posix.basename, 'foo', test);
+ }
+ });
+ t.end();
+});
+
+tape('path.win32 TypeErrors', { skip: true }, function (t) {
+ typeErrorTests.forEach(function (test) {
+ fail(t, path.win32.join, test);
+ fail(t, path.win32.resolve, test);
+ fail(t, path.win32.normalize, test);
+ fail(t, path.win32.isAbsolute, test);
+ fail(t, path.win32.relative, test, 'foo');
+ fail(t, path.win32.relative, 'foo', test);
+ fail(t, path.win32.parse, test);
+ fail(t, path.win32.dirname, test);
+ fail(t, path.win32.basename, test);
+ fail(t, path.win32.extname, test);
+
+ // undefined is a valid value as the second argument to basename
+ if (test !== undefined) {
+ fail(t, path.win32.basename, 'foo', test);
+ }
+ });
+ t.end();
+});
+
+// path.sep tests
+tape('path.win32.sep', { skip: true }, function (t) {
+ // windows
+ t.strictEqual(path.win32.sep, '\\');
+ t.end();
+});
+tape('path.posix.sep', function (t) {
+ // posix
+ t.strictEqual(path.posix.sep, '/');
+ t.end();
+});
+
+// path.delimiter tests
+tape('path.win32.delimiter', { skip: true }, function (t) {
+ // windows
+ t.strictEqual(path.win32.delimiter, ';');
+ t.end();
+});
+tape('path.posix.delimiter', function (t) {
+ // posix
+ t.strictEqual(path.posix.delimiter, ':');
+ t.end();
+});
+
+tape('path', function (t) {
+ t.strictEqual(path, path.posix);
+ t.end();
+});
+
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/index.js"
index 3549aaeb3a587942b665e74cb1d00a53bd67db14..22aa6c35607997d2b73fab3e4b831469ca4d5ba1 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/index.js"
@@ -1,3 +1,20 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4eb1119c3eeccc4d8e8841b77d062abaf4572b332801f5b16175bc3311b5d8f1
-size 611
+'use strict';
+
+function posix(path) {
+ return path.charAt(0) === '/';
+}
+
+function win32(path) {
+ // https://github.com/nodejs/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56
+ var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
+ var result = splitDeviceRe.exec(path);
+ var device = result[1] || '';
+ var isUnc = Boolean(device && device.charAt(1) !== ':');
+
+ // UNC paths are always absolute
+ return Boolean(result[2] || isUnc);
+}
+
+module.exports = process.platform === 'win32' ? win32 : posix;
+module.exports.posix = posix;
+module.exports.win32 = win32;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/license" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/license"
index 1efe6cdeaaf7eff5c76ba10c3ff8b19cbbefcbd4..654d0bfe943437d43242325b1fbcff5f400d84ee 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/license"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/license"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6fb9754611c20f6649f68805e8c990e83261f29316e29de9e6cedae607b8634c
-size 1119
+The MIT License (MIT)
+
+Copyright (c) Sindre Sorhus (sindresorhus.com)
+
+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:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+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.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/package.json"
index 8f903f3b81ad23df9d5aba436ea14e3da3a8498e..91196d5e9c1336c352ade94008fe24bb6f1d69b9 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/package.json"
@@ -1,3 +1,43 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:be5b83877f6998b840b9365d7ab77e885f0d583337826c22daccaeb6e303fd4c
-size 733
+{
+ "name": "path-is-absolute",
+ "version": "1.0.1",
+ "description": "Node.js 0.12 path.isAbsolute() ponyfill",
+ "license": "MIT",
+ "repository": "sindresorhus/path-is-absolute",
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "xo && node test.js"
+ },
+ "files": [
+ "index.js"
+ ],
+ "keywords": [
+ "path",
+ "paths",
+ "file",
+ "dir",
+ "absolute",
+ "isabsolute",
+ "is-absolute",
+ "built-in",
+ "util",
+ "utils",
+ "core",
+ "ponyfill",
+ "polyfill",
+ "shim",
+ "is",
+ "detect",
+ "check"
+ ],
+ "devDependencies": {
+ "xo": "^0.16.0"
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/readme.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/readme.md"
index d989296deff976a2ad00b0c7b3f2a72821869ad4..8dbdf5fcb775e16ceffa851db56d47651b20fcaf 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/readme.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/path-is-absolute/readme.md"
@@ -1,3 +1,59 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:18fc7bbc65c9a84e2f15b6b24302cbd0d0d6cb8ba90d6f55d1c8c7bb52da95b5
-size 1153
+# path-is-absolute [](https://travis-ci.org/sindresorhus/path-is-absolute)
+
+> Node.js 0.12 [`path.isAbsolute()`](http://nodejs.org/api/path.html#path_path_isabsolute_path) [ponyfill](https://ponyfill.com)
+
+
+## Install
+
+```
+$ npm install --save path-is-absolute
+```
+
+
+## Usage
+
+```js
+const pathIsAbsolute = require('path-is-absolute');
+
+// Running on Linux
+pathIsAbsolute('/home/foo');
+//=> true
+pathIsAbsolute('C:/Users/foo');
+//=> false
+
+// Running on Windows
+pathIsAbsolute('C:/Users/foo');
+//=> true
+pathIsAbsolute('/home/foo');
+//=> false
+
+// Running on any OS
+pathIsAbsolute.posix('/home/foo');
+//=> true
+pathIsAbsolute.posix('C:/Users/foo');
+//=> false
+pathIsAbsolute.win32('C:/Users/foo');
+//=> true
+pathIsAbsolute.win32('/home/foo');
+//=> false
+```
+
+
+## API
+
+See the [`path.isAbsolute()` docs](http://nodejs.org/api/path.html#path_path_isabsolute_path).
+
+### pathIsAbsolute(path)
+
+### pathIsAbsolute.posix(path)
+
+POSIX specific version.
+
+### pathIsAbsolute.win32(path)
+
+Windows specific version.
+
+
+## License
+
+MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/LICENSE"
index 726c354c1d0bcd34ac822ff2ac4d15d422c342e3..496098c6e895087565c5b2692d675e4555e794af 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/LICENSE"
@@ -1,3 +1,15 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:800a78e2d6fa0af131b5ed2547504b4db64a10123f5df37161d15e2015023a8f
-size 781
+ISC License
+
+Copyright (c) 2021 Alexey Raspopov, Kostiantyn Denysov, Anton Verinov
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/README.md"
index dace2ebf62023c2ce7fb819d0f8fdd128c42b975..8e47aa8eea126388d0773e7f86f91471eb5e2150 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/README.md"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5027b2836551ea0f91fa27b97335de905e24e1459d590eacfa45c0156962b70c
-size 622
+# picocolors
+
+The tiniest and the fastest library for terminal output formatting with ANSI colors.
+
+```javascript
+import pc from "picocolors"
+
+console.log(
+ pc.green(`How are ${pc.italic(`you`)} doing?`)
+)
+```
+
+- **No dependencies.**
+- **14 times** smaller and **2 times** faster than chalk.
+- Used by popular tools like PostCSS, SVGO, Stylelint, and Browserslist.
+- Node.js v6+ & browsers support. Support for both CJS and ESM projects.
+- TypeScript type declarations included.
+- [`NO_COLOR`](https://no-color.org/) friendly.
+
+## Docs
+Read **[full docs](https://github.com/alexeyraspopov/picocolors#readme)** on GitHub.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/package.json"
index 6e1ba193952faac436e50f5b67d308ff33687a22..8cdcf5f3c62573a6c33dad06d6a7d9391ce703a5 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/package.json"
@@ -1,3 +1,25 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:151fe2ce0a8e1a1809ff8d3ed67f16c736c5bc570a350f78612135510e1fe93f
-size 550
+{
+ "name": "picocolors",
+ "version": "1.0.1",
+ "main": "./picocolors.js",
+ "types": "./picocolors.d.ts",
+ "browser": {
+ "./picocolors.js": "./picocolors.browser.js"
+ },
+ "sideEffects": false,
+ "description": "The tiniest and the fastest library for terminal output formatting with ANSI colors",
+ "files": [
+ "picocolors.*",
+ "types.ts"
+ ],
+ "keywords": [
+ "terminal",
+ "colors",
+ "formatting",
+ "cli",
+ "console"
+ ],
+ "author": "Alexey Raspopov",
+ "repository": "alexeyraspopov/picocolors",
+ "license": "ISC"
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.browser.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.browser.js"
index 71d679a628b383f84272eda203c733fbd818a390..5eb9fbe8b5a0d60e91c88a2851b3b975d70261bf 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.browser.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.browser.js"
@@ -1,3 +1,4 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0c94d2b0491c05541062d9a13ca72a148ae7961d3c31dab7f44e387c6d46b7b3
-size 360
+var x=String;
+var create=function() {return {isColorSupported:false,reset:x,bold:x,dim:x,italic:x,underline:x,inverse:x,hidden:x,strikethrough:x,black:x,red:x,green:x,yellow:x,blue:x,magenta:x,cyan:x,white:x,gray:x,bgBlack:x,bgRed:x,bgGreen:x,bgYellow:x,bgBlue:x,bgMagenta:x,bgCyan:x,bgWhite:x}};
+module.exports=create();
+module.exports.createColors = create;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.d.ts"
index 2274b332afeb7626b53981f3e18d9197d3a1a3ba..94e146a82221e527be835656549ddfb1b41fd0c9 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.d.ts"
@@ -1,3 +1,5 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8c5f0739f00f89f89b03a1fe6658c6d78000d7ebd7f556f0f8d6908fa679de35
-size 138
+import { Colors } from "./types"
+
+declare const picocolors: Colors & { createColors: (enabled?: boolean) => Colors }
+
+export = picocolors
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.js"
index 3ddf780b8bfe8d9104adbd241ad3495e46a8fde2..8b8a23e41b156f7ec0d84f6f6126385f1dd8418d 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/picocolors.js"
@@ -1,3 +1,65 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:99c3c8d2635220c648da1f01c24dc04bd7532b24214e4df9edd245749c65c6b3
-size 2091
+let argv = process.argv || [],
+ env = process.env
+let isColorSupported =
+ !("NO_COLOR" in env || argv.includes("--no-color")) &&
+ ("FORCE_COLOR" in env ||
+ argv.includes("--color") ||
+ process.platform === "win32" ||
+ (require != null && require("tty").isatty(1) && env.TERM !== "dumb") ||
+ "CI" in env)
+
+let formatter =
+ (open, close, replace = open) =>
+ input => {
+ let string = "" + input
+ let index = string.indexOf(close, open.length)
+ return ~index
+ ? open + replaceClose(string, close, replace, index) + close
+ : open + string + close
+ }
+
+let replaceClose = (string, close, replace, index) => {
+ let result = ""
+ let cursor = 0
+ do {
+ result += string.substring(cursor, index) + replace
+ cursor = index + close.length
+ index = string.indexOf(close, cursor)
+ } while (~index)
+ return result + string.substring(cursor)
+}
+
+let createColors = (enabled = isColorSupported) => {
+ let init = enabled ? formatter : () => String
+ return {
+ isColorSupported: enabled,
+ reset: init("\x1b[0m", "\x1b[0m"),
+ bold: init("\x1b[1m", "\x1b[22m", "\x1b[22m\x1b[1m"),
+ dim: init("\x1b[2m", "\x1b[22m", "\x1b[22m\x1b[2m"),
+ italic: init("\x1b[3m", "\x1b[23m"),
+ underline: init("\x1b[4m", "\x1b[24m"),
+ inverse: init("\x1b[7m", "\x1b[27m"),
+ hidden: init("\x1b[8m", "\x1b[28m"),
+ strikethrough: init("\x1b[9m", "\x1b[29m"),
+ black: init("\x1b[30m", "\x1b[39m"),
+ red: init("\x1b[31m", "\x1b[39m"),
+ green: init("\x1b[32m", "\x1b[39m"),
+ yellow: init("\x1b[33m", "\x1b[39m"),
+ blue: init("\x1b[34m", "\x1b[39m"),
+ magenta: init("\x1b[35m", "\x1b[39m"),
+ cyan: init("\x1b[36m", "\x1b[39m"),
+ white: init("\x1b[37m", "\x1b[39m"),
+ gray: init("\x1b[90m", "\x1b[39m"),
+ bgBlack: init("\x1b[40m", "\x1b[49m"),
+ bgRed: init("\x1b[41m", "\x1b[49m"),
+ bgGreen: init("\x1b[42m", "\x1b[49m"),
+ bgYellow: init("\x1b[43m", "\x1b[49m"),
+ bgBlue: init("\x1b[44m", "\x1b[49m"),
+ bgMagenta: init("\x1b[45m", "\x1b[49m"),
+ bgCyan: init("\x1b[46m", "\x1b[49m"),
+ bgWhite: init("\x1b[47m", "\x1b[49m"),
+ }
+}
+
+module.exports = createColors()
+module.exports.createColors = createColors
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/types.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/types.ts"
index 39b1541d00cd14625b47103446c9bded10b97484..b4bacee4909e7f562fb13f89720c8ae57c4922fc 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/types.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picocolors/types.ts"
@@ -1,3 +1,30 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:576d63ef3a0408e9044ab3855ea0877b5f0c674752d4a339d79b8ed6bb88b02a
-size 610
+export type Formatter = (input: string | number | null | undefined) => string
+
+export interface Colors {
+ isColorSupported: boolean
+ reset: Formatter
+ bold: Formatter
+ dim: Formatter
+ italic: Formatter
+ underline: Formatter
+ inverse: Formatter
+ hidden: Formatter
+ strikethrough: Formatter
+ black: Formatter
+ red: Formatter
+ green: Formatter
+ yellow: Formatter
+ blue: Formatter
+ magenta: Formatter
+ cyan: Formatter
+ white: Formatter
+ gray: Formatter
+ bgBlack: Formatter
+ bgRed: Formatter
+ bgGreen: Formatter
+ bgYellow: Formatter
+ bgBlue: Formatter
+ bgMagenta: Formatter
+ bgCyan: Formatter
+ bgWhite: Formatter
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/CHANGELOG.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/CHANGELOG.md"
index 1031c73c732700079846914bc4a00baeef4d2b23..8ccc6c1bab0138d0d4da5e604fcb9608790b1692 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/CHANGELOG.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/CHANGELOG.md"
@@ -1,3 +1,136 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d0fb7bac3673198e01d96753ba72c7eed5100410fb929ad15a090392b7dbfb97
-size 6203
+# Release history
+
+**All notable changes to this project will be documented in this file.**
+
+The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
+and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
+
+
+ Guiding Principles
+
+- Changelogs are for humans, not machines.
+- There should be an entry for every single version.
+- The same types of changes should be grouped.
+- Versions and sections should be linkable.
+- The latest version comes first.
+- The release date of each versions is displayed.
+- Mention whether you follow Semantic Versioning.
+
+
+
+
+ Types of changes
+
+Changelog entries are classified using the following labels _(from [keep-a-changelog](http://keepachangelog.com/)_):
+
+- `Added` for new features.
+- `Changed` for changes in existing functionality.
+- `Deprecated` for soon-to-be removed features.
+- `Removed` for now removed features.
+- `Fixed` for any bug fixes.
+- `Security` in case of vulnerabilities.
+
+
+
+## 2.3.1 (2022-01-02)
+
+### Fixed
+
+* Fixes bug when a pattern containing an expression after the closing parenthesis (`/!(*.d).{ts,tsx}`) was incorrectly converted to regexp ([9f241ef](https://github.com/micromatch/picomatch/commit/9f241ef)).
+
+### Changed
+
+* Some documentation improvements ([f81d236](https://github.com/micromatch/picomatch/commit/f81d236), [421e0e7](https://github.com/micromatch/picomatch/commit/421e0e7)).
+
+## 2.3.0 (2021-05-21)
+
+### Fixed
+
+* Fixes bug where file names with two dots were not being matched consistently with negation extglobs containing a star ([56083ef](https://github.com/micromatch/picomatch/commit/56083ef))
+
+## 2.2.3 (2021-04-10)
+
+### Fixed
+
+* Do not skip pattern seperator for square brackets ([fb08a30](https://github.com/micromatch/picomatch/commit/fb08a30)).
+* Set negatedExtGlob also if it does not span the whole pattern ([032e3f5](https://github.com/micromatch/picomatch/commit/032e3f5)).
+
+## 2.2.2 (2020-03-21)
+
+### Fixed
+
+* Correctly handle parts of the pattern after parentheses in the `scan` method ([e15b920](https://github.com/micromatch/picomatch/commit/e15b920)).
+
+## 2.2.1 (2020-01-04)
+
+* Fixes [#49](https://github.com/micromatch/picomatch/issues/49), so that braces with no sets or ranges are now propertly treated as literals.
+
+## 2.2.0 (2020-01-04)
+
+* Disable fastpaths mode for the parse method ([5b8d33f](https://github.com/micromatch/picomatch/commit/5b8d33f))
+* Add `tokens`, `slashes`, and `parts` to the object returned by `picomatch.scan()`.
+
+## 2.1.0 (2019-10-31)
+
+* add benchmarks for scan ([4793b92](https://github.com/micromatch/picomatch/commit/4793b92))
+* Add eslint object-curly-spacing rule ([707c650](https://github.com/micromatch/picomatch/commit/707c650))
+* Add prefer-const eslint rule ([5c7501c](https://github.com/micromatch/picomatch/commit/5c7501c))
+* Add support for nonegate in scan API ([275c9b9](https://github.com/micromatch/picomatch/commit/275c9b9))
+* Change lets to consts. Move root import up. ([4840625](https://github.com/micromatch/picomatch/commit/4840625))
+* closes https://github.com/micromatch/picomatch/issues/21 ([766bcb0](https://github.com/micromatch/picomatch/commit/766bcb0))
+* Fix "Extglobs" table in readme ([eb19da8](https://github.com/micromatch/picomatch/commit/eb19da8))
+* fixes https://github.com/micromatch/picomatch/issues/20 ([9caca07](https://github.com/micromatch/picomatch/commit/9caca07))
+* fixes https://github.com/micromatch/picomatch/issues/26 ([fa58f45](https://github.com/micromatch/picomatch/commit/fa58f45))
+* Lint test ([d433a34](https://github.com/micromatch/picomatch/commit/d433a34))
+* lint unit tests ([0159b55](https://github.com/micromatch/picomatch/commit/0159b55))
+* Make scan work with noext ([6c02e03](https://github.com/micromatch/picomatch/commit/6c02e03))
+* minor linting ([c2a2b87](https://github.com/micromatch/picomatch/commit/c2a2b87))
+* minor parser improvements ([197671d](https://github.com/micromatch/picomatch/commit/197671d))
+* remove eslint since it... ([07876fa](https://github.com/micromatch/picomatch/commit/07876fa))
+* remove funding file ([8ebe96d](https://github.com/micromatch/picomatch/commit/8ebe96d))
+* Remove unused funks ([cbc6d54](https://github.com/micromatch/picomatch/commit/cbc6d54))
+* Run eslint during pretest, fix existing eslint findings ([0682367](https://github.com/micromatch/picomatch/commit/0682367))
+* support `noparen` in scan ([3d37569](https://github.com/micromatch/picomatch/commit/3d37569))
+* update changelog ([7b34e77](https://github.com/micromatch/picomatch/commit/7b34e77))
+* update travis ([777f038](https://github.com/micromatch/picomatch/commit/777f038))
+* Use eslint-disable-next-line instead of eslint-disable ([4e7c1fd](https://github.com/micromatch/picomatch/commit/4e7c1fd))
+
+## 2.0.7 (2019-05-14)
+
+* 2.0.7 ([9eb9a71](https://github.com/micromatch/picomatch/commit/9eb9a71))
+* supports lookbehinds ([1f63f7e](https://github.com/micromatch/picomatch/commit/1f63f7e))
+* update .verb.md file with typo change ([2741279](https://github.com/micromatch/picomatch/commit/2741279))
+* fix: typo in README ([0753e44](https://github.com/micromatch/picomatch/commit/0753e44))
+
+## 2.0.4 (2019-04-10)
+
+### Fixed
+
+- Readme link [fixed](https://github.com/micromatch/picomatch/pull/13/commits/a96ab3aa2b11b6861c23289964613d85563b05df) by @danez.
+- `options.capture` now works as expected when fastpaths are enabled. See https://github.com/micromatch/picomatch/pull/12/commits/26aefd71f1cfaf95c37f1c1fcab68a693b037304. Thanks to @DrPizza.
+
+## 2.0.0 (2019-04-10)
+
+### Added
+
+- Adds support for `options.onIgnore`. See the readme for details
+- Adds support for `options.onResult`. See the readme for details
+
+### Breaking changes
+
+- The unixify option was renamed to `windows`
+- caching and all related options and methods have been removed
+
+## 1.0.0 (2018-11-05)
+
+- adds `.onMatch` option
+- improvements to `.scan` method
+- numerous improvements and optimizations for matching and parsing
+- better windows path handling
+
+## 0.1.0 - 2017-04-13
+
+First release.
+
+
+[keep-a-changelog]: https://github.com/olivierlacan/keep-a-changelog
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/LICENSE"
index badf6a82243b7e25e462fc936869ba45f0d73437..3608dca25e30b572b6ad6935c8c7918bf70e3d2f 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/LICENSE"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d0cd141b0c322fded5dfad1d4645bb2fedfc05b7321fe1009469638190d59ef9
-size 1091
+The MIT License (MIT)
+
+Copyright (c) 2017-present, Jon Schlinkert.
+
+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:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+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.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/README.md"
index 4d2f78ac4a48052a37abe8ee553bb2b1330142e4..b0526e28a319d84a5a7b654d5c93d87aab9350e3 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/README.md"
@@ -1,3 +1,708 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:319926a28afdad100409649980ea44c851854158c6556c02b50455e3ebc1dbad
-size 27445
+Picomatch
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Blazing fast and accurate glob matcher written in JavaScript.
+No dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
+
+
+
+
+
+## Why picomatch?
+
+* **Lightweight** - No dependencies
+* **Minimal** - Tiny API surface. Main export is a function that takes a glob pattern and returns a matcher function.
+* **Fast** - Loads in about 2ms (that's several times faster than a [single frame of a HD movie](http://www.endmemo.com/sconvert/framespersecondframespermillisecond.php) at 60fps)
+* **Performant** - Use the returned matcher function to speed up repeat matching (like when watching files)
+* **Accurate matching** - Using wildcards (`*` and `?`), globstars (`**`) for nested directories, [advanced globbing](#advanced-globbing) with extglobs, braces, and POSIX brackets, and support for escaping special characters with `\` or quotes.
+* **Well tested** - Thousands of unit tests
+
+See the [library comparison](#library-comparisons) to other libraries.
+
+
+
+
+## Table of Contents
+
+ Click to expand
+
+- [Install](#install)
+- [Usage](#usage)
+- [API](#api)
+ * [picomatch](#picomatch)
+ * [.test](#test)
+ * [.matchBase](#matchbase)
+ * [.isMatch](#ismatch)
+ * [.parse](#parse)
+ * [.scan](#scan)
+ * [.compileRe](#compilere)
+ * [.makeRe](#makere)
+ * [.toRegex](#toregex)
+- [Options](#options)
+ * [Picomatch options](#picomatch-options)
+ * [Scan Options](#scan-options)
+ * [Options Examples](#options-examples)
+- [Globbing features](#globbing-features)
+ * [Basic globbing](#basic-globbing)
+ * [Advanced globbing](#advanced-globbing)
+ * [Braces](#braces)
+ * [Matching special characters as literals](#matching-special-characters-as-literals)
+- [Library Comparisons](#library-comparisons)
+- [Benchmarks](#benchmarks)
+- [Philosophies](#philosophies)
+- [About](#about)
+ * [Author](#author)
+ * [License](#license)
+
+_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_
+
+
+
+
+
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+npm install --save picomatch
+```
+
+
+
+## Usage
+
+The main export is a function that takes a glob pattern and an options object and returns a function for matching strings.
+
+```js
+const pm = require('picomatch');
+const isMatch = pm('*.js');
+
+console.log(isMatch('abcd')); //=> false
+console.log(isMatch('a.js')); //=> true
+console.log(isMatch('a.md')); //=> false
+console.log(isMatch('a/b.js')); //=> false
+```
+
+
+
+## API
+
+### [picomatch](lib/picomatch.js#L32)
+
+Creates a matcher function from one or more glob patterns. The returned function takes a string to match as its first argument, and returns true if the string is a match. The returned matcher function also takes a boolean as the second argument that, when true, returns an object with additional information.
+
+**Params**
+
+* `globs` **{String|Array}**: One or more glob patterns.
+* `options` **{Object=}**
+* `returns` **{Function=}**: Returns a matcher function.
+
+**Example**
+
+```js
+const picomatch = require('picomatch');
+// picomatch(glob[, options]);
+
+const isMatch = picomatch('*.!(*a)');
+console.log(isMatch('a.a')); //=> false
+console.log(isMatch('a.b')); //=> true
+```
+
+### [.test](lib/picomatch.js#L117)
+
+Test `input` with the given `regex`. This is used by the main `picomatch()` function to test the input string.
+
+**Params**
+
+* `input` **{String}**: String to test.
+* `regex` **{RegExp}**
+* `returns` **{Object}**: Returns an object with matching info.
+
+**Example**
+
+```js
+const picomatch = require('picomatch');
+// picomatch.test(input, regex[, options]);
+
+console.log(picomatch.test('foo/bar', /^(?:([^/]*?)\/([^/]*?))$/));
+// { isMatch: true, match: [ 'foo/', 'foo', 'bar' ], output: 'foo/bar' }
+```
+
+### [.matchBase](lib/picomatch.js#L161)
+
+Match the basename of a filepath.
+
+**Params**
+
+* `input` **{String}**: String to test.
+* `glob` **{RegExp|String}**: Glob pattern or regex created by [.makeRe](#makeRe).
+* `returns` **{Boolean}**
+
+**Example**
+
+```js
+const picomatch = require('picomatch');
+// picomatch.matchBase(input, glob[, options]);
+console.log(picomatch.matchBase('foo/bar.js', '*.js'); // true
+```
+
+### [.isMatch](lib/picomatch.js#L183)
+
+Returns true if **any** of the given glob `patterns` match the specified `string`.
+
+**Params**
+
+* **{String|Array}**: str The string to test.
+* **{String|Array}**: patterns One or more glob patterns to use for matching.
+* **{Object}**: See available [options](#options).
+* `returns` **{Boolean}**: Returns true if any patterns match `str`
+
+**Example**
+
+```js
+const picomatch = require('picomatch');
+// picomatch.isMatch(string, patterns[, options]);
+
+console.log(picomatch.isMatch('a.a', ['b.*', '*.a'])); //=> true
+console.log(picomatch.isMatch('a.a', 'b.*')); //=> false
+```
+
+### [.parse](lib/picomatch.js#L199)
+
+Parse a glob pattern to create the source string for a regular expression.
+
+**Params**
+
+* `pattern` **{String}**
+* `options` **{Object}**
+* `returns` **{Object}**: Returns an object with useful properties and output to be used as a regex source string.
+
+**Example**
+
+```js
+const picomatch = require('picomatch');
+const result = picomatch.parse(pattern[, options]);
+```
+
+### [.scan](lib/picomatch.js#L231)
+
+Scan a glob pattern to separate the pattern into segments.
+
+**Params**
+
+* `input` **{String}**: Glob pattern to scan.
+* `options` **{Object}**
+* `returns` **{Object}**: Returns an object with
+
+**Example**
+
+```js
+const picomatch = require('picomatch');
+// picomatch.scan(input[, options]);
+
+const result = picomatch.scan('!./foo/*.js');
+console.log(result);
+{ prefix: '!./',
+ input: '!./foo/*.js',
+ start: 3,
+ base: 'foo',
+ glob: '*.js',
+ isBrace: false,
+ isBracket: false,
+ isGlob: true,
+ isExtglob: false,
+ isGlobstar: false,
+ negated: true }
+```
+
+### [.compileRe](lib/picomatch.js#L245)
+
+Compile a regular expression from the `state` object returned by the
+[parse()](#parse) method.
+
+**Params**
+
+* `state` **{Object}**
+* `options` **{Object}**
+* `returnOutput` **{Boolean}**: Intended for implementors, this argument allows you to return the raw output from the parser.
+* `returnState` **{Boolean}**: Adds the state to a `state` property on the returned regex. Useful for implementors and debugging.
+* `returns` **{RegExp}**
+
+### [.makeRe](lib/picomatch.js#L286)
+
+Create a regular expression from a parsed glob pattern.
+
+**Params**
+
+* `state` **{String}**: The object returned from the `.parse` method.
+* `options` **{Object}**
+* `returnOutput` **{Boolean}**: Implementors may use this argument to return the compiled output, instead of a regular expression. This is not exposed on the options to prevent end-users from mutating the result.
+* `returnState` **{Boolean}**: Implementors may use this argument to return the state from the parsed glob with the returned regular expression.
+* `returns` **{RegExp}**: Returns a regex created from the given pattern.
+
+**Example**
+
+```js
+const picomatch = require('picomatch');
+const state = picomatch.parse('*.js');
+// picomatch.compileRe(state[, options]);
+
+console.log(picomatch.compileRe(state));
+//=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
+```
+
+### [.toRegex](lib/picomatch.js#L321)
+
+Create a regular expression from the given regex source string.
+
+**Params**
+
+* `source` **{String}**: Regular expression source string.
+* `options` **{Object}**
+* `returns` **{RegExp}**
+
+**Example**
+
+```js
+const picomatch = require('picomatch');
+// picomatch.toRegex(source[, options]);
+
+const { output } = picomatch.parse('*.js');
+console.log(picomatch.toRegex(output));
+//=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
+```
+
+
+
+## Options
+
+### Picomatch options
+
+The following options may be used with the main `picomatch()` function or any of the methods on the picomatch API.
+
+| **Option** | **Type** | **Default value** | **Description** |
+| --- | --- | --- | --- |
+| `basename` | `boolean` | `false` | If set, then patterns without slashes will be matched against the basename of the path if it contains slashes. For example, `a?b` would match the path `/xyz/123/acb`, but not `/xyz/acb/123`. |
+| `bash` | `boolean` | `false` | Follow bash matching rules more strictly - disallows backslashes as escape characters, and treats single stars as globstars (`**`). |
+| `capture` | `boolean` | `undefined` | Return regex matches in supporting methods. |
+| `contains` | `boolean` | `undefined` | Allows glob to match any part of the given string(s). |
+| `cwd` | `string` | `process.cwd()` | Current working directory. Used by `picomatch.split()` |
+| `debug` | `boolean` | `undefined` | Debug regular expressions when an error is thrown. |
+| `dot` | `boolean` | `false` | Enable dotfile matching. By default, dotfiles are ignored unless a `.` is explicitly defined in the pattern, or `options.dot` is true |
+| `expandRange` | `function` | `undefined` | Custom function for expanding ranges in brace patterns, such as `{a..z}`. The function receives the range values as two arguments, and it must return a string to be used in the generated regex. It's recommended that returned strings be wrapped in parentheses. |
+| `failglob` | `boolean` | `false` | Throws an error if no matches are found. Based on the bash option of the same name. |
+| `fastpaths` | `boolean` | `true` | To speed up processing, full parsing is skipped for a handful common glob patterns. Disable this behavior by setting this option to `false`. |
+| `flags` | `string` | `undefined` | Regex flags to use in the generated regex. If defined, the `nocase` option will be overridden. |
+| [format](#optionsformat) | `function` | `undefined` | Custom function for formatting the returned string. This is useful for removing leading slashes, converting Windows paths to Posix paths, etc. |
+| `ignore` | `array\|string` | `undefined` | One or more glob patterns for excluding strings that should not be matched from the result. |
+| `keepQuotes` | `boolean` | `false` | Retain quotes in the generated regex, since quotes may also be used as an alternative to backslashes. |
+| `literalBrackets` | `boolean` | `undefined` | When `true`, brackets in the glob pattern will be escaped so that only literal brackets will be matched. |
+| `matchBase` | `boolean` | `false` | Alias for `basename` |
+| `maxLength` | `boolean` | `65536` | Limit the max length of the input string. An error is thrown if the input string is longer than this value. |
+| `nobrace` | `boolean` | `false` | Disable brace matching, so that `{a,b}` and `{1..3}` would be treated as literal characters. |
+| `nobracket` | `boolean` | `undefined` | Disable matching with regex brackets. |
+| `nocase` | `boolean` | `false` | Make matching case-insensitive. Equivalent to the regex `i` flag. Note that this option is overridden by the `flags` option. |
+| `nodupes` | `boolean` | `true` | Deprecated, use `nounique` instead. This option will be removed in a future major release. By default duplicates are removed. Disable uniquification by setting this option to false. |
+| `noext` | `boolean` | `false` | Alias for `noextglob` |
+| `noextglob` | `boolean` | `false` | Disable support for matching with extglobs (like `+(a\|b)`) |
+| `noglobstar` | `boolean` | `false` | Disable support for matching nested directories with globstars (`**`) |
+| `nonegate` | `boolean` | `false` | Disable support for negating with leading `!` |
+| `noquantifiers` | `boolean` | `false` | Disable support for regex quantifiers (like `a{1,2}`) and treat them as brace patterns to be expanded. |
+| [onIgnore](#optionsonIgnore) | `function` | `undefined` | Function to be called on ignored items. |
+| [onMatch](#optionsonMatch) | `function` | `undefined` | Function to be called on matched items. |
+| [onResult](#optionsonResult) | `function` | `undefined` | Function to be called on all items, regardless of whether or not they are matched or ignored. |
+| `posix` | `boolean` | `false` | Support POSIX character classes ("posix brackets"). |
+| `posixSlashes` | `boolean` | `undefined` | Convert all slashes in file paths to forward slashes. This does not convert slashes in the glob pattern itself |
+| `prepend` | `boolean` | `undefined` | String to prepend to the generated regex used for matching. |
+| `regex` | `boolean` | `false` | Use regular expression rules for `+` (instead of matching literal `+`), and for stars that follow closing parentheses or brackets (as in `)*` and `]*`). |
+| `strictBrackets` | `boolean` | `undefined` | Throw an error if brackets, braces, or parens are imbalanced. |
+| `strictSlashes` | `boolean` | `undefined` | When true, picomatch won't match trailing slashes with single stars. |
+| `unescape` | `boolean` | `undefined` | Remove backslashes preceding escaped characters in the glob pattern. By default, backslashes are retained. |
+| `unixify` | `boolean` | `undefined` | Alias for `posixSlashes`, for backwards compatibility. |
+
+picomatch has automatic detection for regex positive and negative lookbehinds. If the pattern contains a negative lookbehind, you must be using Node.js >= 8.10 or else picomatch will throw an error.
+
+### Scan Options
+
+In addition to the main [picomatch options](#picomatch-options), the following options may also be used with the [.scan](#scan) method.
+
+| **Option** | **Type** | **Default value** | **Description** |
+| --- | --- | --- | --- |
+| `tokens` | `boolean` | `false` | When `true`, the returned object will include an array of tokens (objects), representing each path "segment" in the scanned glob pattern |
+| `parts` | `boolean` | `false` | When `true`, the returned object will include an array of strings representing each path "segment" in the scanned glob pattern. This is automatically enabled when `options.tokens` is true |
+
+**Example**
+
+```js
+const picomatch = require('picomatch');
+const result = picomatch.scan('!./foo/*.js', { tokens: true });
+console.log(result);
+// {
+// prefix: '!./',
+// input: '!./foo/*.js',
+// start: 3,
+// base: 'foo',
+// glob: '*.js',
+// isBrace: false,
+// isBracket: false,
+// isGlob: true,
+// isExtglob: false,
+// isGlobstar: false,
+// negated: true,
+// maxDepth: 2,
+// tokens: [
+// { value: '!./', depth: 0, isGlob: false, negated: true, isPrefix: true },
+// { value: 'foo', depth: 1, isGlob: false },
+// { value: '*.js', depth: 1, isGlob: true }
+// ],
+// slashes: [ 2, 6 ],
+// parts: [ 'foo', '*.js' ]
+// }
+```
+
+
+
+### Options Examples
+
+#### options.expandRange
+
+**Type**: `function`
+
+**Default**: `undefined`
+
+Custom function for expanding ranges in brace patterns. The [fill-range](https://github.com/jonschlinkert/fill-range) library is ideal for this purpose, or you can use custom code to do whatever you need.
+
+**Example**
+
+The following example shows how to create a glob that matches a folder
+
+```js
+const fill = require('fill-range');
+const regex = pm.makeRe('foo/{01..25}/bar', {
+ expandRange(a, b) {
+ return `(${fill(a, b, { toRegex: true })})`;
+ }
+});
+
+console.log(regex);
+//=> /^(?:foo\/((?:0[1-9]|1[0-9]|2[0-5]))\/bar)$/
+
+console.log(regex.test('foo/00/bar')) // false
+console.log(regex.test('foo/01/bar')) // true
+console.log(regex.test('foo/10/bar')) // true
+console.log(regex.test('foo/22/bar')) // true
+console.log(regex.test('foo/25/bar')) // true
+console.log(regex.test('foo/26/bar')) // false
+```
+
+#### options.format
+
+**Type**: `function`
+
+**Default**: `undefined`
+
+Custom function for formatting strings before they're matched.
+
+**Example**
+
+```js
+// strip leading './' from strings
+const format = str => str.replace(/^\.\//, '');
+const isMatch = picomatch('foo/*.js', { format });
+console.log(isMatch('./foo/bar.js')); //=> true
+```
+
+#### options.onMatch
+
+```js
+const onMatch = ({ glob, regex, input, output }) => {
+ console.log({ glob, regex, input, output });
+};
+
+const isMatch = picomatch('*', { onMatch });
+isMatch('foo');
+isMatch('bar');
+isMatch('baz');
+```
+
+#### options.onIgnore
+
+```js
+const onIgnore = ({ glob, regex, input, output }) => {
+ console.log({ glob, regex, input, output });
+};
+
+const isMatch = picomatch('*', { onIgnore, ignore: 'f*' });
+isMatch('foo');
+isMatch('bar');
+isMatch('baz');
+```
+
+#### options.onResult
+
+```js
+const onResult = ({ glob, regex, input, output }) => {
+ console.log({ glob, regex, input, output });
+};
+
+const isMatch = picomatch('*', { onResult, ignore: 'f*' });
+isMatch('foo');
+isMatch('bar');
+isMatch('baz');
+```
+
+
+
+
+## Globbing features
+
+* [Basic globbing](#basic-globbing) (Wildcard matching)
+* [Advanced globbing](#advanced-globbing) (extglobs, posix brackets, brace matching)
+
+### Basic globbing
+
+| **Character** | **Description** |
+| --- | --- |
+| `*` | Matches any character zero or more times, excluding path separators. Does _not match_ path separators or hidden files or directories ("dotfiles"), unless explicitly enabled by setting the `dot` option to `true`. |
+| `**` | Matches any character zero or more times, including path separators. Note that `**` will only match path separators (`/`, and `\\` on Windows) when they are the only characters in a path segment. Thus, `foo**/bar` is equivalent to `foo*/bar`, and `foo/a**b/bar` is equivalent to `foo/a*b/bar`, and _more than two_ consecutive stars in a glob path segment are regarded as _a single star_. Thus, `foo/***/bar` is equivalent to `foo/*/bar`. |
+| `?` | Matches any character excluding path separators one time. Does _not match_ path separators or leading dots. |
+| `[abc]` | Matches any characters inside the brackets. For example, `[abc]` would match the characters `a`, `b` or `c`, and nothing else. |
+
+#### Matching behavior vs. Bash
+
+Picomatch's matching features and expected results in unit tests are based on Bash's unit tests and the Bash 4.3 specification, with the following exceptions:
+
+* Bash will match `foo/bar/baz` with `*`. Picomatch only matches nested directories with `**`.
+* Bash greedily matches with negated extglobs. For example, Bash 4.3 says that `!(foo)*` should match `foo` and `foobar`, since the trailing `*` bracktracks to match the preceding pattern. This is very memory-inefficient, and IMHO, also incorrect. Picomatch would return `false` for both `foo` and `foobar`.
+
+
+
+### Advanced globbing
+
+* [extglobs](#extglobs)
+* [POSIX brackets](#posix-brackets)
+* [Braces](#brace-expansion)
+
+#### Extglobs
+
+| **Pattern** | **Description** |
+| --- | --- |
+| `@(pattern)` | Match _only one_ consecutive occurrence of `pattern` |
+| `*(pattern)` | Match _zero or more_ consecutive occurrences of `pattern` |
+| `+(pattern)` | Match _one or more_ consecutive occurrences of `pattern` |
+| `?(pattern)` | Match _zero or **one**_ consecutive occurrences of `pattern` |
+| `!(pattern)` | Match _anything but_ `pattern` |
+
+**Examples**
+
+```js
+const pm = require('picomatch');
+
+// *(pattern) matches ZERO or more of "pattern"
+console.log(pm.isMatch('a', 'a*(z)')); // true
+console.log(pm.isMatch('az', 'a*(z)')); // true
+console.log(pm.isMatch('azzz', 'a*(z)')); // true
+
+// +(pattern) matches ONE or more of "pattern"
+console.log(pm.isMatch('a', 'a*(z)')); // true
+console.log(pm.isMatch('az', 'a*(z)')); // true
+console.log(pm.isMatch('azzz', 'a*(z)')); // true
+
+// supports multiple extglobs
+console.log(pm.isMatch('foo.bar', '!(foo).!(bar)')); // false
+
+// supports nested extglobs
+console.log(pm.isMatch('foo.bar', '!(!(foo)).!(!(bar))')); // true
+```
+
+#### POSIX brackets
+
+POSIX classes are disabled by default. Enable this feature by setting the `posix` option to true.
+
+**Enable POSIX bracket support**
+
+```js
+console.log(pm.makeRe('[[:word:]]+', { posix: true }));
+//=> /^(?:(?=.)[A-Za-z0-9_]+\/?)$/
+```
+
+**Supported POSIX classes**
+
+The following named POSIX bracket expressions are supported:
+
+* `[:alnum:]` - Alphanumeric characters, equ `[a-zA-Z0-9]`
+* `[:alpha:]` - Alphabetical characters, equivalent to `[a-zA-Z]`.
+* `[:ascii:]` - ASCII characters, equivalent to `[\\x00-\\x7F]`.
+* `[:blank:]` - Space and tab characters, equivalent to `[ \\t]`.
+* `[:cntrl:]` - Control characters, equivalent to `[\\x00-\\x1F\\x7F]`.
+* `[:digit:]` - Numerical digits, equivalent to `[0-9]`.
+* `[:graph:]` - Graph characters, equivalent to `[\\x21-\\x7E]`.
+* `[:lower:]` - Lowercase letters, equivalent to `[a-z]`.
+* `[:print:]` - Print characters, equivalent to `[\\x20-\\x7E ]`.
+* `[:punct:]` - Punctuation and symbols, equivalent to `[\\-!"#$%&\'()\\*+,./:;<=>?@[\\]^_`{|}~]`.
+* `[:space:]` - Extended space characters, equivalent to `[ \\t\\r\\n\\v\\f]`.
+* `[:upper:]` - Uppercase letters, equivalent to `[A-Z]`.
+* `[:word:]` - Word characters (letters, numbers and underscores), equivalent to `[A-Za-z0-9_]`.
+* `[:xdigit:]` - Hexadecimal digits, equivalent to `[A-Fa-f0-9]`.
+
+See the [Bash Reference Manual](https://www.gnu.org/software/bash/manual/html_node/Pattern-Matching.html) for more information.
+
+### Braces
+
+Picomatch does not do brace expansion. For [brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html) and advanced matching with braces, use [micromatch](https://github.com/micromatch/micromatch) instead. Picomatch has very basic support for braces.
+
+### Matching special characters as literals
+
+If you wish to match the following special characters in a filepath, and you want to use these characters in your glob pattern, they must be escaped with backslashes or quotes:
+
+**Special Characters**
+
+Some characters that are used for matching in regular expressions are also regarded as valid file path characters on some platforms.
+
+To match any of the following characters as literals: `$^*+?()[]
+
+Examples:
+
+```js
+console.log(pm.makeRe('foo/bar \\(1\\)'));
+console.log(pm.makeRe('foo/bar \\(1\\)'));
+```
+
+
+
+
+## Library Comparisons
+
+The following table shows which features are supported by [minimatch](https://github.com/isaacs/minimatch), [micromatch](https://github.com/micromatch/micromatch), [picomatch](https://github.com/micromatch/picomatch), [nanomatch](https://github.com/micromatch/nanomatch), [extglob](https://github.com/micromatch/extglob), [braces](https://github.com/micromatch/braces), and [expand-brackets](https://github.com/micromatch/expand-brackets).
+
+| **Feature** | `minimatch` | `micromatch` | `picomatch` | `nanomatch` | `extglob` | `braces` | `expand-brackets` |
+| --- | --- | --- | --- | --- | --- | --- | --- |
+| Wildcard matching (`*?+`) | ✔ | ✔ | ✔ | ✔ | - | - | - |
+| Advancing globbing | ✔ | ✔ | ✔ | - | - | - | - |
+| Brace _matching_ | ✔ | ✔ | ✔ | - | - | ✔ | - |
+| Brace _expansion_ | ✔ | ✔ | - | - | - | ✔ | - |
+| Extglobs | partial | ✔ | ✔ | - | ✔ | - | - |
+| Posix brackets | - | ✔ | ✔ | - | - | - | ✔ |
+| Regular expression syntax | - | ✔ | ✔ | ✔ | ✔ | - | ✔ |
+| File system operations | - | - | - | - | - | - | - |
+
+
+
+
+## Benchmarks
+
+Performance comparison of picomatch and minimatch.
+
+```
+# .makeRe star
+ picomatch x 1,993,050 ops/sec ±0.51% (91 runs sampled)
+ minimatch x 627,206 ops/sec ±1.96% (87 runs sampled))
+
+# .makeRe star; dot=true
+ picomatch x 1,436,640 ops/sec ±0.62% (91 runs sampled)
+ minimatch x 525,876 ops/sec ±0.60% (88 runs sampled)
+
+# .makeRe globstar
+ picomatch x 1,592,742 ops/sec ±0.42% (90 runs sampled)
+ minimatch x 962,043 ops/sec ±1.76% (91 runs sampled)d)
+
+# .makeRe globstars
+ picomatch x 1,615,199 ops/sec ±0.35% (94 runs sampled)
+ minimatch x 477,179 ops/sec ±1.33% (91 runs sampled)
+
+# .makeRe with leading star
+ picomatch x 1,220,856 ops/sec ±0.40% (92 runs sampled)
+ minimatch x 453,564 ops/sec ±1.43% (94 runs sampled)
+
+# .makeRe - basic braces
+ picomatch x 392,067 ops/sec ±0.70% (90 runs sampled)
+ minimatch x 99,532 ops/sec ±2.03% (87 runs sampled))
+```
+
+
+
+
+## Philosophies
+
+The goal of this library is to be blazing fast, without compromising on accuracy.
+
+**Accuracy**
+
+The number one of goal of this library is accuracy. However, it's not unusual for different glob implementations to have different rules for matching behavior, even with simple wildcard matching. It gets increasingly more complicated when combinations of different features are combined, like when extglobs are combined with globstars, braces, slashes, and so on: `!(**/{a,b,*/c})`.
+
+Thus, given that there is no canonical glob specification to use as a single source of truth when differences of opinion arise regarding behavior, sometimes we have to implement our best judgement and rely on feedback from users to make improvements.
+
+**Performance**
+
+Although this library performs well in benchmarks, and in most cases it's faster than other popular libraries we benchmarked against, we will always choose accuracy over performance. It's not helpful to anyone if our library is faster at returning the wrong answer.
+
+
+
+
+## About
+
+
+Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+Please read the [contributing guide](.github/contributing.md) for advice on opening issues, pull requests, and coding standards.
+
+
+
+
+Running Tests
+
+Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
+
+```sh
+npm install && npm test
+```
+
+
+
+
+Building docs
+
+_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
+
+To generate the readme, run the following command:
+
+```sh
+npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+
+
+### Author
+
+**Jon Schlinkert**
+
+* [GitHub Profile](https://github.com/jonschlinkert)
+* [Twitter Profile](https://twitter.com/jonschlinkert)
+* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
+
+### License
+
+Copyright © 2017-present, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/index.js"
index ffd4fe3267e60e03ef3a44d23b218cd66ed8dfdd..d2f2bc59d0ac7c40b35c574c45bcedbf26263d75 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/index.js"
@@ -1,3 +1,3 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5695ff5dfcd5a338a40630bd506056f2950bcb08fe1cc068519cbbfe60add480
-size 60
+'use strict';
+
+module.exports = require('./lib/picomatch');
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/constants.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/constants.js"
index 1608d032835aa1be6a98e91b76be468503081cbf..a62ef3879552505852ef3a7b9ebe15cdae5e52cf 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/constants.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/constants.js"
@@ -1,3 +1,179 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:62e99d2d2b35b08df788f855f735c70eed58722f43059b50b97dfb950aafdfce
-size 4448
+'use strict';
+
+const path = require('path');
+const WIN_SLASH = '\\\\/';
+const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
+
+/**
+ * Posix glob regex
+ */
+
+const DOT_LITERAL = '\\.';
+const PLUS_LITERAL = '\\+';
+const QMARK_LITERAL = '\\?';
+const SLASH_LITERAL = '\\/';
+const ONE_CHAR = '(?=.)';
+const QMARK = '[^/]';
+const END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;
+const START_ANCHOR = `(?:^|${SLASH_LITERAL})`;
+const DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`;
+const NO_DOT = `(?!${DOT_LITERAL})`;
+const NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`;
+const NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`;
+const NO_DOTS_SLASH = `(?!${DOTS_SLASH})`;
+const QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`;
+const STAR = `${QMARK}*?`;
+
+const POSIX_CHARS = {
+ DOT_LITERAL,
+ PLUS_LITERAL,
+ QMARK_LITERAL,
+ SLASH_LITERAL,
+ ONE_CHAR,
+ QMARK,
+ END_ANCHOR,
+ DOTS_SLASH,
+ NO_DOT,
+ NO_DOTS,
+ NO_DOT_SLASH,
+ NO_DOTS_SLASH,
+ QMARK_NO_DOT,
+ STAR,
+ START_ANCHOR
+};
+
+/**
+ * Windows glob regex
+ */
+
+const WINDOWS_CHARS = {
+ ...POSIX_CHARS,
+
+ SLASH_LITERAL: `[${WIN_SLASH}]`,
+ QMARK: WIN_NO_SLASH,
+ STAR: `${WIN_NO_SLASH}*?`,
+ DOTS_SLASH: `${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`,
+ NO_DOT: `(?!${DOT_LITERAL})`,
+ NO_DOTS: `(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
+ NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`,
+ NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
+ QMARK_NO_DOT: `[^.${WIN_SLASH}]`,
+ START_ANCHOR: `(?:^|[${WIN_SLASH}])`,
+ END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
+};
+
+/**
+ * POSIX Bracket Regex
+ */
+
+const POSIX_REGEX_SOURCE = {
+ alnum: 'a-zA-Z0-9',
+ alpha: 'a-zA-Z',
+ ascii: '\\x00-\\x7F',
+ blank: ' \\t',
+ cntrl: '\\x00-\\x1F\\x7F',
+ digit: '0-9',
+ graph: '\\x21-\\x7E',
+ lower: 'a-z',
+ print: '\\x20-\\x7E ',
+ punct: '\\-!"#$%&\'()\\*+,./:;<=>?@[\\]^_`{|}~',
+ space: ' \\t\\r\\n\\v\\f',
+ upper: 'A-Z',
+ word: 'A-Za-z0-9_',
+ xdigit: 'A-Fa-f0-9'
+};
+
+module.exports = {
+ MAX_LENGTH: 1024 * 64,
+ POSIX_REGEX_SOURCE,
+
+ // regular expressions
+ REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
+ REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
+ REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
+ REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
+ REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
+ REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
+
+ // Replace globs with equivalent patterns to reduce parsing time.
+ REPLACEMENTS: {
+ '***': '*',
+ '**/**': '**',
+ '**/**/**': '**'
+ },
+
+ // Digits
+ CHAR_0: 48, /* 0 */
+ CHAR_9: 57, /* 9 */
+
+ // Alphabet chars.
+ CHAR_UPPERCASE_A: 65, /* A */
+ CHAR_LOWERCASE_A: 97, /* a */
+ CHAR_UPPERCASE_Z: 90, /* Z */
+ CHAR_LOWERCASE_Z: 122, /* z */
+
+ CHAR_LEFT_PARENTHESES: 40, /* ( */
+ CHAR_RIGHT_PARENTHESES: 41, /* ) */
+
+ CHAR_ASTERISK: 42, /* * */
+
+ // Non-alphabetic chars.
+ CHAR_AMPERSAND: 38, /* & */
+ CHAR_AT: 64, /* @ */
+ CHAR_BACKWARD_SLASH: 92, /* \ */
+ CHAR_CARRIAGE_RETURN: 13, /* \r */
+ CHAR_CIRCUMFLEX_ACCENT: 94, /* ^ */
+ CHAR_COLON: 58, /* : */
+ CHAR_COMMA: 44, /* , */
+ CHAR_DOT: 46, /* . */
+ CHAR_DOUBLE_QUOTE: 34, /* " */
+ CHAR_EQUAL: 61, /* = */
+ CHAR_EXCLAMATION_MARK: 33, /* ! */
+ CHAR_FORM_FEED: 12, /* \f */
+ CHAR_FORWARD_SLASH: 47, /* / */
+ CHAR_GRAVE_ACCENT: 96, /* ` */
+ CHAR_HASH: 35, /* # */
+ CHAR_HYPHEN_MINUS: 45, /* - */
+ CHAR_LEFT_ANGLE_BRACKET: 60, /* < */
+ CHAR_LEFT_CURLY_BRACE: 123, /* { */
+ CHAR_LEFT_SQUARE_BRACKET: 91, /* [ */
+ CHAR_LINE_FEED: 10, /* \n */
+ CHAR_NO_BREAK_SPACE: 160, /* \u00A0 */
+ CHAR_PERCENT: 37, /* % */
+ CHAR_PLUS: 43, /* + */
+ CHAR_QUESTION_MARK: 63, /* ? */
+ CHAR_RIGHT_ANGLE_BRACKET: 62, /* > */
+ CHAR_RIGHT_CURLY_BRACE: 125, /* } */
+ CHAR_RIGHT_SQUARE_BRACKET: 93, /* ] */
+ CHAR_SEMICOLON: 59, /* ; */
+ CHAR_SINGLE_QUOTE: 39, /* ' */
+ CHAR_SPACE: 32, /* */
+ CHAR_TAB: 9, /* \t */
+ CHAR_UNDERSCORE: 95, /* _ */
+ CHAR_VERTICAL_LINE: 124, /* | */
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, /* \uFEFF */
+
+ SEP: path.sep,
+
+ /**
+ * Create EXTGLOB_CHARS
+ */
+
+ extglobChars(chars) {
+ return {
+ '!': { type: 'negate', open: '(?:(?!(?:', close: `))${chars.STAR})` },
+ '?': { type: 'qmark', open: '(?:', close: ')?' },
+ '+': { type: 'plus', open: '(?:', close: ')+' },
+ '*': { type: 'star', open: '(?:', close: ')*' },
+ '@': { type: 'at', open: '(?:', close: ')' }
+ };
+ },
+
+ /**
+ * Create GLOB_CHARS
+ */
+
+ globChars(win32) {
+ return win32 === true ? WINDOWS_CHARS : POSIX_CHARS;
+ }
+};
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/parse.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/parse.js"
index 6e1550641cbf9ae58fb6ebc2ce3b033b405706c2..58269d018dc9512349adbdbe0f14171b398d342a 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/parse.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/parse.js"
@@ -1,3 +1,1091 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:def9662f49cd241d7f0f22c295aa5d7ac6541fc983a9394eb45d57b486de2f39
-size 27763
+'use strict';
+
+const constants = require('./constants');
+const utils = require('./utils');
+
+/**
+ * Constants
+ */
+
+const {
+ MAX_LENGTH,
+ POSIX_REGEX_SOURCE,
+ REGEX_NON_SPECIAL_CHARS,
+ REGEX_SPECIAL_CHARS_BACKREF,
+ REPLACEMENTS
+} = constants;
+
+/**
+ * Helpers
+ */
+
+const expandRange = (args, options) => {
+ if (typeof options.expandRange === 'function') {
+ return options.expandRange(...args, options);
+ }
+
+ args.sort();
+ const value = `[${args.join('-')}]`;
+
+ try {
+ /* eslint-disable-next-line no-new */
+ new RegExp(value);
+ } catch (ex) {
+ return args.map(v => utils.escapeRegex(v)).join('..');
+ }
+
+ return value;
+};
+
+/**
+ * Create the message for a syntax error
+ */
+
+const syntaxError = (type, char) => {
+ return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
+};
+
+/**
+ * Parse the given input string.
+ * @param {String} input
+ * @param {Object} options
+ * @return {Object}
+ */
+
+const parse = (input, options) => {
+ if (typeof input !== 'string') {
+ throw new TypeError('Expected a string');
+ }
+
+ input = REPLACEMENTS[input] || input;
+
+ const opts = { ...options };
+ const max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
+
+ let len = input.length;
+ if (len > max) {
+ throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
+ }
+
+ const bos = { type: 'bos', value: '', output: opts.prepend || '' };
+ const tokens = [bos];
+
+ const capture = opts.capture ? '' : '?:';
+ const win32 = utils.isWindows(options);
+
+ // create constants based on platform, for windows or posix
+ const PLATFORM_CHARS = constants.globChars(win32);
+ const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
+
+ const {
+ DOT_LITERAL,
+ PLUS_LITERAL,
+ SLASH_LITERAL,
+ ONE_CHAR,
+ DOTS_SLASH,
+ NO_DOT,
+ NO_DOT_SLASH,
+ NO_DOTS_SLASH,
+ QMARK,
+ QMARK_NO_DOT,
+ STAR,
+ START_ANCHOR
+ } = PLATFORM_CHARS;
+
+ const globstar = opts => {
+ return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
+ };
+
+ const nodot = opts.dot ? '' : NO_DOT;
+ const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT;
+ let star = opts.bash === true ? globstar(opts) : STAR;
+
+ if (opts.capture) {
+ star = `(${star})`;
+ }
+
+ // minimatch options support
+ if (typeof opts.noext === 'boolean') {
+ opts.noextglob = opts.noext;
+ }
+
+ const state = {
+ input,
+ index: -1,
+ start: 0,
+ dot: opts.dot === true,
+ consumed: '',
+ output: '',
+ prefix: '',
+ backtrack: false,
+ negated: false,
+ brackets: 0,
+ braces: 0,
+ parens: 0,
+ quotes: 0,
+ globstar: false,
+ tokens
+ };
+
+ input = utils.removePrefix(input, state);
+ len = input.length;
+
+ const extglobs = [];
+ const braces = [];
+ const stack = [];
+ let prev = bos;
+ let value;
+
+ /**
+ * Tokenizing helpers
+ */
+
+ const eos = () => state.index === len - 1;
+ const peek = state.peek = (n = 1) => input[state.index + n];
+ const advance = state.advance = () => input[++state.index] || '';
+ const remaining = () => input.slice(state.index + 1);
+ const consume = (value = '', num = 0) => {
+ state.consumed += value;
+ state.index += num;
+ };
+
+ const append = token => {
+ state.output += token.output != null ? token.output : token.value;
+ consume(token.value);
+ };
+
+ const negate = () => {
+ let count = 1;
+
+ while (peek() === '!' && (peek(2) !== '(' || peek(3) === '?')) {
+ advance();
+ state.start++;
+ count++;
+ }
+
+ if (count % 2 === 0) {
+ return false;
+ }
+
+ state.negated = true;
+ state.start++;
+ return true;
+ };
+
+ const increment = type => {
+ state[type]++;
+ stack.push(type);
+ };
+
+ const decrement = type => {
+ state[type]--;
+ stack.pop();
+ };
+
+ /**
+ * Push tokens onto the tokens array. This helper speeds up
+ * tokenizing by 1) helping us avoid backtracking as much as possible,
+ * and 2) helping us avoid creating extra tokens when consecutive
+ * characters are plain text. This improves performance and simplifies
+ * lookbehinds.
+ */
+
+ const push = tok => {
+ if (prev.type === 'globstar') {
+ const isBrace = state.braces > 0 && (tok.type === 'comma' || tok.type === 'brace');
+ const isExtglob = tok.extglob === true || (extglobs.length && (tok.type === 'pipe' || tok.type === 'paren'));
+
+ if (tok.type !== 'slash' && tok.type !== 'paren' && !isBrace && !isExtglob) {
+ state.output = state.output.slice(0, -prev.output.length);
+ prev.type = 'star';
+ prev.value = '*';
+ prev.output = star;
+ state.output += prev.output;
+ }
+ }
+
+ if (extglobs.length && tok.type !== 'paren') {
+ extglobs[extglobs.length - 1].inner += tok.value;
+ }
+
+ if (tok.value || tok.output) append(tok);
+ if (prev && prev.type === 'text' && tok.type === 'text') {
+ prev.value += tok.value;
+ prev.output = (prev.output || '') + tok.value;
+ return;
+ }
+
+ tok.prev = prev;
+ tokens.push(tok);
+ prev = tok;
+ };
+
+ const extglobOpen = (type, value) => {
+ const token = { ...EXTGLOB_CHARS[value], conditions: 1, inner: '' };
+
+ token.prev = prev;
+ token.parens = state.parens;
+ token.output = state.output;
+ const output = (opts.capture ? '(' : '') + token.open;
+
+ increment('parens');
+ push({ type, value, output: state.output ? '' : ONE_CHAR });
+ push({ type: 'paren', extglob: true, value: advance(), output });
+ extglobs.push(token);
+ };
+
+ const extglobClose = token => {
+ let output = token.close + (opts.capture ? ')' : '');
+ let rest;
+
+ if (token.type === 'negate') {
+ let extglobStar = star;
+
+ if (token.inner && token.inner.length > 1 && token.inner.includes('/')) {
+ extglobStar = globstar(opts);
+ }
+
+ if (extglobStar !== star || eos() || /^\)+$/.test(remaining())) {
+ output = token.close = `)$))${extglobStar}`;
+ }
+
+ if (token.inner.includes('*') && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
+ // Any non-magical string (`.ts`) or even nested expression (`.{ts,tsx}`) can follow after the closing parenthesis.
+ // In this case, we need to parse the string and use it in the output of the original pattern.
+ // Suitable patterns: `/!(*.d).ts`, `/!(*.d).{ts,tsx}`, `**/!(*-dbg).@(js)`.
+ //
+ // Disabling the `fastpaths` option due to a problem with parsing strings as `.ts` in the pattern like `**/!(*.d).ts`.
+ const expression = parse(rest, { ...options, fastpaths: false }).output;
+
+ output = token.close = `)${expression})${extglobStar})`;
+ }
+
+ if (token.prev.type === 'bos') {
+ state.negatedExtglob = true;
+ }
+ }
+
+ push({ type: 'paren', extglob: true, value, output });
+ decrement('parens');
+ };
+
+ /**
+ * Fast paths
+ */
+
+ if (opts.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(input)) {
+ let backslashes = false;
+
+ let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m, esc, chars, first, rest, index) => {
+ if (first === '\\') {
+ backslashes = true;
+ return m;
+ }
+
+ if (first === '?') {
+ if (esc) {
+ return esc + first + (rest ? QMARK.repeat(rest.length) : '');
+ }
+ if (index === 0) {
+ return qmarkNoDot + (rest ? QMARK.repeat(rest.length) : '');
+ }
+ return QMARK.repeat(chars.length);
+ }
+
+ if (first === '.') {
+ return DOT_LITERAL.repeat(chars.length);
+ }
+
+ if (first === '*') {
+ if (esc) {
+ return esc + first + (rest ? star : '');
+ }
+ return star;
+ }
+ return esc ? m : `\\${m}`;
+ });
+
+ if (backslashes === true) {
+ if (opts.unescape === true) {
+ output = output.replace(/\\/g, '');
+ } else {
+ output = output.replace(/\\+/g, m => {
+ return m.length % 2 === 0 ? '\\\\' : (m ? '\\' : '');
+ });
+ }
+ }
+
+ if (output === input && opts.contains === true) {
+ state.output = input;
+ return state;
+ }
+
+ state.output = utils.wrapOutput(output, state, options);
+ return state;
+ }
+
+ /**
+ * Tokenize input until we reach end-of-string
+ */
+
+ while (!eos()) {
+ value = advance();
+
+ if (value === '\u0000') {
+ continue;
+ }
+
+ /**
+ * Escaped characters
+ */
+
+ if (value === '\\') {
+ const next = peek();
+
+ if (next === '/' && opts.bash !== true) {
+ continue;
+ }
+
+ if (next === '.' || next === ';') {
+ continue;
+ }
+
+ if (!next) {
+ value += '\\';
+ push({ type: 'text', value });
+ continue;
+ }
+
+ // collapse slashes to reduce potential for exploits
+ const match = /^\\+/.exec(remaining());
+ let slashes = 0;
+
+ if (match && match[0].length > 2) {
+ slashes = match[0].length;
+ state.index += slashes;
+ if (slashes % 2 !== 0) {
+ value += '\\';
+ }
+ }
+
+ if (opts.unescape === true) {
+ value = advance();
+ } else {
+ value += advance();
+ }
+
+ if (state.brackets === 0) {
+ push({ type: 'text', value });
+ continue;
+ }
+ }
+
+ /**
+ * If we're inside a regex character class, continue
+ * until we reach the closing bracket.
+ */
+
+ if (state.brackets > 0 && (value !== ']' || prev.value === '[' || prev.value === '[^')) {
+ if (opts.posix !== false && value === ':') {
+ const inner = prev.value.slice(1);
+ if (inner.includes('[')) {
+ prev.posix = true;
+
+ if (inner.includes(':')) {
+ const idx = prev.value.lastIndexOf('[');
+ const pre = prev.value.slice(0, idx);
+ const rest = prev.value.slice(idx + 2);
+ const posix = POSIX_REGEX_SOURCE[rest];
+ if (posix) {
+ prev.value = pre + posix;
+ state.backtrack = true;
+ advance();
+
+ if (!bos.output && tokens.indexOf(prev) === 1) {
+ bos.output = ONE_CHAR;
+ }
+ continue;
+ }
+ }
+ }
+ }
+
+ if ((value === '[' && peek() !== ':') || (value === '-' && peek() === ']')) {
+ value = `\\${value}`;
+ }
+
+ if (value === ']' && (prev.value === '[' || prev.value === '[^')) {
+ value = `\\${value}`;
+ }
+
+ if (opts.posix === true && value === '!' && prev.value === '[') {
+ value = '^';
+ }
+
+ prev.value += value;
+ append({ value });
+ continue;
+ }
+
+ /**
+ * If we're inside a quoted string, continue
+ * until we reach the closing double quote.
+ */
+
+ if (state.quotes === 1 && value !== '"') {
+ value = utils.escapeRegex(value);
+ prev.value += value;
+ append({ value });
+ continue;
+ }
+
+ /**
+ * Double quotes
+ */
+
+ if (value === '"') {
+ state.quotes = state.quotes === 1 ? 0 : 1;
+ if (opts.keepQuotes === true) {
+ push({ type: 'text', value });
+ }
+ continue;
+ }
+
+ /**
+ * Parentheses
+ */
+
+ if (value === '(') {
+ increment('parens');
+ push({ type: 'paren', value });
+ continue;
+ }
+
+ if (value === ')') {
+ if (state.parens === 0 && opts.strictBrackets === true) {
+ throw new SyntaxError(syntaxError('opening', '('));
+ }
+
+ const extglob = extglobs[extglobs.length - 1];
+ if (extglob && state.parens === extglob.parens + 1) {
+ extglobClose(extglobs.pop());
+ continue;
+ }
+
+ push({ type: 'paren', value, output: state.parens ? ')' : '\\)' });
+ decrement('parens');
+ continue;
+ }
+
+ /**
+ * Square brackets
+ */
+
+ if (value === '[') {
+ if (opts.nobracket === true || !remaining().includes(']')) {
+ if (opts.nobracket !== true && opts.strictBrackets === true) {
+ throw new SyntaxError(syntaxError('closing', ']'));
+ }
+
+ value = `\\${value}`;
+ } else {
+ increment('brackets');
+ }
+
+ push({ type: 'bracket', value });
+ continue;
+ }
+
+ if (value === ']') {
+ if (opts.nobracket === true || (prev && prev.type === 'bracket' && prev.value.length === 1)) {
+ push({ type: 'text', value, output: `\\${value}` });
+ continue;
+ }
+
+ if (state.brackets === 0) {
+ if (opts.strictBrackets === true) {
+ throw new SyntaxError(syntaxError('opening', '['));
+ }
+
+ push({ type: 'text', value, output: `\\${value}` });
+ continue;
+ }
+
+ decrement('brackets');
+
+ const prevValue = prev.value.slice(1);
+ if (prev.posix !== true && prevValue[0] === '^' && !prevValue.includes('/')) {
+ value = `/${value}`;
+ }
+
+ prev.value += value;
+ append({ value });
+
+ // when literal brackets are explicitly disabled
+ // assume we should match with a regex character class
+ if (opts.literalBrackets === false || utils.hasRegexChars(prevValue)) {
+ continue;
+ }
+
+ const escaped = utils.escapeRegex(prev.value);
+ state.output = state.output.slice(0, -prev.value.length);
+
+ // when literal brackets are explicitly enabled
+ // assume we should escape the brackets to match literal characters
+ if (opts.literalBrackets === true) {
+ state.output += escaped;
+ prev.value = escaped;
+ continue;
+ }
+
+ // when the user specifies nothing, try to match both
+ prev.value = `(${capture}${escaped}|${prev.value})`;
+ state.output += prev.value;
+ continue;
+ }
+
+ /**
+ * Braces
+ */
+
+ if (value === '{' && opts.nobrace !== true) {
+ increment('braces');
+
+ const open = {
+ type: 'brace',
+ value,
+ output: '(',
+ outputIndex: state.output.length,
+ tokensIndex: state.tokens.length
+ };
+
+ braces.push(open);
+ push(open);
+ continue;
+ }
+
+ if (value === '}') {
+ const brace = braces[braces.length - 1];
+
+ if (opts.nobrace === true || !brace) {
+ push({ type: 'text', value, output: value });
+ continue;
+ }
+
+ let output = ')';
+
+ if (brace.dots === true) {
+ const arr = tokens.slice();
+ const range = [];
+
+ for (let i = arr.length - 1; i >= 0; i--) {
+ tokens.pop();
+ if (arr[i].type === 'brace') {
+ break;
+ }
+ if (arr[i].type !== 'dots') {
+ range.unshift(arr[i].value);
+ }
+ }
+
+ output = expandRange(range, opts);
+ state.backtrack = true;
+ }
+
+ if (brace.comma !== true && brace.dots !== true) {
+ const out = state.output.slice(0, brace.outputIndex);
+ const toks = state.tokens.slice(brace.tokensIndex);
+ brace.value = brace.output = '\\{';
+ value = output = '\\}';
+ state.output = out;
+ for (const t of toks) {
+ state.output += (t.output || t.value);
+ }
+ }
+
+ push({ type: 'brace', value, output });
+ decrement('braces');
+ braces.pop();
+ continue;
+ }
+
+ /**
+ * Pipes
+ */
+
+ if (value === '|') {
+ if (extglobs.length > 0) {
+ extglobs[extglobs.length - 1].conditions++;
+ }
+ push({ type: 'text', value });
+ continue;
+ }
+
+ /**
+ * Commas
+ */
+
+ if (value === ',') {
+ let output = value;
+
+ const brace = braces[braces.length - 1];
+ if (brace && stack[stack.length - 1] === 'braces') {
+ brace.comma = true;
+ output = '|';
+ }
+
+ push({ type: 'comma', value, output });
+ continue;
+ }
+
+ /**
+ * Slashes
+ */
+
+ if (value === '/') {
+ // if the beginning of the glob is "./", advance the start
+ // to the current index, and don't add the "./" characters
+ // to the state. This greatly simplifies lookbehinds when
+ // checking for BOS characters like "!" and "." (not "./")
+ if (prev.type === 'dot' && state.index === state.start + 1) {
+ state.start = state.index + 1;
+ state.consumed = '';
+ state.output = '';
+ tokens.pop();
+ prev = bos; // reset "prev" to the first token
+ continue;
+ }
+
+ push({ type: 'slash', value, output: SLASH_LITERAL });
+ continue;
+ }
+
+ /**
+ * Dots
+ */
+
+ if (value === '.') {
+ if (state.braces > 0 && prev.type === 'dot') {
+ if (prev.value === '.') prev.output = DOT_LITERAL;
+ const brace = braces[braces.length - 1];
+ prev.type = 'dots';
+ prev.output += value;
+ prev.value += value;
+ brace.dots = true;
+ continue;
+ }
+
+ if ((state.braces + state.parens) === 0 && prev.type !== 'bos' && prev.type !== 'slash') {
+ push({ type: 'text', value, output: DOT_LITERAL });
+ continue;
+ }
+
+ push({ type: 'dot', value, output: DOT_LITERAL });
+ continue;
+ }
+
+ /**
+ * Question marks
+ */
+
+ if (value === '?') {
+ const isGroup = prev && prev.value === '(';
+ if (!isGroup && opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {
+ extglobOpen('qmark', value);
+ continue;
+ }
+
+ if (prev && prev.type === 'paren') {
+ const next = peek();
+ let output = value;
+
+ if (next === '<' && !utils.supportsLookbehinds()) {
+ throw new Error('Node.js v10 or higher is required for regex lookbehinds');
+ }
+
+ if ((prev.value === '(' && !/[!=<:]/.test(next)) || (next === '<' && !/<([!=]|\w+>)/.test(remaining()))) {
+ output = `\\${value}`;
+ }
+
+ push({ type: 'text', value, output });
+ continue;
+ }
+
+ if (opts.dot !== true && (prev.type === 'slash' || prev.type === 'bos')) {
+ push({ type: 'qmark', value, output: QMARK_NO_DOT });
+ continue;
+ }
+
+ push({ type: 'qmark', value, output: QMARK });
+ continue;
+ }
+
+ /**
+ * Exclamation
+ */
+
+ if (value === '!') {
+ if (opts.noextglob !== true && peek() === '(') {
+ if (peek(2) !== '?' || !/[!=<:]/.test(peek(3))) {
+ extglobOpen('negate', value);
+ continue;
+ }
+ }
+
+ if (opts.nonegate !== true && state.index === 0) {
+ negate();
+ continue;
+ }
+ }
+
+ /**
+ * Plus
+ */
+
+ if (value === '+') {
+ if (opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {
+ extglobOpen('plus', value);
+ continue;
+ }
+
+ if ((prev && prev.value === '(') || opts.regex === false) {
+ push({ type: 'plus', value, output: PLUS_LITERAL });
+ continue;
+ }
+
+ if ((prev && (prev.type === 'bracket' || prev.type === 'paren' || prev.type === 'brace')) || state.parens > 0) {
+ push({ type: 'plus', value });
+ continue;
+ }
+
+ push({ type: 'plus', value: PLUS_LITERAL });
+ continue;
+ }
+
+ /**
+ * Plain text
+ */
+
+ if (value === '@') {
+ if (opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {
+ push({ type: 'at', extglob: true, value, output: '' });
+ continue;
+ }
+
+ push({ type: 'text', value });
+ continue;
+ }
+
+ /**
+ * Plain text
+ */
+
+ if (value !== '*') {
+ if (value === '$' || value === '^') {
+ value = `\\${value}`;
+ }
+
+ const match = REGEX_NON_SPECIAL_CHARS.exec(remaining());
+ if (match) {
+ value += match[0];
+ state.index += match[0].length;
+ }
+
+ push({ type: 'text', value });
+ continue;
+ }
+
+ /**
+ * Stars
+ */
+
+ if (prev && (prev.type === 'globstar' || prev.star === true)) {
+ prev.type = 'star';
+ prev.star = true;
+ prev.value += value;
+ prev.output = star;
+ state.backtrack = true;
+ state.globstar = true;
+ consume(value);
+ continue;
+ }
+
+ let rest = remaining();
+ if (opts.noextglob !== true && /^\([^?]/.test(rest)) {
+ extglobOpen('star', value);
+ continue;
+ }
+
+ if (prev.type === 'star') {
+ if (opts.noglobstar === true) {
+ consume(value);
+ continue;
+ }
+
+ const prior = prev.prev;
+ const before = prior.prev;
+ const isStart = prior.type === 'slash' || prior.type === 'bos';
+ const afterStar = before && (before.type === 'star' || before.type === 'globstar');
+
+ if (opts.bash === true && (!isStart || (rest[0] && rest[0] !== '/'))) {
+ push({ type: 'star', value, output: '' });
+ continue;
+ }
+
+ const isBrace = state.braces > 0 && (prior.type === 'comma' || prior.type === 'brace');
+ const isExtglob = extglobs.length && (prior.type === 'pipe' || prior.type === 'paren');
+ if (!isStart && prior.type !== 'paren' && !isBrace && !isExtglob) {
+ push({ type: 'star', value, output: '' });
+ continue;
+ }
+
+ // strip consecutive `/**/`
+ while (rest.slice(0, 3) === '/**') {
+ const after = input[state.index + 4];
+ if (after && after !== '/') {
+ break;
+ }
+ rest = rest.slice(3);
+ consume('/**', 3);
+ }
+
+ if (prior.type === 'bos' && eos()) {
+ prev.type = 'globstar';
+ prev.value += value;
+ prev.output = globstar(opts);
+ state.output = prev.output;
+ state.globstar = true;
+ consume(value);
+ continue;
+ }
+
+ if (prior.type === 'slash' && prior.prev.type !== 'bos' && !afterStar && eos()) {
+ state.output = state.output.slice(0, -(prior.output + prev.output).length);
+ prior.output = `(?:${prior.output}`;
+
+ prev.type = 'globstar';
+ prev.output = globstar(opts) + (opts.strictSlashes ? ')' : '|$)');
+ prev.value += value;
+ state.globstar = true;
+ state.output += prior.output + prev.output;
+ consume(value);
+ continue;
+ }
+
+ if (prior.type === 'slash' && prior.prev.type !== 'bos' && rest[0] === '/') {
+ const end = rest[1] !== void 0 ? '|$' : '';
+
+ state.output = state.output.slice(0, -(prior.output + prev.output).length);
+ prior.output = `(?:${prior.output}`;
+
+ prev.type = 'globstar';
+ prev.output = `${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`;
+ prev.value += value;
+
+ state.output += prior.output + prev.output;
+ state.globstar = true;
+
+ consume(value + advance());
+
+ push({ type: 'slash', value: '/', output: '' });
+ continue;
+ }
+
+ if (prior.type === 'bos' && rest[0] === '/') {
+ prev.type = 'globstar';
+ prev.value += value;
+ prev.output = `(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`;
+ state.output = prev.output;
+ state.globstar = true;
+ consume(value + advance());
+ push({ type: 'slash', value: '/', output: '' });
+ continue;
+ }
+
+ // remove single star from output
+ state.output = state.output.slice(0, -prev.output.length);
+
+ // reset previous token to globstar
+ prev.type = 'globstar';
+ prev.output = globstar(opts);
+ prev.value += value;
+
+ // reset output with globstar
+ state.output += prev.output;
+ state.globstar = true;
+ consume(value);
+ continue;
+ }
+
+ const token = { type: 'star', value, output: star };
+
+ if (opts.bash === true) {
+ token.output = '.*?';
+ if (prev.type === 'bos' || prev.type === 'slash') {
+ token.output = nodot + token.output;
+ }
+ push(token);
+ continue;
+ }
+
+ if (prev && (prev.type === 'bracket' || prev.type === 'paren') && opts.regex === true) {
+ token.output = value;
+ push(token);
+ continue;
+ }
+
+ if (state.index === state.start || prev.type === 'slash' || prev.type === 'dot') {
+ if (prev.type === 'dot') {
+ state.output += NO_DOT_SLASH;
+ prev.output += NO_DOT_SLASH;
+
+ } else if (opts.dot === true) {
+ state.output += NO_DOTS_SLASH;
+ prev.output += NO_DOTS_SLASH;
+
+ } else {
+ state.output += nodot;
+ prev.output += nodot;
+ }
+
+ if (peek() !== '*') {
+ state.output += ONE_CHAR;
+ prev.output += ONE_CHAR;
+ }
+ }
+
+ push(token);
+ }
+
+ while (state.brackets > 0) {
+ if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', ']'));
+ state.output = utils.escapeLast(state.output, '[');
+ decrement('brackets');
+ }
+
+ while (state.parens > 0) {
+ if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', ')'));
+ state.output = utils.escapeLast(state.output, '(');
+ decrement('parens');
+ }
+
+ while (state.braces > 0) {
+ if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', '}'));
+ state.output = utils.escapeLast(state.output, '{');
+ decrement('braces');
+ }
+
+ if (opts.strictSlashes !== true && (prev.type === 'star' || prev.type === 'bracket')) {
+ push({ type: 'maybe_slash', value: '', output: `${SLASH_LITERAL}?` });
+ }
+
+ // rebuild the output if we had to backtrack at any point
+ if (state.backtrack === true) {
+ state.output = '';
+
+ for (const token of state.tokens) {
+ state.output += token.output != null ? token.output : token.value;
+
+ if (token.suffix) {
+ state.output += token.suffix;
+ }
+ }
+ }
+
+ return state;
+};
+
+/**
+ * Fast paths for creating regular expressions for common glob patterns.
+ * This can significantly speed up processing and has very little downside
+ * impact when none of the fast paths match.
+ */
+
+parse.fastpaths = (input, options) => {
+ const opts = { ...options };
+ const max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
+ const len = input.length;
+ if (len > max) {
+ throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
+ }
+
+ input = REPLACEMENTS[input] || input;
+ const win32 = utils.isWindows(options);
+
+ // create constants based on platform, for windows or posix
+ const {
+ DOT_LITERAL,
+ SLASH_LITERAL,
+ ONE_CHAR,
+ DOTS_SLASH,
+ NO_DOT,
+ NO_DOTS,
+ NO_DOTS_SLASH,
+ STAR,
+ START_ANCHOR
+ } = constants.globChars(win32);
+
+ const nodot = opts.dot ? NO_DOTS : NO_DOT;
+ const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
+ const capture = opts.capture ? '' : '?:';
+ const state = { negated: false, prefix: '' };
+ let star = opts.bash === true ? '.*?' : STAR;
+
+ if (opts.capture) {
+ star = `(${star})`;
+ }
+
+ const globstar = opts => {
+ if (opts.noglobstar === true) return star;
+ return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
+ };
+
+ const create = str => {
+ switch (str) {
+ case '*':
+ return `${nodot}${ONE_CHAR}${star}`;
+
+ case '.*':
+ return `${DOT_LITERAL}${ONE_CHAR}${star}`;
+
+ case '*.*':
+ return `${nodot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;
+
+ case '*/*':
+ return `${nodot}${star}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star}`;
+
+ case '**':
+ return nodot + globstar(opts);
+
+ case '**/*':
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star}`;
+
+ case '**/*.*':
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;
+
+ case '**/.*':
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;
+
+ default: {
+ const match = /^(.*?)\.(\w+)$/.exec(str);
+ if (!match) return;
+
+ const source = create(match[1]);
+ if (!source) return;
+
+ return source + DOT_LITERAL + match[2];
+ }
+ }
+ };
+
+ const output = utils.removePrefix(input, state);
+ let source = create(output);
+
+ if (source && opts.strictSlashes !== true) {
+ source += `${SLASH_LITERAL}?`;
+ }
+
+ return source;
+};
+
+module.exports = parse;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/picomatch.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/picomatch.js"
index bc31afb752392b2fbc2d938993340124cfa213b2..782d809435a75989f2f3d7801f45b4fab398cb36 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/picomatch.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/picomatch.js"
@@ -1,3 +1,342 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2cb169cbe17d356036c5f62a377318b85e30817877e59797842aec9d8b15f54b
-size 9956
+'use strict';
+
+const path = require('path');
+const scan = require('./scan');
+const parse = require('./parse');
+const utils = require('./utils');
+const constants = require('./constants');
+const isObject = val => val && typeof val === 'object' && !Array.isArray(val);
+
+/**
+ * Creates a matcher function from one or more glob patterns. The
+ * returned function takes a string to match as its first argument,
+ * and returns true if the string is a match. The returned matcher
+ * function also takes a boolean as the second argument that, when true,
+ * returns an object with additional information.
+ *
+ * ```js
+ * const picomatch = require('picomatch');
+ * // picomatch(glob[, options]);
+ *
+ * const isMatch = picomatch('*.!(*a)');
+ * console.log(isMatch('a.a')); //=> false
+ * console.log(isMatch('a.b')); //=> true
+ * ```
+ * @name picomatch
+ * @param {String|Array} `globs` One or more glob patterns.
+ * @param {Object=} `options`
+ * @return {Function=} Returns a matcher function.
+ * @api public
+ */
+
+const picomatch = (glob, options, returnState = false) => {
+ if (Array.isArray(glob)) {
+ const fns = glob.map(input => picomatch(input, options, returnState));
+ const arrayMatcher = str => {
+ for (const isMatch of fns) {
+ const state = isMatch(str);
+ if (state) return state;
+ }
+ return false;
+ };
+ return arrayMatcher;
+ }
+
+ const isState = isObject(glob) && glob.tokens && glob.input;
+
+ if (glob === '' || (typeof glob !== 'string' && !isState)) {
+ throw new TypeError('Expected pattern to be a non-empty string');
+ }
+
+ const opts = options || {};
+ const posix = utils.isWindows(options);
+ const regex = isState
+ ? picomatch.compileRe(glob, options)
+ : picomatch.makeRe(glob, options, false, true);
+
+ const state = regex.state;
+ delete regex.state;
+
+ let isIgnored = () => false;
+ if (opts.ignore) {
+ const ignoreOpts = { ...options, ignore: null, onMatch: null, onResult: null };
+ isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
+ }
+
+ const matcher = (input, returnObject = false) => {
+ const { isMatch, match, output } = picomatch.test(input, regex, options, { glob, posix });
+ const result = { glob, state, regex, posix, input, output, match, isMatch };
+
+ if (typeof opts.onResult === 'function') {
+ opts.onResult(result);
+ }
+
+ if (isMatch === false) {
+ result.isMatch = false;
+ return returnObject ? result : false;
+ }
+
+ if (isIgnored(input)) {
+ if (typeof opts.onIgnore === 'function') {
+ opts.onIgnore(result);
+ }
+ result.isMatch = false;
+ return returnObject ? result : false;
+ }
+
+ if (typeof opts.onMatch === 'function') {
+ opts.onMatch(result);
+ }
+ return returnObject ? result : true;
+ };
+
+ if (returnState) {
+ matcher.state = state;
+ }
+
+ return matcher;
+};
+
+/**
+ * Test `input` with the given `regex`. This is used by the main
+ * `picomatch()` function to test the input string.
+ *
+ * ```js
+ * const picomatch = require('picomatch');
+ * // picomatch.test(input, regex[, options]);
+ *
+ * console.log(picomatch.test('foo/bar', /^(?:([^/]*?)\/([^/]*?))$/));
+ * // { isMatch: true, match: [ 'foo/', 'foo', 'bar' ], output: 'foo/bar' }
+ * ```
+ * @param {String} `input` String to test.
+ * @param {RegExp} `regex`
+ * @return {Object} Returns an object with matching info.
+ * @api public
+ */
+
+picomatch.test = (input, regex, options, { glob, posix } = {}) => {
+ if (typeof input !== 'string') {
+ throw new TypeError('Expected input to be a string');
+ }
+
+ if (input === '') {
+ return { isMatch: false, output: '' };
+ }
+
+ const opts = options || {};
+ const format = opts.format || (posix ? utils.toPosixSlashes : null);
+ let match = input === glob;
+ let output = (match && format) ? format(input) : input;
+
+ if (match === false) {
+ output = format ? format(input) : input;
+ match = output === glob;
+ }
+
+ if (match === false || opts.capture === true) {
+ if (opts.matchBase === true || opts.basename === true) {
+ match = picomatch.matchBase(input, regex, options, posix);
+ } else {
+ match = regex.exec(output);
+ }
+ }
+
+ return { isMatch: Boolean(match), match, output };
+};
+
+/**
+ * Match the basename of a filepath.
+ *
+ * ```js
+ * const picomatch = require('picomatch');
+ * // picomatch.matchBase(input, glob[, options]);
+ * console.log(picomatch.matchBase('foo/bar.js', '*.js'); // true
+ * ```
+ * @param {String} `input` String to test.
+ * @param {RegExp|String} `glob` Glob pattern or regex created by [.makeRe](#makeRe).
+ * @return {Boolean}
+ * @api public
+ */
+
+picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
+ const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
+ return regex.test(path.basename(input));
+};
+
+/**
+ * Returns true if **any** of the given glob `patterns` match the specified `string`.
+ *
+ * ```js
+ * const picomatch = require('picomatch');
+ * // picomatch.isMatch(string, patterns[, options]);
+ *
+ * console.log(picomatch.isMatch('a.a', ['b.*', '*.a'])); //=> true
+ * console.log(picomatch.isMatch('a.a', 'b.*')); //=> false
+ * ```
+ * @param {String|Array} str The string to test.
+ * @param {String|Array} patterns One or more glob patterns to use for matching.
+ * @param {Object} [options] See available [options](#options).
+ * @return {Boolean} Returns true if any patterns match `str`
+ * @api public
+ */
+
+picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
+
+/**
+ * Parse a glob pattern to create the source string for a regular
+ * expression.
+ *
+ * ```js
+ * const picomatch = require('picomatch');
+ * const result = picomatch.parse(pattern[, options]);
+ * ```
+ * @param {String} `pattern`
+ * @param {Object} `options`
+ * @return {Object} Returns an object with useful properties and output to be used as a regex source string.
+ * @api public
+ */
+
+picomatch.parse = (pattern, options) => {
+ if (Array.isArray(pattern)) return pattern.map(p => picomatch.parse(p, options));
+ return parse(pattern, { ...options, fastpaths: false });
+};
+
+/**
+ * Scan a glob pattern to separate the pattern into segments.
+ *
+ * ```js
+ * const picomatch = require('picomatch');
+ * // picomatch.scan(input[, options]);
+ *
+ * const result = picomatch.scan('!./foo/*.js');
+ * console.log(result);
+ * { prefix: '!./',
+ * input: '!./foo/*.js',
+ * start: 3,
+ * base: 'foo',
+ * glob: '*.js',
+ * isBrace: false,
+ * isBracket: false,
+ * isGlob: true,
+ * isExtglob: false,
+ * isGlobstar: false,
+ * negated: true }
+ * ```
+ * @param {String} `input` Glob pattern to scan.
+ * @param {Object} `options`
+ * @return {Object} Returns an object with
+ * @api public
+ */
+
+picomatch.scan = (input, options) => scan(input, options);
+
+/**
+ * Compile a regular expression from the `state` object returned by the
+ * [parse()](#parse) method.
+ *
+ * @param {Object} `state`
+ * @param {Object} `options`
+ * @param {Boolean} `returnOutput` Intended for implementors, this argument allows you to return the raw output from the parser.
+ * @param {Boolean} `returnState` Adds the state to a `state` property on the returned regex. Useful for implementors and debugging.
+ * @return {RegExp}
+ * @api public
+ */
+
+picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
+ if (returnOutput === true) {
+ return state.output;
+ }
+
+ const opts = options || {};
+ const prepend = opts.contains ? '' : '^';
+ const append = opts.contains ? '' : '$';
+
+ let source = `${prepend}(?:${state.output})${append}`;
+ if (state && state.negated === true) {
+ source = `^(?!${source}).*$`;
+ }
+
+ const regex = picomatch.toRegex(source, options);
+ if (returnState === true) {
+ regex.state = state;
+ }
+
+ return regex;
+};
+
+/**
+ * Create a regular expression from a parsed glob pattern.
+ *
+ * ```js
+ * const picomatch = require('picomatch');
+ * const state = picomatch.parse('*.js');
+ * // picomatch.compileRe(state[, options]);
+ *
+ * console.log(picomatch.compileRe(state));
+ * //=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
+ * ```
+ * @param {String} `state` The object returned from the `.parse` method.
+ * @param {Object} `options`
+ * @param {Boolean} `returnOutput` Implementors may use this argument to return the compiled output, instead of a regular expression. This is not exposed on the options to prevent end-users from mutating the result.
+ * @param {Boolean} `returnState` Implementors may use this argument to return the state from the parsed glob with the returned regular expression.
+ * @return {RegExp} Returns a regex created from the given pattern.
+ * @api public
+ */
+
+picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
+ if (!input || typeof input !== 'string') {
+ throw new TypeError('Expected a non-empty string');
+ }
+
+ let parsed = { negated: false, fastpaths: true };
+
+ if (options.fastpaths !== false && (input[0] === '.' || input[0] === '*')) {
+ parsed.output = parse.fastpaths(input, options);
+ }
+
+ if (!parsed.output) {
+ parsed = parse(input, options);
+ }
+
+ return picomatch.compileRe(parsed, options, returnOutput, returnState);
+};
+
+/**
+ * Create a regular expression from the given regex source string.
+ *
+ * ```js
+ * const picomatch = require('picomatch');
+ * // picomatch.toRegex(source[, options]);
+ *
+ * const { output } = picomatch.parse('*.js');
+ * console.log(picomatch.toRegex(output));
+ * //=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
+ * ```
+ * @param {String} `source` Regular expression source string.
+ * @param {Object} `options`
+ * @return {RegExp}
+ * @api public
+ */
+
+picomatch.toRegex = (source, options) => {
+ try {
+ const opts = options || {};
+ return new RegExp(source, opts.flags || (opts.nocase ? 'i' : ''));
+ } catch (err) {
+ if (options && options.debug === true) throw err;
+ return /$^/;
+ }
+};
+
+/**
+ * Picomatch constants.
+ * @return {Object}
+ */
+
+picomatch.constants = constants;
+
+/**
+ * Expose "picomatch"
+ */
+
+module.exports = picomatch;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/scan.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/scan.js"
index b49e4f9ce57f0acc7b97fb023687d4f382858bf8..e59cd7a1357b184b0c70409b161fcf0ce5433af1 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/scan.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/scan.js"
@@ -1,3 +1,391 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:227fcc994a477ea95c5a0435d32783566334c6bd0dcc4a103029735ad8c9c535
-size 9189
+'use strict';
+
+const utils = require('./utils');
+const {
+ CHAR_ASTERISK, /* * */
+ CHAR_AT, /* @ */
+ CHAR_BACKWARD_SLASH, /* \ */
+ CHAR_COMMA, /* , */
+ CHAR_DOT, /* . */
+ CHAR_EXCLAMATION_MARK, /* ! */
+ CHAR_FORWARD_SLASH, /* / */
+ CHAR_LEFT_CURLY_BRACE, /* { */
+ CHAR_LEFT_PARENTHESES, /* ( */
+ CHAR_LEFT_SQUARE_BRACKET, /* [ */
+ CHAR_PLUS, /* + */
+ CHAR_QUESTION_MARK, /* ? */
+ CHAR_RIGHT_CURLY_BRACE, /* } */
+ CHAR_RIGHT_PARENTHESES, /* ) */
+ CHAR_RIGHT_SQUARE_BRACKET /* ] */
+} = require('./constants');
+
+const isPathSeparator = code => {
+ return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
+};
+
+const depth = token => {
+ if (token.isPrefix !== true) {
+ token.depth = token.isGlobstar ? Infinity : 1;
+ }
+};
+
+/**
+ * Quickly scans a glob pattern and returns an object with a handful of
+ * useful properties, like `isGlob`, `path` (the leading non-glob, if it exists),
+ * `glob` (the actual pattern), `negated` (true if the path starts with `!` but not
+ * with `!(`) and `negatedExtglob` (true if the path starts with `!(`).
+ *
+ * ```js
+ * const pm = require('picomatch');
+ * console.log(pm.scan('foo/bar/*.js'));
+ * { isGlob: true, input: 'foo/bar/*.js', base: 'foo/bar', glob: '*.js' }
+ * ```
+ * @param {String} `str`
+ * @param {Object} `options`
+ * @return {Object} Returns an object with tokens and regex source string.
+ * @api public
+ */
+
+const scan = (input, options) => {
+ const opts = options || {};
+
+ const length = input.length - 1;
+ const scanToEnd = opts.parts === true || opts.scanToEnd === true;
+ const slashes = [];
+ const tokens = [];
+ const parts = [];
+
+ let str = input;
+ let index = -1;
+ let start = 0;
+ let lastIndex = 0;
+ let isBrace = false;
+ let isBracket = false;
+ let isGlob = false;
+ let isExtglob = false;
+ let isGlobstar = false;
+ let braceEscaped = false;
+ let backslashes = false;
+ let negated = false;
+ let negatedExtglob = false;
+ let finished = false;
+ let braces = 0;
+ let prev;
+ let code;
+ let token = { value: '', depth: 0, isGlob: false };
+
+ const eos = () => index >= length;
+ const peek = () => str.charCodeAt(index + 1);
+ const advance = () => {
+ prev = code;
+ return str.charCodeAt(++index);
+ };
+
+ while (index < length) {
+ code = advance();
+ let next;
+
+ if (code === CHAR_BACKWARD_SLASH) {
+ backslashes = token.backslashes = true;
+ code = advance();
+
+ if (code === CHAR_LEFT_CURLY_BRACE) {
+ braceEscaped = true;
+ }
+ continue;
+ }
+
+ if (braceEscaped === true || code === CHAR_LEFT_CURLY_BRACE) {
+ braces++;
+
+ while (eos() !== true && (code = advance())) {
+ if (code === CHAR_BACKWARD_SLASH) {
+ backslashes = token.backslashes = true;
+ advance();
+ continue;
+ }
+
+ if (code === CHAR_LEFT_CURLY_BRACE) {
+ braces++;
+ continue;
+ }
+
+ if (braceEscaped !== true && code === CHAR_DOT && (code = advance()) === CHAR_DOT) {
+ isBrace = token.isBrace = true;
+ isGlob = token.isGlob = true;
+ finished = true;
+
+ if (scanToEnd === true) {
+ continue;
+ }
+
+ break;
+ }
+
+ if (braceEscaped !== true && code === CHAR_COMMA) {
+ isBrace = token.isBrace = true;
+ isGlob = token.isGlob = true;
+ finished = true;
+
+ if (scanToEnd === true) {
+ continue;
+ }
+
+ break;
+ }
+
+ if (code === CHAR_RIGHT_CURLY_BRACE) {
+ braces--;
+
+ if (braces === 0) {
+ braceEscaped = false;
+ isBrace = token.isBrace = true;
+ finished = true;
+ break;
+ }
+ }
+ }
+
+ if (scanToEnd === true) {
+ continue;
+ }
+
+ break;
+ }
+
+ if (code === CHAR_FORWARD_SLASH) {
+ slashes.push(index);
+ tokens.push(token);
+ token = { value: '', depth: 0, isGlob: false };
+
+ if (finished === true) continue;
+ if (prev === CHAR_DOT && index === (start + 1)) {
+ start += 2;
+ continue;
+ }
+
+ lastIndex = index + 1;
+ continue;
+ }
+
+ if (opts.noext !== true) {
+ const isExtglobChar = code === CHAR_PLUS
+ || code === CHAR_AT
+ || code === CHAR_ASTERISK
+ || code === CHAR_QUESTION_MARK
+ || code === CHAR_EXCLAMATION_MARK;
+
+ if (isExtglobChar === true && peek() === CHAR_LEFT_PARENTHESES) {
+ isGlob = token.isGlob = true;
+ isExtglob = token.isExtglob = true;
+ finished = true;
+ if (code === CHAR_EXCLAMATION_MARK && index === start) {
+ negatedExtglob = true;
+ }
+
+ if (scanToEnd === true) {
+ while (eos() !== true && (code = advance())) {
+ if (code === CHAR_BACKWARD_SLASH) {
+ backslashes = token.backslashes = true;
+ code = advance();
+ continue;
+ }
+
+ if (code === CHAR_RIGHT_PARENTHESES) {
+ isGlob = token.isGlob = true;
+ finished = true;
+ break;
+ }
+ }
+ continue;
+ }
+ break;
+ }
+ }
+
+ if (code === CHAR_ASTERISK) {
+ if (prev === CHAR_ASTERISK) isGlobstar = token.isGlobstar = true;
+ isGlob = token.isGlob = true;
+ finished = true;
+
+ if (scanToEnd === true) {
+ continue;
+ }
+ break;
+ }
+
+ if (code === CHAR_QUESTION_MARK) {
+ isGlob = token.isGlob = true;
+ finished = true;
+
+ if (scanToEnd === true) {
+ continue;
+ }
+ break;
+ }
+
+ if (code === CHAR_LEFT_SQUARE_BRACKET) {
+ while (eos() !== true && (next = advance())) {
+ if (next === CHAR_BACKWARD_SLASH) {
+ backslashes = token.backslashes = true;
+ advance();
+ continue;
+ }
+
+ if (next === CHAR_RIGHT_SQUARE_BRACKET) {
+ isBracket = token.isBracket = true;
+ isGlob = token.isGlob = true;
+ finished = true;
+ break;
+ }
+ }
+
+ if (scanToEnd === true) {
+ continue;
+ }
+
+ break;
+ }
+
+ if (opts.nonegate !== true && code === CHAR_EXCLAMATION_MARK && index === start) {
+ negated = token.negated = true;
+ start++;
+ continue;
+ }
+
+ if (opts.noparen !== true && code === CHAR_LEFT_PARENTHESES) {
+ isGlob = token.isGlob = true;
+
+ if (scanToEnd === true) {
+ while (eos() !== true && (code = advance())) {
+ if (code === CHAR_LEFT_PARENTHESES) {
+ backslashes = token.backslashes = true;
+ code = advance();
+ continue;
+ }
+
+ if (code === CHAR_RIGHT_PARENTHESES) {
+ finished = true;
+ break;
+ }
+ }
+ continue;
+ }
+ break;
+ }
+
+ if (isGlob === true) {
+ finished = true;
+
+ if (scanToEnd === true) {
+ continue;
+ }
+
+ break;
+ }
+ }
+
+ if (opts.noext === true) {
+ isExtglob = false;
+ isGlob = false;
+ }
+
+ let base = str;
+ let prefix = '';
+ let glob = '';
+
+ if (start > 0) {
+ prefix = str.slice(0, start);
+ str = str.slice(start);
+ lastIndex -= start;
+ }
+
+ if (base && isGlob === true && lastIndex > 0) {
+ base = str.slice(0, lastIndex);
+ glob = str.slice(lastIndex);
+ } else if (isGlob === true) {
+ base = '';
+ glob = str;
+ } else {
+ base = str;
+ }
+
+ if (base && base !== '' && base !== '/' && base !== str) {
+ if (isPathSeparator(base.charCodeAt(base.length - 1))) {
+ base = base.slice(0, -1);
+ }
+ }
+
+ if (opts.unescape === true) {
+ if (glob) glob = utils.removeBackslashes(glob);
+
+ if (base && backslashes === true) {
+ base = utils.removeBackslashes(base);
+ }
+ }
+
+ const state = {
+ prefix,
+ input,
+ start,
+ base,
+ glob,
+ isBrace,
+ isBracket,
+ isGlob,
+ isExtglob,
+ isGlobstar,
+ negated,
+ negatedExtglob
+ };
+
+ if (opts.tokens === true) {
+ state.maxDepth = 0;
+ if (!isPathSeparator(code)) {
+ tokens.push(token);
+ }
+ state.tokens = tokens;
+ }
+
+ if (opts.parts === true || opts.tokens === true) {
+ let prevIndex;
+
+ for (let idx = 0; idx < slashes.length; idx++) {
+ const n = prevIndex ? prevIndex + 1 : start;
+ const i = slashes[idx];
+ const value = input.slice(n, i);
+ if (opts.tokens) {
+ if (idx === 0 && start !== 0) {
+ tokens[idx].isPrefix = true;
+ tokens[idx].value = prefix;
+ } else {
+ tokens[idx].value = value;
+ }
+ depth(tokens[idx]);
+ state.maxDepth += tokens[idx].depth;
+ }
+ if (idx !== 0 || value !== '') {
+ parts.push(value);
+ }
+ prevIndex = i;
+ }
+
+ if (prevIndex && prevIndex + 1 < input.length) {
+ const value = input.slice(prevIndex + 1);
+ parts.push(value);
+
+ if (opts.tokens) {
+ tokens[tokens.length - 1].value = value;
+ depth(tokens[tokens.length - 1]);
+ state.maxDepth += tokens[tokens.length - 1].depth;
+ }
+ }
+
+ state.slashes = slashes;
+ state.parts = parts;
+ }
+
+ return state;
+};
+
+module.exports = scan;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/utils.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/utils.js"
index 61af6393bbafa6a8dba30237c934803f8643ccef..c3ca766a7bef961c6cc9c5b5e04c930aa05d7608 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/utils.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/lib/utils.js"
@@ -1,3 +1,64 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:809fc29cf35ab0aa76b99cad29182f62c0ae598902481d10f9868eaef71981ee
-size 1885
+'use strict';
+
+const path = require('path');
+const win32 = process.platform === 'win32';
+const {
+ REGEX_BACKSLASH,
+ REGEX_REMOVE_BACKSLASH,
+ REGEX_SPECIAL_CHARS,
+ REGEX_SPECIAL_CHARS_GLOBAL
+} = require('./constants');
+
+exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
+exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
+exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
+exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
+exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
+
+exports.removeBackslashes = str => {
+ return str.replace(REGEX_REMOVE_BACKSLASH, match => {
+ return match === '\\' ? '' : match;
+ });
+};
+
+exports.supportsLookbehinds = () => {
+ const segs = process.version.slice(1).split('.').map(Number);
+ if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
+ return true;
+ }
+ return false;
+};
+
+exports.isWindows = options => {
+ if (options && typeof options.windows === 'boolean') {
+ return options.windows;
+ }
+ return win32 === true || path.sep === '\\';
+};
+
+exports.escapeLast = (input, char, lastIdx) => {
+ const idx = input.lastIndexOf(char, lastIdx);
+ if (idx === -1) return input;
+ if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
+ return `${input.slice(0, idx)}\\${input.slice(idx)}`;
+};
+
+exports.removePrefix = (input, state = {}) => {
+ let output = input;
+ if (output.startsWith('./')) {
+ output = output.slice(2);
+ state.prefix = './';
+ }
+ return output;
+};
+
+exports.wrapOutput = (input, state = {}, options = {}) => {
+ const prepend = options.contains ? '' : '^';
+ const append = options.contains ? '' : '$';
+
+ let output = `${prepend}(?:${input})${append}`;
+ if (state.negated === true) {
+ output = `(?:^(?!${output}).*$)`;
+ }
+ return output;
+};
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/package.json"
index 2faf0edb6b40062d48332a8be43743fb416f694a..3db22d408f024ad3b0de10acc3a7c0ce4200c0e8 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/picomatch/package.json"
@@ -1,3 +1,81 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:39b4c548570b67f5a07fb596e2e102ad8b373f83a86d761d13df6d911f9a784c
-size 1912
+{
+ "name": "picomatch",
+ "description": "Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.",
+ "version": "2.3.1",
+ "homepage": "https://github.com/micromatch/picomatch",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "funding": "https://github.com/sponsors/jonschlinkert",
+ "repository": "micromatch/picomatch",
+ "bugs": {
+ "url": "https://github.com/micromatch/picomatch/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js",
+ "lib"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "scripts": {
+ "lint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --report-unused-disable-directives --ignore-path .gitignore .",
+ "mocha": "mocha --reporter dot",
+ "test": "npm run lint && npm run mocha",
+ "test:ci": "npm run test:cover",
+ "test:cover": "nyc npm run mocha"
+ },
+ "devDependencies": {
+ "eslint": "^6.8.0",
+ "fill-range": "^7.0.1",
+ "gulp-format-md": "^2.0.0",
+ "mocha": "^6.2.2",
+ "nyc": "^15.0.0",
+ "time-require": "github:jonschlinkert/time-require"
+ },
+ "keywords": [
+ "glob",
+ "match",
+ "picomatch"
+ ],
+ "nyc": {
+ "reporter": [
+ "html",
+ "lcov",
+ "text-summary"
+ ]
+ },
+ "verb": {
+ "toc": {
+ "render": true,
+ "method": "preWrite",
+ "maxdepth": 3
+ },
+ "layout": "empty",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "lint": {
+ "reflinks": true
+ },
+ "related": {
+ "list": [
+ "braces",
+ "micromatch"
+ ]
+ },
+ "reflinks": [
+ "braces",
+ "expand-brackets",
+ "extglob",
+ "fill-range",
+ "micromatch",
+ "minimatch",
+ "nanomatch",
+ "picomatch"
+ ]
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/index.js"
index b158e40479d821815f352d4edbf70495d5fac9a6..df56221d9de2dc33fad2720aa26e69ca8016c2be 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/index.js"
@@ -1,3 +1,68 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b0ef75e266ad1643909df3e8d276798d6ada05cd90371c07b538ca24fc0a73a6
-size 1676
+'use strict';
+
+const processFn = (fn, options) => function (...args) {
+ const P = options.promiseModule;
+
+ return new P((resolve, reject) => {
+ if (options.multiArgs) {
+ args.push((...result) => {
+ if (options.errorFirst) {
+ if (result[0]) {
+ reject(result);
+ } else {
+ result.shift();
+ resolve(result);
+ }
+ } else {
+ resolve(result);
+ }
+ });
+ } else if (options.errorFirst) {
+ args.push((error, result) => {
+ if (error) {
+ reject(error);
+ } else {
+ resolve(result);
+ }
+ });
+ } else {
+ args.push(resolve);
+ }
+
+ fn.apply(this, args);
+ });
+};
+
+module.exports = (input, options) => {
+ options = Object.assign({
+ exclude: [/.+(Sync|Stream)$/],
+ errorFirst: true,
+ promiseModule: Promise
+ }, options);
+
+ const objType = typeof input;
+ if (!(input !== null && (objType === 'object' || objType === 'function'))) {
+ throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${input === null ? 'null' : objType}\``);
+ }
+
+ const filter = key => {
+ const match = pattern => typeof pattern === 'string' ? key === pattern : pattern.test(key);
+ return options.include ? options.include.some(match) : !options.exclude.some(match);
+ };
+
+ let ret;
+ if (objType === 'function') {
+ ret = function (...args) {
+ return options.excludeMain ? input(...args) : processFn(input, options).apply(this, args);
+ };
+ } else {
+ ret = Object.create(Object.getPrototypeOf(input));
+ }
+
+ for (const key in input) { // eslint-disable-line guard-for-in
+ const property = input[key];
+ ret[key] = typeof property === 'function' && filter(key) ? processFn(property, options) : property;
+ }
+
+ return ret;
+};
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/license" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/license"
index 31f0a9cf621df6cb57b554c0d1522d480fa3cc31..e7af2f77107d73046421ef56c4684cbfdd3c1e89 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/license"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/license"
@@ -1,3 +1,9 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:48da2f39e100d4085767e94966b43f4fa95ff6a0698fba57ed460914e35f94a0
-size 1109
+MIT License
+
+Copyright (c) Sindre Sorhus (sindresorhus.com)
+
+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:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+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.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/package.json"
index d7dfd7c97fe99ac608934a4609a4a3a2ec9ddb8c..a5468cd29f57963bbe4f737eabe492897383afc4 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/package.json"
@@ -1,3 +1,51 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6f3beed79477c32ec1533609a75bef5cc3998e96657277519b3d66bfcc6d046d
-size 828
+{
+ "name": "pify",
+ "version": "4.0.1",
+ "description": "Promisify a callback-style function",
+ "license": "MIT",
+ "repository": "sindresorhus/pify",
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "scripts": {
+ "test": "xo && ava",
+ "optimization-test": "node --allow-natives-syntax optimization-test.js"
+ },
+ "files": [
+ "index.js"
+ ],
+ "keywords": [
+ "promise",
+ "promises",
+ "promisify",
+ "all",
+ "denodify",
+ "denodeify",
+ "callback",
+ "cb",
+ "node",
+ "then",
+ "thenify",
+ "convert",
+ "transform",
+ "wrap",
+ "wrapper",
+ "bind",
+ "to",
+ "async",
+ "await",
+ "es2015",
+ "bluebird"
+ ],
+ "devDependencies": {
+ "ava": "^0.25.0",
+ "pinkie-promise": "^2.0.0",
+ "v8-natives": "^1.1.0",
+ "xo": "^0.23.0"
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/readme.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/readme.md"
index 3a51371dd51ea1a4317aaefbaff1351be4a91d59..7ae3f1c566f28cdc86e2f0d603a840f64d8a0c43 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/readme.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/pify/readme.md"
@@ -1,3 +1,145 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1785366d67030aed3969a50c16bd41fae1d38df0e02b436a5c605c0c29e4a683
-size 3621
+# pify [](https://travis-ci.org/sindresorhus/pify)
+
+> Promisify a callback-style function
+
+---
+
+
+
+---
+
+
+## Install
+
+```
+$ npm install pify
+```
+
+
+## Usage
+
+```js
+const fs = require('fs');
+const pify = require('pify');
+
+// Promisify a single function
+pify(fs.readFile)('package.json', 'utf8').then(data => {
+ console.log(JSON.parse(data).name);
+ //=> 'pify'
+});
+
+// Promisify all methods in a module
+pify(fs).readFile('package.json', 'utf8').then(data => {
+ console.log(JSON.parse(data).name);
+ //=> 'pify'
+});
+```
+
+
+## API
+
+### pify(input, [options])
+
+Returns a `Promise` wrapped version of the supplied function or module.
+
+#### input
+
+Type: `Function` `Object`
+
+Callback-style function or module whose methods you want to promisify.
+
+#### options
+
+##### multiArgs
+
+Type: `boolean`
+Default: `false`
+
+By default, the promisified function will only return the second argument from the callback, which works fine for most APIs. This option can be useful for modules like `request` that return multiple arguments. Turning this on will make it return an array of all arguments from the callback, excluding the error argument, instead of just the second argument. This also applies to rejections, where it returns an array of all the callback arguments, including the error.
+
+```js
+const request = require('request');
+const pify = require('pify');
+
+pify(request, {multiArgs: true})('https://sindresorhus.com').then(result => {
+ const [httpResponse, body] = result;
+});
+```
+
+##### include
+
+Type: `string[]` `RegExp[]`
+
+Methods in a module to promisify. Remaining methods will be left untouched.
+
+##### exclude
+
+Type: `string[]` `RegExp[]`
+Default: `[/.+(Sync|Stream)$/]`
+
+Methods in a module **not** to promisify. Methods with names ending with `'Sync'` are excluded by default.
+
+##### excludeMain
+
+Type: `boolean`
+Default: `false`
+
+If given module is a function itself, it will be promisified. Turn this option on if you want to promisify only methods of the module.
+
+```js
+const pify = require('pify');
+
+function fn() {
+ return true;
+}
+
+fn.method = (data, callback) => {
+ setImmediate(() => {
+ callback(null, data);
+ });
+};
+
+// Promisify methods but not `fn()`
+const promiseFn = pify(fn, {excludeMain: true});
+
+if (promiseFn()) {
+ promiseFn.method('hi').then(data => {
+ console.log(data);
+ });
+}
+```
+
+##### errorFirst
+
+Type: `boolean`
+Default: `true`
+
+Whether the callback has an error as the first argument. You'll want to set this to `false` if you're dealing with an API that doesn't have an error as the first argument, like `fs.exists()`, some browser APIs, Chrome Extension APIs, etc.
+
+##### promiseModule
+
+Type: `Function`
+
+Custom promise module to use instead of the native one.
+
+Check out [`pinkie-promise`](https://github.com/floatdrop/pinkie-promise) if you need a tiny promise polyfill.
+
+
+## Related
+
+- [p-event](https://github.com/sindresorhus/p-event) - Promisify an event by waiting for it to be emitted
+- [p-map](https://github.com/sindresorhus/p-map) - Map over promises concurrently
+- [More…](https://github.com/sindresorhus/promise-fun)
+
+
+## License
+
+MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/LICENSE"
index a7d84c1cf2af0dab8689d4531c5385ff278062ac..458e8a34a379c3879b067ef13b8698d6a0b6c0a0 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/LICENSE"
@@ -1,3 +1,20 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:21ffeb3616fb8bbcd873831077579bfaa9ff1ee4d4823e0cec6aec3f255a856f
-size 1105
+The MIT License (MIT)
+
+Copyright Michael Ciniawsky
+
+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:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+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.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/README.md"
index f1d057c735e804db68d1f3be1875dead9dcb5083..741ddd3ea45b18e3ba1e8198f77aec0c1cec0878 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/README.md"
@@ -1,3 +1,500 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:dbfd093efd3d566bf3ce18845545bc6295b06bafa43eb44cb77bc627d6d57dea
-size 10985
+[![npm][npm]][npm-url]
+[![node][node]][node-url]
+[![deps][deps]][deps-url]
+[![test][test]][test-url]
+[![coverage][cover]][cover-url]
+[![code style][style]][style-url]
+[![chat][chat]][chat-url]
+
+
+

+
+
+
+

+
Load Config
+
+
+Install
+
+```bash
+npm i -D postcss-load-config
+```
+
+Usage
+
+```bash
+npm i -S|-D postcss-plugin
+```
+
+Install all required PostCSS plugins and save them to your **package.json** `dependencies`/`devDependencies`
+
+Then create a PostCSS config file by choosing one of the following formats
+
+### `package.json`
+
+Create a **`postcss`** section in your project's **`package.json`**
+
+```
+Project (Root)
+ |– client
+ |– public
+ |
+ |- package.json
+```
+
+```json
+{
+ "postcss": {
+ "parser": "sugarss",
+ "map": false,
+ "plugins": {
+ "postcss-plugin": {}
+ }
+ }
+}
+```
+
+### `.postcssrc`
+
+Create a **`.postcssrc`** file in JSON or YAML format
+
+> ℹ� It's recommended to use an extension (e.g **`.postcssrc.json`** or **`.postcssrc.yml`**) instead of `.postcssrc`
+
+```
+Project (Root)
+ |– client
+ |– public
+ |
+ |- (.postcssrc|.postcssrc.json|.postcssrc.yml)
+ |- package.json
+```
+
+**`.postcssrc.json`**
+```json
+{
+ "parser": "sugarss",
+ "map": false,
+ "plugins": {
+ "postcss-plugin": {}
+ }
+}
+```
+
+**`.postcssrc.yml`**
+```yaml
+parser: sugarss
+map: false
+plugins:
+ postcss-plugin: {}
+```
+
+### `.postcssrc.js` or `postcss.config.js`
+
+You may need some logic within your config. In this case create JS file named **`.postcssrc.js`** or **`postcss.config.js`**
+
+```
+Project (Root)
+ |– client
+ |– public
+ |
+ |- (.postcssrc.js|postcss.config.js)
+ |- package.json
+```
+
+You can export the config as an `{Object}`
+
+**.postcssrc.js**
+```js
+module.exports = {
+ parser: 'sugarss',
+ map: false,
+ plugins: {
+ 'postcss-plugin': {}
+ }
+}
+```
+
+Or export a `{Function}` that returns the config (more about the `ctx` param below)
+
+**.postcssrc.js**
+```js
+module.exports = (ctx) => ({
+ parser: ctx.parser ? 'sugarss' : false,
+ map: ctx.env === 'development' ? ctx.map : false,
+ plugins: {
+ 'postcss-plugin': ctx.options.plugin
+ }
+})
+```
+
+Plugins can be loaded either using an `{Object}` or an `{Array}`
+
+#### `{Object}`
+
+**.postcssrc.js**
+```js
+module.exports = ({ env }) => ({
+ ...options,
+ plugins: {
+ 'postcss-plugin': env === 'production' ? {} : false
+ }
+})
+```
+
+> ℹ� When using an `{Object}`, the key can be a Node.js module name, a path to a JavaScript file that is relative to the directory of the PostCSS config file, or an absolute path to a JavaScript file.
+
+#### `{Array}`
+
+**.postcssrc.js**
+```js
+module.exports = ({ env }) => ({
+ ...options,
+ plugins: [
+ env === 'production' ? require('postcss-plugin')() : false
+ ]
+})
+```
+> :warning: When using an `{Array}`, make sure to `require()` each plugin
+
+Options
+
+|Name|Type|Default|Description|
+|:--:|:--:|:-----:|:----------|
+|[**`to`**](#to)|`{String}`|`undefined`|Destination File Path|
+|[**`map`**](#map)|`{String\|Object}`|`false`|Enable/Disable Source Maps|
+|[**`from`**](#from)|`{String}`|`undefined`|Source File Path|
+|[**`parser`**](#parser)|`{String\|Function}`|`false`|Custom PostCSS Parser|
+|[**`syntax`**](#syntax)|`{String\|Function}`|`false`|Custom PostCSS Syntax|
+|[**`stringifier`**](#stringifier)|`{String\|Function}`|`false`|Custom PostCSS Stringifier|
+
+### `parser`
+
+**.postcssrc.js**
+```js
+module.exports = {
+ parser: 'sugarss'
+}
+```
+
+### `syntax`
+
+**.postcssrc.js**
+```js
+module.exports = {
+ syntax: 'postcss-scss'
+}
+```
+
+### `stringifier`
+
+**.postcssrc.js**
+```js
+module.exports = {
+ stringifier: 'midas'
+}
+```
+
+### [**`map`**](https://github.com/postcss/postcss/blob/master/docs/source-maps.md)
+
+**.postcssrc.js**
+```js
+module.exports = {
+ map: 'inline'
+}
+```
+
+> :warning: In most cases `options.from` && `options.to` are set by the third-party which integrates this package (CLI, gulp, webpack). It's unlikely one needs to set/use `options.from` && `options.to` within a config file. Unless you're a third-party plugin author using this module and its Node API directly **dont't set `options.from` && `options.to` yourself**
+
+### `to`
+
+```js
+module.exports = {
+ to: 'path/to/dest.css'
+}
+```
+
+### `from`
+
+```js
+module.exports = {
+ from: 'path/to/src.css'
+}
+```
+
+Plugins
+
+### `{} || null`
+
+The plugin will be loaded with defaults
+
+```js
+'postcss-plugin': {} || null
+```
+
+**.postcssrc.js**
+```js
+module.exports = {
+ plugins: {
+ 'postcss-plugin': {} || null
+ }
+}
+```
+
+> :warning: `{}` must be an **empty** `{Object}` literal
+
+### `{Object}`
+
+The plugin will be loaded with given options
+
+```js
+'postcss-plugin': { option: '', option: '' }
+```
+
+**.postcssrc.js**
+```js
+module.exports = {
+ plugins: {
+ 'postcss-plugin': { option: '', option: '' }
+ }
+}
+```
+
+### `false`
+
+The plugin will not be loaded
+
+```js
+'postcss-plugin': false
+```
+
+**.postcssrc.js**
+```js
+module.exports = {
+ plugins: {
+ 'postcss-plugin': false
+ }
+}
+```
+
+### `Ordering`
+
+Plugin **execution order** is determined by declaration in the plugins section (**top-down**)
+
+```js
+{
+ plugins: {
+ 'postcss-plugin': {}, // [0]
+ 'postcss-plugin': {}, // [1]
+ 'postcss-plugin': {} // [2]
+ }
+}
+```
+
+Context
+
+When using a `{Function}` (`postcss.config.js` or `.postcssrc.js`), it's possible to pass context to `postcss-load-config`, which will be evaluated while loading your config. By default `ctx.env (process.env.NODE_ENV)` and `ctx.cwd (process.cwd())` are available on the `ctx` `{Object}`
+
+> ℹ� Most third-party integrations add additional properties to the `ctx` (e.g `postcss-loader`). Check the specific module's README for more information about what is available on the respective `ctx`
+
+Examples
+
+**postcss.config.js**
+
+```js
+module.exports = (ctx) => ({
+ parser: ctx.parser ? 'sugarss' : false,
+ map: ctx.env === 'development' ? ctx.map : false,
+ plugins: {
+ 'postcss-import': {},
+ 'postcss-nested': {},
+ cssnano: ctx.env === 'production' ? {} : false
+ }
+})
+```
+
+
+

+
+
+```json
+"scripts": {
+ "build": "NODE_ENV=production node postcss",
+ "start": "NODE_ENV=development node postcss"
+}
+```
+
+### `Async`
+
+```js
+const { readFileSync } = require('fs')
+
+const postcss = require('postcss')
+const postcssrc = require('postcss-load-config')
+
+const css = readFileSync('index.sss', 'utf8')
+
+const ctx = { parser: true, map: 'inline' }
+
+postcssrc(ctx).then(({ plugins, options }) => {
+ postcss(plugins)
+ .process(css, options)
+ .then((result) => console.log(result.css))
+})
+```
+
+### `Sync`
+
+```js
+const { readFileSync } = require('fs')
+
+const postcss = require('postcss')
+const postcssrc = require('postcss-load-config')
+
+const css = readFileSync('index.sss', 'utf8')
+
+const ctx = { parser: true, map: 'inline' }
+
+const { plugins, options } = postcssrc.sync(ctx)
+```
+
+
+

+
+
+```json
+"scripts": {
+ "build": "NODE_ENV=production gulp",
+ "start": "NODE_ENV=development gulp"
+}
+```
+
+```js
+const { task, src, dest, series, watch } = require('gulp')
+
+const postcss = require('gulp-postcssrc')
+
+const css = () => {
+ src('src/*.css')
+ .pipe(postcss())
+ .pipe(dest('dest'))
+})
+
+task('watch', () => {
+ watch(['src/*.css', 'postcss.config.js'], css)
+})
+
+task('default', series(css, 'watch'))
+```
+
+
+

+
+
+```json
+"scripts": {
+ "build": "NODE_ENV=production webpack",
+ "start": "NODE_ENV=development webpack-dev-server"
+}
+```
+
+**webpack.config.js**
+```js
+module.exports = (env) => ({
+ module: {
+ rules: [
+ {
+ test: /\.css$/,
+ use: [
+ 'style-loader',
+ 'css-loader',
+ 'postcss-loader'
+ ]
+ }
+ ]
+ }
+})
+```
+
+Maintainers
+
+
+
+Contributors
+
+
+
+
+[npm]: https://img.shields.io/npm/v/postcss-load-config.svg
+[npm-url]: https://npmjs.com/package/postcss-load-config
+
+[node]: https://img.shields.io/node/v/postcss-load-plugins.svg
+[node-url]: https://nodejs.org/
+
+[deps]: https://david-dm.org/michael-ciniawsky/postcss-load-config.svg
+[deps-url]: https://david-dm.org/michael-ciniawsky/postcss-load-config
+
+[test]: http://img.shields.io/travis/michael-ciniawsky/postcss-load-config.svg
+[test-url]: https://travis-ci.org/michael-ciniawsky/postcss-load-config
+
+[cover]: https://coveralls.io/repos/github/michael-ciniawsky/postcss-load-config/badge.svg
+[cover-url]: https://coveralls.io/github/michael-ciniawsky/postcss-load-config
+
+[style]: https://img.shields.io/badge/code%20style-standard-yellow.svg
+[style-url]: http://standardjs.com/
+
+[chat]: https://img.shields.io/gitter/room/postcss/postcss.svg
+[chat-url]: https://gitter.im/postcss/postcss
+
+## Security Contact
+
+To report a security vulnerability, please use the [Tidelift security contact].
+Tidelift will coordinate the fix and disclosure.
+
+[Tidelift security contact]: https://tidelift.com/security
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/package.json"
index 47e98b1902d473d25b05cbb846034ab4be2422f0..01f611b47c4f3e3abdb5ec49a14127b2af73ac9b 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/package.json"
@@ -1,3 +1,48 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f758ab03dad067f4cb4bddcbb2e0199b91e220acdedabdf005fcebdde93d6117
-size 945
+{
+ "name": "postcss-load-config",
+ "version": "3.1.4",
+ "description": "Autoload Config for PostCSS",
+ "main": "src/index.js",
+ "types": "src/index.d.ts",
+ "files": [
+ "src"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ "dependencies": {
+ "lilconfig": "^2.0.5",
+ "yaml": "^1.10.2"
+ },
+ "peerDependencies": {
+ "postcss": ">=8.0.9",
+ "ts-node": ">=9.0.0"
+ },
+ "peerDependenciesMeta": {
+ "ts-node": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ }
+ },
+ "keywords": [
+ "postcss",
+ "postcssrc",
+ "postcss.config.js"
+ ],
+ "author": "Michael Ciniawky ",
+ "contributors": [
+ "Ryan Dunckel",
+ "Mateusz Derks",
+ "Dalton Santos",
+ "Patrick Gilday",
+ "François Wouts"
+ ],
+ "repository": "postcss/postcss-load-config",
+ "license": "MIT"
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/index.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/index.d.ts"
index 45333e1b0505689d08ed965ea97b263c801c12e4..c2c4cfe1dccd054a66e9cc23651dc1376f2e7266 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/index.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/index.d.ts"
@@ -1,3 +1,71 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9c181aaa43a215e981e06b06733e49b15190b5ff5732e4f8635f7b52cec1f4d1
-size 2221
+// based on @types/postcss-load-config@2.0.1
+// Type definitions for postcss-load-config 2.1
+import Processor from 'postcss/lib/processor';
+import { Plugin, ProcessOptions, Transformer } from 'postcss';
+import { Options as ConfigOptions } from "lilconfig";
+
+declare function postcssrc(
+ ctx?: postcssrc.ConfigContext,
+ path?: string,
+ options?: ConfigOptions
+): Promise;
+
+declare namespace postcssrc {
+ function sync(
+ ctx?: ConfigContext,
+ path?: string,
+ options?: ConfigOptions
+ ): Result;
+
+ // In the ConfigContext, these three options can be instances of the
+ // appropriate class, or strings. If they are strings, postcss-load-config will
+ // require() them and pass the instances along.
+ export interface ProcessOptionsPreload {
+ parser?: string | ProcessOptions['parser'];
+ stringifier?: string | ProcessOptions['stringifier'];
+ syntax?: string | ProcessOptions['syntax'];
+ }
+
+ // The remaining ProcessOptions, sans the three above.
+ export type RemainingProcessOptions = Pick<
+ ProcessOptions,
+ Exclude
+ >;
+
+ // Additional context options that postcss-load-config understands.
+ export interface Context {
+ cwd?: string;
+ env?: string;
+ }
+
+ // The full shape of the ConfigContext.
+ export type ConfigContext = Context &
+ ProcessOptionsPreload &
+ RemainingProcessOptions;
+
+ // Result of postcssrc is a Promise containing the filename plus the options
+ // and plugins that are ready to pass on to postcss.
+ export type ResultPlugin = Plugin | Transformer | Processor;
+
+ export interface Result {
+ file: string;
+ options: ProcessOptions;
+ plugins: ResultPlugin[];
+ }
+
+ export type ConfigPlugin = Transformer | Plugin | Processor;
+
+ export interface Config {
+ parser?: string | ProcessOptions['parser'] | false;
+ stringifier?: string | ProcessOptions['stringifier'] | false;
+ syntax?: string | ProcessOptions['syntax'] | false;
+ map?: string | false;
+ from?: string;
+ to?: string;
+ plugins?: Array | Record;
+ }
+
+ export type ConfigFn = (ctx: ConfigContext) => Config | Promise;
+}
+
+export = postcssrc;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/index.js"
index f3e5fc01a7e32a414dee9a2ad543c9f32e22d128..db5c40ed75a3de30f5588e8f56457c58debca0b9 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/index.js"
@@ -1,3 +1,188 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e663a4887145bda965f4335077af802e7addd62951196101fac5c91ad8f92741
-size 4282
+'use strict'
+
+const resolve = require('path').resolve
+
+const config = require('lilconfig')
+const yaml = require('yaml')
+
+const loadOptions = require('./options.js')
+const loadPlugins = require('./plugins.js')
+
+/* istanbul ignore next */
+const interopRequireDefault = (obj) => obj && obj.__esModule ? obj : { default: obj }
+
+/**
+ * Process the result from cosmiconfig
+ *
+ * @param {Object} ctx Config Context
+ * @param {Object} result Cosmiconfig result
+ *
+ * @return {Object} PostCSS Config
+ */
+const processResult = (ctx, result) => {
+ const file = result.filepath || ''
+ let config = interopRequireDefault(result.config).default || {}
+
+ if (typeof config === 'function') {
+ config = config(ctx)
+ } else {
+ config = Object.assign({}, config, ctx)
+ }
+
+ if (!config.plugins) {
+ config.plugins = []
+ }
+
+ return {
+ plugins: loadPlugins(config, file),
+ options: loadOptions(config, file),
+ file: file
+ }
+}
+
+/**
+ * Builds the Config Context
+ *
+ * @param {Object} ctx Config Context
+ *
+ * @return {Object} Config Context
+ */
+const createContext = (ctx) => {
+ /**
+ * @type {Object}
+ *
+ * @prop {String} cwd=process.cwd() Config search start location
+ * @prop {String} env=process.env.NODE_ENV Config Enviroment, will be set to `development` by `postcss-load-config` if `process.env.NODE_ENV` is `undefined`
+ */
+ ctx = Object.assign({
+ cwd: process.cwd(),
+ env: process.env.NODE_ENV
+ }, ctx)
+
+ if (!ctx.env) {
+ process.env.NODE_ENV = 'development'
+ }
+
+ return ctx
+}
+
+const addTypeScriptLoader = (options = {}, loader) => {
+ const moduleName = 'postcss'
+
+ return {
+ ...options,
+ searchPlaces: [
+ ...(options.searchPlaces || []),
+ 'package.json',
+ `.${moduleName}rc`,
+ `.${moduleName}rc.json`,
+ `.${moduleName}rc.yaml`,
+ `.${moduleName}rc.yml`,
+ `.${moduleName}rc.ts`,
+ `.${moduleName}rc.js`,
+ `.${moduleName}rc.cjs`,
+ `${moduleName}.config.ts`,
+ `${moduleName}.config.js`,
+ `${moduleName}.config.cjs`
+ ],
+ loaders: {
+ ...options.loaders,
+ '.yaml': (filepath, content) => yaml.parse(content),
+ '.yml': (filepath, content) => yaml.parse(content),
+ '.ts': loader
+ }
+ }
+}
+
+const withTypeScriptLoader = (rcFunc) => {
+ return (ctx, path, options) => {
+ return rcFunc(ctx, path, addTypeScriptLoader(options, (configFile) => {
+ let registerer = { enabled () {} }
+
+ try {
+ // Register TypeScript compiler instance
+ registerer = require('ts-node').register()
+
+ return require(configFile)
+ } catch (err) {
+ if (err.code === 'MODULE_NOT_FOUND') {
+ throw new Error(
+ `'ts-node' is required for the TypeScript configuration files. Make sure it is installed\nError: ${err.message}`
+ )
+ }
+
+ throw err
+ } finally {
+ registerer.enabled(false)
+ }
+ }))
+ }
+}
+
+/**
+ * Load Config
+ *
+ * @method rc
+ *
+ * @param {Object} ctx Config Context
+ * @param {String} path Config Path
+ * @param {Object} options Config Options
+ *
+ * @return {Promise} config PostCSS Config
+ */
+const rc = withTypeScriptLoader((ctx, path, options) => {
+ /**
+ * @type {Object} The full Config Context
+ */
+ ctx = createContext(ctx)
+
+ /**
+ * @type {String} `process.cwd()`
+ */
+ path = path ? resolve(path) : process.cwd()
+
+ return config.lilconfig('postcss', options)
+ .search(path)
+ .then((result) => {
+ if (!result) {
+ throw new Error(`No PostCSS Config found in: ${path}`)
+ }
+
+ return processResult(ctx, result)
+ })
+})
+
+rc.sync = withTypeScriptLoader((ctx, path, options) => {
+ /**
+ * @type {Object} The full Config Context
+ */
+ ctx = createContext(ctx)
+
+ /**
+ * @type {String} `process.cwd()`
+ */
+ path = path ? resolve(path) : process.cwd()
+
+ const result = config.lilconfigSync('postcss', options).search(path)
+
+ if (!result) {
+ throw new Error(`No PostCSS Config found in: ${path}`)
+ }
+
+ return processResult(ctx, result)
+})
+
+/**
+ * Autoload Config for PostCSS
+ *
+ * @author Michael Ciniawsky @michael-ciniawsky
+ * @license MIT
+ *
+ * @module postcss-load-config
+ * @version 2.1.0
+ *
+ * @requires comsiconfig
+ * @requires ./options
+ * @requires ./plugins
+ */
+module.exports = rc
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/options.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/options.js"
index 91663ab33873ed639b690056992375d2a73fdb9c..d3ef2d65826fd6311cd798ee7d42d98a56af8553 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/options.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/options.js"
@@ -1,3 +1,47 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8cd3e8045abc09a120fcef03f1ebebcf94034f20fd81af784efe4bd5bf8b2abf
-size 1057
+'use strict'
+
+const req = require('./req.js')
+
+/**
+ * Load Options
+ *
+ * @private
+ * @method options
+ *
+ * @param {Object} config PostCSS Config
+ *
+ * @return {Object} options PostCSS Options
+ */
+const options = (config, file) => {
+ if (config.parser && typeof config.parser === 'string') {
+ try {
+ config.parser = req(config.parser, file)
+ } catch (err) {
+ throw new Error(`Loading PostCSS Parser failed: ${err.message}\n\n(@${file})`)
+ }
+ }
+
+ if (config.syntax && typeof config.syntax === 'string') {
+ try {
+ config.syntax = req(config.syntax, file)
+ } catch (err) {
+ throw new Error(`Loading PostCSS Syntax failed: ${err.message}\n\n(@${file})`)
+ }
+ }
+
+ if (config.stringifier && typeof config.stringifier === 'string') {
+ try {
+ config.stringifier = req(config.stringifier, file)
+ } catch (err) {
+ throw new Error(`Loading PostCSS Stringifier failed: ${err.message}\n\n(@${file})`)
+ }
+ }
+
+ if (config.plugins) {
+ delete config.plugins
+ }
+
+ return config
+}
+
+module.exports = options
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/plugins.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/plugins.js"
index f2e9bad556d2d1998e49987de3e150e174391fc6..6cb994bbb2bb5101dcc280154fd90d7789172eba 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/plugins.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/plugins.js"
@@ -1,3 +1,85 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4fcea05274f5a1c56e1749e1636735ac648a0a20d4576430fdd12171fe8b2a50
-size 1859
+'use strict'
+
+const req = require('./req.js')
+
+/**
+ * Plugin Loader
+ *
+ * @private
+ * @method load
+ *
+ * @param {String} plugin PostCSS Plugin Name
+ * @param {Object} options PostCSS Plugin Options
+ *
+ * @return {Function} PostCSS Plugin
+ */
+const load = (plugin, options, file) => {
+ try {
+ if (
+ options === null ||
+ options === undefined ||
+ Object.keys(options).length === 0
+ ) {
+ return req(plugin, file)
+ } else {
+ return req(plugin, file)(options)
+ }
+ } catch (err) {
+ throw new Error(`Loading PostCSS Plugin failed: ${err.message}\n\n(@${file})`)
+ }
+}
+
+/**
+ * Load Plugins
+ *
+ * @private
+ * @method plugins
+ *
+ * @param {Object} config PostCSS Config Plugins
+ *
+ * @return {Array} plugins PostCSS Plugins
+ */
+const plugins = (config, file) => {
+ let plugins = []
+
+ if (Array.isArray(config.plugins)) {
+ plugins = config.plugins.filter(Boolean)
+ } else {
+ plugins = Object.keys(config.plugins)
+ .filter((plugin) => {
+ return config.plugins[plugin] !== false ? plugin : ''
+ })
+ .map((plugin) => {
+ return load(plugin, config.plugins[plugin], file)
+ })
+ }
+
+ if (plugins.length && plugins.length > 0) {
+ plugins.forEach((plugin, i) => {
+ if (plugin.default) {
+ plugin = plugin.default
+ }
+
+ if (plugin.postcss === true) {
+ plugin = plugin()
+ } else if (plugin.postcss) {
+ plugin = plugin.postcss
+ }
+
+ if (
+ // eslint-disable-next-line
+ !(
+ (typeof plugin === 'object' && Array.isArray(plugin.plugins)) ||
+ (typeof plugin === 'object' && plugin.postcssPlugin) ||
+ (typeof plugin === 'function')
+ )
+ ) {
+ throw new TypeError(`Invalid PostCSS Plugin found at: plugins[${i}]\n\n(@${file})`)
+ }
+ })
+ }
+
+ return plugins
+}
+
+module.exports = plugins
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/req.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/req.js"
index e9316d35ef394a6147b78350040953ebc02558a5..ad6a3321bf02a0b2e98d5796ab6eaa31130958a2 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/req.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-load-config/src/req.js"
@@ -1,3 +1,10 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a3e298e6fe7e1d4e14c3ea8d8c77a3ae86b18576a086320099967588bd2508e6
-size 289
+// eslint-disable-next-line node/no-deprecated-api
+const { createRequire, createRequireFromPath } = require('module')
+
+function req (name, rootFile) {
+ const create = createRequire || createRequireFromPath
+ const require = create(rootFile)
+ return require(name)
+}
+
+module.exports = req
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/LICENSE"
index 109aa9aed1fe164c63ff3ca43390b4e481830ba8..30b5176ee7b2f781b2dde4cd79571c96be2a119b 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/LICENSE"
@@ -1,3 +1,5 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9e534cfb7f7ae1300e16fe1ee7d203fdfe707dc932429c37246f747c3699ee14
-size 726
+Copyright 2015 Glen Maddern
+
+Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/README.md"
index 5ef6ec606309e2454627f2d4d59db0fd149a5011..3bc41a561cb84745523aa5a7ede5744591cb101d 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/README.md"
@@ -1,3 +1,76 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3db88f2c1e16a8b33f6d722dfc9b37880b9d085b41e1dd6173db4452baf5f44d
-size 1839
+# CSS Modules: Extract Imports
+
+[](https://travis-ci.org/css-modules/postcss-modules-extract-imports)
+
+Transforms:
+
+```css
+:local(.continueButton) {
+ composes: button from "library/button.css";
+ color: green;
+}
+```
+
+into:
+
+```css
+:import("library/button.css") {
+ button: __tmp_487387465fczSDGHSABb;
+}
+:local(.continueButton) {
+ composes: __tmp_487387465fczSDGHSABb;
+ color: green;
+}
+```
+
+## Specification
+
+- Only a certain whitelist of properties are inspected. Currently, that whitelist is `['composes']` alone.
+- An extend-import has the following format:
+
+```
+composes: className [... className] from "path/to/file.css", className [... className], className [... className] from global;
+```
+
+## Options
+
+- `failOnWrongOrder` `bool` generates exception for unpredictable imports order.
+
+```css
+.aa {
+ composes: b from "./b.css";
+ composes: c from "./c.css";
+}
+
+.bb {
+ /* "b.css" should be before "c.css" in this case */
+ composes: c from "./c.css";
+ composes: b from "./b.css";
+}
+```
+
+## Building
+
+```
+npm install
+npm test
+```
+
+[](https://travis-ci.org/css-modules/postcss-modules-extract-imports)
+
+- Lines: [](https://coveralls.io/r/css-modules/postcss-modules-extract-imports?branch=master)
+- Statements: [](http://codecov.io/github/css-modules/postcss-modules-extract-imports?branch=master)
+
+## License
+
+ISC
+
+## With thanks
+
+- Mark Dalgleish
+- Tobias Koppers
+- Guy Bedford
+
+---
+
+Glen Maddern, 2015.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/package.json"
index f9a1c32cb5f37b8dc9017f19904a1733025e5ddb..4a578e0189399803ddc63b214fde93e104d6aca6 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/package.json"
@@ -1,3 +1,51 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:906fb9470e8adc97776cccb9552cf40c63a8f88459da0dcc73be974056eef33c
-size 1408
+{
+ "name": "postcss-modules-extract-imports",
+ "version": "3.1.0",
+ "description": "A CSS Modules transform to extract local aliases for inline imports",
+ "main": "src/index.js",
+ "engines": {
+ "node": "^10 || ^12 || >= 14"
+ },
+ "files": [
+ "src"
+ ],
+ "scripts": {
+ "prettier": "prettier -l --ignore-path .gitignore . \"!test/test-cases\"",
+ "eslint": "eslint --ignore-path .gitignore .",
+ "lint": "yarn eslint && yarn prettier",
+ "test:only": "jest",
+ "test:watch": "jest --watch",
+ "test:coverage": "jest --coverage --collectCoverageFrom=\"src/**/*\"",
+ "pretest": "yarn lint",
+ "test": "yarn test:coverage",
+ "prepublishOnly": "yarn test"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/css-modules/postcss-modules-extract-imports.git"
+ },
+ "keywords": [
+ "css-modules",
+ "postcss",
+ "plugin"
+ ],
+ "author": "Glen Maddern",
+ "license": "ISC",
+ "bugs": {
+ "url": "https://github.com/css-modules/postcss-modules-extract-imports/issues"
+ },
+ "homepage": "https://github.com/css-modules/postcss-modules-extract-imports",
+ "devDependencies": {
+ "coveralls": "^3.1.0",
+ "eslint": "^7.10.0",
+ "eslint-config-prettier": "^6.12.0",
+ "husky": "^4.3.0",
+ "jest": "^26.5.2",
+ "lint-staged": "^10.4.0",
+ "postcss": "^8.1.1",
+ "prettier": "^2.1.2"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/src/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/src/index.js"
index 16369f5a4429c58e07b0f7cef795310d9d2b0d7f..7bf6c6ff4b795cf978881da3043cceacf924f9b2 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/src/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/src/index.js"
@@ -1,3 +1,209 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a6e67a0228993f9ae1c8f9d462e950ab01dcbd1b1b1a5ce509583fdf7f5cc329
-size 5932
+const topologicalSort = require("./topologicalSort");
+
+const matchImports = /^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;
+const icssImport = /^:import\((?:"([^"]+)"|'([^']+)')\)/;
+
+const VISITED_MARKER = 1;
+
+/**
+ * :import('G') {}
+ *
+ * Rule
+ * composes: ... from 'A'
+ * composes: ... from 'B'
+
+ * Rule
+ * composes: ... from 'A'
+ * composes: ... from 'A'
+ * composes: ... from 'C'
+ *
+ * Results in:
+ *
+ * graph: {
+ * G: [],
+ * A: [],
+ * B: ['A'],
+ * C: ['A'],
+ * }
+ */
+function addImportToGraph(importId, parentId, graph, visited) {
+ const siblingsId = parentId + "_" + "siblings";
+ const visitedId = parentId + "_" + importId;
+
+ if (visited[visitedId] !== VISITED_MARKER) {
+ if (!Array.isArray(visited[siblingsId])) {
+ visited[siblingsId] = [];
+ }
+
+ const siblings = visited[siblingsId];
+
+ if (Array.isArray(graph[importId])) {
+ graph[importId] = graph[importId].concat(siblings);
+ } else {
+ graph[importId] = siblings.slice();
+ }
+
+ visited[visitedId] = VISITED_MARKER;
+
+ siblings.push(importId);
+ }
+}
+
+module.exports = (options = {}) => {
+ let importIndex = 0;
+ const createImportedName =
+ typeof options.createImportedName !== "function"
+ ? (importName /*, path*/) =>
+ `i__imported_${importName.replace(/\W/g, "_")}_${importIndex++}`
+ : options.createImportedName;
+ const failOnWrongOrder = options.failOnWrongOrder;
+
+ return {
+ postcssPlugin: "postcss-modules-extract-imports",
+ prepare() {
+ const graph = {};
+ const visited = {};
+ const existingImports = {};
+ const importDecls = {};
+ const imports = {};
+
+ return {
+ Once(root, postcss) {
+ // Check the existing imports order and save refs
+ root.walkRules((rule) => {
+ const matches = icssImport.exec(rule.selector);
+
+ if (matches) {
+ const [, /*match*/ doubleQuotePath, singleQuotePath] = matches;
+ const importPath = doubleQuotePath || singleQuotePath;
+
+ addImportToGraph(importPath, "root", graph, visited);
+
+ existingImports[importPath] = rule;
+ }
+ });
+
+ root.walkDecls(/^composes$/, (declaration) => {
+ const multiple = declaration.value.split(",");
+ const values = [];
+
+ multiple.forEach((value) => {
+ const matches = value.trim().match(matchImports);
+
+ if (!matches) {
+ values.push(value);
+
+ return;
+ }
+
+ let tmpSymbols;
+ let [
+ ,
+ /*match*/ symbols,
+ doubleQuotePath,
+ singleQuotePath,
+ global,
+ ] = matches;
+
+ if (global) {
+ // Composing globals simply means changing these classes to wrap them in global(name)
+ tmpSymbols = symbols.split(/\s+/).map((s) => `global(${s})`);
+ } else {
+ const importPath = doubleQuotePath || singleQuotePath;
+
+ let parent = declaration.parent;
+ let parentIndexes = "";
+
+ while (parent.type !== "root") {
+ parentIndexes =
+ parent.parent.index(parent) + "_" + parentIndexes;
+ parent = parent.parent;
+ }
+
+ const { selector } = declaration.parent;
+ const parentRule = `_${parentIndexes}${selector}`;
+
+ addImportToGraph(importPath, parentRule, graph, visited);
+
+ importDecls[importPath] = declaration;
+ imports[importPath] = imports[importPath] || {};
+
+ tmpSymbols = symbols.split(/\s+/).map((s) => {
+ if (!imports[importPath][s]) {
+ imports[importPath][s] = createImportedName(s, importPath);
+ }
+
+ return imports[importPath][s];
+ });
+ }
+
+ values.push(tmpSymbols.join(" "));
+ });
+
+ declaration.value = values.join(", ");
+ });
+
+ const importsOrder = topologicalSort(graph, failOnWrongOrder);
+
+ if (importsOrder instanceof Error) {
+ const importPath = importsOrder.nodes.find((importPath) =>
+ // eslint-disable-next-line no-prototype-builtins
+ importDecls.hasOwnProperty(importPath)
+ );
+ const decl = importDecls[importPath];
+
+ throw decl.error(
+ "Failed to resolve order of composed modules " +
+ importsOrder.nodes
+ .map((importPath) => "`" + importPath + "`")
+ .join(", ") +
+ ".",
+ {
+ plugin: "postcss-modules-extract-imports",
+ word: "composes",
+ }
+ );
+ }
+
+ let lastImportRule;
+
+ importsOrder.forEach((path) => {
+ const importedSymbols = imports[path];
+ let rule = existingImports[path];
+
+ if (!rule && importedSymbols) {
+ rule = postcss.rule({
+ selector: `:import("${path}")`,
+ raws: { after: "\n" },
+ });
+
+ if (lastImportRule) {
+ root.insertAfter(lastImportRule, rule);
+ } else {
+ root.prepend(rule);
+ }
+ }
+
+ lastImportRule = rule;
+
+ if (!importedSymbols) {
+ return;
+ }
+
+ Object.keys(importedSymbols).forEach((importedSymbol) => {
+ rule.append(
+ postcss.decl({
+ value: importedSymbol,
+ prop: importedSymbols[importedSymbol],
+ raws: { before: "\n " },
+ })
+ );
+ });
+ });
+ },
+ };
+ },
+ };
+};
+
+module.exports.postcss = true;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/src/topologicalSort.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/src/topologicalSort.js"
index a8725b74dfb47b6577033334e036ebd79fa03d66..9166fbb9ce006151d3e55ebc5e34b21a8bb51607 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/src/topologicalSort.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-extract-imports/src/topologicalSort.js"
@@ -1,3 +1,66 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5f95e12c5ae30f12844df1594c458bfbb24c4a9e03c0549291f53ef5c891e0b9
-size 1280
+const PERMANENT_MARKER = 2;
+const TEMPORARY_MARKER = 1;
+
+function createError(node, graph) {
+ const er = new Error("Nondeterministic import's order");
+
+ const related = graph[node];
+ const relatedNode = related.find(
+ (relatedNode) => graph[relatedNode].indexOf(node) > -1
+ );
+
+ er.nodes = [node, relatedNode];
+
+ return er;
+}
+
+function walkGraph(node, graph, state, result, strict) {
+ if (state[node] === PERMANENT_MARKER) {
+ return;
+ }
+
+ if (state[node] === TEMPORARY_MARKER) {
+ if (strict) {
+ return createError(node, graph);
+ }
+
+ return;
+ }
+
+ state[node] = TEMPORARY_MARKER;
+
+ const children = graph[node];
+ const length = children.length;
+
+ for (let i = 0; i < length; ++i) {
+ const error = walkGraph(children[i], graph, state, result, strict);
+
+ if (error instanceof Error) {
+ return error;
+ }
+ }
+
+ state[node] = PERMANENT_MARKER;
+
+ result.push(node);
+}
+
+function topologicalSort(graph, strict) {
+ const result = [];
+ const state = {};
+
+ const nodes = Object.keys(graph);
+ const length = nodes.length;
+
+ for (let i = 0; i < length; ++i) {
+ const er = walkGraph(nodes[i], graph, state, result, strict);
+
+ if (er instanceof Error) {
+ return er;
+ }
+ }
+
+ return result;
+}
+
+module.exports = topologicalSort;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/LICENSE"
index c0e099669825b0db89cba985b1e9d54ae502cb68..ae675bf146417b6589acc89668798a22229cc741 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/LICENSE"
@@ -1,3 +1,20 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:dd40f37957ddcb6a6157f40b677d6f43697583f956144fbce25443e35630453e
-size 1109
+The MIT License (MIT)
+
+Copyright 2015 Mark Dalgleish
+
+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:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+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.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/README.md"
index 63bc982ef42237f2cca0fdab3e47b94abdfcd53c..29f4534fc0e8ee66e59a8cd07780ec033cc9a0e7 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/README.md"
@@ -1,3 +1,68 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:147516a85921163b09873e5d9d9a2fd14913d7a81593cfa7c07fc19bffd89fbd
-size 1974
+[![Build Status][ci-img]][ci] [![codecov][codecov-img]][codecov] [![npm][npm-img]][npm]
+
+# CSS Modules: Local by Default
+
+Transformation examples:
+
+
+```css
+.foo { ... } /* => */ :local(.foo) { ... }
+
+.foo .bar { ... } /* => */ :local(.foo) :local(.bar) { ... }
+
+/* Shorthand global selector */
+
+:global .foo .bar { ... } /* => */ .foo .bar { ... }
+
+.foo :global .bar { ... } /* => */ :local(.foo) .bar { ... }
+
+/* Targeted global selector */
+
+:global(.foo) .bar { ... } /* => */ .foo :local(.bar) { ... }
+
+.foo:global(.bar) { ... } /* => */ :local(.foo).bar { ... }
+
+.foo :global(.bar) .baz { ... } /* => */ :local(.foo) .bar :local(.baz) { ... }
+
+.foo:global(.bar) .baz { ... } /* => */ :local(.foo).bar :local(.baz) { ... }
+```
+
+
+## Building
+
+```bash
+$ npm install
+$ npm test
+```
+
+- Build: [![Build Status][ci-img]][ci]
+- Lines: [![coveralls][coveralls-img]][coveralls]
+- Statements: [![codecov][codecov-img]][codecov]
+
+## Development
+
+```bash
+$ yarn test:watch
+```
+
+## License
+
+MIT
+
+## With thanks
+
+- [Tobias Koppers](https://github.com/sokra)
+- [Glen Maddern](https://github.com/geelen)
+
+---
+
+Mark Dalgleish, 2015.
+
+[ci-img]: https://img.shields.io/travis/css-modules/postcss-modules-local-by-default/master.svg?style=flat-square
+[ci]: https://travis-ci.org/css-modules/postcss-modules-local-by-default
+[npm-img]: https://img.shields.io/npm/v/postcss-modules-local-by-default.svg?style=flat-square
+[npm]: https://www.npmjs.com/package/postcss-modules-local-by-default
+[coveralls-img]: https://img.shields.io/coveralls/css-modules/postcss-modules-local-by-default/master.svg?style=flat-square
+[coveralls]: https://coveralls.io/r/css-modules/postcss-modules-local-by-default?branch=master
+[codecov-img]: https://img.shields.io/codecov/c/github/css-modules/postcss-modules-local-by-default/master.svg?style=flat-square
+[codecov]: https://codecov.io/github/css-modules/postcss-modules-local-by-default?branch=master
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/package.json"
index 35c397902cc32e12a1c10e0e6fe11a608c10dcfc..b53af9324b54f702286bab66529a7a63912b525a 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/package.json"
@@ -1,3 +1,52 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4c7eafada23e413c113f8166ccd675f91fc326e14faa2b3912503347e98234fe
-size 1334
+{
+ "name": "postcss-modules-local-by-default",
+ "version": "4.0.5",
+ "description": "A CSS Modules transform to make local scope the default",
+ "main": "src/index.js",
+ "author": "Mark Dalgleish",
+ "license": "MIT",
+ "files": [
+ "src"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/css-modules/postcss-modules-local-by-default.git"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >= 14"
+ },
+ "keywords": [
+ "css-modules",
+ "postcss",
+ "css",
+ "postcss-plugin"
+ ],
+ "scripts": {
+ "prettier": "prettier -l --ignore-path .gitignore .",
+ "eslint": "eslint --ignore-path .gitignore .",
+ "lint": "yarn eslint && yarn prettier",
+ "test:only": "jest",
+ "test:watch": "jest --watch",
+ "test:coverage": "jest --coverage --collectCoverageFrom=\"src/**/*\"",
+ "test": "yarn test:coverage",
+ "prepublishOnly": "yarn lint && yarn test"
+ },
+ "dependencies": {
+ "icss-utils": "^5.0.0",
+ "postcss-selector-parser": "^6.0.2",
+ "postcss-value-parser": "^4.1.0"
+ },
+ "devDependencies": {
+ "coveralls": "^3.1.0",
+ "eslint": "^7.10.0",
+ "eslint-config-prettier": "^6.12.0",
+ "husky": "^4.3.0",
+ "jest": "^26.5.2",
+ "lint-staged": "^10.4.0",
+ "postcss": "^8.1.0",
+ "prettier": "^2.1.2"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/src/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/src/index.js"
index 07a9e95ec275770c677fd2da58e5fad96d5a6f30..eeaef9348cdeb5cf2a6be54cce993d2b5bfc3e8b 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/src/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-local-by-default/src/index.js"
@@ -1,3 +1,631 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ad712814924b86f0be510e43f06e04456069d2e436388bae2cd45fb48ee2b9e3
-size 18111
+"use strict";
+
+const selectorParser = require("postcss-selector-parser");
+const valueParser = require("postcss-value-parser");
+const { extractICSS } = require("icss-utils");
+
+const isSpacing = (node) => node.type === "combinator" && node.value === " ";
+
+function normalizeNodeArray(nodes) {
+ const array = [];
+
+ nodes.forEach((x) => {
+ if (Array.isArray(x)) {
+ normalizeNodeArray(x).forEach((item) => {
+ array.push(item);
+ });
+ } else if (x) {
+ array.push(x);
+ }
+ });
+
+ if (array.length > 0 && isSpacing(array[array.length - 1])) {
+ array.pop();
+ }
+ return array;
+}
+
+function localizeNode(rule, mode, localAliasMap) {
+ const transform = (node, context) => {
+ if (context.ignoreNextSpacing && !isSpacing(node)) {
+ throw new Error("Missing whitespace after " + context.ignoreNextSpacing);
+ }
+
+ if (context.enforceNoSpacing && isSpacing(node)) {
+ throw new Error("Missing whitespace before " + context.enforceNoSpacing);
+ }
+
+ let newNodes;
+
+ switch (node.type) {
+ case "root": {
+ let resultingGlobal;
+
+ context.hasPureGlobals = false;
+
+ newNodes = node.nodes.map((n) => {
+ const nContext = {
+ global: context.global,
+ lastWasSpacing: true,
+ hasLocals: false,
+ explicit: false,
+ };
+
+ n = transform(n, nContext);
+
+ if (typeof resultingGlobal === "undefined") {
+ resultingGlobal = nContext.global;
+ } else if (resultingGlobal !== nContext.global) {
+ throw new Error(
+ 'Inconsistent rule global/local result in rule "' +
+ node +
+ '" (multiple selectors must result in the same mode for the rule)'
+ );
+ }
+
+ if (!nContext.hasLocals) {
+ context.hasPureGlobals = true;
+ }
+
+ return n;
+ });
+
+ context.global = resultingGlobal;
+
+ node.nodes = normalizeNodeArray(newNodes);
+ break;
+ }
+ case "selector": {
+ newNodes = node.map((childNode) => transform(childNode, context));
+
+ node = node.clone();
+ node.nodes = normalizeNodeArray(newNodes);
+ break;
+ }
+ case "combinator": {
+ if (isSpacing(node)) {
+ if (context.ignoreNextSpacing) {
+ context.ignoreNextSpacing = false;
+ context.lastWasSpacing = false;
+ context.enforceNoSpacing = false;
+ return null;
+ }
+ context.lastWasSpacing = true;
+ return node;
+ }
+ break;
+ }
+ case "pseudo": {
+ let childContext;
+ const isNested = !!node.length;
+ const isScoped = node.value === ":local" || node.value === ":global";
+ const isImportExport =
+ node.value === ":import" || node.value === ":export";
+
+ if (isImportExport) {
+ context.hasLocals = true;
+ // :local(.foo)
+ } else if (isNested) {
+ if (isScoped) {
+ if (node.nodes.length === 0) {
+ throw new Error(`${node.value}() can't be empty`);
+ }
+
+ if (context.inside) {
+ throw new Error(
+ `A ${node.value} is not allowed inside of a ${context.inside}(...)`
+ );
+ }
+
+ childContext = {
+ global: node.value === ":global",
+ inside: node.value,
+ hasLocals: false,
+ explicit: true,
+ };
+
+ newNodes = node
+ .map((childNode) => transform(childNode, childContext))
+ .reduce((acc, next) => acc.concat(next.nodes), []);
+
+ if (newNodes.length) {
+ const { before, after } = node.spaces;
+
+ const first = newNodes[0];
+ const last = newNodes[newNodes.length - 1];
+
+ first.spaces = { before, after: first.spaces.after };
+ last.spaces = { before: last.spaces.before, after };
+ }
+
+ node = newNodes;
+
+ break;
+ } else {
+ childContext = {
+ global: context.global,
+ inside: context.inside,
+ lastWasSpacing: true,
+ hasLocals: false,
+ explicit: context.explicit,
+ };
+ newNodes = node.map((childNode) => {
+ const newContext = {
+ ...childContext,
+ enforceNoSpacing: false,
+ };
+
+ const result = transform(childNode, newContext);
+
+ childContext.global = newContext.global;
+ childContext.hasLocals = newContext.hasLocals;
+
+ return result;
+ });
+
+ node = node.clone();
+ node.nodes = normalizeNodeArray(newNodes);
+
+ if (childContext.hasLocals) {
+ context.hasLocals = true;
+ }
+ }
+ break;
+
+ //:local .foo .bar
+ } else if (isScoped) {
+ if (context.inside) {
+ throw new Error(
+ `A ${node.value} is not allowed inside of a ${context.inside}(...)`
+ );
+ }
+
+ const addBackSpacing = !!node.spaces.before;
+
+ context.ignoreNextSpacing = context.lastWasSpacing
+ ? node.value
+ : false;
+
+ context.enforceNoSpacing = context.lastWasSpacing
+ ? false
+ : node.value;
+
+ context.global = node.value === ":global";
+ context.explicit = true;
+
+ // because this node has spacing that is lost when we remove it
+ // we make up for it by adding an extra combinator in since adding
+ // spacing on the parent selector doesn't work
+ return addBackSpacing
+ ? selectorParser.combinator({ value: " " })
+ : null;
+ }
+ break;
+ }
+ case "id":
+ case "class": {
+ if (!node.value) {
+ throw new Error("Invalid class or id selector syntax");
+ }
+
+ if (context.global) {
+ break;
+ }
+
+ const isImportedValue = localAliasMap.has(node.value);
+ const isImportedWithExplicitScope = isImportedValue && context.explicit;
+
+ if (!isImportedValue || isImportedWithExplicitScope) {
+ const innerNode = node.clone();
+ innerNode.spaces = { before: "", after: "" };
+
+ node = selectorParser.pseudo({
+ value: ":local",
+ nodes: [innerNode],
+ spaces: node.spaces,
+ });
+
+ context.hasLocals = true;
+ }
+
+ break;
+ }
+ case "nesting": {
+ if (node.value === "&") {
+ context.hasLocals = true;
+ }
+ }
+ }
+
+ context.lastWasSpacing = false;
+ context.ignoreNextSpacing = false;
+ context.enforceNoSpacing = false;
+
+ return node;
+ };
+
+ const rootContext = {
+ global: mode === "global",
+ hasPureGlobals: false,
+ };
+
+ rootContext.selector = selectorParser((root) => {
+ transform(root, rootContext);
+ }).processSync(rule, { updateSelector: false, lossless: true });
+
+ return rootContext;
+}
+
+function localizeDeclNode(node, context) {
+ switch (node.type) {
+ case "word":
+ if (context.localizeNextItem) {
+ if (!context.localAliasMap.has(node.value)) {
+ node.value = ":local(" + node.value + ")";
+ context.localizeNextItem = false;
+ }
+ }
+ break;
+
+ case "function":
+ if (
+ context.options &&
+ context.options.rewriteUrl &&
+ node.value.toLowerCase() === "url"
+ ) {
+ node.nodes.map((nestedNode) => {
+ if (nestedNode.type !== "string" && nestedNode.type !== "word") {
+ return;
+ }
+
+ let newUrl = context.options.rewriteUrl(
+ context.global,
+ nestedNode.value
+ );
+
+ switch (nestedNode.type) {
+ case "string":
+ if (nestedNode.quote === "'") {
+ newUrl = newUrl.replace(/(\\)/g, "\\$1").replace(/'/g, "\\'");
+ }
+
+ if (nestedNode.quote === '"') {
+ newUrl = newUrl.replace(/(\\)/g, "\\$1").replace(/"/g, '\\"');
+ }
+
+ break;
+ case "word":
+ newUrl = newUrl.replace(/("|'|\)|\\)/g, "\\$1");
+ break;
+ }
+
+ nestedNode.value = newUrl;
+ });
+ }
+ break;
+ }
+ return node;
+}
+
+// `none` is special value, other is global values
+const specialKeywords = [
+ "none",
+ "inherit",
+ "initial",
+ "revert",
+ "revert-layer",
+ "unset",
+];
+
+function localizeDeclarationValues(localize, declaration, context) {
+ const valueNodes = valueParser(declaration.value);
+
+ valueNodes.walk((node, index, nodes) => {
+ if (
+ node.type === "function" &&
+ (node.value.toLowerCase() === "var" || node.value.toLowerCase() === "env")
+ ) {
+ return false;
+ }
+
+ if (
+ node.type === "word" &&
+ specialKeywords.includes(node.value.toLowerCase())
+ ) {
+ return;
+ }
+
+ const subContext = {
+ options: context.options,
+ global: context.global,
+ localizeNextItem: localize && !context.global,
+ localAliasMap: context.localAliasMap,
+ };
+ nodes[index] = localizeDeclNode(node, subContext);
+ });
+
+ declaration.value = valueNodes.toString();
+}
+
+function localizeDeclaration(declaration, context) {
+ const isAnimation = /animation$/i.test(declaration.prop);
+
+ if (isAnimation) {
+ // letter
+ // An uppercase letter or a lowercase letter.
+ //
+ // ident-start code point
+ // A letter, a non-ASCII code point, or U+005F LOW LINE (_).
+ //
+ // ident code point
+ // An ident-start code point, a digit, or U+002D HYPHEN-MINUS (-).
+
+ // We don't validate `hex digits`, because we don't need it, it is work of linters.
+ const validIdent =
+ /^-?([a-z\u0080-\uFFFF_]|(\\[^\r\n\f])|-(?![0-9]))((\\[^\r\n\f])|[a-z\u0080-\uFFFF_0-9-])*$/i;
+
+ /*
+ The spec defines some keywords that you can use to describe properties such as the timing
+ function. These are still valid animation names, so as long as there is a property that accepts
+ a keyword, it is given priority. Only when all the properties that can take a keyword are
+ exhausted can the animation name be set to the keyword. I.e.
+
+ animation: infinite infinite;
+
+ The animation will repeat an infinite number of times from the first argument, and will have an
+ animation name of infinite from the second.
+ */
+ const animationKeywords = {
+ // animation-direction
+ $normal: 1,
+ $reverse: 1,
+ $alternate: 1,
+ "$alternate-reverse": 1,
+ // animation-fill-mode
+ $forwards: 1,
+ $backwards: 1,
+ $both: 1,
+ // animation-iteration-count
+ $infinite: 1,
+ // animation-play-state
+ $paused: 1,
+ $running: 1,
+ // animation-timing-function
+ $ease: 1,
+ "$ease-in": 1,
+ "$ease-out": 1,
+ "$ease-in-out": 1,
+ $linear: 1,
+ "$step-end": 1,
+ "$step-start": 1,
+ // Special
+ $none: Infinity, // No matter how many times you write none, it will never be an animation name
+ // Global values
+ $initial: Infinity,
+ $inherit: Infinity,
+ $unset: Infinity,
+ $revert: Infinity,
+ "$revert-layer": Infinity,
+ };
+ let parsedAnimationKeywords = {};
+ const valueNodes = valueParser(declaration.value).walk((node) => {
+ // If div-token appeared (represents as comma ','), a possibility of an animation-keywords should be reflesh.
+ if (node.type === "div") {
+ parsedAnimationKeywords = {};
+
+ return;
+ }
+ // Do not handle nested functions
+ else if (node.type === "function") {
+ return false;
+ }
+ // Ignore all except word
+ else if (node.type !== "word") {
+ return;
+ }
+
+ const value = node.type === "word" ? node.value.toLowerCase() : null;
+
+ let shouldParseAnimationName = false;
+
+ if (value && validIdent.test(value)) {
+ if ("$" + value in animationKeywords) {
+ parsedAnimationKeywords["$" + value] =
+ "$" + value in parsedAnimationKeywords
+ ? parsedAnimationKeywords["$" + value] + 1
+ : 0;
+
+ shouldParseAnimationName =
+ parsedAnimationKeywords["$" + value] >=
+ animationKeywords["$" + value];
+ } else {
+ shouldParseAnimationName = true;
+ }
+ }
+
+ const subContext = {
+ options: context.options,
+ global: context.global,
+ localizeNextItem: shouldParseAnimationName && !context.global,
+ localAliasMap: context.localAliasMap,
+ };
+
+ return localizeDeclNode(node, subContext);
+ });
+
+ declaration.value = valueNodes.toString();
+
+ return;
+ }
+
+ const isAnimationName = /animation(-name)?$/i.test(declaration.prop);
+
+ if (isAnimationName) {
+ return localizeDeclarationValues(true, declaration, context);
+ }
+
+ const hasUrl = /url\(/i.test(declaration.value);
+
+ if (hasUrl) {
+ return localizeDeclarationValues(false, declaration, context);
+ }
+}
+
+module.exports = (options = {}) => {
+ if (
+ options &&
+ options.mode &&
+ options.mode !== "global" &&
+ options.mode !== "local" &&
+ options.mode !== "pure"
+ ) {
+ throw new Error(
+ 'options.mode must be either "global", "local" or "pure" (default "local")'
+ );
+ }
+
+ const pureMode = options && options.mode === "pure";
+ const globalMode = options && options.mode === "global";
+
+ return {
+ postcssPlugin: "postcss-modules-local-by-default",
+ prepare() {
+ const localAliasMap = new Map();
+
+ return {
+ Once(root) {
+ const { icssImports } = extractICSS(root, false);
+
+ Object.keys(icssImports).forEach((key) => {
+ Object.keys(icssImports[key]).forEach((prop) => {
+ localAliasMap.set(prop, icssImports[key][prop]);
+ });
+ });
+
+ root.walkAtRules((atRule) => {
+ if (/keyframes$/i.test(atRule.name)) {
+ const globalMatch = /^\s*:global\s*\((.+)\)\s*$/.exec(
+ atRule.params
+ );
+ const localMatch = /^\s*:local\s*\((.+)\)\s*$/.exec(
+ atRule.params
+ );
+
+ let globalKeyframes = globalMode;
+
+ if (globalMatch) {
+ if (pureMode) {
+ throw atRule.error(
+ "@keyframes :global(...) is not allowed in pure mode"
+ );
+ }
+ atRule.params = globalMatch[1];
+ globalKeyframes = true;
+ } else if (localMatch) {
+ atRule.params = localMatch[0];
+ globalKeyframes = false;
+ } else if (
+ atRule.params &&
+ !globalMode &&
+ !localAliasMap.has(atRule.params)
+ ) {
+ atRule.params = ":local(" + atRule.params + ")";
+ }
+
+ atRule.walkDecls((declaration) => {
+ localizeDeclaration(declaration, {
+ localAliasMap,
+ options: options,
+ global: globalKeyframes,
+ });
+ });
+ } else if (/scope$/i.test(atRule.name)) {
+ if (atRule.params) {
+ atRule.params = atRule.params
+ .split("to")
+ .map((item) => {
+ const selector = item.trim().slice(1, -1).trim();
+ const context = localizeNode(
+ selector,
+ options.mode,
+ localAliasMap
+ );
+
+ context.options = options;
+ context.localAliasMap = localAliasMap;
+
+ if (pureMode && context.hasPureGlobals) {
+ throw atRule.error(
+ 'Selector in at-rule"' +
+ selector +
+ '" is not pure ' +
+ "(pure selectors must contain at least one local class or id)"
+ );
+ }
+
+ return `(${context.selector})`;
+ })
+ .join(" to ");
+ }
+
+ atRule.nodes.forEach((declaration) => {
+ if (declaration.type === "decl") {
+ localizeDeclaration(declaration, {
+ localAliasMap,
+ options: options,
+ global: globalMode,
+ });
+ }
+ });
+ } else if (atRule.nodes) {
+ atRule.nodes.forEach((declaration) => {
+ if (declaration.type === "decl") {
+ localizeDeclaration(declaration, {
+ localAliasMap,
+ options: options,
+ global: globalMode,
+ });
+ }
+ });
+ }
+ });
+
+ root.walkRules((rule) => {
+ if (
+ rule.parent &&
+ rule.parent.type === "atrule" &&
+ /keyframes$/i.test(rule.parent.name)
+ ) {
+ // ignore keyframe rules
+ return;
+ }
+
+ const context = localizeNode(rule, options.mode, localAliasMap);
+
+ context.options = options;
+ context.localAliasMap = localAliasMap;
+
+ if (pureMode && context.hasPureGlobals) {
+ throw rule.error(
+ 'Selector "' +
+ rule.selector +
+ '" is not pure ' +
+ "(pure selectors must contain at least one local class or id)"
+ );
+ }
+
+ rule.selector = context.selector;
+
+ // Less-syntax mixins parse as rules with no nodes
+ if (rule.nodes) {
+ rule.nodes.forEach((declaration) =>
+ localizeDeclaration(declaration, context)
+ );
+ }
+ });
+ },
+ };
+ },
+ };
+};
+module.exports.postcss = true;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/LICENSE"
index 9abe3ba70d242f0d146c57c05ab121077070e33f..fdfeea4b3e7774ad7980b743995f3aa25f82911e 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/LICENSE"
@@ -1,3 +1,7 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7774c8c4a3f750b294b416818062201a404fc2d6c8756d8b89a1688e24b5d5a7
-size 750
+ISC License (ISC)
+
+Copyright (c) 2015, Glen Maddern
+
+Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/README.md"
index 24a3b220880ebe845bee48e9c61dee68fd657ea6..7e2a08e1d34b0211485250e7de28d4e7b3ab0067 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/README.md"
@@ -1,3 +1,100 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6150b7c0695d05e556ba42d8b5747562979a9568b610eabeb61050a028ebdd42
-size 2278
+# CSS Modules: Scope Locals & Extend
+
+[](https://travis-ci.org/css-modules/postcss-modules-scope)
+
+Transforms:
+
+```css
+:local(.continueButton) {
+ color: green;
+}
+```
+
+into:
+
+```css
+:export {
+ continueButton: __buttons_continueButton_djd347adcxz9;
+}
+.__buttons_continueButton_djd347adcxz9 {
+ color: green;
+}
+```
+
+so it doesn't pollute CSS global scope and can be simply used in JS like so:
+
+```js
+import styles from "./buttons.css";
+elem.innerHTML = ``;
+```
+
+## Composition
+
+Since we're exporting class names, there's no reason to export only one. This can give us some really useful reuse of styles:
+
+```css
+.globalButtonStyle {
+ background: white;
+ border: 1px solid;
+ border-radius: 0.25rem;
+}
+.globalButtonStyle:hover {
+ box-shadow: 0 0 4px -2px;
+}
+:local(.continueButton) {
+ compose-with: globalButtonStyle;
+ color: green;
+}
+```
+
+becomes:
+
+```
+.globalButtonStyle {
+ background: white;
+ border: 1px solid;
+ border-radius: 0.25rem;
+}
+.globalButtonStyle:hover {
+ box-shadow: 0 0 4px -2px;
+}
+:local(.continueButton) {
+ compose-with: globalButtonStyle;
+ color: green;
+}
+```
+
+**Note:** you can also use `composes` as a shorthand for `compose-with`
+
+## Local-by-default & reuse across files
+
+You're looking for [CSS Modules](https://github.com/css-modules/css-modules). It uses this plugin as well as a few others, and it's amazing.
+
+## Building
+
+```
+npm install
+npm test
+```
+
+- Status: [](https://travis-ci.org/css-modules/postcss-modules-scope)
+- Lines: [](https://coveralls.io/r/css-modules/postcss-modules-scope?branch=master)
+- Statements: [](http://codecov.io/github/css-modules/postcss-modules-scope?branch=master)
+
+## Development
+
+- `npm test:watch` will watch `src` and `test` for changes and run the tests
+
+## License
+
+ISC
+
+## With thanks
+
+- Mark Dalgleish
+- Tobias Koppers
+- Guy Bedford
+
+---
+
+Glen Maddern, 2015.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/package.json"
index cae05f4aefc1470a7802f0cbd5782aafeb8873f5..1dd8e422672ef5c96da028b81f3d0e3272fdb934 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/package.json"
@@ -1,3 +1,54 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:aed455102dc997fa60d957d52c474376ffd1ab76b92039e104a0f6c9cea00d32
-size 1442
+{
+ "name": "postcss-modules-scope",
+ "version": "3.2.0",
+ "description": "A CSS Modules transform to extract export statements from local-scope classes",
+ "main": "src/index.js",
+ "engines": {
+ "node": "^10 || ^12 || >= 14"
+ },
+ "scripts": {
+ "prettier": "prettier -l --ignore-path .gitignore . \"!test/test-cases\"",
+ "eslint": "eslint --ignore-path .gitignore .",
+ "lint": "yarn eslint && yarn prettier",
+ "test:only": "jest",
+ "test:watch": "jest --watch",
+ "test:coverage": "jest --coverage --collectCoverageFrom=\"src/**/*\"",
+ "pretest": "yarn lint",
+ "test": "yarn test:coverage",
+ "prepublishOnly": "yarn test"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/css-modules/postcss-modules-scope.git"
+ },
+ "keywords": [
+ "css-modules",
+ "postcss",
+ "plugin"
+ ],
+ "files": [
+ "src"
+ ],
+ "author": "Glen Maddern",
+ "license": "ISC",
+ "bugs": {
+ "url": "https://github.com/css-modules/postcss-modules-scope/issues"
+ },
+ "homepage": "https://github.com/css-modules/postcss-modules-scope",
+ "dependencies": {
+ "postcss-selector-parser": "^6.0.4"
+ },
+ "devDependencies": {
+ "coveralls": "^3.1.0",
+ "eslint": "^7.9.0",
+ "eslint-config-prettier": "^6.12.0",
+ "husky": "^4.3.0",
+ "jest": "^26.4.2",
+ "lint-staged": "^10.4.0",
+ "postcss": "^8.3.0",
+ "prettier": "^2.1.2"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/src/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/src/index.js"
index 18ee23224df953c07265fee80acde11084057e2c..c7e3ff4b16d9facf0a3ff4c80fc976273f13992f 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/src/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-modules-scope/src/index.js"
@@ -1,3 +1,376 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:09154e00f881218a33f0ed23c23b908e141c70e6336b8ca186fdabbdef39563c
-size 10513
+"use strict";
+
+const selectorParser = require("postcss-selector-parser");
+
+const hasOwnProperty = Object.prototype.hasOwnProperty;
+
+function isNestedRule(rule) {
+ if (!rule.parent || rule.parent.type === "root") {
+ return false;
+ }
+
+ if (rule.parent.type === "rule") {
+ return true;
+ }
+
+ return isNestedRule(rule.parent);
+}
+
+function getSingleLocalNamesForComposes(root, rule) {
+ if (isNestedRule(rule)) {
+ throw new Error(`composition is not allowed in nested rule \n\n${rule}`);
+ }
+
+ return root.nodes.map((node) => {
+ if (node.type !== "selector" || node.nodes.length !== 1) {
+ throw new Error(
+ `composition is only allowed when selector is single :local class name not in "${root}"`
+ );
+ }
+
+ node = node.nodes[0];
+
+ if (
+ node.type !== "pseudo" ||
+ node.value !== ":local" ||
+ node.nodes.length !== 1
+ ) {
+ throw new Error(
+ 'composition is only allowed when selector is single :local class name not in "' +
+ root +
+ '", "' +
+ node +
+ '" is weird'
+ );
+ }
+
+ node = node.first;
+
+ if (node.type !== "selector" || node.length !== 1) {
+ throw new Error(
+ 'composition is only allowed when selector is single :local class name not in "' +
+ root +
+ '", "' +
+ node +
+ '" is weird'
+ );
+ }
+
+ node = node.first;
+
+ if (node.type !== "class") {
+ // 'id' is not possible, because you can't compose ids
+ throw new Error(
+ 'composition is only allowed when selector is single :local class name not in "' +
+ root +
+ '", "' +
+ node +
+ '" is weird'
+ );
+ }
+
+ return node.value;
+ });
+}
+
+const whitespace = "[\\x20\\t\\r\\n\\f]";
+const unescapeRegExp = new RegExp(
+ "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)",
+ "ig"
+);
+
+function unescape(str) {
+ return str.replace(unescapeRegExp, (_, escaped, escapedWhitespace) => {
+ const high = "0x" + escaped - 0x10000;
+
+ // NaN means non-codepoint
+ // Workaround erroneous numeric interpretation of +"0x"
+ return high !== high || escapedWhitespace
+ ? escaped
+ : high < 0
+ ? // BMP codepoint
+ String.fromCharCode(high + 0x10000)
+ : // Supplemental Plane codepoint (surrogate pair)
+ String.fromCharCode((high >> 10) | 0xd800, (high & 0x3ff) | 0xdc00);
+ });
+}
+
+const plugin = (options = {}) => {
+ const generateScopedName =
+ (options && options.generateScopedName) || plugin.generateScopedName;
+ const generateExportEntry =
+ (options && options.generateExportEntry) || plugin.generateExportEntry;
+ const exportGlobals = options && options.exportGlobals;
+
+ return {
+ postcssPlugin: "postcss-modules-scope",
+ Once(root, { rule }) {
+ const exports = Object.create(null);
+
+ function exportScopedName(name, rawName, node) {
+ const scopedName = generateScopedName(
+ rawName ? rawName : name,
+ root.source.input.from,
+ root.source.input.css,
+ node
+ );
+ const exportEntry = generateExportEntry(
+ rawName ? rawName : name,
+ scopedName,
+ root.source.input.from,
+ root.source.input.css,
+ node
+ );
+ const { key, value } = exportEntry;
+
+ exports[key] = exports[key] || [];
+
+ if (exports[key].indexOf(value) < 0) {
+ exports[key].push(value);
+ }
+
+ return scopedName;
+ }
+
+ function localizeNode(node) {
+ switch (node.type) {
+ case "selector":
+ node.nodes = node.map((item) => localizeNode(item));
+ return node;
+ case "class":
+ return selectorParser.className({
+ value: exportScopedName(
+ node.value,
+ node.raws && node.raws.value ? node.raws.value : null,
+ node
+ ),
+ });
+ case "id": {
+ return selectorParser.id({
+ value: exportScopedName(
+ node.value,
+ node.raws && node.raws.value ? node.raws.value : null,
+ node
+ ),
+ });
+ }
+ case "attribute": {
+ if (node.attribute === "class" && node.operator === "=") {
+ return selectorParser.attribute({
+ attribute: node.attribute,
+ operator: node.operator,
+ quoteMark: "'",
+ value: exportScopedName(node.value, null, null),
+ });
+ }
+ }
+ }
+
+ throw new Error(
+ `${node.type} ("${node}") is not allowed in a :local block`
+ );
+ }
+
+ function traverseNode(node) {
+ switch (node.type) {
+ case "pseudo":
+ if (node.value === ":local") {
+ if (node.nodes.length !== 1) {
+ throw new Error('Unexpected comma (",") in :local block');
+ }
+
+ const selector = localizeNode(node.first);
+ // move the spaces that were around the pseudo selector to the first
+ // non-container node
+ selector.first.spaces = node.spaces;
+
+ const nextNode = node.next();
+
+ if (
+ nextNode &&
+ nextNode.type === "combinator" &&
+ nextNode.value === " " &&
+ /\\[A-F0-9]{1,6}$/.test(selector.last.value)
+ ) {
+ selector.last.spaces.after = " ";
+ }
+
+ node.replaceWith(selector);
+
+ return;
+ }
+ /* falls through */
+ case "root":
+ case "selector": {
+ node.each((item) => traverseNode(item));
+ break;
+ }
+ case "id":
+ case "class":
+ if (exportGlobals) {
+ exports[node.value] = [node.value];
+ }
+ break;
+ }
+ return node;
+ }
+
+ // Find any :import and remember imported names
+ const importedNames = {};
+
+ root.walkRules(/^:import\(.+\)$/, (rule) => {
+ rule.walkDecls((decl) => {
+ importedNames[decl.prop] = true;
+ });
+ });
+
+ // Find any :local selectors
+ root.walkRules((rule) => {
+ let parsedSelector = selectorParser().astSync(rule);
+
+ rule.selector = traverseNode(parsedSelector.clone()).toString();
+
+ rule.walkDecls(/^(composes|compose-with)$/i, (decl) => {
+ const localNames = getSingleLocalNamesForComposes(
+ parsedSelector,
+ decl.parent
+ );
+ const multiple = decl.value.split(",");
+
+ multiple.forEach((value) => {
+ const classes = value.trim().split(/\s+/);
+
+ classes.forEach((className) => {
+ const global = /^global\(([^)]+)\)$/.exec(className);
+
+ if (global) {
+ localNames.forEach((exportedName) => {
+ exports[exportedName].push(global[1]);
+ });
+ } else if (hasOwnProperty.call(importedNames, className)) {
+ localNames.forEach((exportedName) => {
+ exports[exportedName].push(className);
+ });
+ } else if (hasOwnProperty.call(exports, className)) {
+ localNames.forEach((exportedName) => {
+ exports[className].forEach((item) => {
+ exports[exportedName].push(item);
+ });
+ });
+ } else {
+ throw decl.error(
+ `referenced class name "${className}" in ${decl.prop} not found`
+ );
+ }
+ });
+ });
+
+ decl.remove();
+ });
+
+ // Find any :local values
+ rule.walkDecls((decl) => {
+ if (!/:local\s*\((.+?)\)/.test(decl.value)) {
+ return;
+ }
+
+ let tokens = decl.value.split(/(,|'[^']*'|"[^"]*")/);
+
+ tokens = tokens.map((token, idx) => {
+ if (idx === 0 || tokens[idx - 1] === ",") {
+ let result = token;
+
+ const localMatch = /:local\s*\((.+?)\)/.exec(token);
+
+ if (localMatch) {
+ const input = localMatch.input;
+ const matchPattern = localMatch[0];
+ const matchVal = localMatch[1];
+ const newVal = exportScopedName(matchVal);
+
+ result = input.replace(matchPattern, newVal);
+ } else {
+ return token;
+ }
+
+ return result;
+ } else {
+ return token;
+ }
+ });
+
+ decl.value = tokens.join("");
+ });
+ });
+
+ // Find any :local keyframes
+ root.walkAtRules(/keyframes$/i, (atRule) => {
+ const localMatch = /^\s*:local\s*\((.+?)\)\s*$/.exec(atRule.params);
+
+ if (!localMatch) {
+ return;
+ }
+
+ atRule.params = exportScopedName(localMatch[1]);
+ });
+
+ root.walkAtRules(/scope$/i, (atRule) => {
+ if (atRule.params) {
+ atRule.params = atRule.params
+ .split("to")
+ .map((item) => {
+ const selector = item.trim().slice(1, -1).trim();
+
+ const localMatch = /^\s*:local\s*\((.+?)\)\s*$/.exec(selector);
+
+ if (!localMatch) {
+ return `(${selector})`;
+ }
+
+ let parsedSelector = selectorParser().astSync(selector);
+
+ return `(${traverseNode(parsedSelector).toString()})`;
+ })
+ .join(" to ");
+ }
+ });
+
+ // If we found any :locals, insert an :export rule
+ const exportedNames = Object.keys(exports);
+
+ if (exportedNames.length > 0) {
+ const exportRule = rule({ selector: ":export" });
+
+ exportedNames.forEach((exportedName) =>
+ exportRule.append({
+ prop: exportedName,
+ value: exports[exportedName].join(" "),
+ raws: { before: "\n " },
+ })
+ );
+
+ root.append(exportRule);
+ }
+ },
+ };
+};
+
+plugin.postcss = true;
+
+plugin.generateScopedName = function (name, path) {
+ const sanitisedPath = path
+ .replace(/\.[^./\\]+$/, "")
+ .replace(/[\W_]+/g, "_")
+ .replace(/^_|_$/g, "");
+
+ return `_${sanitisedPath}__${name}`.trim();
+};
+
+plugin.generateExportEntry = function (name, scopedName) {
+ return {
+ key: unescape(name),
+ value: unescape(scopedName),
+ };
+};
+
+module.exports = plugin;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/API.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/API.md"
index b1c53413e97730668adabb34dc6695ca86b690c7..64459e3376fba3bfbc52384bc26696ec56153214 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/API.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/API.md"
@@ -1,3 +1,872 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8a4faf30de19d99dcef9e193977c351375a9a1860fbbbd0fff00421ce4795edf
-size 21002
+# API Documentation
+
+*Please use only this documented API when working with the parser. Methods
+not documented here are subject to change at any point.*
+
+## `parser` function
+
+This is the module's main entry point.
+
+```js
+const parser = require('postcss-selector-parser');
+```
+
+### `parser([transform], [options])`
+
+Creates a new `processor` instance
+
+```js
+const processor = parser();
+```
+
+Or, with optional transform function
+
+```js
+const transform = selectors => {
+ selectors.walkUniversals(selector => {
+ selector.remove();
+ });
+};
+
+const processor = parser(transform)
+
+// Example
+const result = processor.processSync('*.class');
+// => .class
+```
+
+[See processor documentation](#processor)
+
+Arguments:
+
+* `transform (function)`: Provide a function to work with the parsed AST.
+* `options (object)`: Provide default options for all calls on the returned `Processor`.
+
+### `parser.attribute([props])`
+
+Creates a new attribute selector.
+
+```js
+parser.attribute({attribute: 'href'});
+// => [href]
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+### `parser.className([props])`
+
+Creates a new class selector.
+
+```js
+parser.className({value: 'button'});
+// => .button
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+### `parser.combinator([props])`
+
+Creates a new selector combinator.
+
+```js
+parser.combinator({value: '+'});
+// => +
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+Notes:
+* **Descendant Combinators** The value of descendant combinators created by the
+ parser always just a single space (`" "`). For descendant selectors with no
+ comments, additional space is now stored in `node.spaces.before`. Depending
+ on the location of comments, additional spaces may be stored in
+ `node.raws.spaces.before`, `node.raws.spaces.after`, or `node.raws.value`.
+* **Named Combinators** Although, nonstandard and unlikely to ever become a standard,
+ named combinators like `/deep/` and `/for/` are parsed as combinators. The
+ `node.value` is name after being unescaped and normalized as lowercase. The
+ original value for the combinator name is stored in `node.raws.value`.
+
+
+### `parser.comment([props])`
+
+Creates a new comment.
+
+```js
+parser.comment({value: '/* Affirmative, Dave. I read you. */'});
+// => /* Affirmative, Dave. I read you. */
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+### `parser.id([props])`
+
+Creates a new id selector.
+
+```js
+parser.id({value: 'search'});
+// => #search
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+### `parser.nesting([props])`
+
+Creates a new nesting selector.
+
+```js
+parser.nesting();
+// => &
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+### `parser.pseudo([props])`
+
+Creates a new pseudo selector.
+
+```js
+parser.pseudo({value: '::before'});
+// => ::before
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+### `parser.root([props])`
+
+Creates a new root node.
+
+```js
+parser.root();
+// => (empty)
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+### `parser.selector([props])`
+
+Creates a new selector node.
+
+```js
+parser.selector();
+// => (empty)
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+### `parser.string([props])`
+
+Creates a new string node.
+
+```js
+parser.string();
+// => (empty)
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+### `parser.tag([props])`
+
+Creates a new tag selector.
+
+```js
+parser.tag({value: 'button'});
+// => button
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+### `parser.universal([props])`
+
+Creates a new universal selector.
+
+```js
+parser.universal();
+// => *
+```
+
+Arguments:
+
+* `props (object)`: The new node's properties.
+
+## Node types
+
+### `node.type`
+
+A string representation of the selector type. It can be one of the following;
+`attribute`, `class`, `combinator`, `comment`, `id`, `nesting`, `pseudo`,
+`root`, `selector`, `string`, `tag`, or `universal`. Note that for convenience,
+these constants are exposed on the main `parser` as uppercased keys. So for
+example you can get `id` by querying `parser.ID`.
+
+```js
+parser.attribute({attribute: 'href'}).type;
+// => 'attribute'
+```
+
+### `node.parent`
+
+Returns the parent node.
+
+```js
+root.nodes[0].parent === root;
+```
+
+### `node.toString()`, `String(node)`, or `'' + node`
+
+Returns a string representation of the node.
+
+```js
+const id = parser.id({value: 'search'});
+console.log(String(id));
+// => #search
+```
+
+### `node.next()` & `node.prev()`
+
+Returns the next/previous child of the parent node.
+
+```js
+const next = id.next();
+if (next && next.type !== 'combinator') {
+ throw new Error('Qualified IDs are not allowed!');
+}
+```
+
+### `node.replaceWith(node)`
+
+Replace a node with another.
+
+```js
+const attr = selectors.first.first;
+const className = parser.className({value: 'test'});
+attr.replaceWith(className);
+```
+
+Arguments:
+
+* `node`: The node to substitute the original with.
+
+### `node.remove()`
+
+Removes the node from its parent node.
+
+```js
+if (node.type === 'id') {
+ node.remove();
+}
+```
+
+### `node.clone([opts])`
+
+Returns a copy of a node, detached from any parent containers that the
+original might have had.
+
+```js
+const cloned = node.clone();
+```
+
+### `node.isAtPosition(line, column)`
+
+Return a `boolean` indicating whether this node includes the character at the
+position of the given line and column. Returns `undefined` if the nodes lack
+sufficient source metadata to determine the position.
+
+Arguments:
+
+* `line`: 1-index based line number relative to the start of the selector.
+* `column`: 1-index based column number relative to the start of the selector.
+
+### `node.spaces`
+
+Extra whitespaces around the node will be moved into `node.spaces.before` and
+`node.spaces.after`. So for example, these spaces will be moved as they have
+no semantic meaning:
+
+```css
+ h1 , h2 {}
+```
+
+For descendent selectors, the value is always a single space.
+
+```css
+h1 h2 {}
+```
+
+Additional whitespace is found in either the `node.spaces.before` and `node.spaces.after` depending on the presence of comments or other whitespace characters. If the actual whitespace does not start or end with a single space, the node's raw value is set to the actual space(s) found in the source.
+
+### `node.source`
+
+An object describing the node's start/end, line/column source position.
+
+Within the following CSS, the `.bar` class node ...
+
+```css
+.foo,
+ .bar {}
+```
+
+... will contain the following `source` object.
+
+```js
+source: {
+ start: {
+ line: 2,
+ column: 3
+ },
+ end: {
+ line: 2,
+ column: 6
+ }
+}
+```
+
+### `node.sourceIndex`
+
+The zero-based index of the node within the original source string.
+
+Within the following CSS, the `.baz` class node will have a `sourceIndex` of `12`.
+
+```css
+.foo, .bar, .baz {}
+```
+
+## Container types
+
+The `root`, `selector`, and `pseudo` nodes have some helper methods for working
+with their children.
+
+### `container.nodes`
+
+An array of the container's children.
+
+```js
+// Input: h1 h2
+selectors.at(0).nodes.length // => 3
+selectors.at(0).nodes[0].value // => 'h1'
+selectors.at(0).nodes[1].value // => ' '
+```
+
+### `container.first` & `container.last`
+
+The first/last child of the container.
+
+```js
+selector.first === selector.nodes[0];
+selector.last === selector.nodes[selector.nodes.length - 1];
+```
+
+### `container.at(index)`
+
+Returns the node at position `index`.
+
+```js
+selector.at(0) === selector.first;
+selector.at(0) === selector.nodes[0];
+```
+
+Arguments:
+
+* `index`: The index of the node to return.
+
+### `container.atPosition(line, column)`
+
+Returns the node at the source position `line` and `column`.
+
+```js
+// Input: :not(.foo),\n#foo > :matches(ol, ul)
+selector.atPosition(1, 1); // => :not(.foo)
+selector.atPosition(2, 1); // => \n#foo
+```
+
+Arguments:
+
+* `line`: The line number of the node to return.
+* `column`: The column number of the node to return.
+
+### `container.index(node)`
+
+Return the index of the node within its container.
+
+```js
+selector.index(selector.nodes[2]) // => 2
+```
+
+Arguments:
+
+* `node`: A node within the current container.
+
+### `container.length`
+
+Proxy to the length of the container's nodes.
+
+```js
+container.length === container.nodes.length
+```
+
+### `container` Array iterators
+
+The container class provides proxies to certain Array methods; these are:
+
+* `container.map === container.nodes.map`
+* `container.reduce === container.nodes.reduce`
+* `container.every === container.nodes.every`
+* `container.some === container.nodes.some`
+* `container.filter === container.nodes.filter`
+* `container.sort === container.nodes.sort`
+
+Note that these methods only work on a container's immediate children; recursive
+iteration is provided by `container.walk`.
+
+### `container.each(callback)`
+
+Iterate the container's immediate children, calling `callback` for each child.
+You may return `false` within the callback to break the iteration.
+
+```js
+let className;
+selectors.each((selector, index) => {
+ if (selector.type === 'class') {
+ className = selector.value;
+ return false;
+ }
+});
+```
+
+Note that unlike `Array#forEach()`, this iterator is safe to use whilst adding
+or removing nodes from the container.
+
+Arguments:
+
+* `callback (function)`: A function to call for each node, which receives `node`
+ and `index` arguments.
+
+### `container.walk(callback)`
+
+Like `container#each`, but will also iterate child nodes as long as they are
+`container` types.
+
+```js
+selectors.walk((selector, index) => {
+ // all nodes
+});
+```
+
+Arguments:
+
+* `callback (function)`: A function to call for each node, which receives `node`
+ and `index` arguments.
+
+This iterator is safe to use whilst mutating `container.nodes`,
+like `container#each`.
+
+### `container.walk` proxies
+
+The container class provides proxy methods for iterating over types of nodes,
+so that it is easier to write modules that target specific selectors. Those
+methods are:
+
+* `container.walkAttributes`
+* `container.walkClasses`
+* `container.walkCombinators`
+* `container.walkComments`
+* `container.walkIds`
+* `container.walkNesting`
+* `container.walkPseudos`
+* `container.walkTags`
+* `container.walkUniversals`
+
+### `container.split(callback)`
+
+This method allows you to split a group of nodes by returning `true` from
+a callback. It returns an array of arrays, where each inner array corresponds
+to the groups that you created via the callback.
+
+```js
+// (input) => h1 h2>>h3
+const list = selectors.first.split(selector => {
+ return selector.type === 'combinator';
+});
+
+// (node values) => [['h1', ' '], ['h2', '>>'], ['h3']]
+```
+
+Arguments:
+
+* `callback (function)`: A function to call for each node, which receives `node`
+ as an argument.
+
+### `container.prepend(node)` & `container.append(node)`
+
+Add a node to the start/end of the container. Note that doing so will set
+the parent property of the node to this container.
+
+```js
+const id = parser.id({value: 'search'});
+selector.append(id);
+```
+
+Arguments:
+
+* `node`: The node to add.
+
+### `container.insertBefore(old, new)` & `container.insertAfter(old, new)`
+
+Add a node before or after an existing node in a container:
+
+```js
+selectors.walk(selector => {
+ if (selector.type !== 'class') {
+ const className = parser.className({value: 'theme-name'});
+ selector.parent.insertAfter(selector, className);
+ }
+});
+```
+
+Arguments:
+
+* `old`: The existing node in the container.
+* `new`: The new node to add before/after the existing node.
+
+### `container.removeChild(node)`
+
+Remove the node from the container. Note that you can also use
+`node.remove()` if you would like to remove just a single node.
+
+```js
+selector.length // => 2
+selector.remove(id)
+selector.length // => 1;
+id.parent // undefined
+```
+
+Arguments:
+
+* `node`: The node to remove.
+
+### `container.removeAll()` or `container.empty()`
+
+Remove all children from the container.
+
+```js
+selector.removeAll();
+selector.length // => 0
+```
+
+## Root nodes
+
+A root node represents a comma separated list of selectors. Indeed, all
+a root's `toString()` method does is join its selector children with a ','.
+Other than this, it has no special functionality and acts like a container.
+
+### `root.trailingComma`
+
+This will be set to `true` if the input has a trailing comma, in order to
+support parsing of legacy CSS hacks.
+
+## Selector nodes
+
+A selector node represents a single complex selector. For example, this
+selector string `h1 h2 h3, [href] > p`, is represented as two selector nodes.
+It has no special functionality of its own.
+
+## Pseudo nodes
+
+A pseudo selector extends a container node; if it has any parameters of its
+own (such as `h1:not(h2, h3)`), they will be its children. Note that the pseudo
+`value` will always contain the colons preceding the pseudo identifier. This
+is so that both `:before` and `::before` are properly represented in the AST.
+
+## Attribute nodes
+
+### `attribute.quoted`
+
+Returns `true` if the attribute's value is wrapped in quotation marks, false if it is not.
+Remains `undefined` if there is no attribute value.
+
+```css
+[href=foo] /* false */
+[href='foo'] /* true */
+[href="foo"] /* true */
+[href] /* undefined */
+```
+
+### `attribute.qualifiedAttribute`
+
+Returns the attribute name qualified with the namespace if one is given.
+
+### `attribute.offsetOf(part)`
+
+ Returns the offset of the attribute part specified relative to the
+ start of the node of the output string. This is useful in raising
+ error messages about a specific part of the attribute, especially
+ in combination with `attribute.sourceIndex`.
+
+ Returns `-1` if the name is invalid or the value doesn't exist in this
+ attribute.
+
+ The legal values for `part` are:
+
+ * `"ns"` - alias for "namespace"
+ * `"namespace"` - the namespace if it exists.
+ * `"attribute"` - the attribute name
+ * `"attributeNS"` - the start of the attribute or its namespace
+ * `"operator"` - the match operator of the attribute
+ * `"value"` - The value (string or identifier)
+ * `"insensitive"` - the case insensitivity flag
+
+### `attribute.raws.unquoted`
+
+Returns the unquoted content of the attribute's value.
+Remains `undefined` if there is no attribute value.
+
+```css
+[href=foo] /* foo */
+[href='foo'] /* foo */
+[href="foo"] /* foo */
+[href] /* undefined */
+```
+
+### `attribute.spaces`
+
+Like `node.spaces` with the `before` and `after` values containing the spaces
+around the element, the parts of the attribute can also have spaces before
+and after them. The for each of `attribute`, `operator`, `value` and
+`insensitive` there is corresponding property of the same nam in
+`node.spaces` that has an optional `before` or `after` string containing only
+whitespace.
+
+Note that corresponding values in `attributes.raws.spaces` contain values
+including any comments. If set, these values will override the
+`attribute.spaces` value. Take care to remove them if changing
+`attribute.spaces`.
+
+### `attribute.raws`
+
+The raws object stores comments and other information necessary to re-render
+the node exactly as it was in the source.
+
+If a comment is embedded within the identifiers for the `namespace`, `attribute`
+or `value` then a property is placed in the raws for that value containing the full source of the propery including comments.
+
+If a comment is embedded within the space between parts of the attribute
+then the raw for that space is set accordingly.
+
+Setting an attribute's property `raws` value to be deleted.
+
+For now, changing the spaces required also updating or removing any of the
+raws values that override them.
+
+Example: `[ /*before*/ href /* after-attr */ = /* after-operator */ te/*inside-value*/st/* wow */ /*omg*/i/*bbq*/ /*whodoesthis*/]` would parse as:
+
+```js
+{
+ attribute: "href",
+ operator: "=",
+ value: "test",
+ spaces: {
+ before: '',
+ after: '',
+ attribute: { before: ' ', after: ' ' },
+ operator: { after: ' ' },
+ value: { after: ' ' },
+ insensitive: { after: ' ' }
+ },
+ raws: {
+ spaces: {
+ attribute: { before: ' /*before*/ ', after: ' /* after-attr */ ' },
+ operator: { after: ' /* after-operator */ ' },
+ value: { after: '/* wow */ /*omg*/' },
+ insensitive: { after: '/*bbq*/ /*whodoesthis*/' }
+ },
+ unquoted: 'test',
+ value: 'te/*inside-value*/st'
+ }
+}
+```
+
+## `Processor`
+
+### `ProcessorOptions`
+
+* `lossless` - When `true`, whitespace is preserved. Defaults to `true`.
+* `updateSelector` - When `true`, if any processor methods are passed a postcss
+ `Rule` node instead of a string, then that Rule's selector is updated
+ with the results of the processing. Defaults to `true`.
+
+### `process|processSync(selectors, [options])`
+
+Processes the `selectors`, returning a string from the result of processing.
+
+Note: when the `updateSelector` option is set, the rule's selector
+will be updated with the resulting string.
+
+**Example:**
+
+```js
+const parser = require("postcss-selector-parser");
+const processor = parser();
+
+let result = processor.processSync(' .class');
+console.log(result);
+// => .class
+
+// Asynchronous operation
+let promise = processor.process(' .class').then(result => {
+ console.log(result)
+ // => .class
+});
+
+// To have the parser normalize whitespace values, utilize the options
+result = processor.processSync(' .class ', {lossless: false});
+console.log(result);
+// => .class
+
+// For better syntax errors, pass a PostCSS Rule node.
+const postcss = require('postcss');
+rule = postcss.rule({selector: ' #foo > a, .class '});
+processor.process(rule, {lossless: false, updateSelector: true}).then(result => {
+ console.log(result);
+ // => #foo>a,.class
+ console.log("rule:", rule.selector);
+ // => rule: #foo>a,.class
+})
+```
+
+Arguments:
+
+* `selectors (string|postcss.Rule)`: Either a selector string or a PostCSS Rule
+ node.
+* `[options] (object)`: Process options
+
+
+### `ast|astSync(selectors, [options])`
+
+Like `process()` and `processSync()` but after
+processing the `selectors` these methods return the `Root` node of the result
+instead of a string.
+
+Note: when the `updateSelector` option is set, the rule's selector
+will be updated with the resulting string.
+
+### `transform|transformSync(selectors, [options])`
+
+Like `process()` and `processSync()` but after
+processing the `selectors` these methods return the value returned by the
+processor callback.
+
+Note: when the `updateSelector` option is set, the rule's selector
+will be updated with the resulting string.
+
+### Error Handling Within Selector Processors
+
+The root node passed to the selector processor callback
+has a method `error(message, options)` that returns an
+error object. This method should always be used to raise
+errors relating to the syntax of selectors. The options
+to this method are passed to postcss's error constructor
+([documentation](http://api.postcss.org/Container.html#error)).
+
+#### Async Error Example
+
+```js
+let processor = (root) => {
+ return new Promise((resolve, reject) => {
+ root.walkClasses((classNode) => {
+ if (/^(.*)[-_]/.test(classNode.value)) {
+ let msg = "classes may not have underscores or dashes in them";
+ reject(root.error(msg, {
+ index: classNode.sourceIndex + RegExp.$1.length + 1,
+ word: classNode.value
+ }));
+ }
+ });
+ resolve();
+ });
+};
+
+const postcss = require("postcss");
+const parser = require("postcss-selector-parser");
+const selectorProcessor = parser(processor);
+const plugin = postcss.plugin('classValidator', (options) => {
+ return (root) => {
+ let promises = [];
+ root.walkRules(rule => {
+ promises.push(selectorProcessor.process(rule));
+ });
+ return Promise.all(promises);
+ };
+});
+postcss(plugin()).process(`
+.foo-bar {
+ color: red;
+}
+`.trim(), {from: 'test.css'}).catch((e) => console.error(e.toString()));
+
+// CssSyntaxError: classValidator: ./test.css:1:5: classes may not have underscores or dashes in them
+//
+// > 1 | .foo-bar {
+// | ^
+// 2 | color: red;
+// 3 | }
+```
+
+#### Synchronous Error Example
+
+```js
+let processor = (root) => {
+ root.walkClasses((classNode) => {
+ if (/.*[-_]/.test(classNode.value)) {
+ let msg = "classes may not have underscores or dashes in them";
+ throw root.error(msg, {
+ index: classNode.sourceIndex,
+ word: classNode.value
+ });
+ }
+ });
+};
+
+const postcss = require("postcss");
+const parser = require("postcss-selector-parser");
+const selectorProcessor = parser(processor);
+const plugin = postcss.plugin('classValidator', (options) => {
+ return (root) => {
+ root.walkRules(rule => {
+ selectorProcessor.processSync(rule);
+ });
+ };
+});
+postcss(plugin()).process(`
+.foo-bar {
+ color: red;
+}
+`.trim(), {from: 'test.css'}).catch((e) => console.error(e.toString()));
+
+// CssSyntaxError: classValidator: ./test.css:1:5: classes may not have underscores or dashes in them
+//
+// > 1 | .foo-bar {
+// | ^
+// 2 | color: red;
+// 3 | }
+```
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/CHANGELOG.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/CHANGELOG.md"
index 651f7ddeee2bab0cb77f9c686b8187493180b4c2..74e30b0dd9093eb96981ff56691ac15f4d5b1694 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/CHANGELOG.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/CHANGELOG.md"
@@ -1,3 +1,541 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8a6dffa4eb5309f962ec8f32603fd4cf576ec71790b9e11045e6de5062d83c07
-size 19479
+# 6.1.0
+
+- Feature: add `sourceIndex` to `Selector` nodes (#290)
+
+# 6.0.16
+
+- Fixed: add missing `index` argument to `each`/`walk` callback types (#289)
+
+# 6.0.15
+
+- Fixed: Node#prev and Node#next type for the first/last node
+
+# 6.0.14
+
+- Fixed: type definitions
+
+# 6.0.13
+
+- Fixed: throw on unexpected pipe symbols
+
+# 6.0.12
+
+- Fixed: `clone` arguments should be optional
+
+# 6.0.11
+
+- Fixed: parse attribute case insensitivity flag
+
+# 6.0.10
+
+- Fixed: `isPseudoElement()` supports `:first-letter` and `:first-line`
+
+# 6.0.9
+
+- Fixed: `Combinator.raws` property type
+
+# 6.0.8
+
+- Fixed: reduced size
+
+# 6.0.7
+
+- Fixed: parse animation percents
+
+# 6.0.6
+
+- Fixed: parse quoted attributes containing a newline correctly
+
+# 6.0.5
+
+- Perf: rework unesc for a 63+% performance boost
+
+# 6.0.4
+
+- Fixed: ts errors
+
+# 6.0.3
+
+- Fixed: replace node built-in "util" module with "util-deprecate"
+- Fixed: handle uppercase pseudo elements
+- Fixed: do not create invalid combinator before comment
+
+# 6.0.2
+
+- Fixed an issue with parsing and stringifying an empty attribute value
+
+# 6.0.1
+
+- Fixed an issue with unicode surrogate pair parsing
+
+# 6.0.0
+
+- Updated: `cssesc` to 3.0.0 (major)
+- Fixed: Issues with escaped `id` and `class` selectors
+
+# 5.0.0
+
+- Allow escaped dot within class name.
+- Update PostCSS to 7.0.7 (patch)
+
+# 5.0.0-rc.4
+
+- Fixed an issue where comments immediately after an insensitive (in attribute)
+ were not parsed correctly.
+- Updated `cssesc` to 2.0.0 (major).
+- Removed outdated integration tests.
+- Added tests for custom selectors, tags with attributes, the universal
+ selector with pseudos, and tokens after combinators.
+
+# 5.0.0-rc.1
+
+To ease adoption of the v5.0 release, we have relaxed the node version
+check performed by npm at installation time to allow for node 4, which
+remains officially unsupported, but likely to continue working for the
+time being.
+
+# 5.0.0-rc.0
+
+This release has **BREAKING CHANGES** that were required to fix regressions
+in 4.0.0 and to make the Combinator Node API consistent for all combinator
+types. Please read carefully.
+
+## Summary of Changes
+
+* The way a descendent combinator that isn't a single space character (E.g. `.a .b`) is stored in the AST has changed.
+* Named Combinators (E.g. `.a /for/ .b`) are now properly parsed as a combinator.
+* It is now possible to look up a node based on the source location of a character in that node and to query nodes if they contain some character.
+* Several bug fixes that caused the parser to hang and run out of memory when a `/` was encountered have been fixed.
+* The minimum supported version of Node is now `v6.0.0`.
+
+### Changes to the Descendent Combinator
+
+In prior releases, the value of a descendant combinator with multiple spaces included all the spaces.
+
+* `.a .b`: Extra spaces are now stored as space before.
+ - Old & Busted:
+ - `combinator.value === " "`
+ - New hotness:
+ - `combinator.value === " " && combinator.spaces.before === " "`
+* `.a /*comment*/.b`: A comment at the end of the combinator causes extra space to become after space.
+ - Old & Busted:
+ - `combinator.value === " "`
+ - `combinator.raws.value === " /*comment/"`
+ - New hotness:
+ - `combinator.value === " "`
+ - `combinator.spaces.after === " "`
+ - `combinator.raws.spaces.after === " /*comment*/"`
+* `.a.b`: whitespace that doesn't start or end with a single space character is stored as a raw value.
+ - Old & Busted:
+ - `combinator.value === "\n"`
+ - `combinator.raws.value === undefined`
+ - New hotness:
+ - `combinator.value === " "`
+ - `combinator.raws.value === "\n"`
+
+### Support for "Named Combinators"
+
+Although, nonstandard and unlikely to ever become a standard, combinators like `/deep/` and `/for/` are now properly supported.
+
+Because they've been taken off the standardization track, there is no spec-official name for combinators of the form `//`. However, I talked to [Tab Atkins](https://twitter.com/tabatkins) and we agreed to call them "named combinators" so now they are called that.
+
+Before this release such named combinators were parsed without intention and generated three nodes of type `"tag"` where the first and last nodes had a value of `"/"`.
+
+* `.a /for/ .b` is parsed as a combinator.
+ - Old & Busted:
+ - `root.nodes[0].nodes[1].type === "tag"`
+ - `root.nodes[0].nodes[1].value === "/"`
+ - New hotness:
+ - `root.nodes[0].nodes[1].type === "combinator"`
+ - `root.nodes[0].nodes[1].value === "/for/"`
+* `.a /F\6fR/ .b` escapes are handled and uppercase is normalized.
+ - Old & Busted:
+ - `root.nodes[0].nodes[2].type === "tag"`
+ - `root.nodes[0].nodes[2].value === "F\\6fR"`
+ - New hotness:
+ - `root.nodes[0].nodes[1].type === "combinator"`
+ - `root.nodes[0].nodes[1].value === "/for/"`
+ - `root.nodes[0].nodes[1].raws.value === "/F\\6fR/"`
+
+### Source position checks and lookups
+
+A new API was added to look up a node based on the source location.
+
+```js
+const selectorParser = require("postcss-selector-parser");
+// You can find the most specific node for any given character
+let combinator = selectorParser.astSync(".a > .b").atPosition(1,4);
+combinator.toString() === " > ";
+// You can check if a node includes a specific character
+// Whitespace surrounding the node that is owned by that node
+// is included in the check.
+[2,3,4,5,6].map(column => combinator.isAtPosition(1, column));
+// => [false, true, true, true, false]
+```
+
+# 4.0.0
+
+This release has **BREAKING CHANGES** that were required to fix bugs regarding values with escape sequences. Please read carefully.
+
+* **Identifiers with escapes** - CSS escape sequences are now hidden from the public API by default.
+ The normal value of a node like a class name or ID, or an aspect of a node such as attribute
+ selector's value, is unescaped. Escapes representing Non-ascii characters are unescaped into
+ unicode characters. For example: `bu\tton, .\31 00, #i\2764\FE0Fu, [attr="value is \"quoted\""]`
+ will parse respectively to the values `button`, `100`, `i��u`, `value is "quoted"`.
+ The original escape sequences for these values can be found in the corresponding property name
+ in `node.raws`. Where possible, deprecation warnings were added, but the nature
+ of escape handling makes it impossible to detect what is escaped or not. Our expectation is
+ that most users are neither expecting nor handling escape sequences in their use of this library,
+ and so for them, this is a bug fix. Users who are taking care to handle escapes correctly can
+ now update their code to remove the escape handling and let us do it for them.
+
+* **Mutating values with escapes** - When you make an update to a node property that has escape handling
+ The value is assumed to be unescaped, and any special characters are escaped automatically and
+ the corresponding `raws` value is immediately updated. This can result in changes to the original
+ escape format. Where the exact value of the escape sequence is important there are methods that
+ allow both values to be set in conjunction. There are a number of new convenience methods for
+ manipulating values that involve escapes, especially for attributes values where the quote mark
+ is involved. See https://github.com/postcss/postcss-selector-parser/pull/133 for an extensive
+ write-up on these changes.
+
+
+**Upgrade/API Example**
+
+In `3.x` there was no unescape handling and internal consistency of several properties was the caller's job to maintain. It was very easy for the developer
+to create a CSS file that did not parse correctly when some types of values
+were in use.
+
+```js
+const selectorParser = require("postcss-selector-parser");
+let attr = selectorParser.attribute({attribute: "id", operator: "=", value: "a-value"});
+attr.value; // => "a-value"
+attr.toString(); // => [id=a-value]
+// Add quotes to an attribute's value.
+// All these values have to be set by the caller to be consistent:
+// no internal consistency is maintained.
+attr.raws.unquoted = attr.value
+attr.value = "'" + attr.value + "'";
+attr.value; // => "'a-value'"
+attr.quoted = true;
+attr.toString(); // => "[id='a-value']"
+```
+
+In `4.0` there is a convenient API for setting and mutating values
+that may need escaping. Especially for attributes.
+
+```js
+const selectorParser = require("postcss-selector-parser");
+
+// The constructor requires you specify the exact escape sequence
+let className = selectorParser.className({value: "illegal class name", raws: {value: "illegal\\ class\\ name"}});
+className.toString(); // => '.illegal\\ class\\ name'
+
+// So it's better to set the value as a property
+className = selectorParser.className();
+// Most properties that deal with identifiers work like this
+className.value = "escape for me";
+className.value; // => 'escape for me'
+className.toString(); // => '.escape\\ for\\ me'
+
+// emoji and all non-ascii are escaped to ensure it works in every css file.
+className.value = "😱🦄�";
+className.value; // => '😱🦄�'
+className.toString(); // => '.\\1F631\\1F984\\1F60D'
+
+// you can control the escape sequence if you want, or do bad bad things
+className.setPropertyAndEscape('value', 'xxxx', 'yyyy');
+className.value; // => "xxxx"
+className.toString(); // => ".yyyy"
+
+// Pass a value directly through to the css output without escaping it.
+className.setPropertyWithoutEscape('value', '$REPLACE_ME$');
+className.value; // => "$REPLACE_ME$"
+className.toString(); // => ".$REPLACE_ME$"
+
+// The biggest changes are to the Attribute class
+// passing quoteMark explicitly is required to avoid a deprecation warning.
+let attr = selectorParser.attribute({attribute: "id", operator: "=", value: "a-value", quoteMark: null});
+attr.toString(); // => "[id=a-value]"
+// Get the value with quotes on it and any necessary escapes.
+// This is the same as reading attr.value in 3.x.
+attr.getQuotedValue(); // => "a-value";
+attr.quoteMark; // => null
+
+// Add quotes to an attribute's value.
+attr.quoteMark = "'"; // This is all that's required.
+attr.toString(); // => "[id='a-value']"
+attr.quoted; // => true
+// The value is still the same, only the quotes have changed.
+attr.value; // => a-value
+attr.getQuotedValue(); // => "'a-value'";
+
+// deprecated assignment, no warning because there's no escapes
+attr.value = "new-value";
+// no quote mark is needed so it is removed
+attr.getQuotedValue(); // => "new-value";
+
+// deprecated assignment,
+attr.value = "\"a 'single quoted' value\"";
+// > (node:27859) DeprecationWarning: Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead.
+attr.getQuotedValue(); // => '"a \'single quoted\' value"';
+// quote mark inferred from first and last characters.
+attr.quoteMark; // => '"'
+
+// setValue takes options to make manipulating the value simple.
+attr.setValue('foo', {smart: true});
+// foo doesn't require any escapes or quotes.
+attr.toString(); // => '[id=foo]'
+attr.quoteMark; // => null
+
+// An explicit quote mark can be specified
+attr.setValue('foo', {quoteMark: '"'});
+attr.toString(); // => '[id="foo"]'
+
+// preserves quote mark by default
+attr.setValue('bar');
+attr.toString(); // => '[id="bar"]'
+attr.quoteMark = null;
+attr.toString(); // => '[id=bar]'
+
+// with no arguments, it preserves quote mark even when it's not a great idea
+attr.setValue('a value \n that should be quoted');
+attr.toString(); // => '[id=a\\ value\\ \\A\\ that\\ should\\ be\\ quoted]'
+
+// smart preservation with a specified default
+attr.setValue('a value \n that should be quoted', {smart: true, preferCurrentQuoteMark: true, quoteMark: "'"});
+// => "[id='a value \\A that should be quoted']"
+attr.quoteMark = '"';
+// => '[id="a value \\A that should be quoted"]'
+
+// this keeps double quotes because it wants to quote the value and the existing value has double quotes.
+attr.setValue('this should be quoted', {smart: true, preferCurrentQuoteMark: true, quoteMark: "'"});
+// => '[id="this should be quoted"]'
+
+// picks single quotes because the value has double quotes
+attr.setValue('a "double quoted" value', {smart: true, preferCurrentQuoteMark: true, quoteMark: "'"});
+// => "[id='a "double quoted" value']"
+
+// setPropertyAndEscape lets you do anything you want. Even things that are a bad idea and illegal.
+attr.setPropertyAndEscape('value', 'xxxx', 'the password is 42');
+attr.value; // => "xxxx"
+attr.toString(); // => "[id=the password is 42]"
+
+// Pass a value directly through to the css output without escaping it.
+attr.setPropertyWithoutEscape('value', '$REPLACEMENT$');
+attr.value; // => "$REPLACEMENT$"
+attr.toString(); // => "[id=$REPLACEMENT$]"
+```
+
+# 3.1.2
+
+* Fix: Removed dot-prop dependency since it's no longer written in es5.
+
+# 3.1.1
+
+* Fix: typescript definitions weren't in the published package.
+
+# 3.1.0
+
+* Fixed numerous bugs in attribute nodes relating to the handling of comments
+ and whitespace. There's significant changes to `attrNode.spaces` and `attrNode.raws` since the `3.0.0` release.
+* Added `Attribute#offsetOf(part)` to get the offset location of
+ attribute parts like `"operator"` and `"value"`. This is most
+ often added to `Attribute#sourceIndex` for error reporting.
+
+# 3.0.0
+
+## Breaking changes
+
+* Some tweaks to the tokenizer/attribute selector parsing mean that whitespace
+ locations might be slightly different to the 2.x code.
+* Better attribute selector parsing with more validation; postcss-selector-parser
+ no longer uses regular expressions to parse attribute selectors.
+* Added an async API (thanks to @jacobp100); the default `process` API is now
+ async, and the sync API is now accessed through `processSync` instead.
+* `process()` and `processSync()` now return a string instead of the Processor
+ instance.
+* Tweaks handling of Less interpolation (thanks to @jwilsson).
+* Removes support for Node 0.12.
+
+## Other changes
+
+* `ast()` and `astSync()` methods have been added to the `Processor`. These
+ return the `Root` node of the selectors after processing them.
+* `transform()` and `transformSync()` methods have been added to the
+ `Processor`. These return the value returned by the processor callback
+ after processing the selectors.
+* Set the parent when inserting a node (thanks to @chriseppstein).
+* Correctly adjust indices when using insertBefore/insertAfter (thanks to @tivac).
+* Fixes handling of namespaces with qualified tag selectors.
+* `process`, `ast` and `transform` (and their sync variants) now accept a
+ `postcss` rule node. When provided, better errors are generated and selector
+ processing is automatically set back to the rule selector (unless the `updateSelector` option is set to `false`.)
+* Now more memory efficient when tokenizing selectors.
+
+### Upgrade hints
+
+The pattern of:
+
+`rule.selector = processor.process(rule.selector).result.toString();`
+
+is now:
+
+`processor.processSync(rule)`
+
+# 2.2.3
+
+* Resolves an issue where the parser would not reduce multiple spaces between an
+ ampersand and another simple selector in lossy mode (thanks to @adam-26).
+
+# 2.2.2
+
+* No longer hangs on an unescaped semicolon; instead the parser will throw
+ an exception for these cases.
+
+# 2.2.1
+
+* Allows a consumer to specify whitespace tokens when creating a new Node
+ (thanks to @Semigradsky).
+
+# 2.2.0
+
+* Added a new option to normalize whitespace when parsing the selector string
+ (thanks to @adam-26).
+
+# 2.1.1
+
+* Better unquoted value handling within attribute selectors
+ (thanks to @evilebottnawi).
+
+# 2.1.0
+
+* Added: Use string constants for all node types & expose them on the main
+ parser instance (thanks to @Aweary).
+
+#Â 2.0.0
+
+This release contains the following breaking changes:
+
+* Renamed all `eachInside` iterators to `walk`. For example, `eachTag` is now
+ `walkTags`, and `eachInside` is now `walk`.
+* Renamed `Node#removeSelf()` to `Node#remove()`.
+* Renamed `Container#remove()` to `Container#removeChild()`.
+* Renamed `Node#raw` to `Node#raws` (thanks to @davidtheclark).
+* Now parses `&` as the *nesting* selector, rather than a *tag* selector.
+* Fixes misinterpretation of Sass interpolation (e.g. `#{foo}`) as an
+ id selector (thanks to @davidtheclark).
+
+and;
+
+* Fixes parsing of attribute selectors with equals signs in them
+ (e.g. `[data-attr="foo=bar"]`) (thanks to @montmanu).
+* Adds `quoted` and `raw.unquoted` properties to attribute nodes
+ (thanks to @davidtheclark).
+
+# 1.3.3
+
+* Fixes an infinite loop on `)` and `]` tokens when they had no opening pairs.
+ Now postcss-selector-parser will throw when it encounters these lone tokens.
+
+#Â 1.3.2
+
+* Now uses plain integers rather than `str.charCodeAt(0)` for compiled builds.
+
+# 1.3.1
+
+* Update flatten to v1.x (thanks to @shinnn).
+
+# 1.3.0
+
+* Adds a new node type, `String`, to fix a crash on selectors such as
+ `foo:bar("test")`.
+
+# 1.2.1
+
+* Fixes a crash when the parser encountered a trailing combinator.
+
+# 1.2.0
+
+* A more descriptive error is thrown when the parser expects to find a
+ pseudo-class/pseudo-element (thanks to @ashelley).
+* Adds support for line/column locations for selector nodes, as well as a
+ `Node#sourceIndex` method (thanks to @davidtheclark).
+
+# 1.1.4
+
+* Fixes a crash when a selector started with a `>` combinator. The module will
+ now no longer throw if a selector has a leading/trailing combinator node.
+
+# 1.1.3
+
+* Fixes a crash on `@` tokens.
+
+# 1.1.2
+
+* Fixes an infinite loop caused by using parentheses in a non-pseudo element
+ context.
+
+# 1.1.1
+
+* Fixes a crash when a backslash ended a selector string.
+
+# 1.1.0
+
+* Adds support for replacing multiple nodes at once with `replaceWith`
+ (thanks to @jonathantneal).
+* Parser no longer throws on sequential IDs and trailing commas, to support
+ parsing of selector hacks.
+
+# 1.0.1
+
+* Fixes using `insertAfter` and `insertBefore` during iteration.
+
+# 1.0.0
+
+* Adds `clone` and `replaceWith` methods to nodes.
+* Adds `insertBefore` and `insertAfter` to containers.
+* Stabilises API.
+
+# 0.0.5
+
+* Fixes crash on extra whitespace inside a pseudo selector's parentheses.
+* Adds sort function to the container class.
+* Enables the parser to pass its input through without transforming.
+* Iteration-safe `each` and `eachInside`.
+
+# 0.0.4
+
+* Tidy up redundant duplication.
+* Fixes a bug where the parser would loop infinitely on universal selectors
+ inside pseudo selectors.
+* Adds `length` getter and `eachInside`, `map`, `reduce` to the container class.
+* When a selector has been removed from the tree, the root node will no longer
+ cast it to a string.
+* Adds node type iterators to the container class (e.g. `eachComment`).
+* Adds filter function to the container class.
+* Adds split function to the container class.
+* Create new node types by doing `parser.id(opts)` etc.
+* Adds support for pseudo classes anywhere in the selector.
+
+# 0.0.3
+
+* Adds `next` and `prev` to the node class.
+* Adds `first` and `last` getters to the container class.
+* Adds `every` and `some` iterators to the container class.
+* Add `empty` alias for `removeAll`.
+* Combinators are now types of node.
+* Fixes the at method so that it is not an alias for `index`.
+* Tidy up creation of new nodes in the parser.
+* Refactors how namespaces are handled for consistency & less redundant code.
+* Refactors AST to use `nodes` exclusively, and eliminates excessive nesting.
+* Fixes nested pseudo parsing.
+* Fixes whitespace parsing.
+
+# 0.0.2
+
+* Adds support for namespace selectors.
+* Adds support for selectors joined by escaped spaces - such as `.\31\ 0`.
+
+# 0.0.1
+
+* Initial release.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/LICENSE-MIT" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/LICENSE-MIT"
index fa5239f27ab3eaf8a3a2aa04aec7668b4aed8a6d..fd0e863a614fbcfc11bcfd0836975d1f5bfeb191 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/LICENSE-MIT"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/LICENSE-MIT"
@@ -1,3 +1,22 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2998094b38f7ace25f141fb36f334d8338f65a1812978d618b1161f4d77ae10e
-size 1092
+Copyright (c) Ben Briggs (http://beneb.info)
+
+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:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+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.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/README.md"
index 723e1a58a1d640be8700fb74c7f6b41120836b58..28e44f21716666ada9a86e58191734436f251561 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/README.md"
@@ -1,3 +1,49 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:352a19689fc9b60c76e1993e2c8b59de8aea1c57c412e5142627252e2f299e03
-size 1184
+# postcss-selector-parser [](https://github.com/postcss/postcss-selector-parser/actions/workflows/test.yml)
+
+> Selector parser with built in methods for working with selector strings.
+
+## Install
+
+With [npm](https://npmjs.com/package/postcss-selector-parser) do:
+
+```
+npm install postcss-selector-parser
+```
+
+## Quick Start
+
+```js
+const parser = require('postcss-selector-parser');
+const transform = selectors => {
+ selectors.walk(selector => {
+ // do something with the selector
+ console.log(String(selector))
+ });
+};
+
+const transformed = parser(transform).processSync('h1, h2, h3');
+```
+
+To normalize selector whitespace:
+
+```js
+const parser = require('postcss-selector-parser');
+const normalized = parser().processSync('h1, h2, h3', {lossless: false});
+// -> h1,h2,h3
+```
+
+Async support is provided through `parser.process` and will resolve a Promise
+with the resulting selector string.
+
+## API
+
+Please see [API.md](API.md).
+
+## Credits
+
+* Huge thanks to Andrey Sitnik (@ai) for work on PostCSS which helped
+ accelerate this module's development.
+
+## License
+
+MIT
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/index.js"
index 55e955fcc1e52c3f0935b623c8a7d67d20a90e93..995741a7ff3bef1b8942a0a279516684e5e54819 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/index.js"
@@ -1,3 +1,17 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7ec70d8ad4116efc9bcb5240f6685dbb70102efeca742811b01aaeb1fd43ed8d
-size 1684
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _processor = _interopRequireDefault(require("./processor"));
+var selectors = _interopRequireWildcard(require("./selectors"));
+function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
+function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+var parser = function parser(processor) {
+ return new _processor["default"](processor);
+};
+Object.assign(parser, selectors);
+delete parser.__esModule;
+var _default = parser;
+exports["default"] = _default;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/parser.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/parser.js"
index e75943faf87bdb94158790d44decc92aef48a0b9..144f91f73009952e0e84aaa270f871a6e11f9ce6 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/parser.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/parser.js"
@@ -1,3 +1,1015 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b9f58169dd45bc82e6a57485454ff739c61545d36c2fb918e0ce554dc5fdac3a
-size 38998
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _root = _interopRequireDefault(require("./selectors/root"));
+var _selector = _interopRequireDefault(require("./selectors/selector"));
+var _className = _interopRequireDefault(require("./selectors/className"));
+var _comment = _interopRequireDefault(require("./selectors/comment"));
+var _id = _interopRequireDefault(require("./selectors/id"));
+var _tag = _interopRequireDefault(require("./selectors/tag"));
+var _string = _interopRequireDefault(require("./selectors/string"));
+var _pseudo = _interopRequireDefault(require("./selectors/pseudo"));
+var _attribute = _interopRequireWildcard(require("./selectors/attribute"));
+var _universal = _interopRequireDefault(require("./selectors/universal"));
+var _combinator = _interopRequireDefault(require("./selectors/combinator"));
+var _nesting = _interopRequireDefault(require("./selectors/nesting"));
+var _sortAscending = _interopRequireDefault(require("./sortAscending"));
+var _tokenize = _interopRequireWildcard(require("./tokenize"));
+var tokens = _interopRequireWildcard(require("./tokenTypes"));
+var types = _interopRequireWildcard(require("./selectors/types"));
+var _util = require("./util");
+var _WHITESPACE_TOKENS, _Object$assign;
+function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
+function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+var WHITESPACE_TOKENS = (_WHITESPACE_TOKENS = {}, _WHITESPACE_TOKENS[tokens.space] = true, _WHITESPACE_TOKENS[tokens.cr] = true, _WHITESPACE_TOKENS[tokens.feed] = true, _WHITESPACE_TOKENS[tokens.newline] = true, _WHITESPACE_TOKENS[tokens.tab] = true, _WHITESPACE_TOKENS);
+var WHITESPACE_EQUIV_TOKENS = Object.assign({}, WHITESPACE_TOKENS, (_Object$assign = {}, _Object$assign[tokens.comment] = true, _Object$assign));
+function tokenStart(token) {
+ return {
+ line: token[_tokenize.FIELDS.START_LINE],
+ column: token[_tokenize.FIELDS.START_COL]
+ };
+}
+function tokenEnd(token) {
+ return {
+ line: token[_tokenize.FIELDS.END_LINE],
+ column: token[_tokenize.FIELDS.END_COL]
+ };
+}
+function getSource(startLine, startColumn, endLine, endColumn) {
+ return {
+ start: {
+ line: startLine,
+ column: startColumn
+ },
+ end: {
+ line: endLine,
+ column: endColumn
+ }
+ };
+}
+function getTokenSource(token) {
+ return getSource(token[_tokenize.FIELDS.START_LINE], token[_tokenize.FIELDS.START_COL], token[_tokenize.FIELDS.END_LINE], token[_tokenize.FIELDS.END_COL]);
+}
+function getTokenSourceSpan(startToken, endToken) {
+ if (!startToken) {
+ return undefined;
+ }
+ return getSource(startToken[_tokenize.FIELDS.START_LINE], startToken[_tokenize.FIELDS.START_COL], endToken[_tokenize.FIELDS.END_LINE], endToken[_tokenize.FIELDS.END_COL]);
+}
+function unescapeProp(node, prop) {
+ var value = node[prop];
+ if (typeof value !== "string") {
+ return;
+ }
+ if (value.indexOf("\\") !== -1) {
+ (0, _util.ensureObject)(node, 'raws');
+ node[prop] = (0, _util.unesc)(value);
+ if (node.raws[prop] === undefined) {
+ node.raws[prop] = value;
+ }
+ }
+ return node;
+}
+function indexesOf(array, item) {
+ var i = -1;
+ var indexes = [];
+ while ((i = array.indexOf(item, i + 1)) !== -1) {
+ indexes.push(i);
+ }
+ return indexes;
+}
+function uniqs() {
+ var list = Array.prototype.concat.apply([], arguments);
+ return list.filter(function (item, i) {
+ return i === list.indexOf(item);
+ });
+}
+var Parser = /*#__PURE__*/function () {
+ function Parser(rule, options) {
+ if (options === void 0) {
+ options = {};
+ }
+ this.rule = rule;
+ this.options = Object.assign({
+ lossy: false,
+ safe: false
+ }, options);
+ this.position = 0;
+ this.css = typeof this.rule === 'string' ? this.rule : this.rule.selector;
+ this.tokens = (0, _tokenize["default"])({
+ css: this.css,
+ error: this._errorGenerator(),
+ safe: this.options.safe
+ });
+ var rootSource = getTokenSourceSpan(this.tokens[0], this.tokens[this.tokens.length - 1]);
+ this.root = new _root["default"]({
+ source: rootSource
+ });
+ this.root.errorGenerator = this._errorGenerator();
+ var selector = new _selector["default"]({
+ source: {
+ start: {
+ line: 1,
+ column: 1
+ }
+ },
+ sourceIndex: 0
+ });
+ this.root.append(selector);
+ this.current = selector;
+ this.loop();
+ }
+ var _proto = Parser.prototype;
+ _proto._errorGenerator = function _errorGenerator() {
+ var _this = this;
+ return function (message, errorOptions) {
+ if (typeof _this.rule === 'string') {
+ return new Error(message);
+ }
+ return _this.rule.error(message, errorOptions);
+ };
+ };
+ _proto.attribute = function attribute() {
+ var attr = [];
+ var startingToken = this.currToken;
+ this.position++;
+ while (this.position < this.tokens.length && this.currToken[_tokenize.FIELDS.TYPE] !== tokens.closeSquare) {
+ attr.push(this.currToken);
+ this.position++;
+ }
+ if (this.currToken[_tokenize.FIELDS.TYPE] !== tokens.closeSquare) {
+ return this.expected('closing square bracket', this.currToken[_tokenize.FIELDS.START_POS]);
+ }
+ var len = attr.length;
+ var node = {
+ source: getSource(startingToken[1], startingToken[2], this.currToken[3], this.currToken[4]),
+ sourceIndex: startingToken[_tokenize.FIELDS.START_POS]
+ };
+ if (len === 1 && !~[tokens.word].indexOf(attr[0][_tokenize.FIELDS.TYPE])) {
+ return this.expected('attribute', attr[0][_tokenize.FIELDS.START_POS]);
+ }
+ var pos = 0;
+ var spaceBefore = '';
+ var commentBefore = '';
+ var lastAdded = null;
+ var spaceAfterMeaningfulToken = false;
+ while (pos < len) {
+ var token = attr[pos];
+ var content = this.content(token);
+ var next = attr[pos + 1];
+ switch (token[_tokenize.FIELDS.TYPE]) {
+ case tokens.space:
+ // if (
+ // len === 1 ||
+ // pos === 0 && this.content(next) === '|'
+ // ) {
+ // return this.expected('attribute', token[TOKEN.START_POS], content);
+ // }
+ spaceAfterMeaningfulToken = true;
+ if (this.options.lossy) {
+ break;
+ }
+ if (lastAdded) {
+ (0, _util.ensureObject)(node, 'spaces', lastAdded);
+ var prevContent = node.spaces[lastAdded].after || '';
+ node.spaces[lastAdded].after = prevContent + content;
+ var existingComment = (0, _util.getProp)(node, 'raws', 'spaces', lastAdded, 'after') || null;
+ if (existingComment) {
+ node.raws.spaces[lastAdded].after = existingComment + content;
+ }
+ } else {
+ spaceBefore = spaceBefore + content;
+ commentBefore = commentBefore + content;
+ }
+ break;
+ case tokens.asterisk:
+ if (next[_tokenize.FIELDS.TYPE] === tokens.equals) {
+ node.operator = content;
+ lastAdded = 'operator';
+ } else if ((!node.namespace || lastAdded === "namespace" && !spaceAfterMeaningfulToken) && next) {
+ if (spaceBefore) {
+ (0, _util.ensureObject)(node, 'spaces', 'attribute');
+ node.spaces.attribute.before = spaceBefore;
+ spaceBefore = '';
+ }
+ if (commentBefore) {
+ (0, _util.ensureObject)(node, 'raws', 'spaces', 'attribute');
+ node.raws.spaces.attribute.before = spaceBefore;
+ commentBefore = '';
+ }
+ node.namespace = (node.namespace || "") + content;
+ var rawValue = (0, _util.getProp)(node, 'raws', 'namespace') || null;
+ if (rawValue) {
+ node.raws.namespace += content;
+ }
+ lastAdded = 'namespace';
+ }
+ spaceAfterMeaningfulToken = false;
+ break;
+ case tokens.dollar:
+ if (lastAdded === "value") {
+ var oldRawValue = (0, _util.getProp)(node, 'raws', 'value');
+ node.value += "$";
+ if (oldRawValue) {
+ node.raws.value = oldRawValue + "$";
+ }
+ break;
+ }
+ // Falls through
+ case tokens.caret:
+ if (next[_tokenize.FIELDS.TYPE] === tokens.equals) {
+ node.operator = content;
+ lastAdded = 'operator';
+ }
+ spaceAfterMeaningfulToken = false;
+ break;
+ case tokens.combinator:
+ if (content === '~' && next[_tokenize.FIELDS.TYPE] === tokens.equals) {
+ node.operator = content;
+ lastAdded = 'operator';
+ }
+ if (content !== '|') {
+ spaceAfterMeaningfulToken = false;
+ break;
+ }
+ if (next[_tokenize.FIELDS.TYPE] === tokens.equals) {
+ node.operator = content;
+ lastAdded = 'operator';
+ } else if (!node.namespace && !node.attribute) {
+ node.namespace = true;
+ }
+ spaceAfterMeaningfulToken = false;
+ break;
+ case tokens.word:
+ if (next && this.content(next) === '|' && attr[pos + 2] && attr[pos + 2][_tokenize.FIELDS.TYPE] !== tokens.equals &&
+ // this look-ahead probably fails with comment nodes involved.
+ !node.operator && !node.namespace) {
+ node.namespace = content;
+ lastAdded = 'namespace';
+ } else if (!node.attribute || lastAdded === "attribute" && !spaceAfterMeaningfulToken) {
+ if (spaceBefore) {
+ (0, _util.ensureObject)(node, 'spaces', 'attribute');
+ node.spaces.attribute.before = spaceBefore;
+ spaceBefore = '';
+ }
+ if (commentBefore) {
+ (0, _util.ensureObject)(node, 'raws', 'spaces', 'attribute');
+ node.raws.spaces.attribute.before = commentBefore;
+ commentBefore = '';
+ }
+ node.attribute = (node.attribute || "") + content;
+ var _rawValue = (0, _util.getProp)(node, 'raws', 'attribute') || null;
+ if (_rawValue) {
+ node.raws.attribute += content;
+ }
+ lastAdded = 'attribute';
+ } else if (!node.value && node.value !== "" || lastAdded === "value" && !(spaceAfterMeaningfulToken || node.quoteMark)) {
+ var _unescaped = (0, _util.unesc)(content);
+ var _oldRawValue = (0, _util.getProp)(node, 'raws', 'value') || '';
+ var oldValue = node.value || '';
+ node.value = oldValue + _unescaped;
+ node.quoteMark = null;
+ if (_unescaped !== content || _oldRawValue) {
+ (0, _util.ensureObject)(node, 'raws');
+ node.raws.value = (_oldRawValue || oldValue) + content;
+ }
+ lastAdded = 'value';
+ } else {
+ var insensitive = content === 'i' || content === "I";
+ if ((node.value || node.value === '') && (node.quoteMark || spaceAfterMeaningfulToken)) {
+ node.insensitive = insensitive;
+ if (!insensitive || content === "I") {
+ (0, _util.ensureObject)(node, 'raws');
+ node.raws.insensitiveFlag = content;
+ }
+ lastAdded = 'insensitive';
+ if (spaceBefore) {
+ (0, _util.ensureObject)(node, 'spaces', 'insensitive');
+ node.spaces.insensitive.before = spaceBefore;
+ spaceBefore = '';
+ }
+ if (commentBefore) {
+ (0, _util.ensureObject)(node, 'raws', 'spaces', 'insensitive');
+ node.raws.spaces.insensitive.before = commentBefore;
+ commentBefore = '';
+ }
+ } else if (node.value || node.value === '') {
+ lastAdded = 'value';
+ node.value += content;
+ if (node.raws.value) {
+ node.raws.value += content;
+ }
+ }
+ }
+ spaceAfterMeaningfulToken = false;
+ break;
+ case tokens.str:
+ if (!node.attribute || !node.operator) {
+ return this.error("Expected an attribute followed by an operator preceding the string.", {
+ index: token[_tokenize.FIELDS.START_POS]
+ });
+ }
+ var _unescapeValue = (0, _attribute.unescapeValue)(content),
+ unescaped = _unescapeValue.unescaped,
+ quoteMark = _unescapeValue.quoteMark;
+ node.value = unescaped;
+ node.quoteMark = quoteMark;
+ lastAdded = 'value';
+ (0, _util.ensureObject)(node, 'raws');
+ node.raws.value = content;
+ spaceAfterMeaningfulToken = false;
+ break;
+ case tokens.equals:
+ if (!node.attribute) {
+ return this.expected('attribute', token[_tokenize.FIELDS.START_POS], content);
+ }
+ if (node.value) {
+ return this.error('Unexpected "=" found; an operator was already defined.', {
+ index: token[_tokenize.FIELDS.START_POS]
+ });
+ }
+ node.operator = node.operator ? node.operator + content : content;
+ lastAdded = 'operator';
+ spaceAfterMeaningfulToken = false;
+ break;
+ case tokens.comment:
+ if (lastAdded) {
+ if (spaceAfterMeaningfulToken || next && next[_tokenize.FIELDS.TYPE] === tokens.space || lastAdded === 'insensitive') {
+ var lastComment = (0, _util.getProp)(node, 'spaces', lastAdded, 'after') || '';
+ var rawLastComment = (0, _util.getProp)(node, 'raws', 'spaces', lastAdded, 'after') || lastComment;
+ (0, _util.ensureObject)(node, 'raws', 'spaces', lastAdded);
+ node.raws.spaces[lastAdded].after = rawLastComment + content;
+ } else {
+ var lastValue = node[lastAdded] || '';
+ var rawLastValue = (0, _util.getProp)(node, 'raws', lastAdded) || lastValue;
+ (0, _util.ensureObject)(node, 'raws');
+ node.raws[lastAdded] = rawLastValue + content;
+ }
+ } else {
+ commentBefore = commentBefore + content;
+ }
+ break;
+ default:
+ return this.error("Unexpected \"" + content + "\" found.", {
+ index: token[_tokenize.FIELDS.START_POS]
+ });
+ }
+ pos++;
+ }
+ unescapeProp(node, "attribute");
+ unescapeProp(node, "namespace");
+ this.newNode(new _attribute["default"](node));
+ this.position++;
+ }
+
+ /**
+ * return a node containing meaningless garbage up to (but not including) the specified token position.
+ * if the token position is negative, all remaining tokens are consumed.
+ *
+ * This returns an array containing a single string node if all whitespace,
+ * otherwise an array of comment nodes with space before and after.
+ *
+ * These tokens are not added to the current selector, the caller can add them or use them to amend
+ * a previous node's space metadata.
+ *
+ * In lossy mode, this returns only comments.
+ */;
+ _proto.parseWhitespaceEquivalentTokens = function parseWhitespaceEquivalentTokens(stopPosition) {
+ if (stopPosition < 0) {
+ stopPosition = this.tokens.length;
+ }
+ var startPosition = this.position;
+ var nodes = [];
+ var space = "";
+ var lastComment = undefined;
+ do {
+ if (WHITESPACE_TOKENS[this.currToken[_tokenize.FIELDS.TYPE]]) {
+ if (!this.options.lossy) {
+ space += this.content();
+ }
+ } else if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.comment) {
+ var spaces = {};
+ if (space) {
+ spaces.before = space;
+ space = "";
+ }
+ lastComment = new _comment["default"]({
+ value: this.content(),
+ source: getTokenSource(this.currToken),
+ sourceIndex: this.currToken[_tokenize.FIELDS.START_POS],
+ spaces: spaces
+ });
+ nodes.push(lastComment);
+ }
+ } while (++this.position < stopPosition);
+ if (space) {
+ if (lastComment) {
+ lastComment.spaces.after = space;
+ } else if (!this.options.lossy) {
+ var firstToken = this.tokens[startPosition];
+ var lastToken = this.tokens[this.position - 1];
+ nodes.push(new _string["default"]({
+ value: '',
+ source: getSource(firstToken[_tokenize.FIELDS.START_LINE], firstToken[_tokenize.FIELDS.START_COL], lastToken[_tokenize.FIELDS.END_LINE], lastToken[_tokenize.FIELDS.END_COL]),
+ sourceIndex: firstToken[_tokenize.FIELDS.START_POS],
+ spaces: {
+ before: space,
+ after: ''
+ }
+ }));
+ }
+ }
+ return nodes;
+ }
+
+ /**
+ *
+ * @param {*} nodes
+ */;
+ _proto.convertWhitespaceNodesToSpace = function convertWhitespaceNodesToSpace(nodes, requiredSpace) {
+ var _this2 = this;
+ if (requiredSpace === void 0) {
+ requiredSpace = false;
+ }
+ var space = "";
+ var rawSpace = "";
+ nodes.forEach(function (n) {
+ var spaceBefore = _this2.lossySpace(n.spaces.before, requiredSpace);
+ var rawSpaceBefore = _this2.lossySpace(n.rawSpaceBefore, requiredSpace);
+ space += spaceBefore + _this2.lossySpace(n.spaces.after, requiredSpace && spaceBefore.length === 0);
+ rawSpace += spaceBefore + n.value + _this2.lossySpace(n.rawSpaceAfter, requiredSpace && rawSpaceBefore.length === 0);
+ });
+ if (rawSpace === space) {
+ rawSpace = undefined;
+ }
+ var result = {
+ space: space,
+ rawSpace: rawSpace
+ };
+ return result;
+ };
+ _proto.isNamedCombinator = function isNamedCombinator(position) {
+ if (position === void 0) {
+ position = this.position;
+ }
+ return this.tokens[position + 0] && this.tokens[position + 0][_tokenize.FIELDS.TYPE] === tokens.slash && this.tokens[position + 1] && this.tokens[position + 1][_tokenize.FIELDS.TYPE] === tokens.word && this.tokens[position + 2] && this.tokens[position + 2][_tokenize.FIELDS.TYPE] === tokens.slash;
+ };
+ _proto.namedCombinator = function namedCombinator() {
+ if (this.isNamedCombinator()) {
+ var nameRaw = this.content(this.tokens[this.position + 1]);
+ var name = (0, _util.unesc)(nameRaw).toLowerCase();
+ var raws = {};
+ if (name !== nameRaw) {
+ raws.value = "/" + nameRaw + "/";
+ }
+ var node = new _combinator["default"]({
+ value: "/" + name + "/",
+ source: getSource(this.currToken[_tokenize.FIELDS.START_LINE], this.currToken[_tokenize.FIELDS.START_COL], this.tokens[this.position + 2][_tokenize.FIELDS.END_LINE], this.tokens[this.position + 2][_tokenize.FIELDS.END_COL]),
+ sourceIndex: this.currToken[_tokenize.FIELDS.START_POS],
+ raws: raws
+ });
+ this.position = this.position + 3;
+ return node;
+ } else {
+ this.unexpected();
+ }
+ };
+ _proto.combinator = function combinator() {
+ var _this3 = this;
+ if (this.content() === '|') {
+ return this.namespace();
+ }
+ // We need to decide between a space that's a descendant combinator and meaningless whitespace at the end of a selector.
+ var nextSigTokenPos = this.locateNextMeaningfulToken(this.position);
+ if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma) {
+ var nodes = this.parseWhitespaceEquivalentTokens(nextSigTokenPos);
+ if (nodes.length > 0) {
+ var last = this.current.last;
+ if (last) {
+ var _this$convertWhitespa = this.convertWhitespaceNodesToSpace(nodes),
+ space = _this$convertWhitespa.space,
+ rawSpace = _this$convertWhitespa.rawSpace;
+ if (rawSpace !== undefined) {
+ last.rawSpaceAfter += rawSpace;
+ }
+ last.spaces.after += space;
+ } else {
+ nodes.forEach(function (n) {
+ return _this3.newNode(n);
+ });
+ }
+ }
+ return;
+ }
+ var firstToken = this.currToken;
+ var spaceOrDescendantSelectorNodes = undefined;
+ if (nextSigTokenPos > this.position) {
+ spaceOrDescendantSelectorNodes = this.parseWhitespaceEquivalentTokens(nextSigTokenPos);
+ }
+ var node;
+ if (this.isNamedCombinator()) {
+ node = this.namedCombinator();
+ } else if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.combinator) {
+ node = new _combinator["default"]({
+ value: this.content(),
+ source: getTokenSource(this.currToken),
+ sourceIndex: this.currToken[_tokenize.FIELDS.START_POS]
+ });
+ this.position++;
+ } else if (WHITESPACE_TOKENS[this.currToken[_tokenize.FIELDS.TYPE]]) {
+ // pass
+ } else if (!spaceOrDescendantSelectorNodes) {
+ this.unexpected();
+ }
+ if (node) {
+ if (spaceOrDescendantSelectorNodes) {
+ var _this$convertWhitespa2 = this.convertWhitespaceNodesToSpace(spaceOrDescendantSelectorNodes),
+ _space = _this$convertWhitespa2.space,
+ _rawSpace = _this$convertWhitespa2.rawSpace;
+ node.spaces.before = _space;
+ node.rawSpaceBefore = _rawSpace;
+ }
+ } else {
+ // descendant combinator
+ var _this$convertWhitespa3 = this.convertWhitespaceNodesToSpace(spaceOrDescendantSelectorNodes, true),
+ _space2 = _this$convertWhitespa3.space,
+ _rawSpace2 = _this$convertWhitespa3.rawSpace;
+ if (!_rawSpace2) {
+ _rawSpace2 = _space2;
+ }
+ var spaces = {};
+ var raws = {
+ spaces: {}
+ };
+ if (_space2.endsWith(' ') && _rawSpace2.endsWith(' ')) {
+ spaces.before = _space2.slice(0, _space2.length - 1);
+ raws.spaces.before = _rawSpace2.slice(0, _rawSpace2.length - 1);
+ } else if (_space2.startsWith(' ') && _rawSpace2.startsWith(' ')) {
+ spaces.after = _space2.slice(1);
+ raws.spaces.after = _rawSpace2.slice(1);
+ } else {
+ raws.value = _rawSpace2;
+ }
+ node = new _combinator["default"]({
+ value: ' ',
+ source: getTokenSourceSpan(firstToken, this.tokens[this.position - 1]),
+ sourceIndex: firstToken[_tokenize.FIELDS.START_POS],
+ spaces: spaces,
+ raws: raws
+ });
+ }
+ if (this.currToken && this.currToken[_tokenize.FIELDS.TYPE] === tokens.space) {
+ node.spaces.after = this.optionalSpace(this.content());
+ this.position++;
+ }
+ return this.newNode(node);
+ };
+ _proto.comma = function comma() {
+ if (this.position === this.tokens.length - 1) {
+ this.root.trailingComma = true;
+ this.position++;
+ return;
+ }
+ this.current._inferEndPosition();
+ var selector = new _selector["default"]({
+ source: {
+ start: tokenStart(this.tokens[this.position + 1])
+ },
+ sourceIndex: this.tokens[this.position + 1][_tokenize.FIELDS.START_POS]
+ });
+ this.current.parent.append(selector);
+ this.current = selector;
+ this.position++;
+ };
+ _proto.comment = function comment() {
+ var current = this.currToken;
+ this.newNode(new _comment["default"]({
+ value: this.content(),
+ source: getTokenSource(current),
+ sourceIndex: current[_tokenize.FIELDS.START_POS]
+ }));
+ this.position++;
+ };
+ _proto.error = function error(message, opts) {
+ throw this.root.error(message, opts);
+ };
+ _proto.missingBackslash = function missingBackslash() {
+ return this.error('Expected a backslash preceding the semicolon.', {
+ index: this.currToken[_tokenize.FIELDS.START_POS]
+ });
+ };
+ _proto.missingParenthesis = function missingParenthesis() {
+ return this.expected('opening parenthesis', this.currToken[_tokenize.FIELDS.START_POS]);
+ };
+ _proto.missingSquareBracket = function missingSquareBracket() {
+ return this.expected('opening square bracket', this.currToken[_tokenize.FIELDS.START_POS]);
+ };
+ _proto.unexpected = function unexpected() {
+ return this.error("Unexpected '" + this.content() + "'. Escaping special characters with \\ may help.", this.currToken[_tokenize.FIELDS.START_POS]);
+ };
+ _proto.unexpectedPipe = function unexpectedPipe() {
+ return this.error("Unexpected '|'.", this.currToken[_tokenize.FIELDS.START_POS]);
+ };
+ _proto.namespace = function namespace() {
+ var before = this.prevToken && this.content(this.prevToken) || true;
+ if (this.nextToken[_tokenize.FIELDS.TYPE] === tokens.word) {
+ this.position++;
+ return this.word(before);
+ } else if (this.nextToken[_tokenize.FIELDS.TYPE] === tokens.asterisk) {
+ this.position++;
+ return this.universal(before);
+ }
+ this.unexpectedPipe();
+ };
+ _proto.nesting = function nesting() {
+ if (this.nextToken) {
+ var nextContent = this.content(this.nextToken);
+ if (nextContent === "|") {
+ this.position++;
+ return;
+ }
+ }
+ var current = this.currToken;
+ this.newNode(new _nesting["default"]({
+ value: this.content(),
+ source: getTokenSource(current),
+ sourceIndex: current[_tokenize.FIELDS.START_POS]
+ }));
+ this.position++;
+ };
+ _proto.parentheses = function parentheses() {
+ var last = this.current.last;
+ var unbalanced = 1;
+ this.position++;
+ if (last && last.type === types.PSEUDO) {
+ var selector = new _selector["default"]({
+ source: {
+ start: tokenStart(this.tokens[this.position])
+ },
+ sourceIndex: this.tokens[this.position][_tokenize.FIELDS.START_POS]
+ });
+ var cache = this.current;
+ last.append(selector);
+ this.current = selector;
+ while (this.position < this.tokens.length && unbalanced) {
+ if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.openParenthesis) {
+ unbalanced++;
+ }
+ if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) {
+ unbalanced--;
+ }
+ if (unbalanced) {
+ this.parse();
+ } else {
+ this.current.source.end = tokenEnd(this.currToken);
+ this.current.parent.source.end = tokenEnd(this.currToken);
+ this.position++;
+ }
+ }
+ this.current = cache;
+ } else {
+ // I think this case should be an error. It's used to implement a basic parse of media queries
+ // but I don't think it's a good idea.
+ var parenStart = this.currToken;
+ var parenValue = "(";
+ var parenEnd;
+ while (this.position < this.tokens.length && unbalanced) {
+ if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.openParenthesis) {
+ unbalanced++;
+ }
+ if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) {
+ unbalanced--;
+ }
+ parenEnd = this.currToken;
+ parenValue += this.parseParenthesisToken(this.currToken);
+ this.position++;
+ }
+ if (last) {
+ last.appendToPropertyAndEscape("value", parenValue, parenValue);
+ } else {
+ this.newNode(new _string["default"]({
+ value: parenValue,
+ source: getSource(parenStart[_tokenize.FIELDS.START_LINE], parenStart[_tokenize.FIELDS.START_COL], parenEnd[_tokenize.FIELDS.END_LINE], parenEnd[_tokenize.FIELDS.END_COL]),
+ sourceIndex: parenStart[_tokenize.FIELDS.START_POS]
+ }));
+ }
+ }
+ if (unbalanced) {
+ return this.expected('closing parenthesis', this.currToken[_tokenize.FIELDS.START_POS]);
+ }
+ };
+ _proto.pseudo = function pseudo() {
+ var _this4 = this;
+ var pseudoStr = '';
+ var startingToken = this.currToken;
+ while (this.currToken && this.currToken[_tokenize.FIELDS.TYPE] === tokens.colon) {
+ pseudoStr += this.content();
+ this.position++;
+ }
+ if (!this.currToken) {
+ return this.expected(['pseudo-class', 'pseudo-element'], this.position - 1);
+ }
+ if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.word) {
+ this.splitWord(false, function (first, length) {
+ pseudoStr += first;
+ _this4.newNode(new _pseudo["default"]({
+ value: pseudoStr,
+ source: getTokenSourceSpan(startingToken, _this4.currToken),
+ sourceIndex: startingToken[_tokenize.FIELDS.START_POS]
+ }));
+ if (length > 1 && _this4.nextToken && _this4.nextToken[_tokenize.FIELDS.TYPE] === tokens.openParenthesis) {
+ _this4.error('Misplaced parenthesis.', {
+ index: _this4.nextToken[_tokenize.FIELDS.START_POS]
+ });
+ }
+ });
+ } else {
+ return this.expected(['pseudo-class', 'pseudo-element'], this.currToken[_tokenize.FIELDS.START_POS]);
+ }
+ };
+ _proto.space = function space() {
+ var content = this.content();
+ // Handle space before and after the selector
+ if (this.position === 0 || this.prevToken[_tokenize.FIELDS.TYPE] === tokens.comma || this.prevToken[_tokenize.FIELDS.TYPE] === tokens.openParenthesis || this.current.nodes.every(function (node) {
+ return node.type === 'comment';
+ })) {
+ this.spaces = this.optionalSpace(content);
+ this.position++;
+ } else if (this.position === this.tokens.length - 1 || this.nextToken[_tokenize.FIELDS.TYPE] === tokens.comma || this.nextToken[_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) {
+ this.current.last.spaces.after = this.optionalSpace(content);
+ this.position++;
+ } else {
+ this.combinator();
+ }
+ };
+ _proto.string = function string() {
+ var current = this.currToken;
+ this.newNode(new _string["default"]({
+ value: this.content(),
+ source: getTokenSource(current),
+ sourceIndex: current[_tokenize.FIELDS.START_POS]
+ }));
+ this.position++;
+ };
+ _proto.universal = function universal(namespace) {
+ var nextToken = this.nextToken;
+ if (nextToken && this.content(nextToken) === '|') {
+ this.position++;
+ return this.namespace();
+ }
+ var current = this.currToken;
+ this.newNode(new _universal["default"]({
+ value: this.content(),
+ source: getTokenSource(current),
+ sourceIndex: current[_tokenize.FIELDS.START_POS]
+ }), namespace);
+ this.position++;
+ };
+ _proto.splitWord = function splitWord(namespace, firstCallback) {
+ var _this5 = this;
+ var nextToken = this.nextToken;
+ var word = this.content();
+ while (nextToken && ~[tokens.dollar, tokens.caret, tokens.equals, tokens.word].indexOf(nextToken[_tokenize.FIELDS.TYPE])) {
+ this.position++;
+ var current = this.content();
+ word += current;
+ if (current.lastIndexOf('\\') === current.length - 1) {
+ var next = this.nextToken;
+ if (next && next[_tokenize.FIELDS.TYPE] === tokens.space) {
+ word += this.requiredSpace(this.content(next));
+ this.position++;
+ }
+ }
+ nextToken = this.nextToken;
+ }
+ var hasClass = indexesOf(word, '.').filter(function (i) {
+ // Allow escaped dot within class name
+ var escapedDot = word[i - 1] === '\\';
+ // Allow decimal numbers percent in @keyframes
+ var isKeyframesPercent = /^\d+\.\d+%$/.test(word);
+ return !escapedDot && !isKeyframesPercent;
+ });
+ var hasId = indexesOf(word, '#').filter(function (i) {
+ return word[i - 1] !== '\\';
+ });
+ // Eliminate Sass interpolations from the list of id indexes
+ var interpolations = indexesOf(word, '#{');
+ if (interpolations.length) {
+ hasId = hasId.filter(function (hashIndex) {
+ return !~interpolations.indexOf(hashIndex);
+ });
+ }
+ var indices = (0, _sortAscending["default"])(uniqs([0].concat(hasClass, hasId)));
+ indices.forEach(function (ind, i) {
+ var index = indices[i + 1] || word.length;
+ var value = word.slice(ind, index);
+ if (i === 0 && firstCallback) {
+ return firstCallback.call(_this5, value, indices.length);
+ }
+ var node;
+ var current = _this5.currToken;
+ var sourceIndex = current[_tokenize.FIELDS.START_POS] + indices[i];
+ var source = getSource(current[1], current[2] + ind, current[3], current[2] + (index - 1));
+ if (~hasClass.indexOf(ind)) {
+ var classNameOpts = {
+ value: value.slice(1),
+ source: source,
+ sourceIndex: sourceIndex
+ };
+ node = new _className["default"](unescapeProp(classNameOpts, "value"));
+ } else if (~hasId.indexOf(ind)) {
+ var idOpts = {
+ value: value.slice(1),
+ source: source,
+ sourceIndex: sourceIndex
+ };
+ node = new _id["default"](unescapeProp(idOpts, "value"));
+ } else {
+ var tagOpts = {
+ value: value,
+ source: source,
+ sourceIndex: sourceIndex
+ };
+ unescapeProp(tagOpts, "value");
+ node = new _tag["default"](tagOpts);
+ }
+ _this5.newNode(node, namespace);
+ // Ensure that the namespace is used only once
+ namespace = null;
+ });
+ this.position++;
+ };
+ _proto.word = function word(namespace) {
+ var nextToken = this.nextToken;
+ if (nextToken && this.content(nextToken) === '|') {
+ this.position++;
+ return this.namespace();
+ }
+ return this.splitWord(namespace);
+ };
+ _proto.loop = function loop() {
+ while (this.position < this.tokens.length) {
+ this.parse(true);
+ }
+ this.current._inferEndPosition();
+ return this.root;
+ };
+ _proto.parse = function parse(throwOnParenthesis) {
+ switch (this.currToken[_tokenize.FIELDS.TYPE]) {
+ case tokens.space:
+ this.space();
+ break;
+ case tokens.comment:
+ this.comment();
+ break;
+ case tokens.openParenthesis:
+ this.parentheses();
+ break;
+ case tokens.closeParenthesis:
+ if (throwOnParenthesis) {
+ this.missingParenthesis();
+ }
+ break;
+ case tokens.openSquare:
+ this.attribute();
+ break;
+ case tokens.dollar:
+ case tokens.caret:
+ case tokens.equals:
+ case tokens.word:
+ this.word();
+ break;
+ case tokens.colon:
+ this.pseudo();
+ break;
+ case tokens.comma:
+ this.comma();
+ break;
+ case tokens.asterisk:
+ this.universal();
+ break;
+ case tokens.ampersand:
+ this.nesting();
+ break;
+ case tokens.slash:
+ case tokens.combinator:
+ this.combinator();
+ break;
+ case tokens.str:
+ this.string();
+ break;
+ // These cases throw; no break needed.
+ case tokens.closeSquare:
+ this.missingSquareBracket();
+ case tokens.semicolon:
+ this.missingBackslash();
+ default:
+ this.unexpected();
+ }
+ }
+
+ /**
+ * Helpers
+ */;
+ _proto.expected = function expected(description, index, found) {
+ if (Array.isArray(description)) {
+ var last = description.pop();
+ description = description.join(', ') + " or " + last;
+ }
+ var an = /^[aeiou]/.test(description[0]) ? 'an' : 'a';
+ if (!found) {
+ return this.error("Expected " + an + " " + description + ".", {
+ index: index
+ });
+ }
+ return this.error("Expected " + an + " " + description + ", found \"" + found + "\" instead.", {
+ index: index
+ });
+ };
+ _proto.requiredSpace = function requiredSpace(space) {
+ return this.options.lossy ? ' ' : space;
+ };
+ _proto.optionalSpace = function optionalSpace(space) {
+ return this.options.lossy ? '' : space;
+ };
+ _proto.lossySpace = function lossySpace(space, required) {
+ if (this.options.lossy) {
+ return required ? ' ' : '';
+ } else {
+ return space;
+ }
+ };
+ _proto.parseParenthesisToken = function parseParenthesisToken(token) {
+ var content = this.content(token);
+ if (token[_tokenize.FIELDS.TYPE] === tokens.space) {
+ return this.requiredSpace(content);
+ } else {
+ return content;
+ }
+ };
+ _proto.newNode = function newNode(node, namespace) {
+ if (namespace) {
+ if (/^ +$/.test(namespace)) {
+ if (!this.options.lossy) {
+ this.spaces = (this.spaces || '') + namespace;
+ }
+ namespace = true;
+ }
+ node.namespace = namespace;
+ unescapeProp(node, "namespace");
+ }
+ if (this.spaces) {
+ node.spaces.before = this.spaces;
+ this.spaces = '';
+ }
+ return this.current.append(node);
+ };
+ _proto.content = function content(token) {
+ if (token === void 0) {
+ token = this.currToken;
+ }
+ return this.css.slice(token[_tokenize.FIELDS.START_POS], token[_tokenize.FIELDS.END_POS]);
+ };
+ /**
+ * returns the index of the next non-whitespace, non-comment token.
+ * returns -1 if no meaningful token is found.
+ */
+ _proto.locateNextMeaningfulToken = function locateNextMeaningfulToken(startPosition) {
+ if (startPosition === void 0) {
+ startPosition = this.position + 1;
+ }
+ var searchPosition = startPosition;
+ while (searchPosition < this.tokens.length) {
+ if (WHITESPACE_EQUIV_TOKENS[this.tokens[searchPosition][_tokenize.FIELDS.TYPE]]) {
+ searchPosition++;
+ continue;
+ } else {
+ return searchPosition;
+ }
+ }
+ return -1;
+ };
+ _createClass(Parser, [{
+ key: "currToken",
+ get: function get() {
+ return this.tokens[this.position];
+ }
+ }, {
+ key: "nextToken",
+ get: function get() {
+ return this.tokens[this.position + 1];
+ }
+ }, {
+ key: "prevToken",
+ get: function get() {
+ return this.tokens[this.position - 1];
+ }
+ }]);
+ return Parser;
+}();
+exports["default"] = Parser;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/processor.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/processor.js"
index 5e3bd4a1da14df7208b4a00bf8767d8e16c3e122..dbfa09188e63dbf2894e8dba1a1de2cde6866464 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/processor.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/processor.js"
@@ -1,3 +1,170 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4a7b6d47076d57d9d14fa818d3defdecbc7ebe00975accbc08d73ac9f6849d47
-size 5210
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _parser = _interopRequireDefault(require("./parser"));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+var Processor = /*#__PURE__*/function () {
+ function Processor(func, options) {
+ this.func = func || function noop() {};
+ this.funcRes = null;
+ this.options = options;
+ }
+ var _proto = Processor.prototype;
+ _proto._shouldUpdateSelector = function _shouldUpdateSelector(rule, options) {
+ if (options === void 0) {
+ options = {};
+ }
+ var merged = Object.assign({}, this.options, options);
+ if (merged.updateSelector === false) {
+ return false;
+ } else {
+ return typeof rule !== "string";
+ }
+ };
+ _proto._isLossy = function _isLossy(options) {
+ if (options === void 0) {
+ options = {};
+ }
+ var merged = Object.assign({}, this.options, options);
+ if (merged.lossless === false) {
+ return true;
+ } else {
+ return false;
+ }
+ };
+ _proto._root = function _root(rule, options) {
+ if (options === void 0) {
+ options = {};
+ }
+ var parser = new _parser["default"](rule, this._parseOptions(options));
+ return parser.root;
+ };
+ _proto._parseOptions = function _parseOptions(options) {
+ return {
+ lossy: this._isLossy(options)
+ };
+ };
+ _proto._run = function _run(rule, options) {
+ var _this = this;
+ if (options === void 0) {
+ options = {};
+ }
+ return new Promise(function (resolve, reject) {
+ try {
+ var root = _this._root(rule, options);
+ Promise.resolve(_this.func(root)).then(function (transform) {
+ var string = undefined;
+ if (_this._shouldUpdateSelector(rule, options)) {
+ string = root.toString();
+ rule.selector = string;
+ }
+ return {
+ transform: transform,
+ root: root,
+ string: string
+ };
+ }).then(resolve, reject);
+ } catch (e) {
+ reject(e);
+ return;
+ }
+ });
+ };
+ _proto._runSync = function _runSync(rule, options) {
+ if (options === void 0) {
+ options = {};
+ }
+ var root = this._root(rule, options);
+ var transform = this.func(root);
+ if (transform && typeof transform.then === "function") {
+ throw new Error("Selector processor returned a promise to a synchronous call.");
+ }
+ var string = undefined;
+ if (options.updateSelector && typeof rule !== "string") {
+ string = root.toString();
+ rule.selector = string;
+ }
+ return {
+ transform: transform,
+ root: root,
+ string: string
+ };
+ }
+
+ /**
+ * Process rule into a selector AST.
+ *
+ * @param rule {postcss.Rule | string} The css selector to be processed
+ * @param options The options for processing
+ * @returns {Promise} The AST of the selector after processing it.
+ */;
+ _proto.ast = function ast(rule, options) {
+ return this._run(rule, options).then(function (result) {
+ return result.root;
+ });
+ }
+
+ /**
+ * Process rule into a selector AST synchronously.
+ *
+ * @param rule {postcss.Rule | string} The css selector to be processed
+ * @param options The options for processing
+ * @returns {parser.Root} The AST of the selector after processing it.
+ */;
+ _proto.astSync = function astSync(rule, options) {
+ return this._runSync(rule, options).root;
+ }
+
+ /**
+ * Process a selector into a transformed value asynchronously
+ *
+ * @param rule {postcss.Rule | string} The css selector to be processed
+ * @param options The options for processing
+ * @returns {Promise} The value returned by the processor.
+ */;
+ _proto.transform = function transform(rule, options) {
+ return this._run(rule, options).then(function (result) {
+ return result.transform;
+ });
+ }
+
+ /**
+ * Process a selector into a transformed value synchronously.
+ *
+ * @param rule {postcss.Rule | string} The css selector to be processed
+ * @param options The options for processing
+ * @returns {any} The value returned by the processor.
+ */;
+ _proto.transformSync = function transformSync(rule, options) {
+ return this._runSync(rule, options).transform;
+ }
+
+ /**
+ * Process a selector into a new selector string asynchronously.
+ *
+ * @param rule {postcss.Rule | string} The css selector to be processed
+ * @param options The options for processing
+ * @returns {string} the selector after processing.
+ */;
+ _proto.process = function process(rule, options) {
+ return this._run(rule, options).then(function (result) {
+ return result.string || result.root.toString();
+ });
+ }
+
+ /**
+ * Process a selector into a new selector string synchronously.
+ *
+ * @param rule {postcss.Rule | string} The css selector to be processed
+ * @param options The options for processing
+ * @returns {string} the selector after processing.
+ */;
+ _proto.processSync = function processSync(rule, options) {
+ var result = this._runSync(rule, options);
+ return result.string || result.root.toString();
+ };
+ return Processor;
+}();
+exports["default"] = Processor;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/attribute.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/attribute.js"
index 12200e83cb897426421c3c4edb1b3d672dc0ef66..0351a22bfa597caa3b991433f56b9b3a73de68d2 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/attribute.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/attribute.js"
@@ -1,3 +1,448 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a6f8d7a3874cb7acf3042728769372bd78b1b520461b68188477ba05f0f0e9f4
-size 16847
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+exports.unescapeValue = unescapeValue;
+var _cssesc = _interopRequireDefault(require("cssesc"));
+var _unesc = _interopRequireDefault(require("../util/unesc"));
+var _namespace = _interopRequireDefault(require("./namespace"));
+var _types = require("./types");
+var _CSSESC_QUOTE_OPTIONS;
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var deprecate = require("util-deprecate");
+var WRAPPED_IN_QUOTES = /^('|")([^]*)\1$/;
+var warnOfDeprecatedValueAssignment = deprecate(function () {}, "Assigning an attribute a value containing characters that might need to be escaped is deprecated. " + "Call attribute.setValue() instead.");
+var warnOfDeprecatedQuotedAssignment = deprecate(function () {}, "Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.");
+var warnOfDeprecatedConstructor = deprecate(function () {}, "Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");
+function unescapeValue(value) {
+ var deprecatedUsage = false;
+ var quoteMark = null;
+ var unescaped = value;
+ var m = unescaped.match(WRAPPED_IN_QUOTES);
+ if (m) {
+ quoteMark = m[1];
+ unescaped = m[2];
+ }
+ unescaped = (0, _unesc["default"])(unescaped);
+ if (unescaped !== value) {
+ deprecatedUsage = true;
+ }
+ return {
+ deprecatedUsage: deprecatedUsage,
+ unescaped: unescaped,
+ quoteMark: quoteMark
+ };
+}
+function handleDeprecatedContructorOpts(opts) {
+ if (opts.quoteMark !== undefined) {
+ return opts;
+ }
+ if (opts.value === undefined) {
+ return opts;
+ }
+ warnOfDeprecatedConstructor();
+ var _unescapeValue = unescapeValue(opts.value),
+ quoteMark = _unescapeValue.quoteMark,
+ unescaped = _unescapeValue.unescaped;
+ if (!opts.raws) {
+ opts.raws = {};
+ }
+ if (opts.raws.value === undefined) {
+ opts.raws.value = opts.value;
+ }
+ opts.value = unescaped;
+ opts.quoteMark = quoteMark;
+ return opts;
+}
+var Attribute = /*#__PURE__*/function (_Namespace) {
+ _inheritsLoose(Attribute, _Namespace);
+ function Attribute(opts) {
+ var _this;
+ if (opts === void 0) {
+ opts = {};
+ }
+ _this = _Namespace.call(this, handleDeprecatedContructorOpts(opts)) || this;
+ _this.type = _types.ATTRIBUTE;
+ _this.raws = _this.raws || {};
+ Object.defineProperty(_this.raws, 'unquoted', {
+ get: deprecate(function () {
+ return _this.value;
+ }, "attr.raws.unquoted is deprecated. Call attr.value instead."),
+ set: deprecate(function () {
+ return _this.value;
+ }, "Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")
+ });
+ _this._constructed = true;
+ return _this;
+ }
+
+ /**
+ * Returns the Attribute's value quoted such that it would be legal to use
+ * in the value of a css file. The original value's quotation setting
+ * used for stringification is left unchanged. See `setValue(value, options)`
+ * if you want to control the quote settings of a new value for the attribute.
+ *
+ * You can also change the quotation used for the current value by setting quoteMark.
+ *
+ * Options:
+ * * quoteMark {'"' | "'" | null} - Use this value to quote the value. If this
+ * option is not set, the original value for quoteMark will be used. If
+ * indeterminate, a double quote is used. The legal values are:
+ * * `null` - the value will be unquoted and characters will be escaped as necessary.
+ * * `'` - the value will be quoted with a single quote and single quotes are escaped.
+ * * `"` - the value will be quoted with a double quote and double quotes are escaped.
+ * * preferCurrentQuoteMark {boolean} - if true, prefer the source quote mark
+ * over the quoteMark option value.
+ * * smart {boolean} - if true, will select a quote mark based on the value
+ * and the other options specified here. See the `smartQuoteMark()`
+ * method.
+ **/
+ var _proto = Attribute.prototype;
+ _proto.getQuotedValue = function getQuotedValue(options) {
+ if (options === void 0) {
+ options = {};
+ }
+ var quoteMark = this._determineQuoteMark(options);
+ var cssescopts = CSSESC_QUOTE_OPTIONS[quoteMark];
+ var escaped = (0, _cssesc["default"])(this._value, cssescopts);
+ return escaped;
+ };
+ _proto._determineQuoteMark = function _determineQuoteMark(options) {
+ return options.smart ? this.smartQuoteMark(options) : this.preferredQuoteMark(options);
+ }
+
+ /**
+ * Set the unescaped value with the specified quotation options. The value
+ * provided must not include any wrapping quote marks -- those quotes will
+ * be interpreted as part of the value and escaped accordingly.
+ */;
+ _proto.setValue = function setValue(value, options) {
+ if (options === void 0) {
+ options = {};
+ }
+ this._value = value;
+ this._quoteMark = this._determineQuoteMark(options);
+ this._syncRawValue();
+ }
+
+ /**
+ * Intelligently select a quoteMark value based on the value's contents. If
+ * the value is a legal CSS ident, it will not be quoted. Otherwise a quote
+ * mark will be picked that minimizes the number of escapes.
+ *
+ * If there's no clear winner, the quote mark from these options is used,
+ * then the source quote mark (this is inverted if `preferCurrentQuoteMark` is
+ * true). If the quoteMark is unspecified, a double quote is used.
+ *
+ * @param options This takes the quoteMark and preferCurrentQuoteMark options
+ * from the quoteValue method.
+ */;
+ _proto.smartQuoteMark = function smartQuoteMark(options) {
+ var v = this.value;
+ var numSingleQuotes = v.replace(/[^']/g, '').length;
+ var numDoubleQuotes = v.replace(/[^"]/g, '').length;
+ if (numSingleQuotes + numDoubleQuotes === 0) {
+ var escaped = (0, _cssesc["default"])(v, {
+ isIdentifier: true
+ });
+ if (escaped === v) {
+ return Attribute.NO_QUOTE;
+ } else {
+ var pref = this.preferredQuoteMark(options);
+ if (pref === Attribute.NO_QUOTE) {
+ // pick a quote mark that isn't none and see if it's smaller
+ var quote = this.quoteMark || options.quoteMark || Attribute.DOUBLE_QUOTE;
+ var opts = CSSESC_QUOTE_OPTIONS[quote];
+ var quoteValue = (0, _cssesc["default"])(v, opts);
+ if (quoteValue.length < escaped.length) {
+ return quote;
+ }
+ }
+ return pref;
+ }
+ } else if (numDoubleQuotes === numSingleQuotes) {
+ return this.preferredQuoteMark(options);
+ } else if (numDoubleQuotes < numSingleQuotes) {
+ return Attribute.DOUBLE_QUOTE;
+ } else {
+ return Attribute.SINGLE_QUOTE;
+ }
+ }
+
+ /**
+ * Selects the preferred quote mark based on the options and the current quote mark value.
+ * If you want the quote mark to depend on the attribute value, call `smartQuoteMark(opts)`
+ * instead.
+ */;
+ _proto.preferredQuoteMark = function preferredQuoteMark(options) {
+ var quoteMark = options.preferCurrentQuoteMark ? this.quoteMark : options.quoteMark;
+ if (quoteMark === undefined) {
+ quoteMark = options.preferCurrentQuoteMark ? options.quoteMark : this.quoteMark;
+ }
+ if (quoteMark === undefined) {
+ quoteMark = Attribute.DOUBLE_QUOTE;
+ }
+ return quoteMark;
+ };
+ _proto._syncRawValue = function _syncRawValue() {
+ var rawValue = (0, _cssesc["default"])(this._value, CSSESC_QUOTE_OPTIONS[this.quoteMark]);
+ if (rawValue === this._value) {
+ if (this.raws) {
+ delete this.raws.value;
+ }
+ } else {
+ this.raws.value = rawValue;
+ }
+ };
+ _proto._handleEscapes = function _handleEscapes(prop, value) {
+ if (this._constructed) {
+ var escaped = (0, _cssesc["default"])(value, {
+ isIdentifier: true
+ });
+ if (escaped !== value) {
+ this.raws[prop] = escaped;
+ } else {
+ delete this.raws[prop];
+ }
+ }
+ };
+ _proto._spacesFor = function _spacesFor(name) {
+ var attrSpaces = {
+ before: '',
+ after: ''
+ };
+ var spaces = this.spaces[name] || {};
+ var rawSpaces = this.raws.spaces && this.raws.spaces[name] || {};
+ return Object.assign(attrSpaces, spaces, rawSpaces);
+ };
+ _proto._stringFor = function _stringFor(name, spaceName, concat) {
+ if (spaceName === void 0) {
+ spaceName = name;
+ }
+ if (concat === void 0) {
+ concat = defaultAttrConcat;
+ }
+ var attrSpaces = this._spacesFor(spaceName);
+ return concat(this.stringifyProperty(name), attrSpaces);
+ }
+
+ /**
+ * returns the offset of the attribute part specified relative to the
+ * start of the node of the output string.
+ *
+ * * "ns" - alias for "namespace"
+ * * "namespace" - the namespace if it exists.
+ * * "attribute" - the attribute name
+ * * "attributeNS" - the start of the attribute or its namespace
+ * * "operator" - the match operator of the attribute
+ * * "value" - The value (string or identifier)
+ * * "insensitive" - the case insensitivity flag;
+ * @param part One of the possible values inside an attribute.
+ * @returns -1 if the name is invalid or the value doesn't exist in this attribute.
+ */;
+ _proto.offsetOf = function offsetOf(name) {
+ var count = 1;
+ var attributeSpaces = this._spacesFor("attribute");
+ count += attributeSpaces.before.length;
+ if (name === "namespace" || name === "ns") {
+ return this.namespace ? count : -1;
+ }
+ if (name === "attributeNS") {
+ return count;
+ }
+ count += this.namespaceString.length;
+ if (this.namespace) {
+ count += 1;
+ }
+ if (name === "attribute") {
+ return count;
+ }
+ count += this.stringifyProperty("attribute").length;
+ count += attributeSpaces.after.length;
+ var operatorSpaces = this._spacesFor("operator");
+ count += operatorSpaces.before.length;
+ var operator = this.stringifyProperty("operator");
+ if (name === "operator") {
+ return operator ? count : -1;
+ }
+ count += operator.length;
+ count += operatorSpaces.after.length;
+ var valueSpaces = this._spacesFor("value");
+ count += valueSpaces.before.length;
+ var value = this.stringifyProperty("value");
+ if (name === "value") {
+ return value ? count : -1;
+ }
+ count += value.length;
+ count += valueSpaces.after.length;
+ var insensitiveSpaces = this._spacesFor("insensitive");
+ count += insensitiveSpaces.before.length;
+ if (name === "insensitive") {
+ return this.insensitive ? count : -1;
+ }
+ return -1;
+ };
+ _proto.toString = function toString() {
+ var _this2 = this;
+ var selector = [this.rawSpaceBefore, '['];
+ selector.push(this._stringFor('qualifiedAttribute', 'attribute'));
+ if (this.operator && (this.value || this.value === '')) {
+ selector.push(this._stringFor('operator'));
+ selector.push(this._stringFor('value'));
+ selector.push(this._stringFor('insensitiveFlag', 'insensitive', function (attrValue, attrSpaces) {
+ if (attrValue.length > 0 && !_this2.quoted && attrSpaces.before.length === 0 && !(_this2.spaces.value && _this2.spaces.value.after)) {
+ attrSpaces.before = " ";
+ }
+ return defaultAttrConcat(attrValue, attrSpaces);
+ }));
+ }
+ selector.push(']');
+ selector.push(this.rawSpaceAfter);
+ return selector.join('');
+ };
+ _createClass(Attribute, [{
+ key: "quoted",
+ get: function get() {
+ var qm = this.quoteMark;
+ return qm === "'" || qm === '"';
+ },
+ set: function set(value) {
+ warnOfDeprecatedQuotedAssignment();
+ }
+
+ /**
+ * returns a single (`'`) or double (`"`) quote character if the value is quoted.
+ * returns `null` if the value is not quoted.
+ * returns `undefined` if the quotation state is unknown (this can happen when
+ * the attribute is constructed without specifying a quote mark.)
+ */
+ }, {
+ key: "quoteMark",
+ get: function get() {
+ return this._quoteMark;
+ }
+
+ /**
+ * Set the quote mark to be used by this attribute's value.
+ * If the quote mark changes, the raw (escaped) value at `attr.raws.value` of the attribute
+ * value is updated accordingly.
+ *
+ * @param {"'" | '"' | null} quoteMark The quote mark or `null` if the value should be unquoted.
+ */,
+ set: function set(quoteMark) {
+ if (!this._constructed) {
+ this._quoteMark = quoteMark;
+ return;
+ }
+ if (this._quoteMark !== quoteMark) {
+ this._quoteMark = quoteMark;
+ this._syncRawValue();
+ }
+ }
+ }, {
+ key: "qualifiedAttribute",
+ get: function get() {
+ return this.qualifiedName(this.raws.attribute || this.attribute);
+ }
+ }, {
+ key: "insensitiveFlag",
+ get: function get() {
+ return this.insensitive ? 'i' : '';
+ }
+ }, {
+ key: "value",
+ get: function get() {
+ return this._value;
+ },
+ set:
+ /**
+ * Before 3.0, the value had to be set to an escaped value including any wrapped
+ * quote marks. In 3.0, the semantics of `Attribute.value` changed so that the value
+ * is unescaped during parsing and any quote marks are removed.
+ *
+ * Because the ambiguity of this semantic change, if you set `attr.value = newValue`,
+ * a deprecation warning is raised when the new value contains any characters that would
+ * require escaping (including if it contains wrapped quotes).
+ *
+ * Instead, you should call `attr.setValue(newValue, opts)` and pass options that describe
+ * how the new value is quoted.
+ */
+ function set(v) {
+ if (this._constructed) {
+ var _unescapeValue2 = unescapeValue(v),
+ deprecatedUsage = _unescapeValue2.deprecatedUsage,
+ unescaped = _unescapeValue2.unescaped,
+ quoteMark = _unescapeValue2.quoteMark;
+ if (deprecatedUsage) {
+ warnOfDeprecatedValueAssignment();
+ }
+ if (unescaped === this._value && quoteMark === this._quoteMark) {
+ return;
+ }
+ this._value = unescaped;
+ this._quoteMark = quoteMark;
+ this._syncRawValue();
+ } else {
+ this._value = v;
+ }
+ }
+ }, {
+ key: "insensitive",
+ get: function get() {
+ return this._insensitive;
+ }
+
+ /**
+ * Set the case insensitive flag.
+ * If the case insensitive flag changes, the raw (escaped) value at `attr.raws.insensitiveFlag`
+ * of the attribute is updated accordingly.
+ *
+ * @param {true | false} insensitive true if the attribute should match case-insensitively.
+ */,
+ set: function set(insensitive) {
+ if (!insensitive) {
+ this._insensitive = false;
+
+ // "i" and "I" can be used in "this.raws.insensitiveFlag" to store the original notation.
+ // When setting `attr.insensitive = false` both should be erased to ensure correct serialization.
+ if (this.raws && (this.raws.insensitiveFlag === 'I' || this.raws.insensitiveFlag === 'i')) {
+ this.raws.insensitiveFlag = undefined;
+ }
+ }
+ this._insensitive = insensitive;
+ }
+ }, {
+ key: "attribute",
+ get: function get() {
+ return this._attribute;
+ },
+ set: function set(name) {
+ this._handleEscapes("attribute", name);
+ this._attribute = name;
+ }
+ }]);
+ return Attribute;
+}(_namespace["default"]);
+exports["default"] = Attribute;
+Attribute.NO_QUOTE = null;
+Attribute.SINGLE_QUOTE = "'";
+Attribute.DOUBLE_QUOTE = '"';
+var CSSESC_QUOTE_OPTIONS = (_CSSESC_QUOTE_OPTIONS = {
+ "'": {
+ quotes: 'single',
+ wrap: true
+ },
+ '"': {
+ quotes: 'double',
+ wrap: true
+ }
+}, _CSSESC_QUOTE_OPTIONS[null] = {
+ isIdentifier: true
+}, _CSSESC_QUOTE_OPTIONS);
+function defaultAttrConcat(attrValue, attrSpaces) {
+ return "" + attrSpaces.before + attrValue + attrSpaces.after;
+}
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/className.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/className.js"
index 24d9a85efa4de8ea66c7e9ce8154c7b257bb5186..af325977c1146d903cf94aad6836ed7e31fe1094 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/className.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/className.js"
@@ -1,3 +1,50 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:449adb6ecd5caf5883a25a420cfe96e3e0e54f5e8a8c087f91d1a73c7b79c965
-size 2346
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _cssesc = _interopRequireDefault(require("cssesc"));
+var _util = require("../util");
+var _node = _interopRequireDefault(require("./node"));
+var _types = require("./types");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var ClassName = /*#__PURE__*/function (_Node) {
+ _inheritsLoose(ClassName, _Node);
+ function ClassName(opts) {
+ var _this;
+ _this = _Node.call(this, opts) || this;
+ _this.type = _types.CLASS;
+ _this._constructed = true;
+ return _this;
+ }
+ var _proto = ClassName.prototype;
+ _proto.valueToString = function valueToString() {
+ return '.' + _Node.prototype.valueToString.call(this);
+ };
+ _createClass(ClassName, [{
+ key: "value",
+ get: function get() {
+ return this._value;
+ },
+ set: function set(v) {
+ if (this._constructed) {
+ var escaped = (0, _cssesc["default"])(v, {
+ isIdentifier: true
+ });
+ if (escaped !== v) {
+ (0, _util.ensureObject)(this, "raws");
+ this.raws.value = escaped;
+ } else if (this.raws) {
+ delete this.raws.value;
+ }
+ }
+ this._value = v;
+ }
+ }]);
+ return ClassName;
+}(_node["default"]);
+exports["default"] = ClassName;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/combinator.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/combinator.js"
index 894ae29d5ed734c14bd0c1b4c92ef80ccecc8715..c6449f43cfddb72c7ffc21ce050480da8efe2742 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/combinator.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/combinator.js"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1750668a7a9cd6aa58de63d1b547c7b7d67454b00071bd0d2d9334d948e3cba5
-size 989
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _node = _interopRequireDefault(require("./node"));
+var _types = require("./types");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var Combinator = /*#__PURE__*/function (_Node) {
+ _inheritsLoose(Combinator, _Node);
+ function Combinator(opts) {
+ var _this;
+ _this = _Node.call(this, opts) || this;
+ _this.type = _types.COMBINATOR;
+ return _this;
+ }
+ return Combinator;
+}(_node["default"]);
+exports["default"] = Combinator;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/comment.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/comment.js"
index 3666a59cb6cb3a8c1f6785a612f5eac14967d359..1709d5be925d6f7ab9d65a2de6d0eb73655093ce 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/comment.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/comment.js"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:174cf0fd0ffabb785e2fa5f586eb01fcc64905fda99a167963c23712f85fcca0
-size 971
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _node = _interopRequireDefault(require("./node"));
+var _types = require("./types");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var Comment = /*#__PURE__*/function (_Node) {
+ _inheritsLoose(Comment, _Node);
+ function Comment(opts) {
+ var _this;
+ _this = _Node.call(this, opts) || this;
+ _this.type = _types.COMMENT;
+ return _this;
+ }
+ return Comment;
+}(_node["default"]);
+exports["default"] = Comment;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/constructors.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/constructors.js"
index 5c546d01995ef7462e5cb8d4e53be3456b7c7d6e..688259324cdd292e4c2351c18ded65ab440a57a1 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/constructors.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/constructors.js"
@@ -1,3 +1,65 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:eb3e007743c21134ba2f67951fb1082b9368d3ed501a952411e2f4b7b4904a5b
-size 2371
+"use strict";
+
+exports.__esModule = true;
+exports.universal = exports.tag = exports.string = exports.selector = exports.root = exports.pseudo = exports.nesting = exports.id = exports.comment = exports.combinator = exports.className = exports.attribute = void 0;
+var _attribute = _interopRequireDefault(require("./attribute"));
+var _className = _interopRequireDefault(require("./className"));
+var _combinator = _interopRequireDefault(require("./combinator"));
+var _comment = _interopRequireDefault(require("./comment"));
+var _id = _interopRequireDefault(require("./id"));
+var _nesting = _interopRequireDefault(require("./nesting"));
+var _pseudo = _interopRequireDefault(require("./pseudo"));
+var _root = _interopRequireDefault(require("./root"));
+var _selector = _interopRequireDefault(require("./selector"));
+var _string = _interopRequireDefault(require("./string"));
+var _tag = _interopRequireDefault(require("./tag"));
+var _universal = _interopRequireDefault(require("./universal"));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+var attribute = function attribute(opts) {
+ return new _attribute["default"](opts);
+};
+exports.attribute = attribute;
+var className = function className(opts) {
+ return new _className["default"](opts);
+};
+exports.className = className;
+var combinator = function combinator(opts) {
+ return new _combinator["default"](opts);
+};
+exports.combinator = combinator;
+var comment = function comment(opts) {
+ return new _comment["default"](opts);
+};
+exports.comment = comment;
+var id = function id(opts) {
+ return new _id["default"](opts);
+};
+exports.id = id;
+var nesting = function nesting(opts) {
+ return new _nesting["default"](opts);
+};
+exports.nesting = nesting;
+var pseudo = function pseudo(opts) {
+ return new _pseudo["default"](opts);
+};
+exports.pseudo = pseudo;
+var root = function root(opts) {
+ return new _root["default"](opts);
+};
+exports.root = root;
+var selector = function selector(opts) {
+ return new _selector["default"](opts);
+};
+exports.selector = selector;
+var string = function string(opts) {
+ return new _string["default"](opts);
+};
+exports.string = string;
+var tag = function tag(opts) {
+ return new _tag["default"](opts);
+};
+exports.tag = tag;
+var universal = function universal(opts) {
+ return new _universal["default"](opts);
+};
+exports.universal = universal;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/container.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/container.js"
index 8c5b0a3bdca5d719e11fce7e1647eae6269d59ca..8600c544ebb1df36f8ca83097a56f6040ba444a2 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/container.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/container.js"
@@ -1,3 +1,308 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:aa1c4617a87fb4a59eca720aba439cac3970df728fd827b5c4b615768e110ce7
-size 11850
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _node = _interopRequireDefault(require("./node"));
+var types = _interopRequireWildcard(require("./types"));
+function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
+function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var Container = /*#__PURE__*/function (_Node) {
+ _inheritsLoose(Container, _Node);
+ function Container(opts) {
+ var _this;
+ _this = _Node.call(this, opts) || this;
+ if (!_this.nodes) {
+ _this.nodes = [];
+ }
+ return _this;
+ }
+ var _proto = Container.prototype;
+ _proto.append = function append(selector) {
+ selector.parent = this;
+ this.nodes.push(selector);
+ return this;
+ };
+ _proto.prepend = function prepend(selector) {
+ selector.parent = this;
+ this.nodes.unshift(selector);
+ return this;
+ };
+ _proto.at = function at(index) {
+ return this.nodes[index];
+ };
+ _proto.index = function index(child) {
+ if (typeof child === 'number') {
+ return child;
+ }
+ return this.nodes.indexOf(child);
+ };
+ _proto.removeChild = function removeChild(child) {
+ child = this.index(child);
+ this.at(child).parent = undefined;
+ this.nodes.splice(child, 1);
+ var index;
+ for (var id in this.indexes) {
+ index = this.indexes[id];
+ if (index >= child) {
+ this.indexes[id] = index - 1;
+ }
+ }
+ return this;
+ };
+ _proto.removeAll = function removeAll() {
+ for (var _iterator = _createForOfIteratorHelperLoose(this.nodes), _step; !(_step = _iterator()).done;) {
+ var node = _step.value;
+ node.parent = undefined;
+ }
+ this.nodes = [];
+ return this;
+ };
+ _proto.empty = function empty() {
+ return this.removeAll();
+ };
+ _proto.insertAfter = function insertAfter(oldNode, newNode) {
+ newNode.parent = this;
+ var oldIndex = this.index(oldNode);
+ this.nodes.splice(oldIndex + 1, 0, newNode);
+ newNode.parent = this;
+ var index;
+ for (var id in this.indexes) {
+ index = this.indexes[id];
+ if (oldIndex <= index) {
+ this.indexes[id] = index + 1;
+ }
+ }
+ return this;
+ };
+ _proto.insertBefore = function insertBefore(oldNode, newNode) {
+ newNode.parent = this;
+ var oldIndex = this.index(oldNode);
+ this.nodes.splice(oldIndex, 0, newNode);
+ newNode.parent = this;
+ var index;
+ for (var id in this.indexes) {
+ index = this.indexes[id];
+ if (index <= oldIndex) {
+ this.indexes[id] = index + 1;
+ }
+ }
+ return this;
+ };
+ _proto._findChildAtPosition = function _findChildAtPosition(line, col) {
+ var found = undefined;
+ this.each(function (node) {
+ if (node.atPosition) {
+ var foundChild = node.atPosition(line, col);
+ if (foundChild) {
+ found = foundChild;
+ return false;
+ }
+ } else if (node.isAtPosition(line, col)) {
+ found = node;
+ return false;
+ }
+ });
+ return found;
+ }
+
+ /**
+ * Return the most specific node at the line and column number given.
+ * The source location is based on the original parsed location, locations aren't
+ * updated as selector nodes are mutated.
+ *
+ * Note that this location is relative to the location of the first character
+ * of the selector, and not the location of the selector in the overall document
+ * when used in conjunction with postcss.
+ *
+ * If not found, returns undefined.
+ * @param {number} line The line number of the node to find. (1-based index)
+ * @param {number} col The column number of the node to find. (1-based index)
+ */;
+ _proto.atPosition = function atPosition(line, col) {
+ if (this.isAtPosition(line, col)) {
+ return this._findChildAtPosition(line, col) || this;
+ } else {
+ return undefined;
+ }
+ };
+ _proto._inferEndPosition = function _inferEndPosition() {
+ if (this.last && this.last.source && this.last.source.end) {
+ this.source = this.source || {};
+ this.source.end = this.source.end || {};
+ Object.assign(this.source.end, this.last.source.end);
+ }
+ };
+ _proto.each = function each(callback) {
+ if (!this.lastEach) {
+ this.lastEach = 0;
+ }
+ if (!this.indexes) {
+ this.indexes = {};
+ }
+ this.lastEach++;
+ var id = this.lastEach;
+ this.indexes[id] = 0;
+ if (!this.length) {
+ return undefined;
+ }
+ var index, result;
+ while (this.indexes[id] < this.length) {
+ index = this.indexes[id];
+ result = callback(this.at(index), index);
+ if (result === false) {
+ break;
+ }
+ this.indexes[id] += 1;
+ }
+ delete this.indexes[id];
+ if (result === false) {
+ return false;
+ }
+ };
+ _proto.walk = function walk(callback) {
+ return this.each(function (node, i) {
+ var result = callback(node, i);
+ if (result !== false && node.length) {
+ result = node.walk(callback);
+ }
+ if (result === false) {
+ return false;
+ }
+ });
+ };
+ _proto.walkAttributes = function walkAttributes(callback) {
+ var _this2 = this;
+ return this.walk(function (selector) {
+ if (selector.type === types.ATTRIBUTE) {
+ return callback.call(_this2, selector);
+ }
+ });
+ };
+ _proto.walkClasses = function walkClasses(callback) {
+ var _this3 = this;
+ return this.walk(function (selector) {
+ if (selector.type === types.CLASS) {
+ return callback.call(_this3, selector);
+ }
+ });
+ };
+ _proto.walkCombinators = function walkCombinators(callback) {
+ var _this4 = this;
+ return this.walk(function (selector) {
+ if (selector.type === types.COMBINATOR) {
+ return callback.call(_this4, selector);
+ }
+ });
+ };
+ _proto.walkComments = function walkComments(callback) {
+ var _this5 = this;
+ return this.walk(function (selector) {
+ if (selector.type === types.COMMENT) {
+ return callback.call(_this5, selector);
+ }
+ });
+ };
+ _proto.walkIds = function walkIds(callback) {
+ var _this6 = this;
+ return this.walk(function (selector) {
+ if (selector.type === types.ID) {
+ return callback.call(_this6, selector);
+ }
+ });
+ };
+ _proto.walkNesting = function walkNesting(callback) {
+ var _this7 = this;
+ return this.walk(function (selector) {
+ if (selector.type === types.NESTING) {
+ return callback.call(_this7, selector);
+ }
+ });
+ };
+ _proto.walkPseudos = function walkPseudos(callback) {
+ var _this8 = this;
+ return this.walk(function (selector) {
+ if (selector.type === types.PSEUDO) {
+ return callback.call(_this8, selector);
+ }
+ });
+ };
+ _proto.walkTags = function walkTags(callback) {
+ var _this9 = this;
+ return this.walk(function (selector) {
+ if (selector.type === types.TAG) {
+ return callback.call(_this9, selector);
+ }
+ });
+ };
+ _proto.walkUniversals = function walkUniversals(callback) {
+ var _this10 = this;
+ return this.walk(function (selector) {
+ if (selector.type === types.UNIVERSAL) {
+ return callback.call(_this10, selector);
+ }
+ });
+ };
+ _proto.split = function split(callback) {
+ var _this11 = this;
+ var current = [];
+ return this.reduce(function (memo, node, index) {
+ var split = callback.call(_this11, node);
+ current.push(node);
+ if (split) {
+ memo.push(current);
+ current = [];
+ } else if (index === _this11.length - 1) {
+ memo.push(current);
+ }
+ return memo;
+ }, []);
+ };
+ _proto.map = function map(callback) {
+ return this.nodes.map(callback);
+ };
+ _proto.reduce = function reduce(callback, memo) {
+ return this.nodes.reduce(callback, memo);
+ };
+ _proto.every = function every(callback) {
+ return this.nodes.every(callback);
+ };
+ _proto.some = function some(callback) {
+ return this.nodes.some(callback);
+ };
+ _proto.filter = function filter(callback) {
+ return this.nodes.filter(callback);
+ };
+ _proto.sort = function sort(callback) {
+ return this.nodes.sort(callback);
+ };
+ _proto.toString = function toString() {
+ return this.map(String).join('');
+ };
+ _createClass(Container, [{
+ key: "first",
+ get: function get() {
+ return this.at(0);
+ }
+ }, {
+ key: "last",
+ get: function get() {
+ return this.at(this.length - 1);
+ }
+ }, {
+ key: "length",
+ get: function get() {
+ return this.nodes.length;
+ }
+ }]);
+ return Container;
+}(_node["default"]);
+exports["default"] = Container;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/guards.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/guards.js"
index 68bfd3ab43ede6fd86294f3f56b2ccff20b5c08d..f06161e97cb2655b5dbb6fb17cd106639aba6700 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/guards.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/guards.js"
@@ -1,3 +1,58 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6a5952b48b08faa511e48d98455fad4d96b0911d2ad9ee25d68f8027de9a437f
-size 2691
+"use strict";
+
+exports.__esModule = true;
+exports.isComment = exports.isCombinator = exports.isClassName = exports.isAttribute = void 0;
+exports.isContainer = isContainer;
+exports.isIdentifier = void 0;
+exports.isNamespace = isNamespace;
+exports.isNesting = void 0;
+exports.isNode = isNode;
+exports.isPseudo = void 0;
+exports.isPseudoClass = isPseudoClass;
+exports.isPseudoElement = isPseudoElement;
+exports.isUniversal = exports.isTag = exports.isString = exports.isSelector = exports.isRoot = void 0;
+var _types = require("./types");
+var _IS_TYPE;
+var IS_TYPE = (_IS_TYPE = {}, _IS_TYPE[_types.ATTRIBUTE] = true, _IS_TYPE[_types.CLASS] = true, _IS_TYPE[_types.COMBINATOR] = true, _IS_TYPE[_types.COMMENT] = true, _IS_TYPE[_types.ID] = true, _IS_TYPE[_types.NESTING] = true, _IS_TYPE[_types.PSEUDO] = true, _IS_TYPE[_types.ROOT] = true, _IS_TYPE[_types.SELECTOR] = true, _IS_TYPE[_types.STRING] = true, _IS_TYPE[_types.TAG] = true, _IS_TYPE[_types.UNIVERSAL] = true, _IS_TYPE);
+function isNode(node) {
+ return typeof node === "object" && IS_TYPE[node.type];
+}
+function isNodeType(type, node) {
+ return isNode(node) && node.type === type;
+}
+var isAttribute = isNodeType.bind(null, _types.ATTRIBUTE);
+exports.isAttribute = isAttribute;
+var isClassName = isNodeType.bind(null, _types.CLASS);
+exports.isClassName = isClassName;
+var isCombinator = isNodeType.bind(null, _types.COMBINATOR);
+exports.isCombinator = isCombinator;
+var isComment = isNodeType.bind(null, _types.COMMENT);
+exports.isComment = isComment;
+var isIdentifier = isNodeType.bind(null, _types.ID);
+exports.isIdentifier = isIdentifier;
+var isNesting = isNodeType.bind(null, _types.NESTING);
+exports.isNesting = isNesting;
+var isPseudo = isNodeType.bind(null, _types.PSEUDO);
+exports.isPseudo = isPseudo;
+var isRoot = isNodeType.bind(null, _types.ROOT);
+exports.isRoot = isRoot;
+var isSelector = isNodeType.bind(null, _types.SELECTOR);
+exports.isSelector = isSelector;
+var isString = isNodeType.bind(null, _types.STRING);
+exports.isString = isString;
+var isTag = isNodeType.bind(null, _types.TAG);
+exports.isTag = isTag;
+var isUniversal = isNodeType.bind(null, _types.UNIVERSAL);
+exports.isUniversal = isUniversal;
+function isPseudoElement(node) {
+ return isPseudo(node) && node.value && (node.value.startsWith("::") || node.value.toLowerCase() === ":before" || node.value.toLowerCase() === ":after" || node.value.toLowerCase() === ":first-letter" || node.value.toLowerCase() === ":first-line");
+}
+function isPseudoClass(node) {
+ return isPseudo(node) && !isPseudoElement(node);
+}
+function isContainer(node) {
+ return !!(isNode(node) && node.walk);
+}
+function isNamespace(node) {
+ return isAttribute(node) || isTag(node);
+}
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/id.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/id.js"
index 3c1bf37b1543215864d33cc1a7bec47960718c29..8baef72860c9b6f0b32815d256e5198dca8beeb3 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/id.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/id.js"
@@ -1,3 +1,25 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:09c5cae8eb7568c4526ce6cf09871f7694c77db7094e3cf01893a9998b0155a0
-size 1086
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _node = _interopRequireDefault(require("./node"));
+var _types = require("./types");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var ID = /*#__PURE__*/function (_Node) {
+ _inheritsLoose(ID, _Node);
+ function ID(opts) {
+ var _this;
+ _this = _Node.call(this, opts) || this;
+ _this.type = _types.ID;
+ return _this;
+ }
+ var _proto = ID.prototype;
+ _proto.valueToString = function valueToString() {
+ return '#' + _Node.prototype.valueToString.call(this);
+ };
+ return ID;
+}(_node["default"]);
+exports["default"] = ID;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/index.js"
index 698c3dd68f3cad5ae03ac21ddf4ac1afd97b57b2..f1f6b7f5e63ca306567f9f64319e84f8794fc9b4 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/index.js"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f5cd41186cf69d040c5f84ca1690842ef815b315f60973b88cdf8b3ff14c5302
-size 774
+"use strict";
+
+exports.__esModule = true;
+var _types = require("./types");
+Object.keys(_types).forEach(function (key) {
+ if (key === "default" || key === "__esModule") return;
+ if (key in exports && exports[key] === _types[key]) return;
+ exports[key] = _types[key];
+});
+var _constructors = require("./constructors");
+Object.keys(_constructors).forEach(function (key) {
+ if (key === "default" || key === "__esModule") return;
+ if (key in exports && exports[key] === _constructors[key]) return;
+ exports[key] = _constructors[key];
+});
+var _guards = require("./guards");
+Object.keys(_guards).forEach(function (key) {
+ if (key === "default" || key === "__esModule") return;
+ if (key in exports && exports[key] === _guards[key]) return;
+ exports[key] = _guards[key];
+});
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/namespace.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/namespace.js"
index ce0f0aa63acbdc5da2db91fd4aa922d14807e2b7..cc97647bd174b58a5e8c1f3fbc02f70412355195 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/namespace.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/namespace.js"
@@ -1,3 +1,80 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b96a0ff0e14b73cc8e001e4f9ec6d3ccf7d6a0e182df68066f176ba37f2d03f1
-size 3061
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _cssesc = _interopRequireDefault(require("cssesc"));
+var _util = require("../util");
+var _node = _interopRequireDefault(require("./node"));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var Namespace = /*#__PURE__*/function (_Node) {
+ _inheritsLoose(Namespace, _Node);
+ function Namespace() {
+ return _Node.apply(this, arguments) || this;
+ }
+ var _proto = Namespace.prototype;
+ _proto.qualifiedName = function qualifiedName(value) {
+ if (this.namespace) {
+ return this.namespaceString + "|" + value;
+ } else {
+ return value;
+ }
+ };
+ _proto.valueToString = function valueToString() {
+ return this.qualifiedName(_Node.prototype.valueToString.call(this));
+ };
+ _createClass(Namespace, [{
+ key: "namespace",
+ get: function get() {
+ return this._namespace;
+ },
+ set: function set(namespace) {
+ if (namespace === true || namespace === "*" || namespace === "&") {
+ this._namespace = namespace;
+ if (this.raws) {
+ delete this.raws.namespace;
+ }
+ return;
+ }
+ var escaped = (0, _cssesc["default"])(namespace, {
+ isIdentifier: true
+ });
+ this._namespace = namespace;
+ if (escaped !== namespace) {
+ (0, _util.ensureObject)(this, "raws");
+ this.raws.namespace = escaped;
+ } else if (this.raws) {
+ delete this.raws.namespace;
+ }
+ }
+ }, {
+ key: "ns",
+ get: function get() {
+ return this._namespace;
+ },
+ set: function set(namespace) {
+ this.namespace = namespace;
+ }
+ }, {
+ key: "namespaceString",
+ get: function get() {
+ if (this.namespace) {
+ var ns = this.stringifyProperty("namespace");
+ if (ns === true) {
+ return '';
+ } else {
+ return ns;
+ }
+ } else {
+ return '';
+ }
+ }
+ }]);
+ return Namespace;
+}(_node["default"]);
+exports["default"] = Namespace;
+;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/nesting.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/nesting.js"
index 241d36db520bd86680738e2b86e43fc984b0161f..218992875a60c9d30ee198e779c69f9f28a0f0c0 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/nesting.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/nesting.js"
@@ -1,3 +1,22 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ca0876fb9a5755d8a7006dde54217e24e5f12f58c7be096e32e1631a82897e43
-size 994
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _node = _interopRequireDefault(require("./node"));
+var _types = require("./types");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var Nesting = /*#__PURE__*/function (_Node) {
+ _inheritsLoose(Nesting, _Node);
+ function Nesting(opts) {
+ var _this;
+ _this = _Node.call(this, opts) || this;
+ _this.type = _types.NESTING;
+ _this.value = '&';
+ return _this;
+ }
+ return Nesting;
+}(_node["default"]);
+exports["default"] = Nesting;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/node.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/node.js"
index c28797702fabf30900eeb1423fde88f2d94892b8..9a8295101066ae32eef2f4a2eaf6a9b0ef11dc4a 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/node.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/node.js"
@@ -1,3 +1,192 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4289e3c3d5abed00ba52763a35ca89c4c4c293633c8193e6b21bda2a88d69ae9
-size 6690
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _util = require("../util");
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+var cloneNode = function cloneNode(obj, parent) {
+ if (typeof obj !== 'object' || obj === null) {
+ return obj;
+ }
+ var cloned = new obj.constructor();
+ for (var i in obj) {
+ if (!obj.hasOwnProperty(i)) {
+ continue;
+ }
+ var value = obj[i];
+ var type = typeof value;
+ if (i === 'parent' && type === 'object') {
+ if (parent) {
+ cloned[i] = parent;
+ }
+ } else if (value instanceof Array) {
+ cloned[i] = value.map(function (j) {
+ return cloneNode(j, cloned);
+ });
+ } else {
+ cloned[i] = cloneNode(value, cloned);
+ }
+ }
+ return cloned;
+};
+var Node = /*#__PURE__*/function () {
+ function Node(opts) {
+ if (opts === void 0) {
+ opts = {};
+ }
+ Object.assign(this, opts);
+ this.spaces = this.spaces || {};
+ this.spaces.before = this.spaces.before || '';
+ this.spaces.after = this.spaces.after || '';
+ }
+ var _proto = Node.prototype;
+ _proto.remove = function remove() {
+ if (this.parent) {
+ this.parent.removeChild(this);
+ }
+ this.parent = undefined;
+ return this;
+ };
+ _proto.replaceWith = function replaceWith() {
+ if (this.parent) {
+ for (var index in arguments) {
+ this.parent.insertBefore(this, arguments[index]);
+ }
+ this.remove();
+ }
+ return this;
+ };
+ _proto.next = function next() {
+ return this.parent.at(this.parent.index(this) + 1);
+ };
+ _proto.prev = function prev() {
+ return this.parent.at(this.parent.index(this) - 1);
+ };
+ _proto.clone = function clone(overrides) {
+ if (overrides === void 0) {
+ overrides = {};
+ }
+ var cloned = cloneNode(this);
+ for (var name in overrides) {
+ cloned[name] = overrides[name];
+ }
+ return cloned;
+ }
+
+ /**
+ * Some non-standard syntax doesn't follow normal escaping rules for css.
+ * This allows non standard syntax to be appended to an existing property
+ * by specifying the escaped value. By specifying the escaped value,
+ * illegal characters are allowed to be directly inserted into css output.
+ * @param {string} name the property to set
+ * @param {any} value the unescaped value of the property
+ * @param {string} valueEscaped optional. the escaped value of the property.
+ */;
+ _proto.appendToPropertyAndEscape = function appendToPropertyAndEscape(name, value, valueEscaped) {
+ if (!this.raws) {
+ this.raws = {};
+ }
+ var originalValue = this[name];
+ var originalEscaped = this.raws[name];
+ this[name] = originalValue + value; // this may trigger a setter that updates raws, so it has to be set first.
+ if (originalEscaped || valueEscaped !== value) {
+ this.raws[name] = (originalEscaped || originalValue) + valueEscaped;
+ } else {
+ delete this.raws[name]; // delete any escaped value that was created by the setter.
+ }
+ }
+
+ /**
+ * Some non-standard syntax doesn't follow normal escaping rules for css.
+ * This allows the escaped value to be specified directly, allowing illegal
+ * characters to be directly inserted into css output.
+ * @param {string} name the property to set
+ * @param {any} value the unescaped value of the property
+ * @param {string} valueEscaped the escaped value of the property.
+ */;
+ _proto.setPropertyAndEscape = function setPropertyAndEscape(name, value, valueEscaped) {
+ if (!this.raws) {
+ this.raws = {};
+ }
+ this[name] = value; // this may trigger a setter that updates raws, so it has to be set first.
+ this.raws[name] = valueEscaped;
+ }
+
+ /**
+ * When you want a value to passed through to CSS directly. This method
+ * deletes the corresponding raw value causing the stringifier to fallback
+ * to the unescaped value.
+ * @param {string} name the property to set.
+ * @param {any} value The value that is both escaped and unescaped.
+ */;
+ _proto.setPropertyWithoutEscape = function setPropertyWithoutEscape(name, value) {
+ this[name] = value; // this may trigger a setter that updates raws, so it has to be set first.
+ if (this.raws) {
+ delete this.raws[name];
+ }
+ }
+
+ /**
+ *
+ * @param {number} line The number (starting with 1)
+ * @param {number} column The column number (starting with 1)
+ */;
+ _proto.isAtPosition = function isAtPosition(line, column) {
+ if (this.source && this.source.start && this.source.end) {
+ if (this.source.start.line > line) {
+ return false;
+ }
+ if (this.source.end.line < line) {
+ return false;
+ }
+ if (this.source.start.line === line && this.source.start.column > column) {
+ return false;
+ }
+ if (this.source.end.line === line && this.source.end.column < column) {
+ return false;
+ }
+ return true;
+ }
+ return undefined;
+ };
+ _proto.stringifyProperty = function stringifyProperty(name) {
+ return this.raws && this.raws[name] || this[name];
+ };
+ _proto.valueToString = function valueToString() {
+ return String(this.stringifyProperty("value"));
+ };
+ _proto.toString = function toString() {
+ return [this.rawSpaceBefore, this.valueToString(), this.rawSpaceAfter].join('');
+ };
+ _createClass(Node, [{
+ key: "rawSpaceBefore",
+ get: function get() {
+ var rawSpace = this.raws && this.raws.spaces && this.raws.spaces.before;
+ if (rawSpace === undefined) {
+ rawSpace = this.spaces && this.spaces.before;
+ }
+ return rawSpace || "";
+ },
+ set: function set(raw) {
+ (0, _util.ensureObject)(this, "raws", "spaces");
+ this.raws.spaces.before = raw;
+ }
+ }, {
+ key: "rawSpaceAfter",
+ get: function get() {
+ var rawSpace = this.raws && this.raws.spaces && this.raws.spaces.after;
+ if (rawSpace === undefined) {
+ rawSpace = this.spaces.after;
+ }
+ return rawSpace || "";
+ },
+ set: function set(raw) {
+ (0, _util.ensureObject)(this, "raws", "spaces");
+ this.raws.spaces.after = raw;
+ }
+ }]);
+ return Node;
+}();
+exports["default"] = Node;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/pseudo.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/pseudo.js"
index 88d48772f2e88732f3354efb7f054224e3e88ddb..4371e5900f5c7fd2d4f54049174937ff9fcec944 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/pseudo.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/pseudo.js"
@@ -1,3 +1,26 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a3cae78d57fa9d4cc94ff36d5ffa96f88e3996f7a0a093e848d38bca92eb67d1
-size 1255
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _container = _interopRequireDefault(require("./container"));
+var _types = require("./types");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var Pseudo = /*#__PURE__*/function (_Container) {
+ _inheritsLoose(Pseudo, _Container);
+ function Pseudo(opts) {
+ var _this;
+ _this = _Container.call(this, opts) || this;
+ _this.type = _types.PSEUDO;
+ return _this;
+ }
+ var _proto = Pseudo.prototype;
+ _proto.toString = function toString() {
+ var params = this.length ? '(' + this.map(String).join(',') + ')' : '';
+ return [this.rawSpaceBefore, this.stringifyProperty("value"), params, this.rawSpaceAfter].join('');
+ };
+ return Pseudo;
+}(_container["default"]);
+exports["default"] = Pseudo;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/root.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/root.js"
index 3f60fc9c73b4dc7609e293980480b688778d243d..8c599d15809f555bdcadcc25758e74b35ccf9387 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/root.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/root.js"
@@ -1,3 +1,44 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:75161e1c4508296ebd7c1b14517806ee2b610397ebb156fb0f849aea88113a1e
-size 2146
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _container = _interopRequireDefault(require("./container"));
+var _types = require("./types");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var Root = /*#__PURE__*/function (_Container) {
+ _inheritsLoose(Root, _Container);
+ function Root(opts) {
+ var _this;
+ _this = _Container.call(this, opts) || this;
+ _this.type = _types.ROOT;
+ return _this;
+ }
+ var _proto = Root.prototype;
+ _proto.toString = function toString() {
+ var str = this.reduce(function (memo, selector) {
+ memo.push(String(selector));
+ return memo;
+ }, []).join(',');
+ return this.trailingComma ? str + ',' : str;
+ };
+ _proto.error = function error(message, options) {
+ if (this._error) {
+ return this._error(message, options);
+ } else {
+ return new Error(message);
+ }
+ };
+ _createClass(Root, [{
+ key: "errorGenerator",
+ set: function set(handler) {
+ this._error = handler;
+ }
+ }]);
+ return Root;
+}(_container["default"]);
+exports["default"] = Root;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/selector.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/selector.js"
index 91a941d30489a60515f45fd140fc6c76d5a822c3..8cc4bc1cddd75c9e144aebf8996e027aa1fc24b3 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/selector.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/selector.js"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:edef837bdef73df4f9f5d60fbc731eb338eb3bfd43adeb4e46e30f5fab812bb8
-size 1007
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _container = _interopRequireDefault(require("./container"));
+var _types = require("./types");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var Selector = /*#__PURE__*/function (_Container) {
+ _inheritsLoose(Selector, _Container);
+ function Selector(opts) {
+ var _this;
+ _this = _Container.call(this, opts) || this;
+ _this.type = _types.SELECTOR;
+ return _this;
+ }
+ return Selector;
+}(_container["default"]);
+exports["default"] = Selector;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/string.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/string.js"
index d0404220496c1c98a9495a6f1146d2c95a4ea015..4749791416b579a3b38308cdcc1f4cde7e61ea41 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/string.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/string.js"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:662b6aaf56f3d1723977593462687dba15a20e599289d534bc60b26263f2f63e
-size 965
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _node = _interopRequireDefault(require("./node"));
+var _types = require("./types");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var String = /*#__PURE__*/function (_Node) {
+ _inheritsLoose(String, _Node);
+ function String(opts) {
+ var _this;
+ _this = _Node.call(this, opts) || this;
+ _this.type = _types.STRING;
+ return _this;
+ }
+ return String;
+}(_node["default"]);
+exports["default"] = String;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/tag.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/tag.js"
index ecef59e8a901c4a609fad54bc47adae771f92df5..224e74de4a2f77002614888fe4b4b00e7062b2fc 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/tag.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/tag.js"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c7c2aad4e93696bf03df2bc155b932356f8caa7b9251c06bf55ad1015ee542be
-size 977
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _namespace = _interopRequireDefault(require("./namespace"));
+var _types = require("./types");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var Tag = /*#__PURE__*/function (_Namespace) {
+ _inheritsLoose(Tag, _Namespace);
+ function Tag(opts) {
+ var _this;
+ _this = _Namespace.call(this, opts) || this;
+ _this.type = _types.TAG;
+ return _this;
+ }
+ return Tag;
+}(_namespace["default"]);
+exports["default"] = Tag;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/types.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/types.js"
index 1537cb005325d1576c84dd86ae81dae751ff7826..824cc0c73894505a75d5dc8c71fad92b24c1fce7 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/types.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/types.js"
@@ -1,3 +1,28 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:04b35cf17366457a619bc2392b0b3a14a4073503634c6ae7c4985eb83ef32646
-size 849
+"use strict";
+
+exports.__esModule = true;
+exports.UNIVERSAL = exports.TAG = exports.STRING = exports.SELECTOR = exports.ROOT = exports.PSEUDO = exports.NESTING = exports.ID = exports.COMMENT = exports.COMBINATOR = exports.CLASS = exports.ATTRIBUTE = void 0;
+var TAG = 'tag';
+exports.TAG = TAG;
+var STRING = 'string';
+exports.STRING = STRING;
+var SELECTOR = 'selector';
+exports.SELECTOR = SELECTOR;
+var ROOT = 'root';
+exports.ROOT = ROOT;
+var PSEUDO = 'pseudo';
+exports.PSEUDO = PSEUDO;
+var NESTING = 'nesting';
+exports.NESTING = NESTING;
+var ID = 'id';
+exports.ID = ID;
+var COMMENT = 'comment';
+exports.COMMENT = COMMENT;
+var COMBINATOR = 'combinator';
+exports.COMBINATOR = COMBINATOR;
+var CLASS = 'class';
+exports.CLASS = CLASS;
+var ATTRIBUTE = 'attribute';
+exports.ATTRIBUTE = ATTRIBUTE;
+var UNIVERSAL = 'universal';
+exports.UNIVERSAL = UNIVERSAL;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/universal.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/universal.js"
index 43be4fbcc177cad72afdcc3fb60e5db792e1a6cc..5b5874380b8e9422c0acc283e974fd0b3d8e78f0 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/universal.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/selectors/universal.js"
@@ -1,3 +1,22 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:20fcf271bbaa8415cd5849b75a23545c130e8af629749696423f31c3f1243ba4
-size 1036
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = void 0;
+var _namespace = _interopRequireDefault(require("./namespace"));
+var _types = require("./types");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+var Universal = /*#__PURE__*/function (_Namespace) {
+ _inheritsLoose(Universal, _Namespace);
+ function Universal(opts) {
+ var _this;
+ _this = _Namespace.call(this, opts) || this;
+ _this.type = _types.UNIVERSAL;
+ _this.value = '*';
+ return _this;
+ }
+ return Universal;
+}(_namespace["default"]);
+exports["default"] = Universal;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/sortAscending.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/sortAscending.js"
index 7464e9242b8867c4521ddeaefcdeef4f751dd1d1..5666d5dc99f89c1f92f1b57762ff575a08a53920 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/sortAscending.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/sortAscending.js"
@@ -1,3 +1,11 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e0ab6d0c0199b9f58dd6e85a0c47beb6ca9d2f58572e05e5b05e7dde8a2c2d90
-size 207
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = sortAscending;
+function sortAscending(list) {
+ return list.sort(function (a, b) {
+ return a - b;
+ });
+}
+;
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/tokenTypes.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/tokenTypes.js"
index 7da7063ce8a495246526c4901bb0f13b5e50b33e..59d8e6c6bf4cf7e822a0edc32dbb31443a5e0fe0 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/tokenTypes.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/tokenTypes.js"
@@ -1,3 +1,70 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c7c064a928453297be1eb09493e3714a65e2fe9b6cc96e194b19181819e518a2
-size 2698
+"use strict";
+
+exports.__esModule = true;
+exports.word = exports.tilde = exports.tab = exports.str = exports.space = exports.slash = exports.singleQuote = exports.semicolon = exports.plus = exports.pipe = exports.openSquare = exports.openParenthesis = exports.newline = exports.greaterThan = exports.feed = exports.equals = exports.doubleQuote = exports.dollar = exports.cr = exports.comment = exports.comma = exports.combinator = exports.colon = exports.closeSquare = exports.closeParenthesis = exports.caret = exports.bang = exports.backslash = exports.at = exports.asterisk = exports.ampersand = void 0;
+var ampersand = 38; // `&`.charCodeAt(0);
+exports.ampersand = ampersand;
+var asterisk = 42; // `*`.charCodeAt(0);
+exports.asterisk = asterisk;
+var at = 64; // `@`.charCodeAt(0);
+exports.at = at;
+var comma = 44; // `,`.charCodeAt(0);
+exports.comma = comma;
+var colon = 58; // `:`.charCodeAt(0);
+exports.colon = colon;
+var semicolon = 59; // `;`.charCodeAt(0);
+exports.semicolon = semicolon;
+var openParenthesis = 40; // `(`.charCodeAt(0);
+exports.openParenthesis = openParenthesis;
+var closeParenthesis = 41; // `)`.charCodeAt(0);
+exports.closeParenthesis = closeParenthesis;
+var openSquare = 91; // `[`.charCodeAt(0);
+exports.openSquare = openSquare;
+var closeSquare = 93; // `]`.charCodeAt(0);
+exports.closeSquare = closeSquare;
+var dollar = 36; // `$`.charCodeAt(0);
+exports.dollar = dollar;
+var tilde = 126; // `~`.charCodeAt(0);
+exports.tilde = tilde;
+var caret = 94; // `^`.charCodeAt(0);
+exports.caret = caret;
+var plus = 43; // `+`.charCodeAt(0);
+exports.plus = plus;
+var equals = 61; // `=`.charCodeAt(0);
+exports.equals = equals;
+var pipe = 124; // `|`.charCodeAt(0);
+exports.pipe = pipe;
+var greaterThan = 62; // `>`.charCodeAt(0);
+exports.greaterThan = greaterThan;
+var space = 32; // ` `.charCodeAt(0);
+exports.space = space;
+var singleQuote = 39; // `'`.charCodeAt(0);
+exports.singleQuote = singleQuote;
+var doubleQuote = 34; // `"`.charCodeAt(0);
+exports.doubleQuote = doubleQuote;
+var slash = 47; // `/`.charCodeAt(0);
+exports.slash = slash;
+var bang = 33; // `!`.charCodeAt(0);
+exports.bang = bang;
+var backslash = 92; // '\\'.charCodeAt(0);
+exports.backslash = backslash;
+var cr = 13; // '\r'.charCodeAt(0);
+exports.cr = cr;
+var feed = 12; // '\f'.charCodeAt(0);
+exports.feed = feed;
+var newline = 10; // '\n'.charCodeAt(0);
+exports.newline = newline;
+var tab = 9; // '\t'.charCodeAt(0);
+
+// Expose aliases primarily for readability.
+exports.tab = tab;
+var str = singleQuote;
+
+// No good single character representation!
+exports.str = str;
+var comment = -1;
+exports.comment = comment;
+var word = -2;
+exports.word = word;
+var combinator = -3;
+exports.combinator = combinator;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/tokenize.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/tokenize.js"
index 3e4da2ecb1084045db5af89d19377feb625ec2c6..bf61d261b5cd734772be1098daac182d12dc7f44 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/tokenize.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/tokenize.js"
@@ -1,3 +1,239 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:991e468856188dc5c5ab9177b21004efe5e8825e8bb713dae67a97be6a044531
-size 8451
+"use strict";
+
+exports.__esModule = true;
+exports.FIELDS = void 0;
+exports["default"] = tokenize;
+var t = _interopRequireWildcard(require("./tokenTypes"));
+var _unescapable, _wordDelimiters;
+function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
+function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
+var unescapable = (_unescapable = {}, _unescapable[t.tab] = true, _unescapable[t.newline] = true, _unescapable[t.cr] = true, _unescapable[t.feed] = true, _unescapable);
+var wordDelimiters = (_wordDelimiters = {}, _wordDelimiters[t.space] = true, _wordDelimiters[t.tab] = true, _wordDelimiters[t.newline] = true, _wordDelimiters[t.cr] = true, _wordDelimiters[t.feed] = true, _wordDelimiters[t.ampersand] = true, _wordDelimiters[t.asterisk] = true, _wordDelimiters[t.bang] = true, _wordDelimiters[t.comma] = true, _wordDelimiters[t.colon] = true, _wordDelimiters[t.semicolon] = true, _wordDelimiters[t.openParenthesis] = true, _wordDelimiters[t.closeParenthesis] = true, _wordDelimiters[t.openSquare] = true, _wordDelimiters[t.closeSquare] = true, _wordDelimiters[t.singleQuote] = true, _wordDelimiters[t.doubleQuote] = true, _wordDelimiters[t.plus] = true, _wordDelimiters[t.pipe] = true, _wordDelimiters[t.tilde] = true, _wordDelimiters[t.greaterThan] = true, _wordDelimiters[t.equals] = true, _wordDelimiters[t.dollar] = true, _wordDelimiters[t.caret] = true, _wordDelimiters[t.slash] = true, _wordDelimiters);
+var hex = {};
+var hexChars = "0123456789abcdefABCDEF";
+for (var i = 0; i < hexChars.length; i++) {
+ hex[hexChars.charCodeAt(i)] = true;
+}
+
+/**
+ * Returns the last index of the bar css word
+ * @param {string} css The string in which the word begins
+ * @param {number} start The index into the string where word's first letter occurs
+ */
+function consumeWord(css, start) {
+ var next = start;
+ var code;
+ do {
+ code = css.charCodeAt(next);
+ if (wordDelimiters[code]) {
+ return next - 1;
+ } else if (code === t.backslash) {
+ next = consumeEscape(css, next) + 1;
+ } else {
+ // All other characters are part of the word
+ next++;
+ }
+ } while (next < css.length);
+ return next - 1;
+}
+
+/**
+ * Returns the last index of the escape sequence
+ * @param {string} css The string in which the sequence begins
+ * @param {number} start The index into the string where escape character (`\`) occurs.
+ */
+function consumeEscape(css, start) {
+ var next = start;
+ var code = css.charCodeAt(next + 1);
+ if (unescapable[code]) {
+ // just consume the escape char
+ } else if (hex[code]) {
+ var hexDigits = 0;
+ // consume up to 6 hex chars
+ do {
+ next++;
+ hexDigits++;
+ code = css.charCodeAt(next + 1);
+ } while (hex[code] && hexDigits < 6);
+ // if fewer than 6 hex chars, a trailing space ends the escape
+ if (hexDigits < 6 && code === t.space) {
+ next++;
+ }
+ } else {
+ // the next char is part of the current word
+ next++;
+ }
+ return next;
+}
+var FIELDS = {
+ TYPE: 0,
+ START_LINE: 1,
+ START_COL: 2,
+ END_LINE: 3,
+ END_COL: 4,
+ START_POS: 5,
+ END_POS: 6
+};
+exports.FIELDS = FIELDS;
+function tokenize(input) {
+ var tokens = [];
+ var css = input.css.valueOf();
+ var _css = css,
+ length = _css.length;
+ var offset = -1;
+ var line = 1;
+ var start = 0;
+ var end = 0;
+ var code, content, endColumn, endLine, escaped, escapePos, last, lines, next, nextLine, nextOffset, quote, tokenType;
+ function unclosed(what, fix) {
+ if (input.safe) {
+ // fyi: this is never set to true.
+ css += fix;
+ next = css.length - 1;
+ } else {
+ throw input.error('Unclosed ' + what, line, start - offset, start);
+ }
+ }
+ while (start < length) {
+ code = css.charCodeAt(start);
+ if (code === t.newline) {
+ offset = start;
+ line += 1;
+ }
+ switch (code) {
+ case t.space:
+ case t.tab:
+ case t.newline:
+ case t.cr:
+ case t.feed:
+ next = start;
+ do {
+ next += 1;
+ code = css.charCodeAt(next);
+ if (code === t.newline) {
+ offset = next;
+ line += 1;
+ }
+ } while (code === t.space || code === t.newline || code === t.tab || code === t.cr || code === t.feed);
+ tokenType = t.space;
+ endLine = line;
+ endColumn = next - offset - 1;
+ end = next;
+ break;
+ case t.plus:
+ case t.greaterThan:
+ case t.tilde:
+ case t.pipe:
+ next = start;
+ do {
+ next += 1;
+ code = css.charCodeAt(next);
+ } while (code === t.plus || code === t.greaterThan || code === t.tilde || code === t.pipe);
+ tokenType = t.combinator;
+ endLine = line;
+ endColumn = start - offset;
+ end = next;
+ break;
+
+ // Consume these characters as single tokens.
+ case t.asterisk:
+ case t.ampersand:
+ case t.bang:
+ case t.comma:
+ case t.equals:
+ case t.dollar:
+ case t.caret:
+ case t.openSquare:
+ case t.closeSquare:
+ case t.colon:
+ case t.semicolon:
+ case t.openParenthesis:
+ case t.closeParenthesis:
+ next = start;
+ tokenType = code;
+ endLine = line;
+ endColumn = start - offset;
+ end = next + 1;
+ break;
+ case t.singleQuote:
+ case t.doubleQuote:
+ quote = code === t.singleQuote ? "'" : '"';
+ next = start;
+ do {
+ escaped = false;
+ next = css.indexOf(quote, next + 1);
+ if (next === -1) {
+ unclosed('quote', quote);
+ }
+ escapePos = next;
+ while (css.charCodeAt(escapePos - 1) === t.backslash) {
+ escapePos -= 1;
+ escaped = !escaped;
+ }
+ } while (escaped);
+ tokenType = t.str;
+ endLine = line;
+ endColumn = start - offset;
+ end = next + 1;
+ break;
+ default:
+ if (code === t.slash && css.charCodeAt(start + 1) === t.asterisk) {
+ next = css.indexOf('*/', start + 2) + 1;
+ if (next === 0) {
+ unclosed('comment', '*/');
+ }
+ content = css.slice(start, next + 1);
+ lines = content.split('\n');
+ last = lines.length - 1;
+ if (last > 0) {
+ nextLine = line + last;
+ nextOffset = next - lines[last].length;
+ } else {
+ nextLine = line;
+ nextOffset = offset;
+ }
+ tokenType = t.comment;
+ line = nextLine;
+ endLine = nextLine;
+ endColumn = next - nextOffset;
+ } else if (code === t.slash) {
+ next = start;
+ tokenType = code;
+ endLine = line;
+ endColumn = start - offset;
+ end = next + 1;
+ } else {
+ next = consumeWord(css, start);
+ tokenType = t.word;
+ endLine = line;
+ endColumn = next - offset;
+ }
+ end = next + 1;
+ break;
+ }
+
+ // Ensure that the token structure remains consistent
+ tokens.push([tokenType,
+ // [0] Token type
+ line,
+ // [1] Starting line
+ start - offset,
+ // [2] Starting column
+ endLine,
+ // [3] Ending line
+ endColumn,
+ // [4] Ending column
+ start,
+ // [5] Start position / Source index
+ end // [6] End position
+ ]);
+
+ // Reset offset for the next token
+ if (nextOffset) {
+ offset = nextOffset;
+ nextOffset = null;
+ }
+ start = end;
+ }
+ return tokens;
+}
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/ensureObject.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/ensureObject.js"
index aaee76824374e61d3ba9d8a041768d250fb4b12d..494941adaf212a08887a1bba245e5213c3df5e7f 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/ensureObject.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/ensureObject.js"
@@ -1,3 +1,17 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5aeaa559248b7ec536bfafc90c8115d89602c13aa060c016217cb80f64267922
-size 431
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = ensureObject;
+function ensureObject(obj) {
+ for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+ props[_key - 1] = arguments[_key];
+ }
+ while (props.length > 0) {
+ var prop = props.shift();
+ if (!obj[prop]) {
+ obj[prop] = {};
+ }
+ obj = obj[prop];
+ }
+}
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/getProp.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/getProp.js"
index 0dec1aff85739bec1d62738d77e84f8ba1115f30..a2b7a07307b0eca44a5e2f2c8d83ffe8b5d9b8b2 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/getProp.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/getProp.js"
@@ -1,3 +1,18 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:25fcaca0a0a2b58001ff4d48d84a34f5968e44634d0c8570eaa5a24619b2791c
-size 437
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = getProp;
+function getProp(obj) {
+ for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+ props[_key - 1] = arguments[_key];
+ }
+ while (props.length > 0) {
+ var prop = props.shift();
+ if (!obj[prop]) {
+ return undefined;
+ }
+ obj = obj[prop];
+ }
+ return obj;
+}
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/index.js"
index 5cafb310fbc1c01c46f9df0665df158687da51d6..f96ec11b6d47636ecc470506f954c164ebbe63b5 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/index.js"
@@ -1,3 +1,13 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9ee6469715ac691dfd876fa8a5c6ab9b53659801e80b5605526cd1440447fdf5
-size 664
+"use strict";
+
+exports.__esModule = true;
+exports.unesc = exports.stripComments = exports.getProp = exports.ensureObject = void 0;
+var _unesc = _interopRequireDefault(require("./unesc"));
+exports.unesc = _unesc["default"];
+var _getProp = _interopRequireDefault(require("./getProp"));
+exports.getProp = _getProp["default"];
+var _ensureObject = _interopRequireDefault(require("./ensureObject"));
+exports.ensureObject = _ensureObject["default"];
+var _stripComments = _interopRequireDefault(require("./stripComments"));
+exports.stripComments = _stripComments["default"];
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/stripComments.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/stripComments.js"
index 824acf3bf4b941db3a88895aa3e4d7c34dbfe21f..0baa0e07eb0b940655f1ff98b2c975b3e6674799 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/stripComments.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/stripComments.js"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:df7f5214ab78f15e5a95dfbf1c869c51ccf1871155958480e15edaaa77d61b69
-size 521
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = stripComments;
+function stripComments(str) {
+ var s = "";
+ var commentStart = str.indexOf("/*");
+ var lastEnd = 0;
+ while (commentStart >= 0) {
+ s = s + str.slice(lastEnd, commentStart);
+ var commentEnd = str.indexOf("*/", commentStart + 2);
+ if (commentEnd < 0) {
+ return s;
+ }
+ lastEnd = commentEnd + 2;
+ commentStart = str.indexOf("/*", lastEnd);
+ }
+ s = s + str.slice(lastEnd);
+ return s;
+}
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/unesc.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/unesc.js"
index 5af0f24d87a682c409c9a86953bbd1f1fe87b1cf..87396bee181e25c55af73097fc9e55026873bf9d 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/unesc.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/dist/util/unesc.js"
@@ -1,3 +1,76 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:58d8e130f5f4b4944cfdfee39df8648eb69f6f2d18d0bb7172d4798e60b8a28a
-size 2318
+"use strict";
+
+exports.__esModule = true;
+exports["default"] = unesc;
+// Many thanks for this post which made this migration much easier.
+// https://mathiasbynens.be/notes/css-escapes
+
+/**
+ *
+ * @param {string} str
+ * @returns {[string, number]|undefined}
+ */
+function gobbleHex(str) {
+ var lower = str.toLowerCase();
+ var hex = '';
+ var spaceTerminated = false;
+ for (var i = 0; i < 6 && lower[i] !== undefined; i++) {
+ var code = lower.charCodeAt(i);
+ // check to see if we are dealing with a valid hex char [a-f|0-9]
+ var valid = code >= 97 && code <= 102 || code >= 48 && code <= 57;
+ // https://drafts.csswg.org/css-syntax/#consume-escaped-code-point
+ spaceTerminated = code === 32;
+ if (!valid) {
+ break;
+ }
+ hex += lower[i];
+ }
+ if (hex.length === 0) {
+ return undefined;
+ }
+ var codePoint = parseInt(hex, 16);
+ var isSurrogate = codePoint >= 0xD800 && codePoint <= 0xDFFF;
+ // Add special case for
+ // "If this number is zero, or is for a surrogate, or is greater than the maximum allowed code point"
+ // https://drafts.csswg.org/css-syntax/#maximum-allowed-code-point
+ if (isSurrogate || codePoint === 0x0000 || codePoint > 0x10FFFF) {
+ return ["\uFFFD", hex.length + (spaceTerminated ? 1 : 0)];
+ }
+ return [String.fromCodePoint(codePoint), hex.length + (spaceTerminated ? 1 : 0)];
+}
+var CONTAINS_ESCAPE = /\\/;
+function unesc(str) {
+ var needToProcess = CONTAINS_ESCAPE.test(str);
+ if (!needToProcess) {
+ return str;
+ }
+ var ret = "";
+ for (var i = 0; i < str.length; i++) {
+ if (str[i] === "\\") {
+ var gobbled = gobbleHex(str.slice(i + 1, i + 7));
+ if (gobbled !== undefined) {
+ ret += gobbled[0];
+ i += gobbled[1];
+ continue;
+ }
+
+ // Retain a pair of \\ if double escaped `\\\\`
+ // https://github.com/postcss/postcss-selector-parser/commit/268c9a7656fb53f543dc620aa5b73a30ec3ff20e
+ if (str[i + 1] === "\\") {
+ ret += "\\";
+ i++;
+ continue;
+ }
+
+ // if \\ is at the end of the string retain it
+ // https://github.com/postcss/postcss-selector-parser/commit/01a6b346e3612ce1ab20219acc26abdc259ccefb
+ if (str.length === i + 1) {
+ ret += str[i];
+ }
+ continue;
+ }
+ ret += str[i];
+ }
+ return ret;
+}
+module.exports = exports.default;
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/package.json"
index 1720d11014efe2eb2a2f802accc78e7ecdf7108d..0a1bc95700dbb73a9684f8304b95b99d24bcc470 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/package.json"
@@ -1,3 +1,80 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4a845aedabd8bd79a473081c6da03f41207eed13457f70ed046786e70737f691
-size 2050
+{
+ "name": "postcss-selector-parser",
+ "version": "6.1.0",
+ "devDependencies": {
+ "@babel/cli": "^7.11.6",
+ "@babel/core": "^7.11.6",
+ "@babel/eslint-parser": "^7.11.5",
+ "@babel/eslint-plugin": "^7.11.5",
+ "@babel/plugin-proposal-class-properties": "^7.10.4",
+ "@babel/preset-env": "^7.11.5",
+ "@babel/register": "^7.11.5",
+ "ava": "^5.1.0",
+ "babel-plugin-add-module-exports": "^1.0.4",
+ "coveralls": "^3.1.0",
+ "del-cli": "^5.0.0",
+ "eslint": "^8.28.0",
+ "eslint-plugin-import": "^2.26.0",
+ "glob": "^8.0.3",
+ "minimist": "^1.2.5",
+ "nyc": "^15.1.0",
+ "postcss": "^8.4.31",
+ "semver": "^7.3.2",
+ "typescript": "^4.0.3"
+ },
+ "main": "dist/index.js",
+ "types": "postcss-selector-parser.d.ts",
+ "files": [
+ "API.md",
+ "CHANGELOG.md",
+ "LICENSE-MIT",
+ "dist",
+ "postcss-selector-parser.d.ts",
+ "!**/__tests__"
+ ],
+ "scripts": {
+ "typecheck": "tsc --noEmit --strict postcss-selector-parser.d.ts postcss-selector-parser.test.ts",
+ "pretest": "eslint src && npm run typecheck",
+ "prepare": "del-cli dist && BABEL_ENV=publish babel src --out-dir dist --ignore /__tests__/",
+ "lintfix": "eslint --fix src",
+ "report": "nyc report --reporter=html",
+ "test": "nyc ava src/__tests__/*.mjs",
+ "testone": "ava"
+ },
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ },
+ "homepage": "https://github.com/postcss/postcss-selector-parser",
+ "contributors": [
+ {
+ "name": "Ben Briggs",
+ "email": "beneb.info@gmail.com",
+ "url": "http://beneb.info"
+ },
+ {
+ "name": "Chris Eppstein",
+ "email": "chris@eppsteins.net",
+ "url": "http://twitter.com/chriseppstein"
+ }
+ ],
+ "repository": "postcss/postcss-selector-parser",
+ "ava": {
+ "require": [
+ "@babel/register"
+ ],
+ "concurrency": 5,
+ "timeout": "25s",
+ "nodeArguments": []
+ },
+ "nyc": {
+ "exclude": [
+ "node_modules",
+ "**/__tests__"
+ ]
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/postcss-selector-parser.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/postcss-selector-parser.d.ts"
index 7f6a84228d13535ea336cc6d4ff4fc8a1ad5bb29..9163ab1ad2f599ab60ba7b4a0917cbd77f6d857b 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/postcss-selector-parser.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-selector-parser/postcss-selector-parser.d.ts"
@@ -1,3 +1,555 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e045af1c9a01ba5d23a08d0d51ef2cd6b8ce754e646a47591d7e49f7ae093ba6
-size 20876
+// Type definitions for postcss-selector-parser 2.2.3
+// Definitions by: Chris Eppstein
+
+/*~ Note that ES6 modules cannot directly export callable functions.
+ *~ This file should be imported using the CommonJS-style:
+ *~ import x = require('someLibrary');
+ *~
+ *~ Refer to the documentation to understand common
+ *~ workarounds for this limitation of ES6 modules.
+ */
+
+/*~ This declaration specifies that the function
+ *~ is the exported object from the file
+ */
+export = parser;
+
+// A type that's T but not U.
+type Diff = T extends U ? never : T;
+
+// TODO: Conditional types in TS 1.8 will really clean this up.
+declare function parser(): parser.Processor;
+declare function parser(processor: parser.AsyncProcessor): parser.Processor;
+declare function parser(processor: parser.AsyncProcessor): parser.Processor;
+declare function parser(processor: parser.SyncProcessor): parser.Processor;
+declare function parser(processor: parser.SyncProcessor): parser.Processor;
+declare function parser(processor?: parser.SyncProcessor | parser.AsyncProcessor): parser.Processor;
+
+/*~ If you want to expose types from your module as well, you can
+ *~ place them in this block. Often you will want to describe the
+ *~ shape of the return type of the function; that type should
+ *~ be declared in here, as this example shows.
+ */
+declare namespace parser {
+ /* copied from postcss -- so we don't need to add a dependency */
+ type ErrorOptions = {
+ plugin?: string;
+ word?: string;
+ index?: number
+ };
+ /* the bits we use of postcss.Rule, copied from postcss -- so we don't need to add a dependency */
+ type PostCSSRuleNode = {
+ selector: string
+ /**
+ * @returns postcss.CssSyntaxError but it's a complex object, caller
+ * should cast to it if they have a dependency on postcss.
+ */
+ error(message: string, options?: ErrorOptions): Error;
+ };
+ /** Accepts a string */
+ type Selectors = string | PostCSSRuleNode
+ type ProcessorFn = (root: parser.Root) => ReturnType;
+ type SyncProcessor = ProcessorFn;
+ type AsyncProcessor = ProcessorFn>;
+
+ const TAG: "tag";
+ const STRING: "string";
+ const SELECTOR: "selector";
+ const ROOT: "root";
+ const PSEUDO: "pseudo";
+ const NESTING: "nesting";
+ const ID: "id";
+ const COMMENT: "comment";
+ const COMBINATOR: "combinator";
+ const CLASS: "class";
+ const ATTRIBUTE: "attribute";
+ const UNIVERSAL: "universal";
+
+ interface NodeTypes {
+ tag: Tag,
+ string: String,
+ selector: Selector,
+ root: Root,
+ pseudo: Pseudo,
+ nesting: Nesting,
+ id: Identifier,
+ comment: Comment,
+ combinator: Combinator,
+ class: ClassName,
+ attribute: Attribute,
+ universal: Universal
+ }
+
+ type Node = NodeTypes[keyof NodeTypes];
+
+ function isNode(node: any): node is Node;
+
+ interface Options {
+ /**
+ * Preserve whitespace when true. Default: false;
+ */
+ lossless: boolean;
+ /**
+ * When true and a postcss.Rule is passed, set the result of
+ * processing back onto the rule when done. Default: false.
+ */
+ updateSelector: boolean;
+ }
+ class Processor<
+ TransformType = never,
+ SyncSelectorsType extends Selectors | never = Selectors
+ > {
+ res: Root;
+ readonly result: String;
+ ast(selectors: Selectors, options?: Partial): Promise;
+ astSync(selectors: SyncSelectorsType, options?: Partial): Root;
+ transform(selectors: Selectors, options?: Partial): Promise;
+ transformSync(selectors: SyncSelectorsType, options?: Partial): TransformType;
+ process(selectors: Selectors, options?: Partial): Promise;
+ processSync(selectors: SyncSelectorsType, options?: Partial): string;
+ }
+ interface ParserOptions {
+ css: string;
+ error: (message: string, options: ErrorOptions) => Error;
+ options: Options;
+ }
+ class Parser {
+ input: ParserOptions;
+ lossy: boolean;
+ position: number;
+ root: Root;
+ selectors: string;
+ current: Selector;
+ constructor(input: ParserOptions);
+ /**
+ * Raises an error, if the processor is invoked on
+ * a postcss Rule node, a better error message is raised.
+ */
+ error(message: string, options?: ErrorOptions): void;
+ }
+ interface NodeSource {
+ start?: {
+ line: number,
+ column: number
+ },
+ end?: {
+ line: number,
+ column: number
+ }
+ }
+ interface SpaceAround {
+ before: string;
+ after: string;
+ }
+ interface Spaces extends SpaceAround {
+ [spaceType: string]: string | Partial | undefined;
+ }
+ interface NodeOptions {
+ value: Value;
+ spaces?: Partial;
+ source?: NodeSource;
+ sourceIndex?: number;
+ }
+ interface Base<
+ Value extends string | undefined = string,
+ ParentType extends Container | undefined = Container | undefined
+ > {
+ type: keyof NodeTypes;
+ parent: ParentType;
+ value: Value;
+ spaces: Spaces;
+ source?: NodeSource;
+ sourceIndex: number;
+ rawSpaceBefore: string;
+ rawSpaceAfter: string;
+ remove(): Node;
+ replaceWith(...nodes: Node[]): Node;
+ next(): Node | undefined;
+ prev(): Node | undefined;
+ clone(opts?: {[override: string]:any}): this;
+ /**
+ * Return whether this node includes the character at the position of the given line and column.
+ * Returns undefined if the nodes lack sufficient source metadata to determine the position.
+ * @param line 1-index based line number relative to the start of the selector.
+ * @param column 1-index based column number relative to the start of the selector.
+ */
+ isAtPosition(line: number, column: number): boolean | undefined;
+ /**
+ * Some non-standard syntax doesn't follow normal escaping rules for css,
+ * this allows the escaped value to be specified directly, allowing illegal characters to be
+ * directly inserted into css output.
+ * @param name the property to set
+ * @param value the unescaped value of the property
+ * @param valueEscaped optional. the escaped value of the property.
+ */
+ setPropertyAndEscape(name: string, value: any, valueEscaped: string): void;
+ /**
+ * When you want a value to passed through to CSS directly. This method
+ * deletes the corresponding raw value causing the stringifier to fallback
+ * to the unescaped value.
+ * @param name the property to set.
+ * @param value The value that is both escaped and unescaped.
+ */
+ setPropertyWithoutEscape(name: string, value: any): void;
+ /**
+ * Some non-standard syntax doesn't follow normal escaping rules for css.
+ * This allows non standard syntax to be appended to an existing property
+ * by specifying the escaped value. By specifying the escaped value,
+ * illegal characters are allowed to be directly inserted into css output.
+ * @param {string} name the property to set
+ * @param {any} value the unescaped value of the property
+ * @param {string} valueEscaped optional. the escaped value of the property.
+ */
+ appendToPropertyAndEscape(name: string, value: any, valueEscaped: string): void;
+ toString(): string;
+ }
+ interface ContainerOptions extends NodeOptions {
+ nodes?: Array;
+ }
+ interface Container<
+ Value extends string | undefined = string,
+ Child extends Node = Node
+ > extends Base {
+ nodes: Array;
+ append(selector: Child): this;
+ prepend(selector: Child): this;
+ at(index: number): Child;
+ /**
+ * Return the most specific node at the line and column number given.
+ * The source location is based on the original parsed location, locations aren't
+ * updated as selector nodes are mutated.
+ *
+ * Note that this location is relative to the location of the first character
+ * of the selector, and not the location of the selector in the overall document
+ * when used in conjunction with postcss.
+ *
+ * If not found, returns undefined.
+ * @param line The line number of the node to find. (1-based index)
+ * @param col The column number of the node to find. (1-based index)
+ */
+ atPosition(line: number, column: number): Child;
+ index(child: Child): number;
+ readonly first: Child;
+ readonly last: Child;
+ readonly length: number;
+ removeChild(child: Child): this;
+ removeAll(): this;
+ empty(): this;
+ insertAfter(oldNode: Child, newNode: Child): this;
+ insertBefore(oldNode: Child, newNode: Child): this;
+ each(callback: (node: Child, index: number) => boolean | void): boolean | undefined;
+ walk(
+ callback: (node: Node, index: number) => boolean | void
+ ): boolean | undefined;
+ walkAttributes(
+ callback: (node: Attribute) => boolean | void
+ ): boolean | undefined;
+ walkClasses(
+ callback: (node: ClassName) => boolean | void
+ ): boolean | undefined;
+ walkCombinators(
+ callback: (node: Combinator) => boolean | void
+ ): boolean | undefined;
+ walkComments(
+ callback: (node: Comment) => boolean | void
+ ): boolean | undefined;
+ walkIds(
+ callback: (node: Identifier) => boolean | void
+ ): boolean | undefined;
+ walkNesting(
+ callback: (node: Nesting) => boolean | void
+ ): boolean | undefined;
+ walkPseudos(
+ callback: (node: Pseudo) => boolean | void
+ ): boolean | undefined;
+ walkTags(callback: (node: Tag) => boolean | void): boolean | undefined;
+ split(callback: (node: Child) => boolean): [Child[], Child[]];
+ map(callback: (node: Child) => T): T[];
+ reduce(
+ callback: (
+ previousValue: Child,
+ currentValue: Child,
+ currentIndex: number,
+ array: readonly Child[]
+ ) => Child
+ ): Child;
+ reduce(
+ callback: (
+ previousValue: Child,
+ currentValue: Child,
+ currentIndex: number,
+ array: readonly Child[]
+ ) => Child,
+ initialValue: Child
+ ): Child;
+ reduce(
+ callback: (
+ previousValue: T,
+ currentValue: Child,
+ currentIndex: number,
+ array: readonly Child[]
+ ) => T,
+ initialValue: T
+ ): T;
+ every(callback: (node: Child) => boolean): boolean;
+ some(callback: (node: Child) => boolean): boolean;
+ filter(callback: (node: Child) => boolean): Child[];
+ sort(callback: (nodeA: Child, nodeB: Child) => number): Child[];
+ toString(): string;
+ }
+ function isContainer(node: any): node is Root | Selector | Pseudo;
+
+ interface NamespaceOptions extends NodeOptions {
+ namespace?: string | true;
+ }
+ interface Namespace extends Base {
+ /** alias for namespace */
+ ns: string | true;
+ /**
+ * namespace prefix.
+ */
+ namespace: string | true;
+ /**
+ * If a namespace exists, prefix the value provided with it, separated by |.
+ */
+ qualifiedName(value: string): string;
+ /**
+ * A string representing the namespace suitable for output.
+ */
+ readonly namespaceString: string;
+ }
+ function isNamespace(node: any): node is Attribute | Tag;
+
+ interface Root extends Container {
+ type: "root";
+ /**
+ * Raises an error, if the processor is invoked on
+ * a postcss Rule node, a better error message is raised.
+ */
+ error(message: string, options?: ErrorOptions): Error;
+ nodeAt(line: number, column: number): Node
+ }
+ function root(opts: ContainerOptions): Root;
+ function isRoot(node: any): node is Root;
+
+ interface _Selector extends Container> {
+ type: "selector";
+ }
+ type Selector = _Selector;
+ function selector(opts: ContainerOptions): Selector;
+ function isSelector(node: any): node is Selector;
+
+ interface CombinatorRaws {
+ value?: string;
+ spaces?: {
+ before?: string;
+ after?: string;
+ };
+ }
+ interface Combinator extends Base {
+ type: "combinator";
+ raws?: CombinatorRaws;
+ }
+ function combinator(opts: NodeOptions): Combinator;
+ function isCombinator(node: any): node is Combinator;
+
+ interface ClassName extends Base {
+ type: "class";
+ }
+ function className(opts: NamespaceOptions): ClassName;
+ function isClassName(node: any): node is ClassName;
+
+ type AttributeOperator = "=" | "~=" | "|=" | "^=" | "$=" | "*=";
+ type QuoteMark = '"' | "'" | null;
+ interface PreferredQuoteMarkOptions {
+ quoteMark?: QuoteMark;
+ preferCurrentQuoteMark?: boolean;
+ }
+ interface SmartQuoteMarkOptions extends PreferredQuoteMarkOptions {
+ smart?: boolean;
+ }
+ interface AttributeOptions extends NamespaceOptions {
+ attribute: string;
+ operator?: AttributeOperator;
+ insensitive?: boolean;
+ quoteMark?: QuoteMark;
+ /** @deprecated Use quoteMark instead. */
+ quoted?: boolean;
+ spaces?: {
+ before?: string;
+ after?: string;
+ attribute?: Partial;
+ operator?: Partial;
+ value?: Partial;
+ insensitive?: Partial;
+ }
+ raws: {
+ unquoted?: string;
+ attribute?: string;
+ operator?: string;
+ value?: string;
+ insensitive?: string;
+ spaces?: {
+ attribute?: Partial;
+ operator?: Partial;
+ value?: Partial;
+ insensitive?: Partial;
+ }
+ };
+ }
+ interface Attribute extends Namespace {
+ type: "attribute";
+ attribute: string;
+ operator?: AttributeOperator;
+ insensitive?: boolean;
+ quoteMark: QuoteMark;
+ quoted?: boolean;
+ spaces: {
+ before: string;
+ after: string;
+ attribute?: Partial;
+ operator?: Partial;
+ value?: Partial;
+ insensitive?: Partial;
+ }
+ raws: {
+ /** @deprecated The attribute value is unquoted, use that instead.. */
+ unquoted?: string;
+ attribute?: string;
+ operator?: string;
+ /** The value of the attribute with quotes and escapes. */
+ value?: string;
+ insensitive?: string;
+ spaces?: {
+ attribute?: Partial;
+ operator?: Partial;
+ value?: Partial;
+ insensitive?: Partial;
+ }
+ };
+ /**
+ * The attribute name after having been qualified with a namespace.
+ */
+ readonly qualifiedAttribute: string;
+
+ /**
+ * The case insensitivity flag or an empty string depending on whether this
+ * attribute is case insensitive.
+ */
+ readonly insensitiveFlag : 'i' | '';
+
+ /**
+ * Returns the attribute's value quoted such that it would be legal to use
+ * in the value of a css file. The original value's quotation setting
+ * used for stringification is left unchanged. See `setValue(value, options)`
+ * if you want to control the quote settings of a new value for the attribute or
+ * `set quoteMark(mark)` if you want to change the quote settings of the current
+ * value.
+ *
+ * You can also change the quotation used for the current value by setting quoteMark.
+ **/
+ getQuotedValue(options?: SmartQuoteMarkOptions): string;
+
+ /**
+ * Set the unescaped value with the specified quotation options. The value
+ * provided must not include any wrapping quote marks -- those quotes will
+ * be interpreted as part of the value and escaped accordingly.
+ * @param value
+ */
+ setValue(value: string, options?: SmartQuoteMarkOptions): void;
+
+ /**
+ * Intelligently select a quoteMark value based on the value's contents. If
+ * the value is a legal CSS ident, it will not be quoted. Otherwise a quote
+ * mark will be picked that minimizes the number of escapes.
+ *
+ * If there's no clear winner, the quote mark from these options is used,
+ * then the source quote mark (this is inverted if `preferCurrentQuoteMark` is
+ * true). If the quoteMark is unspecified, a double quote is used.
+ **/
+ smartQuoteMark(options: PreferredQuoteMarkOptions): QuoteMark;
+
+ /**
+ * Selects the preferred quote mark based on the options and the current quote mark value.
+ * If you want the quote mark to depend on the attribute value, call `smartQuoteMark(opts)`
+ * instead.
+ */
+ preferredQuoteMark(options: PreferredQuoteMarkOptions): QuoteMark
+
+ /**
+ * returns the offset of the attribute part specified relative to the
+ * start of the node of the output string.
+ *
+ * * "ns" - alias for "namespace"
+ * * "namespace" - the namespace if it exists.
+ * * "attribute" - the attribute name
+ * * "attributeNS" - the start of the attribute or its namespace
+ * * "operator" - the match operator of the attribute
+ * * "value" - The value (string or identifier)
+ * * "insensitive" - the case insensitivity flag;
+ * @param part One of the possible values inside an attribute.
+ * @returns -1 if the name is invalid or the value doesn't exist in this attribute.
+ */
+ offsetOf(part: "ns" | "namespace" | "attribute" | "attributeNS" | "operator" | "value" | "insensitive"): number;
+ }
+ function attribute(opts: AttributeOptions): Attribute;
+ function isAttribute(node: any): node is Attribute;
+
+ interface Pseudo extends Container {
+ type: "pseudo";
+ }
+ function pseudo(opts: ContainerOptions): Pseudo;
+ /**
+ * Checks whether the node is the Pseudo subtype of node.
+ */
+ function isPseudo(node: any): node is Pseudo;
+
+ /**
+ * Checks whether the node is, specifically, a pseudo element instead of
+ * pseudo class.
+ */
+ function isPseudoElement(node: any): node is Pseudo;
+
+ /**
+ * Checks whether the node is, specifically, a pseudo class instead of
+ * pseudo element.
+ */
+ function isPseudoClass(node: any): node is Pseudo;
+
+
+ interface Tag extends Namespace {
+ type: "tag";
+ }
+ function tag(opts: NamespaceOptions): Tag;
+ function isTag(node: any): node is Tag;
+
+ interface Comment extends Base {
+ type: "comment";
+ }
+ function comment(opts: NodeOptions): Comment;
+ function isComment(node: any): node is Comment;
+
+ interface Identifier extends Base {
+ type: "id";
+ }
+ function id(opts: any): any;
+ function isIdentifier(node: any): node is Identifier;
+
+ interface Nesting extends Base {
+ type: "nesting";
+ }
+ function nesting(opts: any): any;
+ function isNesting(node: any): node is Nesting;
+
+ interface String extends Base {
+ type: "string";
+ }
+ function string(opts: NodeOptions): String;
+ function isString(node: any): node is String;
+
+ interface Universal extends Base {
+ type: "universal";
+ }
+ function universal(opts?: NamespaceOptions): any;
+ function isUniversal(node: any): node is Universal;
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/LICENSE"
index f92841156ec00211176638ecc4c4fb228b825f4b..6dcaefcbed352293c21a2d67bc3cc57d0682076a 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/LICENSE"
@@ -1,3 +1,22 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3687447039151857a6ba378db062172c7f33d4aa70a615c87a43a9c50e990485
-size 1074
+Copyright (c) Bogdan Chadkin
+
+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:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+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.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/README.md"
index bd28d9a8de3ed928674def1665d7a4ee77c66473..3bd6a0d65d33c1a2313c16e1bfd2e3fe9c7cd887 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/README.md"
@@ -1,3 +1,263 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7b183e14c4853ed481ef03b5b4c924a7fbe70635ff2e2decd3cea5329eb9b2d6
-size 7683
+# postcss-value-parser
+
+[](https://travis-ci.org/TrySound/postcss-value-parser)
+
+Transforms CSS declaration values and at-rule parameters into a tree of nodes, and provides a simple traversal API.
+
+## Usage
+
+```js
+var valueParser = require('postcss-value-parser');
+var cssBackgroundValue = 'url(foo.png) no-repeat 40px 73%';
+var parsedValue = valueParser(cssBackgroundValue);
+// parsedValue exposes an API described below,
+// e.g. parsedValue.walk(..), parsedValue.toString(), etc.
+```
+
+For example, parsing the value `rgba(233, 45, 66, .5)` will return the following:
+
+```js
+{
+ nodes: [
+ {
+ type: 'function',
+ value: 'rgba',
+ before: '',
+ after: '',
+ nodes: [
+ { type: 'word', value: '233' },
+ { type: 'div', value: ',', before: '', after: ' ' },
+ { type: 'word', value: '45' },
+ { type: 'div', value: ',', before: '', after: ' ' },
+ { type: 'word', value: '66' },
+ { type: 'div', value: ',', before: ' ', after: '' },
+ { type: 'word', value: '.5' }
+ ]
+ }
+ ]
+}
+```
+
+If you wanted to convert each `rgba()` value in `sourceCSS` to a hex value, you could do so like this:
+
+```js
+var valueParser = require('postcss-value-parser');
+
+var parsed = valueParser(sourceCSS);
+
+// walk() will visit all the of the nodes in the tree,
+// invoking the callback for each.
+parsed.walk(function (node) {
+
+ // Since we only want to transform rgba() values,
+ // we can ignore anything else.
+ if (node.type !== 'function' && node.value !== 'rgba') return;
+
+ // We can make an array of the rgba() arguments to feed to a
+ // convertToHex() function
+ var color = node.nodes.filter(function (node) {
+ return node.type === 'word';
+ }).map(function (node) {
+ return Number(node.value);
+ }); // [233, 45, 66, .5]
+
+ // Now we will transform the existing rgba() function node
+ // into a word node with the hex value
+ node.type = 'word';
+ node.value = convertToHex(color);
+})
+
+parsed.toString(); // #E92D42
+```
+
+## Nodes
+
+Each node is an object with these common properties:
+
+- **type**: The type of node (`word`, `string`, `div`, `space`, `comment`, or `function`).
+ Each type is documented below.
+- **value**: Each node has a `value` property; but what exactly `value` means
+ is specific to the node type. Details are documented for each type below.
+- **sourceIndex**: The starting index of the node within the original source
+ string. For example, given the source string `10px 20px`, the `word` node
+ whose value is `20px` will have a `sourceIndex` of `5`.
+
+### word
+
+The catch-all node type that includes keywords (e.g. `no-repeat`),
+quantities (e.g. `20px`, `75%`, `1.5`), and hex colors (e.g. `#e6e6e6`).
+
+Node-specific properties:
+
+- **value**: The "word" itself.
+
+### string
+
+A quoted string value, e.g. `"something"` in `content: "something";`.
+
+Node-specific properties:
+
+- **value**: The text content of the string.
+- **quote**: The quotation mark surrounding the string, either `"` or `'`.
+- **unclosed**: `true` if the string was not closed properly. e.g. `"unclosed string `.
+
+### div
+
+A divider, for example
+
+- `,` in `animation-duration: 1s, 2s, 3s`
+- `/` in `border-radius: 10px / 23px`
+- `:` in `(min-width: 700px)`
+
+Node-specific properties:
+
+- **value**: The divider character. Either `,`, `/`, or `:` (see examples above).
+- **before**: Whitespace before the divider.
+- **after**: Whitespace after the divider.
+
+### space
+
+Whitespace used as a separator, e.g. ` ` occurring twice in `border: 1px solid black;`.
+
+Node-specific properties:
+
+- **value**: The whitespace itself.
+
+### comment
+
+A CSS comment starts with `/*` and ends with `*/`
+
+Node-specific properties:
+
+- **value**: The comment value without `/*` and `*/`
+- **unclosed**: `true` if the comment was not closed properly. e.g. `/* comment without an end `.
+
+### function
+
+A CSS function, e.g. `rgb(0,0,0)` or `url(foo.bar)`.
+
+Function nodes have nodes nested within them: the function arguments.
+
+Additional properties:
+
+- **value**: The name of the function, e.g. `rgb` in `rgb(0,0,0)`.
+- **before**: Whitespace after the opening parenthesis and before the first argument,
+ e.g. ` ` in `rgb( 0,0,0)`.
+- **after**: Whitespace before the closing parenthesis and after the last argument,
+ e.g. ` ` in `rgb(0,0,0 )`.
+- **nodes**: More nodes representing the arguments to the function.
+- **unclosed**: `true` if the parentheses was not closed properly. e.g. `( unclosed-function `.
+
+Media features surrounded by parentheses are considered functions with an
+empty value. For example, `(min-width: 700px)` parses to these nodes:
+
+```js
+[
+ {
+ type: 'function', value: '', before: '', after: '',
+ nodes: [
+ { type: 'word', value: 'min-width' },
+ { type: 'div', value: ':', before: '', after: ' ' },
+ { type: 'word', value: '700px' }
+ ]
+ }
+]
+```
+
+`url()` functions can be parsed a little bit differently depending on
+whether the first character in the argument is a quotation mark.
+
+`url( /gfx/img/bg.jpg )` parses to:
+
+```js
+{ type: 'function', sourceIndex: 0, value: 'url', before: ' ', after: ' ', nodes: [
+ { type: 'word', sourceIndex: 5, value: '/gfx/img/bg.jpg' }
+] }
+```
+
+`url( "/gfx/img/bg.jpg" )`, on the other hand, parses to:
+
+```js
+{ type: 'function', sourceIndex: 0, value: 'url', before: ' ', after: ' ', nodes: [
+ type: 'string', sourceIndex: 5, quote: '"', value: '/gfx/img/bg.jpg' },
+] }
+```
+
+### unicode-range
+
+The unicode-range CSS descriptor sets the specific range of characters to be
+used from a font defined by @font-face and made available
+for use on the current page (`unicode-range: U+0025-00FF`).
+
+Node-specific properties:
+
+- **value**: The "unicode-range" itself.
+
+## API
+
+```
+var valueParser = require('postcss-value-parser');
+```
+
+### valueParser.unit(quantity)
+
+Parses `quantity`, distinguishing the number from the unit. Returns an object like the following:
+
+```js
+// Given 2rem
+{
+ number: '2',
+ unit: 'rem'
+}
+```
+
+If the `quantity` argument cannot be parsed as a number, returns `false`.
+
+*This function does not parse complete values*: you cannot pass it `1px solid black` and expect `px` as
+the unit. Instead, you should pass it single quantities only. Parse `1px solid black`, then pass it
+the stringified `1px` node (a `word` node) to parse the number and unit.
+
+### valueParser.stringify(nodes[, custom])
+
+Stringifies a node or array of nodes.
+
+The `custom` function is called for each `node`; return a string to override the default behaviour.
+
+### valueParser.walk(nodes, callback[, bubble])
+
+Walks each provided node, recursively walking all descendent nodes within functions.
+
+Returning `false` in the `callback` will prevent traversal of descendent nodes (within functions).
+You can use this feature to for shallow iteration, walking over only the *immediate* children.
+*Note: This only applies if `bubble` is `false` (which is the default).*
+
+By default, the tree is walked from the outermost node inwards.
+To reverse the direction, pass `true` for the `bubble` argument.
+
+The `callback` is invoked with three arguments: `callback(node, index, nodes)`.
+
+- `node`: The current node.
+- `index`: The index of the current node.
+- `nodes`: The complete nodes array passed to `walk()`.
+
+Returns the `valueParser` instance.
+
+### var parsed = valueParser(value)
+
+Returns the parsed node tree.
+
+### parsed.nodes
+
+The array of nodes.
+
+### parsed.toString()
+
+Stringifies the node tree.
+
+### parsed.walk(callback[, bubble])
+
+Walks each node inside `parsed.nodes`. See the documentation for `valueParser.walk()` above.
+
+# License
+
+MIT © [Bogdan Chadkin](mailto:trysound@yandex.ru)
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/index.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/index.d.ts"
index 29da98a9d170f33ae860ca7f071b3c4a8e73d520..8759f3fefe7c996d2c895dfb1672c9b9e459a5e3 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/index.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/index.d.ts"
@@ -1,3 +1,177 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4533b61de4b1594a736704184d03d4d8d5f3b072a6acfcfd41d76da975ac04fd
-size 4290
+declare namespace postcssValueParser {
+ interface BaseNode {
+ /**
+ * The offset, inclusive, inside the CSS value at which the node starts.
+ */
+ sourceIndex: number;
+
+ /**
+ * The offset, exclusive, inside the CSS value at which the node ends.
+ */
+ sourceEndIndex: number;
+
+ /**
+ * The node's characteristic value
+ */
+ value: string;
+ }
+
+ interface ClosableNode {
+ /**
+ * Whether the parsed CSS value ended before the node was properly closed
+ */
+ unclosed?: true;
+ }
+
+ interface AdjacentAwareNode {
+ /**
+ * The token at the start of the node
+ */
+ before: string;
+
+ /**
+ * The token at the end of the node
+ */
+ after: string;
+ }
+
+ interface CommentNode extends BaseNode, ClosableNode {
+ type: "comment";
+ }
+
+ interface DivNode extends BaseNode, AdjacentAwareNode {
+ type: "div";
+ }
+
+ interface FunctionNode extends BaseNode, ClosableNode, AdjacentAwareNode {
+ type: "function";
+
+ /**
+ * Nodes inside the function
+ */
+ nodes: Node[];
+ }
+
+ interface SpaceNode extends BaseNode {
+ type: "space";
+ }
+
+ interface StringNode extends BaseNode, ClosableNode {
+ type: "string";
+
+ /**
+ * The quote type delimiting the string
+ */
+ quote: '"' | "'";
+ }
+
+ interface UnicodeRangeNode extends BaseNode {
+ type: "unicode-range";
+ }
+
+ interface WordNode extends BaseNode {
+ type: "word";
+ }
+
+ /**
+ * Any node parsed from a CSS value
+ */
+ type Node =
+ | CommentNode
+ | DivNode
+ | FunctionNode
+ | SpaceNode
+ | StringNode
+ | UnicodeRangeNode
+ | WordNode;
+
+ interface CustomStringifierCallback {
+ /**
+ * @param node The node to stringify
+ * @returns The serialized CSS representation of the node
+ */
+ (nodes: Node): string | undefined;
+ }
+
+ interface WalkCallback {
+ /**
+ * @param node The currently visited node
+ * @param index The index of the node in the series of parsed nodes
+ * @param nodes The series of parsed nodes
+ * @returns Returning `false` will prevent traversal of descendant nodes (only applies if `bubble` was set to `true` in the `walk()` call)
+ */
+ (node: Node, index: number, nodes: Node[]): void | boolean;
+ }
+
+ /**
+ * A CSS dimension, decomposed into its numeric and unit parts
+ */
+ interface Dimension {
+ number: string;
+ unit: string;
+ }
+
+ /**
+ * A wrapper around a parsed CSS value that allows for inspecting and walking nodes
+ */
+ interface ParsedValue {
+ /**
+ * The series of parsed nodes
+ */
+ nodes: Node[];
+
+ /**
+ * Walk all parsed nodes, applying a callback
+ *
+ * @param callback A visitor callback that will be executed for each node
+ * @param bubble When set to `true`, walking will be done inside-out instead of outside-in
+ */
+ walk(callback: WalkCallback, bubble?: boolean): this;
+ }
+
+ interface ValueParser {
+ /**
+ * Decompose a CSSÂ dimension into its numeric and unit part
+ *
+ * @param value The dimension to decompose
+ * @returns An object representing `number` and `unit` part of the dimension or `false` if the decomposing fails
+ */
+ unit(value: string): Dimension | false;
+
+ /**
+ * Serialize a series of nodes into a CSS value
+ *
+ * @param nodes The nodes to stringify
+ * @param custom A custom stringifier callback
+ * @returns The generated CSS value
+ */
+ stringify(nodes: Node | Node[], custom?: CustomStringifierCallback): string;
+
+ /**
+ * Walk a series of nodes, applying a callback
+ *
+ * @param nodes The nodes to walk
+ * @param callback A visitor callback that will be executed for each node
+ * @param bubble When set to `true`, walking will be done inside-out instead of outside-in
+ */
+ walk(nodes: Node[], callback: WalkCallback, bubble?: boolean): void;
+
+ /**
+ * Parse a CSS value into a series of nodes to operate on
+ *
+ * @param value The value to parse
+ */
+ new (value: string): ParsedValue;
+
+ /**
+ * Parse a CSS value into a series of nodes to operate on
+ *
+ * @param value The value to parse
+ */
+ (value: string): ParsedValue;
+ }
+}
+
+declare const postcssValueParser: postcssValueParser.ValueParser;
+
+export = postcssValueParser;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/index.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/index.js"
index eefcc522b77d29e0ba72f6dfce2ee15fd3dac700..f9ac0e6862f800c084e130d8e902ab184d392d5a 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/index.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/index.js"
@@ -1,3 +1,28 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b72197f798b185efdd013e8d9b9b405e9a940dd9c5e9c53931684474f447af92
-size 607
+var parse = require("./parse");
+var walk = require("./walk");
+var stringify = require("./stringify");
+
+function ValueParser(value) {
+ if (this instanceof ValueParser) {
+ this.nodes = parse(value);
+ return this;
+ }
+ return new ValueParser(value);
+}
+
+ValueParser.prototype.toString = function() {
+ return Array.isArray(this.nodes) ? stringify(this.nodes) : "";
+};
+
+ValueParser.prototype.walk = function(cb, bubble) {
+ walk(this.nodes, cb, bubble);
+ return this;
+};
+
+ValueParser.unit = require("./unit");
+
+ValueParser.walk = walk;
+
+ValueParser.stringify = stringify;
+
+module.exports = ValueParser;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/parse.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/parse.js"
index 5d8c8d3196baaad16289e6b88682a4b03fc0bee4..950631c94a3359924b35c47557f0513cd3444b16 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/parse.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/parse.js"
@@ -1,3 +1,321 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7f57d3c73010b7a5f11cd5fd1b49fc61043a0a2b430f090b6eb9220b0b27e4f2
-size 8344
+var openParentheses = "(".charCodeAt(0);
+var closeParentheses = ")".charCodeAt(0);
+var singleQuote = "'".charCodeAt(0);
+var doubleQuote = '"'.charCodeAt(0);
+var backslash = "\\".charCodeAt(0);
+var slash = "/".charCodeAt(0);
+var comma = ",".charCodeAt(0);
+var colon = ":".charCodeAt(0);
+var star = "*".charCodeAt(0);
+var uLower = "u".charCodeAt(0);
+var uUpper = "U".charCodeAt(0);
+var plus = "+".charCodeAt(0);
+var isUnicodeRange = /^[a-f0-9?-]+$/i;
+
+module.exports = function(input) {
+ var tokens = [];
+ var value = input;
+
+ var next,
+ quote,
+ prev,
+ token,
+ escape,
+ escapePos,
+ whitespacePos,
+ parenthesesOpenPos;
+ var pos = 0;
+ var code = value.charCodeAt(pos);
+ var max = value.length;
+ var stack = [{ nodes: tokens }];
+ var balanced = 0;
+ var parent;
+
+ var name = "";
+ var before = "";
+ var after = "";
+
+ while (pos < max) {
+ // Whitespaces
+ if (code <= 32) {
+ next = pos;
+ do {
+ next += 1;
+ code = value.charCodeAt(next);
+ } while (code <= 32);
+ token = value.slice(pos, next);
+
+ prev = tokens[tokens.length - 1];
+ if (code === closeParentheses && balanced) {
+ after = token;
+ } else if (prev && prev.type === "div") {
+ prev.after = token;
+ prev.sourceEndIndex += token.length;
+ } else if (
+ code === comma ||
+ code === colon ||
+ (code === slash &&
+ value.charCodeAt(next + 1) !== star &&
+ (!parent ||
+ (parent && parent.type === "function" && parent.value !== "calc")))
+ ) {
+ before = token;
+ } else {
+ tokens.push({
+ type: "space",
+ sourceIndex: pos,
+ sourceEndIndex: next,
+ value: token
+ });
+ }
+
+ pos = next;
+
+ // Quotes
+ } else if (code === singleQuote || code === doubleQuote) {
+ next = pos;
+ quote = code === singleQuote ? "'" : '"';
+ token = {
+ type: "string",
+ sourceIndex: pos,
+ quote: quote
+ };
+ do {
+ escape = false;
+ next = value.indexOf(quote, next + 1);
+ if (~next) {
+ escapePos = next;
+ while (value.charCodeAt(escapePos - 1) === backslash) {
+ escapePos -= 1;
+ escape = !escape;
+ }
+ } else {
+ value += quote;
+ next = value.length - 1;
+ token.unclosed = true;
+ }
+ } while (escape);
+ token.value = value.slice(pos + 1, next);
+ token.sourceEndIndex = token.unclosed ? next : next + 1;
+ tokens.push(token);
+ pos = next + 1;
+ code = value.charCodeAt(pos);
+
+ // Comments
+ } else if (code === slash && value.charCodeAt(pos + 1) === star) {
+ next = value.indexOf("*/", pos);
+
+ token = {
+ type: "comment",
+ sourceIndex: pos,
+ sourceEndIndex: next + 2
+ };
+
+ if (next === -1) {
+ token.unclosed = true;
+ next = value.length;
+ token.sourceEndIndex = next;
+ }
+
+ token.value = value.slice(pos + 2, next);
+ tokens.push(token);
+
+ pos = next + 2;
+ code = value.charCodeAt(pos);
+
+ // Operation within calc
+ } else if (
+ (code === slash || code === star) &&
+ parent &&
+ parent.type === "function" &&
+ parent.value === "calc"
+ ) {
+ token = value[pos];
+ tokens.push({
+ type: "word",
+ sourceIndex: pos - before.length,
+ sourceEndIndex: pos + token.length,
+ value: token
+ });
+ pos += 1;
+ code = value.charCodeAt(pos);
+
+ // Dividers
+ } else if (code === slash || code === comma || code === colon) {
+ token = value[pos];
+
+ tokens.push({
+ type: "div",
+ sourceIndex: pos - before.length,
+ sourceEndIndex: pos + token.length,
+ value: token,
+ before: before,
+ after: ""
+ });
+ before = "";
+
+ pos += 1;
+ code = value.charCodeAt(pos);
+
+ // Open parentheses
+ } else if (openParentheses === code) {
+ // Whitespaces after open parentheses
+ next = pos;
+ do {
+ next += 1;
+ code = value.charCodeAt(next);
+ } while (code <= 32);
+ parenthesesOpenPos = pos;
+ token = {
+ type: "function",
+ sourceIndex: pos - name.length,
+ value: name,
+ before: value.slice(parenthesesOpenPos + 1, next)
+ };
+ pos = next;
+
+ if (name === "url" && code !== singleQuote && code !== doubleQuote) {
+ next -= 1;
+ do {
+ escape = false;
+ next = value.indexOf(")", next + 1);
+ if (~next) {
+ escapePos = next;
+ while (value.charCodeAt(escapePos - 1) === backslash) {
+ escapePos -= 1;
+ escape = !escape;
+ }
+ } else {
+ value += ")";
+ next = value.length - 1;
+ token.unclosed = true;
+ }
+ } while (escape);
+ // Whitespaces before closed
+ whitespacePos = next;
+ do {
+ whitespacePos -= 1;
+ code = value.charCodeAt(whitespacePos);
+ } while (code <= 32);
+ if (parenthesesOpenPos < whitespacePos) {
+ if (pos !== whitespacePos + 1) {
+ token.nodes = [
+ {
+ type: "word",
+ sourceIndex: pos,
+ sourceEndIndex: whitespacePos + 1,
+ value: value.slice(pos, whitespacePos + 1)
+ }
+ ];
+ } else {
+ token.nodes = [];
+ }
+ if (token.unclosed && whitespacePos + 1 !== next) {
+ token.after = "";
+ token.nodes.push({
+ type: "space",
+ sourceIndex: whitespacePos + 1,
+ sourceEndIndex: next,
+ value: value.slice(whitespacePos + 1, next)
+ });
+ } else {
+ token.after = value.slice(whitespacePos + 1, next);
+ token.sourceEndIndex = next;
+ }
+ } else {
+ token.after = "";
+ token.nodes = [];
+ }
+ pos = next + 1;
+ token.sourceEndIndex = token.unclosed ? next : pos;
+ code = value.charCodeAt(pos);
+ tokens.push(token);
+ } else {
+ balanced += 1;
+ token.after = "";
+ token.sourceEndIndex = pos + 1;
+ tokens.push(token);
+ stack.push(token);
+ tokens = token.nodes = [];
+ parent = token;
+ }
+ name = "";
+
+ // Close parentheses
+ } else if (closeParentheses === code && balanced) {
+ pos += 1;
+ code = value.charCodeAt(pos);
+
+ parent.after = after;
+ parent.sourceEndIndex += after.length;
+ after = "";
+ balanced -= 1;
+ stack[stack.length - 1].sourceEndIndex = pos;
+ stack.pop();
+ parent = stack[balanced];
+ tokens = parent.nodes;
+
+ // Words
+ } else {
+ next = pos;
+ do {
+ if (code === backslash) {
+ next += 1;
+ }
+ next += 1;
+ code = value.charCodeAt(next);
+ } while (
+ next < max &&
+ !(
+ code <= 32 ||
+ code === singleQuote ||
+ code === doubleQuote ||
+ code === comma ||
+ code === colon ||
+ code === slash ||
+ code === openParentheses ||
+ (code === star &&
+ parent &&
+ parent.type === "function" &&
+ parent.value === "calc") ||
+ (code === slash &&
+ parent.type === "function" &&
+ parent.value === "calc") ||
+ (code === closeParentheses && balanced)
+ )
+ );
+ token = value.slice(pos, next);
+
+ if (openParentheses === code) {
+ name = token;
+ } else if (
+ (uLower === token.charCodeAt(0) || uUpper === token.charCodeAt(0)) &&
+ plus === token.charCodeAt(1) &&
+ isUnicodeRange.test(token.slice(2))
+ ) {
+ tokens.push({
+ type: "unicode-range",
+ sourceIndex: pos,
+ sourceEndIndex: next,
+ value: token
+ });
+ } else {
+ tokens.push({
+ type: "word",
+ sourceIndex: pos,
+ sourceEndIndex: next,
+ value: token
+ });
+ }
+
+ pos = next;
+ }
+ }
+
+ for (pos = stack.length - 1; pos; pos -= 1) {
+ stack[pos].unclosed = true;
+ stack[pos].sourceEndIndex = value.length;
+ }
+
+ return stack[0].nodes;
+};
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/stringify.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/stringify.js"
index 688a87423742f14e04e0d7b5598e29cedfbd8465..60796711ee2972a4904afae74079931c3ff7ad96 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/stringify.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/stringify.js"
@@ -1,3 +1,48 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bea6103af615bb9d65a2fc6dff1b2ab8a32b5ca33e263b5a2c8d458c4eff19fc
-size 1185
+function stringifyNode(node, custom) {
+ var type = node.type;
+ var value = node.value;
+ var buf;
+ var customResult;
+
+ if (custom && (customResult = custom(node)) !== undefined) {
+ return customResult;
+ } else if (type === "word" || type === "space") {
+ return value;
+ } else if (type === "string") {
+ buf = node.quote || "";
+ return buf + value + (node.unclosed ? "" : buf);
+ } else if (type === "comment") {
+ return "/*" + value + (node.unclosed ? "" : "*/");
+ } else if (type === "div") {
+ return (node.before || "") + value + (node.after || "");
+ } else if (Array.isArray(node.nodes)) {
+ buf = stringify(node.nodes, custom);
+ if (type !== "function") {
+ return buf;
+ }
+ return (
+ value +
+ "(" +
+ (node.before || "") +
+ buf +
+ (node.after || "") +
+ (node.unclosed ? "" : ")")
+ );
+ }
+ return value;
+}
+
+function stringify(nodes, custom) {
+ var result, i;
+
+ if (Array.isArray(nodes)) {
+ result = "";
+ for (i = nodes.length - 1; ~i; i -= 1) {
+ result = stringifyNode(nodes[i], custom) + result;
+ }
+ return result;
+ }
+ return stringifyNode(nodes, custom);
+}
+
+module.exports = stringify;
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/unit.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/unit.js"
index ec52c80a81b38505e080f4d372cde89fbe8b4de2..c349661a8895709e6d27e435acd8cff1ba76d661 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/unit.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/unit.js"
@@ -1,3 +1,120 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:728de375616da4672cd8a2d0b1713fd9b61ec5774075b4d1ad3ef1076cbbd740
-size 2283
+var minus = "-".charCodeAt(0);
+var plus = "+".charCodeAt(0);
+var dot = ".".charCodeAt(0);
+var exp = "e".charCodeAt(0);
+var EXP = "E".charCodeAt(0);
+
+// Check if three code points would start a number
+// https://www.w3.org/TR/css-syntax-3/#starts-with-a-number
+function likeNumber(value) {
+ var code = value.charCodeAt(0);
+ var nextCode;
+
+ if (code === plus || code === minus) {
+ nextCode = value.charCodeAt(1);
+
+ if (nextCode >= 48 && nextCode <= 57) {
+ return true;
+ }
+
+ var nextNextCode = value.charCodeAt(2);
+
+ if (nextCode === dot && nextNextCode >= 48 && nextNextCode <= 57) {
+ return true;
+ }
+
+ return false;
+ }
+
+ if (code === dot) {
+ nextCode = value.charCodeAt(1);
+
+ if (nextCode >= 48 && nextCode <= 57) {
+ return true;
+ }
+
+ return false;
+ }
+
+ if (code >= 48 && code <= 57) {
+ return true;
+ }
+
+ return false;
+}
+
+// Consume a number
+// https://www.w3.org/TR/css-syntax-3/#consume-number
+module.exports = function(value) {
+ var pos = 0;
+ var length = value.length;
+ var code;
+ var nextCode;
+ var nextNextCode;
+
+ if (length === 0 || !likeNumber(value)) {
+ return false;
+ }
+
+ code = value.charCodeAt(pos);
+
+ if (code === plus || code === minus) {
+ pos++;
+ }
+
+ while (pos < length) {
+ code = value.charCodeAt(pos);
+
+ if (code < 48 || code > 57) {
+ break;
+ }
+
+ pos += 1;
+ }
+
+ code = value.charCodeAt(pos);
+ nextCode = value.charCodeAt(pos + 1);
+
+ if (code === dot && nextCode >= 48 && nextCode <= 57) {
+ pos += 2;
+
+ while (pos < length) {
+ code = value.charCodeAt(pos);
+
+ if (code < 48 || code > 57) {
+ break;
+ }
+
+ pos += 1;
+ }
+ }
+
+ code = value.charCodeAt(pos);
+ nextCode = value.charCodeAt(pos + 1);
+ nextNextCode = value.charCodeAt(pos + 2);
+
+ if (
+ (code === exp || code === EXP) &&
+ ((nextCode >= 48 && nextCode <= 57) ||
+ ((nextCode === plus || nextCode === minus) &&
+ nextNextCode >= 48 &&
+ nextNextCode <= 57))
+ ) {
+ pos += nextCode === plus || nextCode === minus ? 3 : 2;
+
+ while (pos < length) {
+ code = value.charCodeAt(pos);
+
+ if (code < 48 || code > 57) {
+ break;
+ }
+
+ pos += 1;
+ }
+ }
+
+ return {
+ number: value.slice(0, pos),
+ unit: value.slice(pos)
+ };
+};
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/walk.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/walk.js"
index fdfc575778324d280ad2985ef9da220d8746278c..7666c5b13e012cb7ad7653d18aa72a7d744d647b 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/walk.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/lib/walk.js"
@@ -1,3 +1,22 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f954705a5401ddf0401d500088ed668a0307bd19259f2af104377704899cd09f
-size 425
+module.exports = function walk(nodes, cb, bubble) {
+ var i, max, node, result;
+
+ for (i = 0, max = nodes.length; i < max; i += 1) {
+ node = nodes[i];
+ if (!bubble) {
+ result = cb(node, i, nodes);
+ }
+
+ if (
+ result !== false &&
+ node.type === "function" &&
+ Array.isArray(node.nodes)
+ ) {
+ walk(node.nodes, cb, bubble);
+ }
+
+ if (bubble) {
+ cb(node, i, nodes);
+ }
+ }
+};
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/package.json"
index dd41fd04a904040d6a30ef0965d8592757631e80..02d744a6508d2f5f0bbaab32f6eb30ece4ca55b1 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss-value-parser/package.json"
@@ -1,3 +1,58 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6cf9201a4d0d15253e7e7b78b4ef808b8cb3354c9809214423453b48bd012bc0
-size 1302
+{
+ "name": "postcss-value-parser",
+ "version": "4.2.0",
+ "description": "Transforms css values and at-rule params into the tree",
+ "main": "lib/index.js",
+ "files": [
+ "lib"
+ ],
+ "devDependencies": {
+ "eslint": "^5.16.0",
+ "husky": "^2.3.0",
+ "lint-staged": "^8.1.7",
+ "prettier": "^1.17.1",
+ "tap-spec": "^5.0.0",
+ "tape": "^4.10.2"
+ },
+ "scripts": {
+ "lint:prettier": "prettier \"**/*.js\" \"**/*.ts\" --list-different",
+ "lint:js": "eslint . --cache",
+ "lint": "yarn lint:js && yarn lint:prettier",
+ "pretest": "yarn lint",
+ "test": "tape test/*.js | tap-spec"
+ },
+ "eslintConfig": {
+ "env": {
+ "es6": true,
+ "node": true
+ },
+ "extends": "eslint:recommended"
+ },
+ "lint-staged": {
+ "*.js": [
+ "eslint",
+ "prettier --write",
+ "git add"
+ ]
+ },
+ "husky": {
+ "hooks": {
+ "pre-commit": "lint-staged"
+ }
+ },
+ "author": "Bogdan Chadkin ",
+ "license": "MIT",
+ "homepage": "https://github.com/TrySound/postcss-value-parser",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/TrySound/postcss-value-parser.git"
+ },
+ "keywords": [
+ "postcss",
+ "value",
+ "parser"
+ ],
+ "bugs": {
+ "url": "https://github.com/TrySound/postcss-value-parser/issues"
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/LICENSE"
index 59ce4e57503858ca72b80d5178388bdc9b30e081..da057b4562a8b8fcd8ef3898f795cd08aa412ab4 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/LICENSE"
@@ -1,3 +1,20 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c4630ac8b89cb317ac5bdd60ac5e4e185eab9bd5151a0c7b3afa41aa83d7ec9b
-size 1095
+The MIT License (MIT)
+
+Copyright 2013 Andrey Sitnik
+
+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:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+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.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/README.md" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/README.md"
index 5fce97df380a52279438cbfedf6b88d1a89aeebf..9b646dd0539610df85ac18f4b8ec5fe7d00f4ca1 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/README.md"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/README.md"
@@ -1,3 +1,28 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3963f8db5e5a45634c6fc6b8ea4561274e05c1431ef9ceedecb47c770b8de39f
-size 1203
+# PostCSS
+
+
+
+PostCSS is a tool for transforming styles with JS plugins.
+These plugins can lint your CSS, support variables and mixins,
+transpile future CSS syntax, inline images, and more.
+
+PostCSS is used by industry leaders including Wikipedia, Twitter, Alibaba,
+and JetBrains. The [Autoprefixer] and [Stylelint] PostCSS plugins is one of the most popular CSS tools.
+
+---
+
+
  Made in Evil Martians, product consulting for developer tools.
+
+---
+
+[Abstract Syntax Tree]: https://en.wikipedia.org/wiki/Abstract_syntax_tree
+[Evil Martians]: https://evilmartians.com/?utm_source=postcss
+[Autoprefixer]: https://github.com/postcss/autoprefixer
+[Stylelint]: https://stylelint.io/
+[plugins]: https://github.com/postcss/postcss#plugins
+
+
+## Docs
+Read full docs **[here](https://postcss.org/)**.
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/at-rule.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/at-rule.d.ts"
index a8d4b83c68227e8b98554fff62e7a4cde74b9e56..5bdee38bee9a75f43e9fbb9deab07ce9a4734220 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/at-rule.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/at-rule.d.ts"
@@ -1,3 +1,137 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:304af95fcace2300674c969700b39bc0ee05be536880daa844c64dc8f90ef482
-size 3353
+import Container, {
+ ContainerProps,
+ ContainerWithChildren
+} from './container.js'
+
+declare namespace AtRule {
+ export interface AtRuleRaws extends Record {
+ /**
+ * The space symbols after the last child of the node to the end of the node.
+ */
+ after?: string
+
+ /**
+ * The space between the at-rule name and its parameters.
+ */
+ afterName?: string
+
+ /**
+ * The space symbols before the node. It also stores `*`
+ * and `_` symbols before the declaration (IE hack).
+ */
+ before?: string
+
+ /**
+ * The symbols between the last parameter and `{` for rules.
+ */
+ between?: string
+
+ /**
+ * The rule’s selector with comments.
+ */
+ params?: {
+ raw: string
+ value: string
+ }
+
+ /**
+ * Contains `true` if the last child has an (optional) semicolon.
+ */
+ semicolon?: boolean
+ }
+
+ export interface AtRuleProps extends ContainerProps {
+ /** Name of the at-rule. */
+ name: string
+ /** Parameters following the name of the at-rule. */
+ params?: number | string
+ /** Information used to generate byte-to-byte equal node string as it was in the origin input. */
+ raws?: AtRuleRaws
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { AtRule_ as default }
+}
+
+/**
+ * Represents an at-rule.
+ *
+ * ```js
+ * Once (root, { AtRule }) {
+ * let media = new AtRule({ name: 'media', params: 'print' })
+ * media.append(…)
+ * root.append(media)
+ * }
+ * ```
+ *
+ * If it’s followed in the CSS by a `{}` block, this node will have
+ * a nodes property representing its children.
+ *
+ * ```js
+ * const root = postcss.parse('@charset "UTF-8"; @media print {}')
+ *
+ * const charset = root.first
+ * charset.type //=> 'atrule'
+ * charset.nodes //=> undefined
+ *
+ * const media = root.last
+ * media.nodes //=> []
+ * ```
+ */
+declare class AtRule_ extends Container {
+ /**
+ * The at-rule’s name immediately follows the `@`.
+ *
+ * ```js
+ * const root = postcss.parse('@media print {}')
+ * const media = root.first
+ * media.name //=> 'media'
+ * ```
+ */
+ name: string
+ /**
+ * An array containing the layer’s children.
+ *
+ * ```js
+ * const root = postcss.parse('@layer example { a { color: black } }')
+ * const layer = root.first
+ * layer.nodes.length //=> 1
+ * layer.nodes[0].selector //=> 'a'
+ * ```
+ *
+ * Can be `undefinded` if the at-rule has no body.
+ *
+ * ```js
+ * const root = postcss.parse('@layer a, b, c;')
+ * const layer = root.first
+ * layer.nodes //=> undefined
+ * ```
+ */
+ nodes: Container['nodes']
+ /**
+ * The at-rule’s parameters, the values that follow the at-rule’s name
+ * but precede any `{}` block.
+ *
+ * ```js
+ * const root = postcss.parse('@media print, screen {}')
+ * const media = root.first
+ * media.params //=> 'print, screen'
+ * ```
+ */
+ params: string
+ parent: ContainerWithChildren | undefined
+
+ raws: AtRule.AtRuleRaws
+
+ type: 'atrule'
+
+ constructor(defaults?: AtRule.AtRuleProps)
+ assign(overrides: AtRule.AtRuleProps | object): this
+ clone(overrides?: Partial): AtRule
+ cloneAfter(overrides?: Partial): AtRule
+ cloneBefore(overrides?: Partial): AtRule
+}
+
+declare class AtRule extends AtRule_ {}
+
+export = AtRule
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/at-rule.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/at-rule.js"
index 6e97210512ba6cede7d91ec93346055e17785ffe..9486447b029c6c9991ca1b62e5a5d57c611a7503 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/at-rule.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/at-rule.js"
@@ -1,3 +1,25 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:33b932bda8f304e9838a70232673326b6c0fd5fa030df35071bf36c127042a0b
-size 471
+'use strict'
+
+let Container = require('./container')
+
+class AtRule extends Container {
+ constructor(defaults) {
+ super(defaults)
+ this.type = 'atrule'
+ }
+
+ append(...children) {
+ if (!this.proxyOf.nodes) this.nodes = []
+ return super.append(...children)
+ }
+
+ prepend(...children) {
+ if (!this.proxyOf.nodes) this.nodes = []
+ return super.prepend(...children)
+ }
+}
+
+module.exports = AtRule
+AtRule.default = AtRule
+
+Container.registerAtRule(AtRule)
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/comment.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/comment.d.ts"
index baacaabda1755de3e35eca5ec9611394216f53c1..d2445088ec14ed5f3105eb1d4567d75390462181 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/comment.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/comment.d.ts"
@@ -1,3 +1,67 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:106e607866d6c3e9a497a696ac949c3e2ec46b6e7dda35aabe76100bf740833b
-size 1727
+import Container from './container.js'
+import Node, { NodeProps } from './node.js'
+
+declare namespace Comment {
+ export interface CommentRaws extends Record {
+ /**
+ * The space symbols before the node.
+ */
+ before?: string
+
+ /**
+ * The space symbols between `/*` and the comment’s text.
+ */
+ left?: string
+
+ /**
+ * The space symbols between the comment’s text.
+ */
+ right?: string
+ }
+
+ export interface CommentProps extends NodeProps {
+ /** Information used to generate byte-to-byte equal node string as it was in the origin input. */
+ raws?: CommentRaws
+ /** Content of the comment. */
+ text: string
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { Comment_ as default }
+}
+
+/**
+ * It represents a class that handles
+ * [CSS comments](https://developer.mozilla.org/en-US/docs/Web/CSS/Comments)
+ *
+ * ```js
+ * Once (root, { Comment }) {
+ * const note = new Comment({ text: 'Note: …' })
+ * root.append(note)
+ * }
+ * ```
+ *
+ * Remember that CSS comments inside selectors, at-rule parameters,
+ * or declaration values will be stored in the `raws` properties
+ * explained above.
+ */
+declare class Comment_ extends Node {
+ parent: Container | undefined
+ raws: Comment.CommentRaws
+ /**
+ * The comment's text.
+ */
+ text: string
+
+ type: 'comment'
+
+ constructor(defaults?: Comment.CommentProps)
+ assign(overrides: Comment.CommentProps | object): this
+ clone(overrides?: Partial): Comment
+ cloneAfter(overrides?: Partial): Comment
+ cloneBefore(overrides?: Partial): Comment
+}
+
+declare class Comment extends Comment_ {}
+
+export = Comment
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/comment.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/comment.js"
index 1c7edbc7fd991c371bc4f1ff8870cf1acde8932b..c56650645caed3bb47cf7a39d18696ec47140ca3 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/comment.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/comment.js"
@@ -1,3 +1,13 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:674385438f42526f2c05c19dfb66fcc521f5cf180ccc85b3215ad5c07ac21a40
-size 203
+'use strict'
+
+let Node = require('./node')
+
+class Comment extends Node {
+ constructor(defaults) {
+ super(defaults)
+ this.type = 'comment'
+ }
+}
+
+module.exports = Comment
+Comment.default = Comment
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/container.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/container.d.ts"
index 00668936c2730fbafe662c594f49500f5d02d518..d16b85d08a39d8d71206520f2cd64b88e17c6e26 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/container.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/container.d.ts"
@@ -1,3 +1,490 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:28ffc4e76ad54f4b34933d78ff3f95b763accf074e8630a6d926f3fd5bbd8908
-size 13538
+import AtRule from './at-rule.js'
+import Comment from './comment.js'
+import Declaration from './declaration.js'
+import Node, { ChildNode, ChildProps, NodeProps } from './node.js'
+import Rule from './rule.js'
+
+declare namespace Container {
+ export class ContainerWithChildren<
+ Child extends Node = ChildNode
+ > extends Container_ {
+ nodes: Child[]
+ }
+
+ export interface ValueOptions {
+ /**
+ * String that’s used to narrow down values and speed up the regexp search.
+ */
+ fast?: string
+
+ /**
+ * An array of property names.
+ */
+ props?: string[]
+ }
+
+ export interface ContainerProps extends NodeProps {
+ nodes?: (ChildNode | ChildProps)[]
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { Container_ as default }
+}
+
+/**
+ * The `Root`, `AtRule`, and `Rule` container nodes
+ * inherit some common methods to help work with their children.
+ *
+ * Note that all containers can store any content. If you write a rule inside
+ * a rule, PostCSS will parse it.
+ */
+declare abstract class Container_ extends Node {
+ /**
+ * An array containing the container’s children.
+ *
+ * ```js
+ * const root = postcss.parse('a { color: black }')
+ * root.nodes.length //=> 1
+ * root.nodes[0].selector //=> 'a'
+ * root.nodes[0].nodes[0].prop //=> 'color'
+ * ```
+ */
+ nodes: Child[] | undefined
+
+ /**
+ * Inserts new nodes to the end of the container.
+ *
+ * ```js
+ * const decl1 = new Declaration({ prop: 'color', value: 'black' })
+ * const decl2 = new Declaration({ prop: 'background-color', value: 'white' })
+ * rule.append(decl1, decl2)
+ *
+ * root.append({ name: 'charset', params: '"UTF-8"' }) // at-rule
+ * root.append({ selector: 'a' }) // rule
+ * rule.append({ prop: 'color', value: 'black' }) // declaration
+ * rule.append({ text: 'Comment' }) // comment
+ *
+ * root.append('a {}')
+ * root.first.append('color: black; z-index: 1')
+ * ```
+ *
+ * @param nodes New nodes.
+ * @return This node for methods chain.
+ */
+ append(
+ ...nodes: (
+ | ChildProps
+ | ChildProps[]
+ | Node
+ | Node[]
+ | string
+ | string[]
+ | undefined
+ )[]
+ ): this
+
+ assign(overrides: Container.ContainerProps | object): this
+ clone(overrides?: Partial): Container
+ cloneAfter(overrides?: Partial): Container
+ cloneBefore(overrides?: Partial): Container
+
+ /**
+ * Iterates through the container’s immediate children,
+ * calling `callback` for each child.
+ *
+ * Returning `false` in the callback will break iteration.
+ *
+ * This method only iterates through the container’s immediate children.
+ * If you need to recursively iterate through all the container’s descendant
+ * nodes, use `Container#walk`.
+ *
+ * Unlike the for `{}`-cycle or `Array#forEach` this iterator is safe
+ * if you are mutating the array of child nodes during iteration.
+ * PostCSS will adjust the current index to match the mutations.
+ *
+ * ```js
+ * const root = postcss.parse('a { color: black; z-index: 1 }')
+ * const rule = root.first
+ *
+ * for (const decl of rule.nodes) {
+ * decl.cloneBefore({ prop: '-webkit-' + decl.prop })
+ * // Cycle will be infinite, because cloneBefore moves the current node
+ * // to the next index
+ * }
+ *
+ * rule.each(decl => {
+ * decl.cloneBefore({ prop: '-webkit-' + decl.prop })
+ * // Will be executed only for color and z-index
+ * })
+ * ```
+ *
+ * @param callback Iterator receives each node and index.
+ * @return Returns `false` if iteration was broke.
+ */
+ each(
+ callback: (node: Child, index: number) => false | void
+ ): false | undefined
+
+ /**
+ * Returns `true` if callback returns `true`
+ * for all of the container’s children.
+ *
+ * ```js
+ * const noPrefixes = rule.every(i => i.prop[0] !== '-')
+ * ```
+ *
+ * @param condition Iterator returns true or false.
+ * @return Is every child pass condition.
+ */
+ every(
+ condition: (node: Child, index: number, nodes: Child[]) => boolean
+ ): boolean
+ /**
+ * Returns a `child`’s index within the `Container#nodes` array.
+ *
+ * ```js
+ * rule.index( rule.nodes[2] ) //=> 2
+ * ```
+ *
+ * @param child Child of the current container.
+ * @return Child index.
+ */
+ index(child: Child | number): number
+
+ /**
+ * Insert new node after old node within the container.
+ *
+ * @param oldNode Child or child’s index.
+ * @param newNode New node.
+ * @return This node for methods chain.
+ */
+ insertAfter(
+ oldNode: Child | number,
+ newNode:
+ | Child
+ | Child[]
+ | ChildProps
+ | ChildProps[]
+ | string
+ | string[]
+ | undefined
+ ): this
+ /**
+ * Insert new node before old node within the container.
+ *
+ * ```js
+ * rule.insertBefore(decl, decl.clone({ prop: '-webkit-' + decl.prop }))
+ * ```
+ *
+ * @param oldNode Child or child’s index.
+ * @param newNode New node.
+ * @return This node for methods chain.
+ */
+ insertBefore(
+ oldNode: Child | number,
+ newNode:
+ | Child
+ | Child[]
+ | ChildProps
+ | ChildProps[]
+ | string
+ | string[]
+ | undefined
+ ): this
+
+ /**
+ * Traverses the container’s descendant nodes, calling callback
+ * for each comment node.
+ *
+ * Like `Container#each`, this method is safe
+ * to use if you are mutating arrays during iteration.
+ *
+ * ```js
+ * root.walkComments(comment => {
+ * comment.remove()
+ * })
+ * ```
+ *
+ * @param callback Iterator receives each node and index.
+ * @return Returns `false` if iteration was broke.
+ */
+
+ /**
+ * Inserts new nodes to the start of the container.
+ *
+ * ```js
+ * const decl1 = new Declaration({ prop: 'color', value: 'black' })
+ * const decl2 = new Declaration({ prop: 'background-color', value: 'white' })
+ * rule.prepend(decl1, decl2)
+ *
+ * root.append({ name: 'charset', params: '"UTF-8"' }) // at-rule
+ * root.append({ selector: 'a' }) // rule
+ * rule.append({ prop: 'color', value: 'black' }) // declaration
+ * rule.append({ text: 'Comment' }) // comment
+ *
+ * root.append('a {}')
+ * root.first.append('color: black; z-index: 1')
+ * ```
+ *
+ * @param nodes New nodes.
+ * @return This node for methods chain.
+ */
+ prepend(
+ ...nodes: (
+ | ChildProps
+ | ChildProps[]
+ | Node
+ | Node[]
+ | string
+ | string[]
+ | undefined
+ )[]
+ ): this
+ /**
+ * Add child to the end of the node.
+ *
+ * ```js
+ * rule.push(new Declaration({ prop: 'color', value: 'black' }))
+ * ```
+ *
+ * @param child New node.
+ * @return This node for methods chain.
+ */
+ push(child: Child): this
+
+ /**
+ * Removes all children from the container
+ * and cleans their parent properties.
+ *
+ * ```js
+ * rule.removeAll()
+ * rule.nodes.length //=> 0
+ * ```
+ *
+ * @return This node for methods chain.
+ */
+ removeAll(): this
+
+ /**
+ * Removes node from the container and cleans the parent properties
+ * from the node and its children.
+ *
+ * ```js
+ * rule.nodes.length //=> 5
+ * rule.removeChild(decl)
+ * rule.nodes.length //=> 4
+ * decl.parent //=> undefined
+ * ```
+ *
+ * @param child Child or child’s index.
+ * @return This node for methods chain.
+ */
+ removeChild(child: Child | number): this
+
+ replaceValues(
+ pattern: RegExp | string,
+ replaced: { (substring: string, ...args: any[]): string } | string
+ ): this
+
+ /**
+ * Passes all declaration values within the container that match pattern
+ * through callback, replacing those values with the returned result
+ * of callback.
+ *
+ * This method is useful if you are using a custom unit or function
+ * and need to iterate through all values.
+ *
+ * ```js
+ * root.replaceValues(/\d+rem/, { fast: 'rem' }, string => {
+ * return 15 * parseInt(string) + 'px'
+ * })
+ * ```
+ *
+ * @param pattern Replace pattern.
+ * @param {object} opts Options to speed up the search.
+ * @param callback String to replace pattern or callback
+ * that returns a new value. The callback
+ * will receive the same arguments
+ * as those passed to a function parameter
+ * of `String#replace`.
+ * @return This node for methods chain.
+ */
+ replaceValues(
+ pattern: RegExp | string,
+ options: Container.ValueOptions,
+ replaced: { (substring: string, ...args: any[]): string } | string
+ ): this
+
+ /**
+ * Returns `true` if callback returns `true` for (at least) one
+ * of the container’s children.
+ *
+ * ```js
+ * const hasPrefix = rule.some(i => i.prop[0] === '-')
+ * ```
+ *
+ * @param condition Iterator returns true or false.
+ * @return Is some child pass condition.
+ */
+ some(
+ condition: (node: Child, index: number, nodes: Child[]) => boolean
+ ): boolean
+
+ /**
+ * Traverses the container’s descendant nodes, calling callback
+ * for each node.
+ *
+ * Like container.each(), this method is safe to use
+ * if you are mutating arrays during iteration.
+ *
+ * If you only need to iterate through the container’s immediate children,
+ * use `Container#each`.
+ *
+ * ```js
+ * root.walk(node => {
+ * // Traverses all descendant nodes.
+ * })
+ * ```
+ *
+ * @param callback Iterator receives each node and index.
+ * @return Returns `false` if iteration was broke.
+ */
+ walk(
+ callback: (node: ChildNode, index: number) => false | void
+ ): false | undefined
+
+ /**
+ * Traverses the container’s descendant nodes, calling callback
+ * for each at-rule node.
+ *
+ * If you pass a filter, iteration will only happen over at-rules
+ * that have matching names.
+ *
+ * Like `Container#each`, this method is safe
+ * to use if you are mutating arrays during iteration.
+ *
+ * ```js
+ * root.walkAtRules(rule => {
+ * if (isOld(rule.name)) rule.remove()
+ * })
+ *
+ * let first = false
+ * root.walkAtRules('charset', rule => {
+ * if (!first) {
+ * first = true
+ * } else {
+ * rule.remove()
+ * }
+ * })
+ * ```
+ *
+ * @param name String or regular expression to filter at-rules by name.
+ * @param callback Iterator receives each node and index.
+ * @return Returns `false` if iteration was broke.
+ */
+ walkAtRules(
+ nameFilter: RegExp | string,
+ callback: (atRule: AtRule, index: number) => false | void
+ ): false | undefined
+
+ walkAtRules(
+ callback: (atRule: AtRule, index: number) => false | void
+ ): false | undefined
+ walkComments(
+ callback: (comment: Comment, indexed: number) => false | void
+ ): false | undefined
+
+ walkComments(
+ callback: (comment: Comment, indexed: number) => false | void
+ ): false | undefined
+
+ /**
+ * Traverses the container’s descendant nodes, calling callback
+ * for each declaration node.
+ *
+ * If you pass a filter, iteration will only happen over declarations
+ * with matching properties.
+ *
+ * ```js
+ * root.walkDecls(decl => {
+ * checkPropertySupport(decl.prop)
+ * })
+ *
+ * root.walkDecls('border-radius', decl => {
+ * decl.remove()
+ * })
+ *
+ * root.walkDecls(/^background/, decl => {
+ * decl.value = takeFirstColorFromGradient(decl.value)
+ * })
+ * ```
+ *
+ * Like `Container#each`, this method is safe
+ * to use if you are mutating arrays during iteration.
+ *
+ * @param prop String or regular expression to filter declarations
+ * by property name.
+ * @param callback Iterator receives each node and index.
+ * @return Returns `false` if iteration was broke.
+ */
+ walkDecls(
+ propFilter: RegExp | string,
+ callback: (decl: Declaration, index: number) => false | void
+ ): false | undefined
+
+ walkDecls(
+ callback: (decl: Declaration, index: number) => false | void
+ ): false | undefined
+
+ /**
+ * Traverses the container’s descendant nodes, calling callback
+ * for each rule node.
+ *
+ * If you pass a filter, iteration will only happen over rules
+ * with matching selectors.
+ *
+ * Like `Container#each`, this method is safe
+ * to use if you are mutating arrays during iteration.
+ *
+ * ```js
+ * const selectors = []
+ * root.walkRules(rule => {
+ * selectors.push(rule.selector)
+ * })
+ * console.log(`Your CSS uses ${ selectors.length } selectors`)
+ * ```
+ *
+ * @param selector String or regular expression to filter rules by selector.
+ * @param callback Iterator receives each node and index.
+ * @return Returns `false` if iteration was broke.
+ */
+ walkRules(
+ selectorFilter: RegExp | string,
+ callback: (rule: Rule, index: number) => false | void
+ ): false | undefined
+ walkRules(
+ callback: (rule: Rule, index: number) => false | void
+ ): false | undefined
+ /**
+ * The container’s first child.
+ *
+ * ```js
+ * rule.first === rules.nodes[0]
+ * ```
+ */
+ get first(): Child | undefined
+ /**
+ * The container’s last child.
+ *
+ * ```js
+ * rule.last === rule.nodes[rule.nodes.length - 1]
+ * ```
+ */
+ get last(): Child | undefined
+}
+
+declare class Container<
+ Child extends Node = ChildNode
+> extends Container_ {}
+
+export = Container
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/container.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/container.js"
index b8b145a442a5f04a21fbf6932042dd77990ab9a7..462e3f0d3944ed56d37403d95b229c2942f9e731 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/container.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/container.js"
@@ -1,3 +1,441 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c08d7dededfc77c300a416f8f89fef97d7b8ce14bd6516f3f70c64164145888d
-size 10566
+'use strict'
+
+let { isClean, my } = require('./symbols')
+let Declaration = require('./declaration')
+let Comment = require('./comment')
+let Node = require('./node')
+
+let parse, Rule, AtRule, Root
+
+function cleanSource(nodes) {
+ return nodes.map(i => {
+ if (i.nodes) i.nodes = cleanSource(i.nodes)
+ delete i.source
+ return i
+ })
+}
+
+function markDirtyUp(node) {
+ node[isClean] = false
+ if (node.proxyOf.nodes) {
+ for (let i of node.proxyOf.nodes) {
+ markDirtyUp(i)
+ }
+ }
+}
+
+class Container extends Node {
+ append(...children) {
+ for (let child of children) {
+ let nodes = this.normalize(child, this.last)
+ for (let node of nodes) this.proxyOf.nodes.push(node)
+ }
+
+ this.markDirty()
+
+ return this
+ }
+
+ cleanRaws(keepBetween) {
+ super.cleanRaws(keepBetween)
+ if (this.nodes) {
+ for (let node of this.nodes) node.cleanRaws(keepBetween)
+ }
+ }
+
+ each(callback) {
+ if (!this.proxyOf.nodes) return undefined
+ let iterator = this.getIterator()
+
+ let index, result
+ while (this.indexes[iterator] < this.proxyOf.nodes.length) {
+ index = this.indexes[iterator]
+ result = callback(this.proxyOf.nodes[index], index)
+ if (result === false) break
+
+ this.indexes[iterator] += 1
+ }
+
+ delete this.indexes[iterator]
+ return result
+ }
+
+ every(condition) {
+ return this.nodes.every(condition)
+ }
+
+ getIterator() {
+ if (!this.lastEach) this.lastEach = 0
+ if (!this.indexes) this.indexes = {}
+
+ this.lastEach += 1
+ let iterator = this.lastEach
+ this.indexes[iterator] = 0
+
+ return iterator
+ }
+
+ getProxyProcessor() {
+ return {
+ get(node, prop) {
+ if (prop === 'proxyOf') {
+ return node
+ } else if (!node[prop]) {
+ return node[prop]
+ } else if (
+ prop === 'each' ||
+ (typeof prop === 'string' && prop.startsWith('walk'))
+ ) {
+ return (...args) => {
+ return node[prop](
+ ...args.map(i => {
+ if (typeof i === 'function') {
+ return (child, index) => i(child.toProxy(), index)
+ } else {
+ return i
+ }
+ })
+ )
+ }
+ } else if (prop === 'every' || prop === 'some') {
+ return cb => {
+ return node[prop]((child, ...other) =>
+ cb(child.toProxy(), ...other)
+ )
+ }
+ } else if (prop === 'root') {
+ return () => node.root().toProxy()
+ } else if (prop === 'nodes') {
+ return node.nodes.map(i => i.toProxy())
+ } else if (prop === 'first' || prop === 'last') {
+ return node[prop].toProxy()
+ } else {
+ return node[prop]
+ }
+ },
+
+ set(node, prop, value) {
+ if (node[prop] === value) return true
+ node[prop] = value
+ if (prop === 'name' || prop === 'params' || prop === 'selector') {
+ node.markDirty()
+ }
+ return true
+ }
+ }
+ }
+
+ index(child) {
+ if (typeof child === 'number') return child
+ if (child.proxyOf) child = child.proxyOf
+ return this.proxyOf.nodes.indexOf(child)
+ }
+
+ insertAfter(exist, add) {
+ let existIndex = this.index(exist)
+ let nodes = this.normalize(add, this.proxyOf.nodes[existIndex]).reverse()
+ existIndex = this.index(exist)
+ for (let node of nodes) this.proxyOf.nodes.splice(existIndex + 1, 0, node)
+
+ let index
+ for (let id in this.indexes) {
+ index = this.indexes[id]
+ if (existIndex < index) {
+ this.indexes[id] = index + nodes.length
+ }
+ }
+
+ this.markDirty()
+
+ return this
+ }
+
+ insertBefore(exist, add) {
+ let existIndex = this.index(exist)
+ let type = existIndex === 0 ? 'prepend' : false
+ let nodes = this.normalize(add, this.proxyOf.nodes[existIndex], type).reverse()
+ existIndex = this.index(exist)
+ for (let node of nodes) this.proxyOf.nodes.splice(existIndex, 0, node)
+
+ let index
+ for (let id in this.indexes) {
+ index = this.indexes[id]
+ if (existIndex <= index) {
+ this.indexes[id] = index + nodes.length
+ }
+ }
+
+ this.markDirty()
+
+ return this
+ }
+
+ normalize(nodes, sample) {
+ if (typeof nodes === 'string') {
+ nodes = cleanSource(parse(nodes).nodes)
+ } else if (typeof nodes === 'undefined') {
+ nodes = []
+ } else if (Array.isArray(nodes)) {
+ nodes = nodes.slice(0)
+ for (let i of nodes) {
+ if (i.parent) i.parent.removeChild(i, 'ignore')
+ }
+ } else if (nodes.type === 'root' && this.type !== 'document') {
+ nodes = nodes.nodes.slice(0)
+ for (let i of nodes) {
+ if (i.parent) i.parent.removeChild(i, 'ignore')
+ }
+ } else if (nodes.type) {
+ nodes = [nodes]
+ } else if (nodes.prop) {
+ if (typeof nodes.value === 'undefined') {
+ throw new Error('Value field is missed in node creation')
+ } else if (typeof nodes.value !== 'string') {
+ nodes.value = String(nodes.value)
+ }
+ nodes = [new Declaration(nodes)]
+ } else if (nodes.selector) {
+ nodes = [new Rule(nodes)]
+ } else if (nodes.name) {
+ nodes = [new AtRule(nodes)]
+ } else if (nodes.text) {
+ nodes = [new Comment(nodes)]
+ } else {
+ throw new Error('Unknown node type in node creation')
+ }
+
+ let processed = nodes.map(i => {
+ /* c8 ignore next */
+ if (!i[my]) Container.rebuild(i)
+ i = i.proxyOf
+ if (i.parent) i.parent.removeChild(i)
+ if (i[isClean]) markDirtyUp(i)
+ if (typeof i.raws.before === 'undefined') {
+ if (sample && typeof sample.raws.before !== 'undefined') {
+ i.raws.before = sample.raws.before.replace(/\S/g, '')
+ }
+ }
+ i.parent = this.proxyOf
+ return i
+ })
+
+ return processed
+ }
+
+ prepend(...children) {
+ children = children.reverse()
+ for (let child of children) {
+ let nodes = this.normalize(child, this.first, 'prepend').reverse()
+ for (let node of nodes) this.proxyOf.nodes.unshift(node)
+ for (let id in this.indexes) {
+ this.indexes[id] = this.indexes[id] + nodes.length
+ }
+ }
+
+ this.markDirty()
+
+ return this
+ }
+
+ push(child) {
+ child.parent = this
+ this.proxyOf.nodes.push(child)
+ return this
+ }
+
+ removeAll() {
+ for (let node of this.proxyOf.nodes) node.parent = undefined
+ this.proxyOf.nodes = []
+
+ this.markDirty()
+
+ return this
+ }
+
+ removeChild(child) {
+ child = this.index(child)
+ this.proxyOf.nodes[child].parent = undefined
+ this.proxyOf.nodes.splice(child, 1)
+
+ let index
+ for (let id in this.indexes) {
+ index = this.indexes[id]
+ if (index >= child) {
+ this.indexes[id] = index - 1
+ }
+ }
+
+ this.markDirty()
+
+ return this
+ }
+
+ replaceValues(pattern, opts, callback) {
+ if (!callback) {
+ callback = opts
+ opts = {}
+ }
+
+ this.walkDecls(decl => {
+ if (opts.props && !opts.props.includes(decl.prop)) return
+ if (opts.fast && !decl.value.includes(opts.fast)) return
+
+ decl.value = decl.value.replace(pattern, callback)
+ })
+
+ this.markDirty()
+
+ return this
+ }
+
+ some(condition) {
+ return this.nodes.some(condition)
+ }
+
+ walk(callback) {
+ return this.each((child, i) => {
+ let result
+ try {
+ result = callback(child, i)
+ } catch (e) {
+ throw child.addToError(e)
+ }
+ if (result !== false && child.walk) {
+ result = child.walk(callback)
+ }
+
+ return result
+ })
+ }
+
+ walkAtRules(name, callback) {
+ if (!callback) {
+ callback = name
+ return this.walk((child, i) => {
+ if (child.type === 'atrule') {
+ return callback(child, i)
+ }
+ })
+ }
+ if (name instanceof RegExp) {
+ return this.walk((child, i) => {
+ if (child.type === 'atrule' && name.test(child.name)) {
+ return callback(child, i)
+ }
+ })
+ }
+ return this.walk((child, i) => {
+ if (child.type === 'atrule' && child.name === name) {
+ return callback(child, i)
+ }
+ })
+ }
+
+ walkComments(callback) {
+ return this.walk((child, i) => {
+ if (child.type === 'comment') {
+ return callback(child, i)
+ }
+ })
+ }
+
+ walkDecls(prop, callback) {
+ if (!callback) {
+ callback = prop
+ return this.walk((child, i) => {
+ if (child.type === 'decl') {
+ return callback(child, i)
+ }
+ })
+ }
+ if (prop instanceof RegExp) {
+ return this.walk((child, i) => {
+ if (child.type === 'decl' && prop.test(child.prop)) {
+ return callback(child, i)
+ }
+ })
+ }
+ return this.walk((child, i) => {
+ if (child.type === 'decl' && child.prop === prop) {
+ return callback(child, i)
+ }
+ })
+ }
+
+ walkRules(selector, callback) {
+ if (!callback) {
+ callback = selector
+
+ return this.walk((child, i) => {
+ if (child.type === 'rule') {
+ return callback(child, i)
+ }
+ })
+ }
+ if (selector instanceof RegExp) {
+ return this.walk((child, i) => {
+ if (child.type === 'rule' && selector.test(child.selector)) {
+ return callback(child, i)
+ }
+ })
+ }
+ return this.walk((child, i) => {
+ if (child.type === 'rule' && child.selector === selector) {
+ return callback(child, i)
+ }
+ })
+ }
+
+ get first() {
+ if (!this.proxyOf.nodes) return undefined
+ return this.proxyOf.nodes[0]
+ }
+
+ get last() {
+ if (!this.proxyOf.nodes) return undefined
+ return this.proxyOf.nodes[this.proxyOf.nodes.length - 1]
+ }
+}
+
+Container.registerParse = dependant => {
+ parse = dependant
+}
+
+Container.registerRule = dependant => {
+ Rule = dependant
+}
+
+Container.registerAtRule = dependant => {
+ AtRule = dependant
+}
+
+Container.registerRoot = dependant => {
+ Root = dependant
+}
+
+module.exports = Container
+Container.default = Container
+
+/* c8 ignore start */
+Container.rebuild = node => {
+ if (node.type === 'atrule') {
+ Object.setPrototypeOf(node, AtRule.prototype)
+ } else if (node.type === 'rule') {
+ Object.setPrototypeOf(node, Rule.prototype)
+ } else if (node.type === 'decl') {
+ Object.setPrototypeOf(node, Declaration.prototype)
+ } else if (node.type === 'comment') {
+ Object.setPrototypeOf(node, Comment.prototype)
+ } else if (node.type === 'root') {
+ Object.setPrototypeOf(node, Root.prototype)
+ }
+
+ node[my] = true
+
+ if (node.nodes) {
+ node.nodes.forEach(child => {
+ Container.rebuild(child)
+ })
+ }
+}
+/* c8 ignore stop */
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/css-syntax-error.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/css-syntax-error.d.ts"
index c223a34c738ba9b8af8940d79403feddb76b8a40..d2d11bf9845839e6b872a5ba5ad49b60c9238df7 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/css-syntax-error.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/css-syntax-error.d.ts"
@@ -1,3 +1,248 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5e92a2e8ba5cbcdfd9e51428f94f7bd0ab6e45c9805b1c9552b64abaffad3ce3
-size 6503
+import { FilePosition } from './input.js'
+
+declare namespace CssSyntaxError {
+ /**
+ * A position that is part of a range.
+ */
+ export interface RangePosition {
+ /**
+ * The column number in the input.
+ */
+ column: number
+
+ /**
+ * The line number in the input.
+ */
+ line: number
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { CssSyntaxError_ as default }
+}
+
+/**
+ * The CSS parser throws this error for broken CSS.
+ *
+ * Custom parsers can throw this error for broken custom syntax using
+ * the `Node#error` method.
+ *
+ * PostCSS will use the input source map to detect the original error location.
+ * If you wrote a Sass file, compiled it to CSS and then parsed it with PostCSS,
+ * PostCSS will show the original position in the Sass file.
+ *
+ * If you need the position in the PostCSS input
+ * (e.g., to debug the previous compiler), use `error.input.file`.
+ *
+ * ```js
+ * // Raising error from plugin
+ * throw node.error('Unknown variable', { plugin: 'postcss-vars' })
+ * ```
+ *
+ * ```js
+ * // Catching and checking syntax error
+ * try {
+ * postcss.parse('a{')
+ * } catch (error) {
+ * if (error.name === 'CssSyntaxError') {
+ * error //=> CssSyntaxError
+ * }
+ * }
+ * ```
+ */
+declare class CssSyntaxError_ {
+ /**
+ * Source column of the error.
+ *
+ * ```js
+ * error.column //=> 1
+ * error.input.column //=> 4
+ * ```
+ *
+ * PostCSS will use the input source map to detect the original location.
+ * If you need the position in the PostCSS input, use `error.input.column`.
+ */
+ column?: number
+
+ /**
+ * Source column of the error's end, exclusive. Provided if the error pertains
+ * to a range.
+ *
+ * ```js
+ * error.endColumn //=> 1
+ * error.input.endColumn //=> 4
+ * ```
+ *
+ * PostCSS will use the input source map to detect the original location.
+ * If you need the position in the PostCSS input, use `error.input.endColumn`.
+ */
+ endColumn?: number
+
+ /**
+ * Source line of the error's end, exclusive. Provided if the error pertains
+ * to a range.
+ *
+ * ```js
+ * error.endLine //=> 3
+ * error.input.endLine //=> 4
+ * ```
+ *
+ * PostCSS will use the input source map to detect the original location.
+ * If you need the position in the PostCSS input, use `error.input.endLine`.
+ */
+ endLine?: number
+
+ /**
+ * Absolute path to the broken file.
+ *
+ * ```js
+ * error.file //=> 'a.sass'
+ * error.input.file //=> 'a.css'
+ * ```
+ *
+ * PostCSS will use the input source map to detect the original location.
+ * If you need the position in the PostCSS input, use `error.input.file`.
+ */
+ file?: string
+
+ /**
+ * Input object with PostCSS internal information
+ * about input file. If input has source map
+ * from previous tool, PostCSS will use origin
+ * (for example, Sass) source. You can use this
+ * object to get PostCSS input source.
+ *
+ * ```js
+ * error.input.file //=> 'a.css'
+ * error.file //=> 'a.sass'
+ * ```
+ */
+ input?: FilePosition
+
+ /**
+ * Source line of the error.
+ *
+ * ```js
+ * error.line //=> 2
+ * error.input.line //=> 4
+ * ```
+ *
+ * PostCSS will use the input source map to detect the original location.
+ * If you need the position in the PostCSS input, use `error.input.line`.
+ */
+ line?: number
+
+ /**
+ * Full error text in the GNU error format
+ * with plugin, file, line and column.
+ *
+ * ```js
+ * error.message //=> 'a.css:1:1: Unclosed block'
+ * ```
+ */
+ message: string
+
+ /**
+ * Always equal to `'CssSyntaxError'`. You should always check error type
+ * by `error.name === 'CssSyntaxError'`
+ * instead of `error instanceof CssSyntaxError`,
+ * because npm could have several PostCSS versions.
+ *
+ * ```js
+ * if (error.name === 'CssSyntaxError') {
+ * error //=> CssSyntaxError
+ * }
+ * ```
+ */
+ name: 'CssSyntaxError'
+
+ /**
+ * Plugin name, if error came from plugin.
+ *
+ * ```js
+ * error.plugin //=> 'postcss-vars'
+ * ```
+ */
+ plugin?: string
+
+ /**
+ * Error message.
+ *
+ * ```js
+ * error.message //=> 'Unclosed block'
+ * ```
+ */
+ reason: string
+
+ /**
+ * Source code of the broken file.
+ *
+ * ```js
+ * error.source //=> 'a { b {} }'
+ * error.input.source //=> 'a b { }'
+ * ```
+ */
+ source?: string
+
+ stack: string
+
+ /**
+ * Instantiates a CSS syntax error. Can be instantiated for a single position
+ * or for a range.
+ * @param message Error message.
+ * @param lineOrStartPos If for a single position, the line number, or if for
+ * a range, the inclusive start position of the error.
+ * @param columnOrEndPos If for a single position, the column number, or if for
+ * a range, the exclusive end position of the error.
+ * @param source Source code of the broken file.
+ * @param file Absolute path to the broken file.
+ * @param plugin PostCSS plugin name, if error came from plugin.
+ */
+ constructor(
+ message: string,
+ lineOrStartPos?: CssSyntaxError.RangePosition | number,
+ columnOrEndPos?: CssSyntaxError.RangePosition | number,
+ source?: string,
+ file?: string,
+ plugin?: string
+ )
+
+ /**
+ * Returns a few lines of CSS source that caused the error.
+ *
+ * If the CSS has an input source map without `sourceContent`,
+ * this method will return an empty string.
+ *
+ * ```js
+ * error.showSourceCode() //=> " 4 | }
+ * // 5 | a {
+ * // > 6 | bad
+ * // | ^
+ * // 7 | }
+ * // 8 | b {"
+ * ```
+ *
+ * @param color Whether arrow will be colored red by terminal
+ * color codes. By default, PostCSS will detect
+ * color support by `process.stdout.isTTY`
+ * and `process.env.NODE_DISABLE_COLORS`.
+ * @return Few lines of CSS source that caused the error.
+ */
+ showSourceCode(color?: boolean): string
+
+ /**
+ * Returns error position, message and source code of the broken part.
+ *
+ * ```js
+ * error.toString() //=> "CssSyntaxError: app.css:1:1: Unclosed block
+ * // > 1 | a {
+ * // | ^"
+ * ```
+ *
+ * @return Error position, message and source code.
+ */
+ toString(): string
+}
+
+declare class CssSyntaxError extends CssSyntaxError_ {}
+
+export = CssSyntaxError
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/css-syntax-error.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/css-syntax-error.js"
index 675bf30e8b9682c76bd5b7923aad1d60d952d555..169303329e6359e12d59b32cfffc302dd84d2280 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/css-syntax-error.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/css-syntax-error.js"
@@ -1,3 +1,100 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:929bea589ef9d29d2711429f3407986f76adeabe76f727b02144ca37bbd5d709
-size 2524
+'use strict'
+
+let pico = require('picocolors')
+
+let terminalHighlight = require('./terminal-highlight')
+
+class CssSyntaxError extends Error {
+ constructor(message, line, column, source, file, plugin) {
+ super(message)
+ this.name = 'CssSyntaxError'
+ this.reason = message
+
+ if (file) {
+ this.file = file
+ }
+ if (source) {
+ this.source = source
+ }
+ if (plugin) {
+ this.plugin = plugin
+ }
+ if (typeof line !== 'undefined' && typeof column !== 'undefined') {
+ if (typeof line === 'number') {
+ this.line = line
+ this.column = column
+ } else {
+ this.line = line.line
+ this.column = line.column
+ this.endLine = column.line
+ this.endColumn = column.column
+ }
+ }
+
+ this.setMessage()
+
+ if (Error.captureStackTrace) {
+ Error.captureStackTrace(this, CssSyntaxError)
+ }
+ }
+
+ setMessage() {
+ this.message = this.plugin ? this.plugin + ': ' : ''
+ this.message += this.file ? this.file : ''
+ if (typeof this.line !== 'undefined') {
+ this.message += ':' + this.line + ':' + this.column
+ }
+ this.message += ': ' + this.reason
+ }
+
+ showSourceCode(color) {
+ if (!this.source) return ''
+
+ let css = this.source
+ if (color == null) color = pico.isColorSupported
+ if (terminalHighlight) {
+ if (color) css = terminalHighlight(css)
+ }
+
+ let lines = css.split(/\r?\n/)
+ let start = Math.max(this.line - 3, 0)
+ let end = Math.min(this.line + 2, lines.length)
+
+ let maxWidth = String(end).length
+
+ let mark, aside
+ if (color) {
+ let { bold, gray, red } = pico.createColors(true)
+ mark = text => bold(red(text))
+ aside = text => gray(text)
+ } else {
+ mark = aside = str => str
+ }
+
+ return lines
+ .slice(start, end)
+ .map((line, index) => {
+ let number = start + 1 + index
+ let gutter = ' ' + (' ' + number).slice(-maxWidth) + ' | '
+ if (number === this.line) {
+ let spacing =
+ aside(gutter.replace(/\d/g, ' ')) +
+ line.slice(0, this.column - 1).replace(/[^\t]/g, ' ')
+ return mark('>') + aside(gutter) + line + '\n ' + spacing + mark('^')
+ }
+ return ' ' + aside(gutter) + line
+ })
+ .join('\n')
+ }
+
+ toString() {
+ let code = this.showSourceCode()
+ if (code) {
+ code = '\n\n' + code + '\n'
+ }
+ return this.name + ': ' + this.message + code
+ }
+}
+
+module.exports = CssSyntaxError
+CssSyntaxError.default = CssSyntaxError
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/declaration.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/declaration.d.ts"
index 10b7ee16ffc8bd240f643040da0cdcc0cf66a6b6..a5db984a4c42eea51a0e9d2ab5b40585f3e5778f 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/declaration.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/declaration.d.ts"
@@ -1,3 +1,148 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:44fe135be91bc8edc495350f79cd7a2e5a8b7a7108b10b2599a321b9248657dc
-size 3815
+import { ContainerWithChildren } from './container.js'
+import Node from './node.js'
+
+declare namespace Declaration {
+ export interface DeclarationRaws extends Record {
+ /**
+ * The space symbols before the node. It also stores `*`
+ * and `_` symbols before the declaration (IE hack).
+ */
+ before?: string
+
+ /**
+ * The symbols between the property and value for declarations.
+ */
+ between?: string
+
+ /**
+ * The content of the important statement, if it is not just `!important`.
+ */
+ important?: string
+
+ /**
+ * Declaration value with comments.
+ */
+ value?: {
+ raw: string
+ value: string
+ }
+ }
+
+ export interface DeclarationProps {
+ /** Whether the declaration has an `!important` annotation. */
+ important?: boolean
+ /** Name of the declaration. */
+ prop: string
+ /** Information used to generate byte-to-byte equal node string as it was in the origin input. */
+ raws?: DeclarationRaws
+ /** Value of the declaration. */
+ value: string
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { Declaration_ as default }
+}
+
+/**
+ * It represents a class that handles
+ * [CSS declarations](https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax#css_declarations)
+ *
+ * ```js
+ * Once (root, { Declaration }) {
+ * const color = new Declaration({ prop: 'color', value: 'black' })
+ * root.append(color)
+ * }
+ * ```
+ *
+ * ```js
+ * const root = postcss.parse('a { color: black }')
+ * const decl = root.first?.first
+ *
+ * decl.type //=> 'decl'
+ * decl.toString() //=> ' color: black'
+ * ```
+ */
+declare class Declaration_ extends Node {
+ /**
+ * It represents a specificity of the declaration.
+ *
+ * If true, the CSS declaration will have an
+ * [important](https://developer.mozilla.org/en-US/docs/Web/CSS/important)
+ * specifier.
+ *
+ * ```js
+ * const root = postcss.parse('a { color: black !important; color: red }')
+ *
+ * root.first.first.important //=> true
+ * root.first.last.important //=> undefined
+ * ```
+ */
+ important: boolean
+
+ parent: ContainerWithChildren | undefined
+
+ /**
+ * The property name for a CSS declaration.
+ *
+ * ```js
+ * const root = postcss.parse('a { color: black }')
+ * const decl = root.first.first
+ *
+ * decl.prop //=> 'color'
+ * ```
+ */
+ prop: string
+
+ raws: Declaration.DeclarationRaws
+
+ type: 'decl'
+
+ /**
+ * The property value for a CSS declaration.
+ *
+ * Any CSS comments inside the value string will be filtered out.
+ * CSS comments present in the source value will be available in
+ * the `raws` property.
+ *
+ * Assigning new `value` would ignore the comments in `raws`
+ * property while compiling node to string.
+ *
+ * ```js
+ * const root = postcss.parse('a { color: black }')
+ * const decl = root.first.first
+ *
+ * decl.value //=> 'black'
+ * ```
+ */
+ value: string
+
+ /**
+ * It represents a getter that returns `true` if a declaration starts with
+ * `--` or `$`, which are used to declare variables in CSS and SASS/SCSS.
+ *
+ * ```js
+ * const root = postcss.parse(':root { --one: 1 }')
+ * const one = root.first.first
+ *
+ * one.variable //=> true
+ * ```
+ *
+ * ```js
+ * const root = postcss.parse('$one: 1')
+ * const one = root.first
+ *
+ * one.variable //=> true
+ * ```
+ */
+ variable: boolean
+
+ constructor(defaults?: Declaration.DeclarationProps)
+ assign(overrides: Declaration.DeclarationProps | object): this
+ clone(overrides?: Partial): Declaration
+ cloneAfter(overrides?: Partial): Declaration
+ cloneBefore(overrides?: Partial): Declaration
+}
+
+declare class Declaration extends Declaration_ {}
+
+export = Declaration
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/declaration.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/declaration.js"
index 1bcc6fd0e7e07d2c4122c30423d8594649c733cd..a04bdec36a5149adc3e48b4cb3f9e704254cd740 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/declaration.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/declaration.js"
@@ -1,3 +1,24 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1a16f193814168ca7c7526133f0eec0526de6eed9c38c105b9c46d76c1101539
-size 495
+'use strict'
+
+let Node = require('./node')
+
+class Declaration extends Node {
+ constructor(defaults) {
+ if (
+ defaults &&
+ typeof defaults.value !== 'undefined' &&
+ typeof defaults.value !== 'string'
+ ) {
+ defaults = { ...defaults, value: String(defaults.value) }
+ }
+ super(defaults)
+ this.type = 'decl'
+ }
+
+ get variable() {
+ return this.prop.startsWith('--') || this.prop[0] === '$'
+ }
+}
+
+module.exports = Declaration
+Declaration.default = Declaration
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/document.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/document.d.ts"
index f6d6388b9e148c794c2a4f0eb7d0f485d082951b..a368f166a0c57b69dfbd25876d4e544d67db8845 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/document.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/document.d.ts"
@@ -1,3 +1,69 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:edf7cf322a3f3e6ebca77217a96ed4480f5a7d8d0084f8b82f1c281c92780f3a
-size 1957
+import Container, { ContainerProps } from './container.js'
+import { ProcessOptions } from './postcss.js'
+import Result from './result.js'
+import Root from './root.js'
+
+declare namespace Document {
+ export interface DocumentProps extends ContainerProps {
+ nodes?: Root[]
+
+ /**
+ * Information to generate byte-to-byte equal node string as it was
+ * in the origin input.
+ *
+ * Every parser saves its own properties.
+ */
+ raws?: Record
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { Document_ as default }
+}
+
+/**
+ * Represents a file and contains all its parsed nodes.
+ *
+ * **Experimental:** some aspects of this node could change within minor
+ * or patch version releases.
+ *
+ * ```js
+ * const document = htmlParser(
+ * ''
+ * )
+ * document.type //=> 'document'
+ * document.nodes.length //=> 2
+ * ```
+ */
+declare class Document_ extends Container {
+ nodes: Root[]
+ parent: undefined
+ type: 'document'
+
+ constructor(defaults?: Document.DocumentProps)
+
+ assign(overrides: Document.DocumentProps | object): this
+ clone(overrides?: Partial): Document
+ cloneAfter(overrides?: Partial): Document
+ cloneBefore(overrides?: Partial): Document
+
+ /**
+ * Returns a `Result` instance representing the document’s CSS roots.
+ *
+ * ```js
+ * const root1 = postcss.parse(css1, { from: 'a.css' })
+ * const root2 = postcss.parse(css2, { from: 'b.css' })
+ * const document = postcss.document()
+ * document.append(root1)
+ * document.append(root2)
+ * const result = document.toResult({ to: 'all.css', map: true })
+ * ```
+ *
+ * @param opts Options.
+ * @return Result with current document’s CSS.
+ */
+ toResult(options?: ProcessOptions): Result
+}
+
+declare class Document extends Document_ {}
+
+export = Document
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/document.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/document.js"
index 5df780df129badf49561f705af963e9157083e96..44689917fc57d210b1a4dfad4187ac721c6eb16d 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/document.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/document.js"
@@ -1,3 +1,33 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f66f02fde48389fe1a361a8f71da7ee0236a49c94cf22378e70ba6a2e9f4fab1
-size 654
+'use strict'
+
+let Container = require('./container')
+
+let LazyResult, Processor
+
+class Document extends Container {
+ constructor(defaults) {
+ // type needs to be passed to super, otherwise child roots won't be normalized correctly
+ super({ type: 'document', ...defaults })
+
+ if (!this.nodes) {
+ this.nodes = []
+ }
+ }
+
+ toResult(opts = {}) {
+ let lazy = new LazyResult(new Processor(), this, opts)
+
+ return lazy.stringify()
+ }
+}
+
+Document.registerLazyResult = dependant => {
+ LazyResult = dependant
+}
+
+Document.registerProcessor = dependant => {
+ Processor = dependant
+}
+
+module.exports = Document
+Document.default = Document
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/fromJSON.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/fromJSON.d.ts"
index 2f4bc8fa06dbaaf1aaae302982310a5b3239e93b..e1deedbd3344a7b98d810515b34dad8b4f1eb2d6 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/fromJSON.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/fromJSON.d.ts"
@@ -1,3 +1,9 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:32ccf680084ad8ab2f57e2e9a0e04a75b946c85fb8263649e06498af6af6f53c
-size 162
+import { JSONHydrator } from './postcss.js'
+
+interface FromJSON extends JSONHydrator {
+ default: FromJSON
+}
+
+declare const fromJSON: FromJSON
+
+export = fromJSON
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/fromJSON.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/fromJSON.js"
index fe2bd15064720a99871a56c7d6c2e9bd01c9b177..09f2b89aa698adf926fae201ca39ad96a52fd488 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/fromJSON.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/fromJSON.js"
@@ -1,3 +1,54 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4be0b0fa5d48f912933b958b5813f9efa3d6113726e5857cee765001e03b0c8d
-size 1506
+'use strict'
+
+let Declaration = require('./declaration')
+let PreviousMap = require('./previous-map')
+let Comment = require('./comment')
+let AtRule = require('./at-rule')
+let Input = require('./input')
+let Root = require('./root')
+let Rule = require('./rule')
+
+function fromJSON(json, inputs) {
+ if (Array.isArray(json)) return json.map(n => fromJSON(n))
+
+ let { inputs: ownInputs, ...defaults } = json
+ if (ownInputs) {
+ inputs = []
+ for (let input of ownInputs) {
+ let inputHydrated = { ...input, __proto__: Input.prototype }
+ if (inputHydrated.map) {
+ inputHydrated.map = {
+ ...inputHydrated.map,
+ __proto__: PreviousMap.prototype
+ }
+ }
+ inputs.push(inputHydrated)
+ }
+ }
+ if (defaults.nodes) {
+ defaults.nodes = json.nodes.map(n => fromJSON(n, inputs))
+ }
+ if (defaults.source) {
+ let { inputId, ...source } = defaults.source
+ defaults.source = source
+ if (inputId != null) {
+ defaults.source.input = inputs[inputId]
+ }
+ }
+ if (defaults.type === 'root') {
+ return new Root(defaults)
+ } else if (defaults.type === 'decl') {
+ return new Declaration(defaults)
+ } else if (defaults.type === 'rule') {
+ return new Rule(defaults)
+ } else if (defaults.type === 'comment') {
+ return new Comment(defaults)
+ } else if (defaults.type === 'atrule') {
+ return new AtRule(defaults)
+ } else {
+ throw new Error('Unknown node type: ' + json.type)
+ }
+}
+
+module.exports = fromJSON
+fromJSON.default = fromJSON
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/input.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/input.d.ts"
index d12e0c559c1dec00b5e2b63b8b6767cfaa9a36b4..c718bd1d94f74780e7cc77a97f67e4d8950ca8db 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/input.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/input.d.ts"
@@ -1,3 +1,194 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:18c04c22baee54d13b505fa6e8bcd4223f8ba32beee80ec70e6cac972d1cc9a6
-size 4424
+import { CssSyntaxError, ProcessOptions } from './postcss.js'
+import PreviousMap from './previous-map.js'
+
+declare namespace Input {
+ export interface FilePosition {
+ /**
+ * Column of inclusive start position in source file.
+ */
+ column: number
+
+ /**
+ * Column of exclusive end position in source file.
+ */
+ endColumn?: number
+
+ /**
+ * Line of exclusive end position in source file.
+ */
+ endLine?: number
+
+ /**
+ * Absolute path to the source file.
+ */
+ file?: string
+
+ /**
+ * Line of inclusive start position in source file.
+ */
+ line: number
+
+ /**
+ * Source code.
+ */
+ source?: string
+
+ /**
+ * URL for the source file.
+ */
+ url: string
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { Input_ as default }
+}
+
+/**
+ * Represents the source CSS.
+ *
+ * ```js
+ * const root = postcss.parse(css, { from: file })
+ * const input = root.source.input
+ * ```
+ */
+declare class Input_ {
+ /**
+ * Input CSS source.
+ *
+ * ```js
+ * const input = postcss.parse('a{}', { from: file }).input
+ * input.css //=> "a{}"
+ * ```
+ */
+ css: string
+
+ /**
+ * The absolute path to the CSS source file defined
+ * with the `from` option.
+ *
+ * ```js
+ * const root = postcss.parse(css, { from: 'a.css' })
+ * root.source.input.file //=> '/home/ai/a.css'
+ * ```
+ */
+ file?: string
+
+ /**
+ * The flag to indicate whether or not the source code has Unicode BOM.
+ */
+ hasBOM: boolean
+
+ /**
+ * The unique ID of the CSS source. It will be created if `from` option
+ * is not provided (because PostCSS does not know the file path).
+ *
+ * ```js
+ * const root = postcss.parse(css)
+ * root.source.input.file //=> undefined
+ * root.source.input.id //=> ""
+ * ```
+ */
+ id?: string
+
+ /**
+ * The input source map passed from a compilation step before PostCSS
+ * (for example, from Sass compiler).
+ *
+ * ```js
+ * root.source.input.map.consumer().sources //=> ['a.sass']
+ * ```
+ */
+ map: PreviousMap
+
+ /**
+ * @param css Input CSS source.
+ * @param opts Process options.
+ */
+ constructor(css: string, opts?: ProcessOptions)
+
+ error(
+ message: string,
+ start:
+ | {
+ column: number
+ line: number
+ }
+ | {
+ offset: number
+ },
+ end:
+ | {
+ column: number
+ line: number
+ }
+ | {
+ offset: number
+ },
+ opts?: { plugin?: CssSyntaxError['plugin'] }
+ ): CssSyntaxError
+
+ /**
+ * Returns `CssSyntaxError` with information about the error and its position.
+ */
+ error(
+ message: string,
+ line: number,
+ column: number,
+ opts?: { plugin?: CssSyntaxError['plugin'] }
+ ): CssSyntaxError
+
+ error(
+ message: string,
+ offset: number,
+ opts?: { plugin?: CssSyntaxError['plugin'] }
+ ): CssSyntaxError
+
+ /**
+ * Converts source offset to line and column.
+ *
+ * @param offset Source offset.
+ */
+ fromOffset(offset: number): { col: number; line: number } | null
+ /**
+ * Reads the input source map and returns a symbol position
+ * in the input source (e.g., in a Sass file that was compiled
+ * to CSS before being passed to PostCSS). Optionally takes an
+ * end position, exclusive.
+ *
+ * ```js
+ * root.source.input.origin(1, 1) //=> { file: 'a.css', line: 3, column: 1 }
+ * root.source.input.origin(1, 1, 1, 4)
+ * //=> { file: 'a.css', line: 3, column: 1, endLine: 3, endColumn: 4 }
+ * ```
+ *
+ * @param line Line for inclusive start position in input CSS.
+ * @param column Column for inclusive start position in input CSS.
+ * @param endLine Line for exclusive end position in input CSS.
+ * @param endColumn Column for exclusive end position in input CSS.
+ *
+ * @return Position in input source.
+ */
+ origin(
+ line: number,
+ column: number,
+ endLine?: number,
+ endColumn?: number
+ ): false | Input.FilePosition
+ /**
+ * The CSS source identifier. Contains `Input#file` if the user
+ * set the `from` option, or `Input#id` if they did not.
+ *
+ * ```js
+ * const root = postcss.parse(css, { from: 'a.css' })
+ * root.source.input.from //=> "/home/ai/a.css"
+ *
+ * const root = postcss.parse(css)
+ * root.source.input.from //=> ""
+ * ```
+ */
+ get from(): string
+}
+
+declare class Input extends Input_ {}
+
+export = Input
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/input.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/input.js"
index 3d2b63bb8caeab1c3d3686e6af4df8466701fed7..4b5ee5e02f8ecdf880594d191ec1e84b983faeaa 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/input.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/input.js"
@@ -1,3 +1,248 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:39803f755bac9628767f8f32e14bb97d660d23cda06e71bd2790f409eb4bbfc4
-size 6190
+'use strict'
+
+let { SourceMapConsumer, SourceMapGenerator } = require('source-map-js')
+let { fileURLToPath, pathToFileURL } = require('url')
+let { isAbsolute, resolve } = require('path')
+let { nanoid } = require('nanoid/non-secure')
+
+let terminalHighlight = require('./terminal-highlight')
+let CssSyntaxError = require('./css-syntax-error')
+let PreviousMap = require('./previous-map')
+
+let fromOffsetCache = Symbol('fromOffsetCache')
+
+let sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator)
+let pathAvailable = Boolean(resolve && isAbsolute)
+
+class Input {
+ constructor(css, opts = {}) {
+ if (
+ css === null ||
+ typeof css === 'undefined' ||
+ (typeof css === 'object' && !css.toString)
+ ) {
+ throw new Error(`PostCSS received ${css} instead of CSS string`)
+ }
+
+ this.css = css.toString()
+
+ if (this.css[0] === '\uFEFF' || this.css[0] === '\uFFFE') {
+ this.hasBOM = true
+ this.css = this.css.slice(1)
+ } else {
+ this.hasBOM = false
+ }
+
+ if (opts.from) {
+ if (
+ !pathAvailable ||
+ /^\w+:\/\//.test(opts.from) ||
+ isAbsolute(opts.from)
+ ) {
+ this.file = opts.from
+ } else {
+ this.file = resolve(opts.from)
+ }
+ }
+
+ if (pathAvailable && sourceMapAvailable) {
+ let map = new PreviousMap(this.css, opts)
+ if (map.text) {
+ this.map = map
+ let file = map.consumer().file
+ if (!this.file && file) this.file = this.mapResolve(file)
+ }
+ }
+
+ if (!this.file) {
+ this.id = ''
+ }
+ if (this.map) this.map.file = this.from
+ }
+
+ error(message, line, column, opts = {}) {
+ let result, endLine, endColumn
+
+ if (line && typeof line === 'object') {
+ let start = line
+ let end = column
+ if (typeof start.offset === 'number') {
+ let pos = this.fromOffset(start.offset)
+ line = pos.line
+ column = pos.col
+ } else {
+ line = start.line
+ column = start.column
+ }
+ if (typeof end.offset === 'number') {
+ let pos = this.fromOffset(end.offset)
+ endLine = pos.line
+ endColumn = pos.col
+ } else {
+ endLine = end.line
+ endColumn = end.column
+ }
+ } else if (!column) {
+ let pos = this.fromOffset(line)
+ line = pos.line
+ column = pos.col
+ }
+
+ let origin = this.origin(line, column, endLine, endColumn)
+ if (origin) {
+ result = new CssSyntaxError(
+ message,
+ origin.endLine === undefined
+ ? origin.line
+ : { column: origin.column, line: origin.line },
+ origin.endLine === undefined
+ ? origin.column
+ : { column: origin.endColumn, line: origin.endLine },
+ origin.source,
+ origin.file,
+ opts.plugin
+ )
+ } else {
+ result = new CssSyntaxError(
+ message,
+ endLine === undefined ? line : { column, line },
+ endLine === undefined ? column : { column: endColumn, line: endLine },
+ this.css,
+ this.file,
+ opts.plugin
+ )
+ }
+
+ result.input = { column, endColumn, endLine, line, source: this.css }
+ if (this.file) {
+ if (pathToFileURL) {
+ result.input.url = pathToFileURL(this.file).toString()
+ }
+ result.input.file = this.file
+ }
+
+ return result
+ }
+
+ fromOffset(offset) {
+ let lastLine, lineToIndex
+ if (!this[fromOffsetCache]) {
+ let lines = this.css.split('\n')
+ lineToIndex = new Array(lines.length)
+ let prevIndex = 0
+
+ for (let i = 0, l = lines.length; i < l; i++) {
+ lineToIndex[i] = prevIndex
+ prevIndex += lines[i].length + 1
+ }
+
+ this[fromOffsetCache] = lineToIndex
+ } else {
+ lineToIndex = this[fromOffsetCache]
+ }
+ lastLine = lineToIndex[lineToIndex.length - 1]
+
+ let min = 0
+ if (offset >= lastLine) {
+ min = lineToIndex.length - 1
+ } else {
+ let max = lineToIndex.length - 2
+ let mid
+ while (min < max) {
+ mid = min + ((max - min) >> 1)
+ if (offset < lineToIndex[mid]) {
+ max = mid - 1
+ } else if (offset >= lineToIndex[mid + 1]) {
+ min = mid + 1
+ } else {
+ min = mid
+ break
+ }
+ }
+ }
+ return {
+ col: offset - lineToIndex[min] + 1,
+ line: min + 1
+ }
+ }
+
+ mapResolve(file) {
+ if (/^\w+:\/\//.test(file)) {
+ return file
+ }
+ return resolve(this.map.consumer().sourceRoot || this.map.root || '.', file)
+ }
+
+ origin(line, column, endLine, endColumn) {
+ if (!this.map) return false
+ let consumer = this.map.consumer()
+
+ let from = consumer.originalPositionFor({ column, line })
+ if (!from.source) return false
+
+ let to
+ if (typeof endLine === 'number') {
+ to = consumer.originalPositionFor({ column: endColumn, line: endLine })
+ }
+
+ let fromUrl
+
+ if (isAbsolute(from.source)) {
+ fromUrl = pathToFileURL(from.source)
+ } else {
+ fromUrl = new URL(
+ from.source,
+ this.map.consumer().sourceRoot || pathToFileURL(this.map.mapFile)
+ )
+ }
+
+ let result = {
+ column: from.column,
+ endColumn: to && to.column,
+ endLine: to && to.line,
+ line: from.line,
+ url: fromUrl.toString()
+ }
+
+ if (fromUrl.protocol === 'file:') {
+ if (fileURLToPath) {
+ result.file = fileURLToPath(fromUrl)
+ } else {
+ /* c8 ignore next 2 */
+ throw new Error(`file: protocol is not available in this PostCSS build`)
+ }
+ }
+
+ let source = consumer.sourceContentFor(from.source)
+ if (source) result.source = source
+
+ return result
+ }
+
+ toJSON() {
+ let json = {}
+ for (let name of ['hasBOM', 'css', 'file', 'id']) {
+ if (this[name] != null) {
+ json[name] = this[name]
+ }
+ }
+ if (this.map) {
+ json.map = { ...this.map }
+ if (json.map.consumerCache) {
+ json.map.consumerCache = undefined
+ }
+ }
+ return json
+ }
+
+ get from() {
+ return this.file || this.id
+ }
+}
+
+module.exports = Input
+Input.default = Input
+
+if (terminalHighlight && terminalHighlight.registerInput) {
+ terminalHighlight.registerInput(Input)
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/lazy-result.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/lazy-result.d.ts"
index 7a937ee7b79280b81eaa5557e8d1b718f4fa5d09..dd291aa3a79faba1dd68edd4da167d12d3d776b2 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/lazy-result.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/lazy-result.d.ts"
@@ -1,3 +1,190 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b9261ac3e9944d3d72c5ee4cf888ad35d9743a5563405c6963c4e43ee3708ca4
-size 5007
+import Document from './document.js'
+import { SourceMap } from './postcss.js'
+import Processor from './processor.js'
+import Result, { Message, ResultOptions } from './result.js'
+import Root from './root.js'
+import Warning from './warning.js'
+
+declare namespace LazyResult {
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { LazyResult_ as default }
+}
+
+/**
+ * A Promise proxy for the result of PostCSS transformations.
+ *
+ * A `LazyResult` instance is returned by `Processor#process`.
+ *
+ * ```js
+ * const lazy = postcss([autoprefixer]).process(css)
+ * ```
+ */
+declare class LazyResult_
+ implements PromiseLike>
+{
+ /**
+ * Processes input CSS through synchronous and asynchronous plugins
+ * and calls onRejected for each error thrown in any plugin.
+ *
+ * It implements standard Promise API.
+ *
+ * ```js
+ * postcss([autoprefixer]).process(css).then(result => {
+ * console.log(result.css)
+ * }).catch(error => {
+ * console.error(error)
+ * })
+ * ```
+ */
+ catch: Promise>['catch']
+
+ /**
+ * Processes input CSS through synchronous and asynchronous plugins
+ * and calls onFinally on any error or when all plugins will finish work.
+ *
+ * It implements standard Promise API.
+ *
+ * ```js
+ * postcss([autoprefixer]).process(css).finally(() => {
+ * console.log('processing ended')
+ * })
+ * ```
+ */
+ finally: Promise>['finally']
+
+ /**
+ * Processes input CSS through synchronous and asynchronous plugins
+ * and calls `onFulfilled` with a Result instance. If a plugin throws
+ * an error, the `onRejected` callback will be executed.
+ *
+ * It implements standard Promise API.
+ *
+ * ```js
+ * postcss([autoprefixer]).process(css, { from: cssPath }).then(result => {
+ * console.log(result.css)
+ * })
+ * ```
+ */
+ then: Promise>['then']
+
+ /**
+ * @param processor Processor used for this transformation.
+ * @param css CSS to parse and transform.
+ * @param opts Options from the `Processor#process` or `Root#toResult`.
+ */
+ constructor(processor: Processor, css: string, opts: ResultOptions)
+
+ /**
+ * Run plugin in async way and return `Result`.
+ *
+ * @return Result with output content.
+ */
+ async(): Promise>
+
+ /**
+ * Run plugin in sync way and return `Result`.
+ *
+ * @return Result with output content.
+ */
+ sync(): Result
+
+ /**
+ * Alias for the `LazyResult#css` property.
+ *
+ * ```js
+ * lazy + '' === lazy.css
+ * ```
+ *
+ * @return Output CSS.
+ */
+ toString(): string
+
+ /**
+ * Processes input CSS through synchronous plugins
+ * and calls `Result#warnings`.
+ *
+ * @return Warnings from plugins.
+ */
+ warnings(): Warning[]
+
+ /**
+ * An alias for the `css` property. Use it with syntaxes
+ * that generate non-CSS output.
+ *
+ * This property will only work with synchronous plugins.
+ * If the processor contains any asynchronous plugins
+ * it will throw an error.
+ *
+ * PostCSS runners should always use `LazyResult#then`.
+ */
+ get content(): string
+
+ /**
+ * Processes input CSS through synchronous plugins, converts `Root`
+ * to a CSS string and returns `Result#css`.
+ *
+ * This property will only work with synchronous plugins.
+ * If the processor contains any asynchronous plugins
+ * it will throw an error.
+ *
+ * PostCSS runners should always use `LazyResult#then`.
+ */
+ get css(): string
+
+ /**
+ * Processes input CSS through synchronous plugins
+ * and returns `Result#map`.
+ *
+ * This property will only work with synchronous plugins.
+ * If the processor contains any asynchronous plugins
+ * it will throw an error.
+ *
+ * PostCSS runners should always use `LazyResult#then`.
+ */
+ get map(): SourceMap
+
+ /**
+ * Processes input CSS through synchronous plugins
+ * and returns `Result#messages`.
+ *
+ * This property will only work with synchronous plugins. If the processor
+ * contains any asynchronous plugins it will throw an error.
+ *
+ * PostCSS runners should always use `LazyResult#then`.
+ */
+ get messages(): Message[]
+
+ /**
+ * Options from the `Processor#process` call.
+ */
+ get opts(): ResultOptions
+
+ /**
+ * Returns a `Processor` instance, which will be used
+ * for CSS transformations.
+ */
+ get processor(): Processor
+
+ /**
+ * Processes input CSS through synchronous plugins
+ * and returns `Result#root`.
+ *
+ * This property will only work with synchronous plugins. If the processor
+ * contains any asynchronous plugins it will throw an error.
+ *
+ * PostCSS runners should always use `LazyResult#then`.
+ */
+ get root(): RootNode
+
+ /**
+ * Returns the default string description of an object.
+ * Required to implement the Promise interface.
+ */
+ get [Symbol.toStringTag](): string
+}
+
+declare class LazyResult<
+ RootNode = Document | Root
+> extends LazyResult_ {}
+
+export = LazyResult
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/lazy-result.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/lazy-result.js"
index c5378bb782b4b6a53395cf1f4a00b6cbcf1415be..126f40c7e9d7a1f131e2d75b68aeab6c93ee9673 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/lazy-result.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/lazy-result.js"
@@ -1,3 +1,550 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:02290ebfa7d264dd2f771b6be477dcb38fafafc3aff3f2cd2d1bbac39bfd5aa6
-size 13562
+'use strict'
+
+let { isClean, my } = require('./symbols')
+let MapGenerator = require('./map-generator')
+let stringify = require('./stringify')
+let Container = require('./container')
+let Document = require('./document')
+let warnOnce = require('./warn-once')
+let Result = require('./result')
+let parse = require('./parse')
+let Root = require('./root')
+
+const TYPE_TO_CLASS_NAME = {
+ atrule: 'AtRule',
+ comment: 'Comment',
+ decl: 'Declaration',
+ document: 'Document',
+ root: 'Root',
+ rule: 'Rule'
+}
+
+const PLUGIN_PROPS = {
+ AtRule: true,
+ AtRuleExit: true,
+ Comment: true,
+ CommentExit: true,
+ Declaration: true,
+ DeclarationExit: true,
+ Document: true,
+ DocumentExit: true,
+ Once: true,
+ OnceExit: true,
+ postcssPlugin: true,
+ prepare: true,
+ Root: true,
+ RootExit: true,
+ Rule: true,
+ RuleExit: true
+}
+
+const NOT_VISITORS = {
+ Once: true,
+ postcssPlugin: true,
+ prepare: true
+}
+
+const CHILDREN = 0
+
+function isPromise(obj) {
+ return typeof obj === 'object' && typeof obj.then === 'function'
+}
+
+function getEvents(node) {
+ let key = false
+ let type = TYPE_TO_CLASS_NAME[node.type]
+ if (node.type === 'decl') {
+ key = node.prop.toLowerCase()
+ } else if (node.type === 'atrule') {
+ key = node.name.toLowerCase()
+ }
+
+ if (key && node.append) {
+ return [
+ type,
+ type + '-' + key,
+ CHILDREN,
+ type + 'Exit',
+ type + 'Exit-' + key
+ ]
+ } else if (key) {
+ return [type, type + '-' + key, type + 'Exit', type + 'Exit-' + key]
+ } else if (node.append) {
+ return [type, CHILDREN, type + 'Exit']
+ } else {
+ return [type, type + 'Exit']
+ }
+}
+
+function toStack(node) {
+ let events
+ if (node.type === 'document') {
+ events = ['Document', CHILDREN, 'DocumentExit']
+ } else if (node.type === 'root') {
+ events = ['Root', CHILDREN, 'RootExit']
+ } else {
+ events = getEvents(node)
+ }
+
+ return {
+ eventIndex: 0,
+ events,
+ iterator: 0,
+ node,
+ visitorIndex: 0,
+ visitors: []
+ }
+}
+
+function cleanMarks(node) {
+ node[isClean] = false
+ if (node.nodes) node.nodes.forEach(i => cleanMarks(i))
+ return node
+}
+
+let postcss = {}
+
+class LazyResult {
+ constructor(processor, css, opts) {
+ this.stringified = false
+ this.processed = false
+
+ let root
+ if (
+ typeof css === 'object' &&
+ css !== null &&
+ (css.type === 'root' || css.type === 'document')
+ ) {
+ root = cleanMarks(css)
+ } else if (css instanceof LazyResult || css instanceof Result) {
+ root = cleanMarks(css.root)
+ if (css.map) {
+ if (typeof opts.map === 'undefined') opts.map = {}
+ if (!opts.map.inline) opts.map.inline = false
+ opts.map.prev = css.map
+ }
+ } else {
+ let parser = parse
+ if (opts.syntax) parser = opts.syntax.parse
+ if (opts.parser) parser = opts.parser
+ if (parser.parse) parser = parser.parse
+
+ try {
+ root = parser(css, opts)
+ } catch (error) {
+ this.processed = true
+ this.error = error
+ }
+
+ if (root && !root[my]) {
+ /* c8 ignore next 2 */
+ Container.rebuild(root)
+ }
+ }
+
+ this.result = new Result(processor, root, opts)
+ this.helpers = { ...postcss, postcss, result: this.result }
+ this.plugins = this.processor.plugins.map(plugin => {
+ if (typeof plugin === 'object' && plugin.prepare) {
+ return { ...plugin, ...plugin.prepare(this.result) }
+ } else {
+ return plugin
+ }
+ })
+ }
+
+ async() {
+ if (this.error) return Promise.reject(this.error)
+ if (this.processed) return Promise.resolve(this.result)
+ if (!this.processing) {
+ this.processing = this.runAsync()
+ }
+ return this.processing
+ }
+
+ catch(onRejected) {
+ return this.async().catch(onRejected)
+ }
+
+ finally(onFinally) {
+ return this.async().then(onFinally, onFinally)
+ }
+
+ getAsyncError() {
+ throw new Error('Use process(css).then(cb) to work with async plugins')
+ }
+
+ handleError(error, node) {
+ let plugin = this.result.lastPlugin
+ try {
+ if (node) node.addToError(error)
+ this.error = error
+ if (error.name === 'CssSyntaxError' && !error.plugin) {
+ error.plugin = plugin.postcssPlugin
+ error.setMessage()
+ } else if (plugin.postcssVersion) {
+ if (process.env.NODE_ENV !== 'production') {
+ let pluginName = plugin.postcssPlugin
+ let pluginVer = plugin.postcssVersion
+ let runtimeVer = this.result.processor.version
+ let a = pluginVer.split('.')
+ let b = runtimeVer.split('.')
+
+ if (a[0] !== b[0] || parseInt(a[1]) > parseInt(b[1])) {
+ // eslint-disable-next-line no-console
+ console.error(
+ 'Unknown error from PostCSS plugin. Your current PostCSS ' +
+ 'version is ' +
+ runtimeVer +
+ ', but ' +
+ pluginName +
+ ' uses ' +
+ pluginVer +
+ '. Perhaps this is the source of the error below.'
+ )
+ }
+ }
+ }
+ } catch (err) {
+ /* c8 ignore next 3 */
+ // eslint-disable-next-line no-console
+ if (console && console.error) console.error(err)
+ }
+ return error
+ }
+
+ prepareVisitors() {
+ this.listeners = {}
+ let add = (plugin, type, cb) => {
+ if (!this.listeners[type]) this.listeners[type] = []
+ this.listeners[type].push([plugin, cb])
+ }
+ for (let plugin of this.plugins) {
+ if (typeof plugin === 'object') {
+ for (let event in plugin) {
+ if (!PLUGIN_PROPS[event] && /^[A-Z]/.test(event)) {
+ throw new Error(
+ `Unknown event ${event} in ${plugin.postcssPlugin}. ` +
+ `Try to update PostCSS (${this.processor.version} now).`
+ )
+ }
+ if (!NOT_VISITORS[event]) {
+ if (typeof plugin[event] === 'object') {
+ for (let filter in plugin[event]) {
+ if (filter === '*') {
+ add(plugin, event, plugin[event][filter])
+ } else {
+ add(
+ plugin,
+ event + '-' + filter.toLowerCase(),
+ plugin[event][filter]
+ )
+ }
+ }
+ } else if (typeof plugin[event] === 'function') {
+ add(plugin, event, plugin[event])
+ }
+ }
+ }
+ }
+ }
+ this.hasListener = Object.keys(this.listeners).length > 0
+ }
+
+ async runAsync() {
+ this.plugin = 0
+ for (let i = 0; i < this.plugins.length; i++) {
+ let plugin = this.plugins[i]
+ let promise = this.runOnRoot(plugin)
+ if (isPromise(promise)) {
+ try {
+ await promise
+ } catch (error) {
+ throw this.handleError(error)
+ }
+ }
+ }
+
+ this.prepareVisitors()
+ if (this.hasListener) {
+ let root = this.result.root
+ while (!root[isClean]) {
+ root[isClean] = true
+ let stack = [toStack(root)]
+ while (stack.length > 0) {
+ let promise = this.visitTick(stack)
+ if (isPromise(promise)) {
+ try {
+ await promise
+ } catch (e) {
+ let node = stack[stack.length - 1].node
+ throw this.handleError(e, node)
+ }
+ }
+ }
+ }
+
+ if (this.listeners.OnceExit) {
+ for (let [plugin, visitor] of this.listeners.OnceExit) {
+ this.result.lastPlugin = plugin
+ try {
+ if (root.type === 'document') {
+ let roots = root.nodes.map(subRoot =>
+ visitor(subRoot, this.helpers)
+ )
+
+ await Promise.all(roots)
+ } else {
+ await visitor(root, this.helpers)
+ }
+ } catch (e) {
+ throw this.handleError(e)
+ }
+ }
+ }
+ }
+
+ this.processed = true
+ return this.stringify()
+ }
+
+ runOnRoot(plugin) {
+ this.result.lastPlugin = plugin
+ try {
+ if (typeof plugin === 'object' && plugin.Once) {
+ if (this.result.root.type === 'document') {
+ let roots = this.result.root.nodes.map(root =>
+ plugin.Once(root, this.helpers)
+ )
+
+ if (isPromise(roots[0])) {
+ return Promise.all(roots)
+ }
+
+ return roots
+ }
+
+ return plugin.Once(this.result.root, this.helpers)
+ } else if (typeof plugin === 'function') {
+ return plugin(this.result.root, this.result)
+ }
+ } catch (error) {
+ throw this.handleError(error)
+ }
+ }
+
+ stringify() {
+ if (this.error) throw this.error
+ if (this.stringified) return this.result
+ this.stringified = true
+
+ this.sync()
+
+ let opts = this.result.opts
+ let str = stringify
+ if (opts.syntax) str = opts.syntax.stringify
+ if (opts.stringifier) str = opts.stringifier
+ if (str.stringify) str = str.stringify
+
+ let map = new MapGenerator(str, this.result.root, this.result.opts)
+ let data = map.generate()
+ this.result.css = data[0]
+ this.result.map = data[1]
+
+ return this.result
+ }
+
+ sync() {
+ if (this.error) throw this.error
+ if (this.processed) return this.result
+ this.processed = true
+
+ if (this.processing) {
+ throw this.getAsyncError()
+ }
+
+ for (let plugin of this.plugins) {
+ let promise = this.runOnRoot(plugin)
+ if (isPromise(promise)) {
+ throw this.getAsyncError()
+ }
+ }
+
+ this.prepareVisitors()
+ if (this.hasListener) {
+ let root = this.result.root
+ while (!root[isClean]) {
+ root[isClean] = true
+ this.walkSync(root)
+ }
+ if (this.listeners.OnceExit) {
+ if (root.type === 'document') {
+ for (let subRoot of root.nodes) {
+ this.visitSync(this.listeners.OnceExit, subRoot)
+ }
+ } else {
+ this.visitSync(this.listeners.OnceExit, root)
+ }
+ }
+ }
+
+ return this.result
+ }
+
+ then(onFulfilled, onRejected) {
+ if (process.env.NODE_ENV !== 'production') {
+ if (!('from' in this.opts)) {
+ warnOnce(
+ 'Without `from` option PostCSS could generate wrong source map ' +
+ 'and will not find Browserslist config. Set it to CSS file path ' +
+ 'or to `undefined` to prevent this warning.'
+ )
+ }
+ }
+ return this.async().then(onFulfilled, onRejected)
+ }
+
+ toString() {
+ return this.css
+ }
+
+ visitSync(visitors, node) {
+ for (let [plugin, visitor] of visitors) {
+ this.result.lastPlugin = plugin
+ let promise
+ try {
+ promise = visitor(node, this.helpers)
+ } catch (e) {
+ throw this.handleError(e, node.proxyOf)
+ }
+ if (node.type !== 'root' && node.type !== 'document' && !node.parent) {
+ return true
+ }
+ if (isPromise(promise)) {
+ throw this.getAsyncError()
+ }
+ }
+ }
+
+ visitTick(stack) {
+ let visit = stack[stack.length - 1]
+ let { node, visitors } = visit
+
+ if (node.type !== 'root' && node.type !== 'document' && !node.parent) {
+ stack.pop()
+ return
+ }
+
+ if (visitors.length > 0 && visit.visitorIndex < visitors.length) {
+ let [plugin, visitor] = visitors[visit.visitorIndex]
+ visit.visitorIndex += 1
+ if (visit.visitorIndex === visitors.length) {
+ visit.visitors = []
+ visit.visitorIndex = 0
+ }
+ this.result.lastPlugin = plugin
+ try {
+ return visitor(node.toProxy(), this.helpers)
+ } catch (e) {
+ throw this.handleError(e, node)
+ }
+ }
+
+ if (visit.iterator !== 0) {
+ let iterator = visit.iterator
+ let child
+ while ((child = node.nodes[node.indexes[iterator]])) {
+ node.indexes[iterator] += 1
+ if (!child[isClean]) {
+ child[isClean] = true
+ stack.push(toStack(child))
+ return
+ }
+ }
+ visit.iterator = 0
+ delete node.indexes[iterator]
+ }
+
+ let events = visit.events
+ while (visit.eventIndex < events.length) {
+ let event = events[visit.eventIndex]
+ visit.eventIndex += 1
+ if (event === CHILDREN) {
+ if (node.nodes && node.nodes.length) {
+ node[isClean] = true
+ visit.iterator = node.getIterator()
+ }
+ return
+ } else if (this.listeners[event]) {
+ visit.visitors = this.listeners[event]
+ return
+ }
+ }
+ stack.pop()
+ }
+
+ walkSync(node) {
+ node[isClean] = true
+ let events = getEvents(node)
+ for (let event of events) {
+ if (event === CHILDREN) {
+ if (node.nodes) {
+ node.each(child => {
+ if (!child[isClean]) this.walkSync(child)
+ })
+ }
+ } else {
+ let visitors = this.listeners[event]
+ if (visitors) {
+ if (this.visitSync(visitors, node.toProxy())) return
+ }
+ }
+ }
+ }
+
+ warnings() {
+ return this.sync().warnings()
+ }
+
+ get content() {
+ return this.stringify().content
+ }
+
+ get css() {
+ return this.stringify().css
+ }
+
+ get map() {
+ return this.stringify().map
+ }
+
+ get messages() {
+ return this.sync().messages
+ }
+
+ get opts() {
+ return this.result.opts
+ }
+
+ get processor() {
+ return this.result.processor
+ }
+
+ get root() {
+ return this.sync().root
+ }
+
+ get [Symbol.toStringTag]() {
+ return 'LazyResult'
+ }
+}
+
+LazyResult.registerPostcss = dependant => {
+ postcss = dependant
+}
+
+module.exports = LazyResult
+LazyResult.default = LazyResult
+
+Root.registerLazyResult(LazyResult)
+Document.registerLazyResult(LazyResult)
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/list.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/list.d.ts"
index ad80d250f95c7b0b012ec834215e1495f62e8d5c..1a74d74cf0ebf390f76141a210cfbf9f1be9c798 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/list.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/list.d.ts"
@@ -1,3 +1,57 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3d65182eff7bbb16de1a69e17651c51083f740af11a1a92359be6dab939e8bcf
-size 1453
+declare namespace list {
+ type List = {
+ /**
+ * Safely splits comma-separated values (such as those for `transition-*`
+ * and `background` properties).
+ *
+ * ```js
+ * Once (root, { list }) {
+ * list.comma('black, linear-gradient(white, black)')
+ * //=> ['black', 'linear-gradient(white, black)']
+ * }
+ * ```
+ *
+ * @param str Comma-separated values.
+ * @return Split values.
+ */
+ comma(str: string): string[]
+
+ default: List
+
+ /**
+ * Safely splits space-separated values (such as those for `background`,
+ * `border-radius`, and other shorthand properties).
+ *
+ * ```js
+ * Once (root, { list }) {
+ * list.space('1px calc(10% + 1px)') //=> ['1px', 'calc(10% + 1px)']
+ * }
+ * ```
+ *
+ * @param str Space-separated values.
+ * @return Split values.
+ */
+ space(str: string): string[]
+
+ /**
+ * Safely splits values.
+ *
+ * ```js
+ * Once (root, { list }) {
+ * list.split('1px calc(10% + 1px)', [' ', '\n', '\t']) //=> ['1px', 'calc(10% + 1px)']
+ * }
+ * ```
+ *
+ * @param string separated values.
+ * @param separators array of separators.
+ * @param last boolean indicator.
+ * @return Split values.
+ */
+ split(string: string, separators: string[], last: boolean): string[]
+ }
+}
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+declare const list: list.List
+
+export = list
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/list.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/list.js"
index 402d6222e63d0d04eaf4b228ce6c61bd96d5e1a1..1b31f9809f2cc41616cc9527e7f601d256e669f8 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/list.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/list.js"
@@ -1,3 +1,58 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6df35bac40d4c449ae8e9078776e5c17c529337830a01472761902a546032f52
-size 1227
+'use strict'
+
+let list = {
+ comma(string) {
+ return list.split(string, [','], true)
+ },
+
+ space(string) {
+ let spaces = [' ', '\n', '\t']
+ return list.split(string, spaces)
+ },
+
+ split(string, separators, last) {
+ let array = []
+ let current = ''
+ let split = false
+
+ let func = 0
+ let inQuote = false
+ let prevQuote = ''
+ let escape = false
+
+ for (let letter of string) {
+ if (escape) {
+ escape = false
+ } else if (letter === '\\') {
+ escape = true
+ } else if (inQuote) {
+ if (letter === prevQuote) {
+ inQuote = false
+ }
+ } else if (letter === '"' || letter === "'") {
+ inQuote = true
+ prevQuote = letter
+ } else if (letter === '(') {
+ func += 1
+ } else if (letter === ')') {
+ if (func > 0) func -= 1
+ } else if (func === 0) {
+ if (separators.includes(letter)) split = true
+ }
+
+ if (split) {
+ if (current !== '') array.push(current.trim())
+ current = ''
+ split = false
+ } else {
+ current += letter
+ }
+ }
+
+ if (last || current !== '') array.push(current.trim())
+ return array
+ }
+}
+
+module.exports = list
+list.default = list
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/map-generator.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/map-generator.js"
index bbf70a8cb6eb05f782cdc49be963aadad181690d..71b21caa2e067b00383cf68c5f15bd68dae7c88b 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/map-generator.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/map-generator.js"
@@ -1,3 +1,368 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:86073d40ea59f68a07a4a0e46c22e234736a128fbb924e38c9b79055a65079b2
-size 9725
+'use strict'
+
+let { SourceMapConsumer, SourceMapGenerator } = require('source-map-js')
+let { dirname, relative, resolve, sep } = require('path')
+let { pathToFileURL } = require('url')
+
+let Input = require('./input')
+
+let sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator)
+let pathAvailable = Boolean(dirname && resolve && relative && sep)
+
+class MapGenerator {
+ constructor(stringify, root, opts, cssString) {
+ this.stringify = stringify
+ this.mapOpts = opts.map || {}
+ this.root = root
+ this.opts = opts
+ this.css = cssString
+ this.originalCSS = cssString
+ this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute
+
+ this.memoizedFileURLs = new Map()
+ this.memoizedPaths = new Map()
+ this.memoizedURLs = new Map()
+ }
+
+ addAnnotation() {
+ let content
+
+ if (this.isInline()) {
+ content =
+ 'data:application/json;base64,' + this.toBase64(this.map.toString())
+ } else if (typeof this.mapOpts.annotation === 'string') {
+ content = this.mapOpts.annotation
+ } else if (typeof this.mapOpts.annotation === 'function') {
+ content = this.mapOpts.annotation(this.opts.to, this.root)
+ } else {
+ content = this.outputFile() + '.map'
+ }
+ let eol = '\n'
+ if (this.css.includes('\r\n')) eol = '\r\n'
+
+ this.css += eol + '/*# sourceMappingURL=' + content + ' */'
+ }
+
+ applyPrevMaps() {
+ for (let prev of this.previous()) {
+ let from = this.toUrl(this.path(prev.file))
+ let root = prev.root || dirname(prev.file)
+ let map
+
+ if (this.mapOpts.sourcesContent === false) {
+ map = new SourceMapConsumer(prev.text)
+ if (map.sourcesContent) {
+ map.sourcesContent = null
+ }
+ } else {
+ map = prev.consumer()
+ }
+
+ this.map.applySourceMap(map, from, this.toUrl(this.path(root)))
+ }
+ }
+
+ clearAnnotation() {
+ if (this.mapOpts.annotation === false) return
+
+ if (this.root) {
+ let node
+ for (let i = this.root.nodes.length - 1; i >= 0; i--) {
+ node = this.root.nodes[i]
+ if (node.type !== 'comment') continue
+ if (node.text.indexOf('# sourceMappingURL=') === 0) {
+ this.root.removeChild(i)
+ }
+ }
+ } else if (this.css) {
+ this.css = this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm, '')
+ }
+ }
+
+ generate() {
+ this.clearAnnotation()
+ if (pathAvailable && sourceMapAvailable && this.isMap()) {
+ return this.generateMap()
+ } else {
+ let result = ''
+ this.stringify(this.root, i => {
+ result += i
+ })
+ return [result]
+ }
+ }
+
+ generateMap() {
+ if (this.root) {
+ this.generateString()
+ } else if (this.previous().length === 1) {
+ let prev = this.previous()[0].consumer()
+ prev.file = this.outputFile()
+ this.map = SourceMapGenerator.fromSourceMap(prev, {
+ ignoreInvalidMapping: true
+ })
+ } else {
+ this.map = new SourceMapGenerator({
+ file: this.outputFile(),
+ ignoreInvalidMapping: true
+ })
+ this.map.addMapping({
+ generated: { column: 0, line: 1 },
+ original: { column: 0, line: 1 },
+ source: this.opts.from
+ ? this.toUrl(this.path(this.opts.from))
+ : ''
+ })
+ }
+
+ if (this.isSourcesContent()) this.setSourcesContent()
+ if (this.root && this.previous().length > 0) this.applyPrevMaps()
+ if (this.isAnnotation()) this.addAnnotation()
+
+ if (this.isInline()) {
+ return [this.css]
+ } else {
+ return [this.css, this.map]
+ }
+ }
+
+ generateString() {
+ this.css = ''
+ this.map = new SourceMapGenerator({
+ file: this.outputFile(),
+ ignoreInvalidMapping: true
+ })
+
+ let line = 1
+ let column = 1
+
+ let noSource = ''
+ let mapping = {
+ generated: { column: 0, line: 0 },
+ original: { column: 0, line: 0 },
+ source: ''
+ }
+
+ let lines, last
+ this.stringify(this.root, (str, node, type) => {
+ this.css += str
+
+ if (node && type !== 'end') {
+ mapping.generated.line = line
+ mapping.generated.column = column - 1
+ if (node.source && node.source.start) {
+ mapping.source = this.sourcePath(node)
+ mapping.original.line = node.source.start.line
+ mapping.original.column = node.source.start.column - 1
+ this.map.addMapping(mapping)
+ } else {
+ mapping.source = noSource
+ mapping.original.line = 1
+ mapping.original.column = 0
+ this.map.addMapping(mapping)
+ }
+ }
+
+ lines = str.match(/\n/g)
+ if (lines) {
+ line += lines.length
+ last = str.lastIndexOf('\n')
+ column = str.length - last
+ } else {
+ column += str.length
+ }
+
+ if (node && type !== 'start') {
+ let p = node.parent || { raws: {} }
+ let childless =
+ node.type === 'decl' || (node.type === 'atrule' && !node.nodes)
+ if (!childless || node !== p.last || p.raws.semicolon) {
+ if (node.source && node.source.end) {
+ mapping.source = this.sourcePath(node)
+ mapping.original.line = node.source.end.line
+ mapping.original.column = node.source.end.column - 1
+ mapping.generated.line = line
+ mapping.generated.column = column - 2
+ this.map.addMapping(mapping)
+ } else {
+ mapping.source = noSource
+ mapping.original.line = 1
+ mapping.original.column = 0
+ mapping.generated.line = line
+ mapping.generated.column = column - 1
+ this.map.addMapping(mapping)
+ }
+ }
+ }
+ })
+ }
+
+ isAnnotation() {
+ if (this.isInline()) {
+ return true
+ }
+ if (typeof this.mapOpts.annotation !== 'undefined') {
+ return this.mapOpts.annotation
+ }
+ if (this.previous().length) {
+ return this.previous().some(i => i.annotation)
+ }
+ return true
+ }
+
+ isInline() {
+ if (typeof this.mapOpts.inline !== 'undefined') {
+ return this.mapOpts.inline
+ }
+
+ let annotation = this.mapOpts.annotation
+ if (typeof annotation !== 'undefined' && annotation !== true) {
+ return false
+ }
+
+ if (this.previous().length) {
+ return this.previous().some(i => i.inline)
+ }
+ return true
+ }
+
+ isMap() {
+ if (typeof this.opts.map !== 'undefined') {
+ return !!this.opts.map
+ }
+ return this.previous().length > 0
+ }
+
+ isSourcesContent() {
+ if (typeof this.mapOpts.sourcesContent !== 'undefined') {
+ return this.mapOpts.sourcesContent
+ }
+ if (this.previous().length) {
+ return this.previous().some(i => i.withContent())
+ }
+ return true
+ }
+
+ outputFile() {
+ if (this.opts.to) {
+ return this.path(this.opts.to)
+ } else if (this.opts.from) {
+ return this.path(this.opts.from)
+ } else {
+ return 'to.css'
+ }
+ }
+
+ path(file) {
+ if (this.mapOpts.absolute) return file
+ if (file.charCodeAt(0) === 60 /* `<` */) return file
+ if (/^\w+:\/\//.test(file)) return file
+ let cached = this.memoizedPaths.get(file)
+ if (cached) return cached
+
+ let from = this.opts.to ? dirname(this.opts.to) : '.'
+
+ if (typeof this.mapOpts.annotation === 'string') {
+ from = dirname(resolve(from, this.mapOpts.annotation))
+ }
+
+ let path = relative(from, file)
+ this.memoizedPaths.set(file, path)
+
+ return path
+ }
+
+ previous() {
+ if (!this.previousMaps) {
+ this.previousMaps = []
+ if (this.root) {
+ this.root.walk(node => {
+ if (node.source && node.source.input.map) {
+ let map = node.source.input.map
+ if (!this.previousMaps.includes(map)) {
+ this.previousMaps.push(map)
+ }
+ }
+ })
+ } else {
+ let input = new Input(this.originalCSS, this.opts)
+ if (input.map) this.previousMaps.push(input.map)
+ }
+ }
+
+ return this.previousMaps
+ }
+
+ setSourcesContent() {
+ let already = {}
+ if (this.root) {
+ this.root.walk(node => {
+ if (node.source) {
+ let from = node.source.input.from
+ if (from && !already[from]) {
+ already[from] = true
+ let fromUrl = this.usesFileUrls
+ ? this.toFileUrl(from)
+ : this.toUrl(this.path(from))
+ this.map.setSourceContent(fromUrl, node.source.input.css)
+ }
+ }
+ })
+ } else if (this.css) {
+ let from = this.opts.from
+ ? this.toUrl(this.path(this.opts.from))
+ : ''
+ this.map.setSourceContent(from, this.css)
+ }
+ }
+
+ sourcePath(node) {
+ if (this.mapOpts.from) {
+ return this.toUrl(this.mapOpts.from)
+ } else if (this.usesFileUrls) {
+ return this.toFileUrl(node.source.input.from)
+ } else {
+ return this.toUrl(this.path(node.source.input.from))
+ }
+ }
+
+ toBase64(str) {
+ if (Buffer) {
+ return Buffer.from(str).toString('base64')
+ } else {
+ return window.btoa(unescape(encodeURIComponent(str)))
+ }
+ }
+
+ toFileUrl(path) {
+ let cached = this.memoizedFileURLs.get(path)
+ if (cached) return cached
+
+ if (pathToFileURL) {
+ let fileURL = pathToFileURL(path).toString()
+ this.memoizedFileURLs.set(path, fileURL)
+
+ return fileURL
+ } else {
+ throw new Error(
+ '`map.absolute` option is not available in this PostCSS build'
+ )
+ }
+ }
+
+ toUrl(path) {
+ let cached = this.memoizedURLs.get(path)
+ if (cached) return cached
+
+ if (sep === '\\') {
+ path = path.replace(/\\/g, '/')
+ }
+
+ let url = encodeURI(path).replace(/[#?]/g, encodeURIComponent)
+ this.memoizedURLs.set(path, url)
+
+ return url
+ }
+}
+
+module.exports = MapGenerator
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/no-work-result.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/no-work-result.d.ts"
index 50bbf66172b94c1075c5b75dbd1e7aa15e9322bd..803907654ee4e7bfb74a81fbc1e58bed0678fd43 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/no-work-result.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/no-work-result.d.ts"
@@ -1,3 +1,46 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c84fd54e8400def0d1ef1569cafd02e9f39a622df9fa69b57ccc82128856b916
-size 1573
+import LazyResult from './lazy-result.js'
+import { SourceMap } from './postcss.js'
+import Processor from './processor.js'
+import Result, { Message, ResultOptions } from './result.js'
+import Root from './root.js'
+import Warning from './warning.js'
+
+declare namespace NoWorkResult {
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { NoWorkResult_ as default }
+}
+
+/**
+ * A Promise proxy for the result of PostCSS transformations.
+ * This lazy result instance doesn't parse css unless `NoWorkResult#root` or `Result#root`
+ * are accessed. See the example below for details.
+ * A `NoWork` instance is returned by `Processor#process` ONLY when no plugins defined.
+ *
+ * ```js
+ * const noWorkResult = postcss().process(css) // No plugins are defined.
+ * // CSS is not parsed
+ * let root = noWorkResult.root // now css is parsed because we accessed the root
+ * ```
+ */
+declare class NoWorkResult_ implements LazyResult {
+ catch: Promise>['catch']
+ finally: Promise>['finally']
+ then: Promise>['then']
+ constructor(processor: Processor, css: string, opts: ResultOptions)
+ async(): Promise>
+ sync(): Result
+ toString(): string
+ warnings(): Warning[]
+ get content(): string
+ get css(): string
+ get map(): SourceMap
+ get messages(): Message[]
+ get opts(): ResultOptions
+ get processor(): Processor
+ get root(): Root
+ get [Symbol.toStringTag](): string
+}
+
+declare class NoWorkResult extends NoWorkResult_ {}
+
+export = NoWorkResult
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/no-work-result.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/no-work-result.js"
index 95a5c1aafd6be8bd42fc1b3aad4037f08c3a6bab..05821b7a318c04b787b62441872b2680681aea4f 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/no-work-result.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/no-work-result.js"
@@ -1,3 +1,138 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0455e9bf283e7c5e6efe34f64a948d483316522f83744582715c3b1443f7ced7
-size 2624
+'use strict'
+
+let MapGenerator = require('./map-generator')
+let stringify = require('./stringify')
+let warnOnce = require('./warn-once')
+let parse = require('./parse')
+const Result = require('./result')
+
+class NoWorkResult {
+ constructor(processor, css, opts) {
+ css = css.toString()
+ this.stringified = false
+
+ this._processor = processor
+ this._css = css
+ this._opts = opts
+ this._map = undefined
+ let root
+
+ let str = stringify
+ this.result = new Result(this._processor, root, this._opts)
+ this.result.css = css
+
+ let self = this
+ Object.defineProperty(this.result, 'root', {
+ get() {
+ return self.root
+ }
+ })
+
+ let map = new MapGenerator(str, root, this._opts, css)
+ if (map.isMap()) {
+ let [generatedCSS, generatedMap] = map.generate()
+ if (generatedCSS) {
+ this.result.css = generatedCSS
+ }
+ if (generatedMap) {
+ this.result.map = generatedMap
+ }
+ } else {
+ map.clearAnnotation()
+ this.result.css = map.css
+ }
+ }
+
+ async() {
+ if (this.error) return Promise.reject(this.error)
+ return Promise.resolve(this.result)
+ }
+
+ catch(onRejected) {
+ return this.async().catch(onRejected)
+ }
+
+ finally(onFinally) {
+ return this.async().then(onFinally, onFinally)
+ }
+
+ sync() {
+ if (this.error) throw this.error
+ return this.result
+ }
+
+ then(onFulfilled, onRejected) {
+ if (process.env.NODE_ENV !== 'production') {
+ if (!('from' in this._opts)) {
+ warnOnce(
+ 'Without `from` option PostCSS could generate wrong source map ' +
+ 'and will not find Browserslist config. Set it to CSS file path ' +
+ 'or to `undefined` to prevent this warning.'
+ )
+ }
+ }
+
+ return this.async().then(onFulfilled, onRejected)
+ }
+
+ toString() {
+ return this._css
+ }
+
+ warnings() {
+ return []
+ }
+
+ get content() {
+ return this.result.css
+ }
+
+ get css() {
+ return this.result.css
+ }
+
+ get map() {
+ return this.result.map
+ }
+
+ get messages() {
+ return []
+ }
+
+ get opts() {
+ return this.result.opts
+ }
+
+ get processor() {
+ return this.result.processor
+ }
+
+ get root() {
+ if (this._root) {
+ return this._root
+ }
+
+ let root
+ let parser = parse
+
+ try {
+ root = parser(this._css, this._opts)
+ } catch (error) {
+ this.error = error
+ }
+
+ if (this.error) {
+ throw this.error
+ } else {
+ this._root = root
+ return root
+ }
+ }
+
+ get [Symbol.toStringTag]() {
+ return 'NoWorkResult'
+ }
+}
+
+module.exports = NoWorkResult
+NoWorkResult.default = NoWorkResult
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/node.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/node.d.ts"
index 5d5fb6d5c71d0ab09fdefe9baca2a0fa99326ea0..59716564517b7bf17c3b477fd3ce7b554ff841b3 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/node.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/node.d.ts"
@@ -1,3 +1,536 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:96aed8ec4d342ec6ac69f0dcdfb064fd17b10cb13825580451c2cebbd556e965
-size 13874
+import AtRule = require('./at-rule.js')
+
+import { AtRuleProps } from './at-rule.js'
+import Comment, { CommentProps } from './comment.js'
+import Container from './container.js'
+import CssSyntaxError from './css-syntax-error.js'
+import Declaration, { DeclarationProps } from './declaration.js'
+import Document from './document.js'
+import Input from './input.js'
+import { Stringifier, Syntax } from './postcss.js'
+import Result from './result.js'
+import Root from './root.js'
+import Rule, { RuleProps } from './rule.js'
+import Warning, { WarningOptions } from './warning.js'
+
+declare namespace Node {
+ export type ChildNode = AtRule.default | Comment | Declaration | Rule
+
+ export type AnyNode =
+ | AtRule.default
+ | Comment
+ | Declaration
+ | Document
+ | Root
+ | Rule
+
+ export type ChildProps =
+ | AtRuleProps
+ | CommentProps
+ | DeclarationProps
+ | RuleProps
+
+ export interface Position {
+ /**
+ * Source line in file. In contrast to `offset` it starts from 1.
+ */
+ column: number
+
+ /**
+ * Source column in file.
+ */
+ line: number
+
+ /**
+ * Source offset in file. It starts from 0.
+ */
+ offset: number
+ }
+
+ export interface Range {
+ /**
+ * End position, exclusive.
+ */
+ end: Position
+
+ /**
+ * Start position, inclusive.
+ */
+ start: Position
+ }
+
+ /**
+ * Source represents an interface for the {@link Node.source} property.
+ */
+ export interface Source {
+ /**
+ * The inclusive ending position for the source
+ * code of a node.
+ */
+ end?: Position
+
+ /**
+ * The source file from where a node has originated.
+ */
+ input: Input
+
+ /**
+ * The inclusive starting position for the source
+ * code of a node.
+ */
+ start?: Position
+ }
+
+ /**
+ * Interface represents an interface for an object received
+ * as parameter by Node class constructor.
+ */
+ export interface NodeProps {
+ source?: Source
+ }
+
+ export interface NodeErrorOptions {
+ /**
+ * An ending index inside a node's string that should be highlighted as
+ * source of error.
+ */
+ endIndex?: number
+ /**
+ * An index inside a node's string that should be highlighted as source
+ * of error.
+ */
+ index?: number
+ /**
+ * Plugin name that created this error. PostCSS will set it automatically.
+ */
+ plugin?: string
+ /**
+ * A word inside a node's string, that should be highlighted as source
+ * of error.
+ */
+ word?: string
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-shadow
+ class Node extends Node_ {}
+ export { Node as default }
+}
+
+/**
+ * It represents an abstract class that handles common
+ * methods for other CSS abstract syntax tree nodes.
+ *
+ * Any node that represents CSS selector or value should
+ * not extend the `Node` class.
+ */
+declare abstract class Node_ {
+ /**
+ * It represents parent of the current node.
+ *
+ * ```js
+ * root.nodes[0].parent === root //=> true
+ * ```
+ */
+ parent: Container | Document | undefined
+
+ /**
+ * It represents unnecessary whitespace and characters present
+ * in the css source code.
+ *
+ * Information to generate byte-to-byte equal node string as it was
+ * in the origin input.
+ *
+ * The properties of the raws object are decided by parser,
+ * the default parser uses the following properties:
+ *
+ * * `before`: the space symbols before the node. It also stores `*`
+ * and `_` symbols before the declaration (IE hack).
+ * * `after`: the space symbols after the last child of the node
+ * to the end of the node.
+ * * `between`: the symbols between the property and value
+ * for declarations, selector and `{` for rules, or last parameter
+ * and `{` for at-rules.
+ * * `semicolon`: contains true if the last child has
+ * an (optional) semicolon.
+ * * `afterName`: the space between the at-rule name and its parameters.
+ * * `left`: the space symbols between `/*` and the comment’s text.
+ * * `right`: the space symbols between the comment’s text
+ * and */.
+ * - `important`: the content of the important statement,
+ * if it is not just `!important`.
+ *
+ * PostCSS filters out the comments inside selectors, declaration values
+ * and at-rule parameters but it stores the origin content in raws.
+ *
+ * ```js
+ * const root = postcss.parse('a {\n color:black\n}')
+ * root.first.first.raws //=> { before: '\n ', between: ':' }
+ * ```
+ */
+ raws: any
+
+ /**
+ * It represents information related to origin of a node and is required
+ * for generating source maps.
+ *
+ * The nodes that are created manually using the public APIs
+ * provided by PostCSS will have `source` undefined and
+ * will be absent in the source map.
+ *
+ * For this reason, the plugin developer should consider
+ * duplicating nodes as the duplicate node will have the
+ * same source as the original node by default or assign
+ * source to a node created manually.
+ *
+ * ```js
+ * decl.source.input.from //=> '/home/ai/source.css'
+ * decl.source.start //=> { line: 10, column: 2 }
+ * decl.source.end //=> { line: 10, column: 12 }
+ * ```
+ *
+ * ```js
+ * // Incorrect method, source not specified!
+ * const prefixed = postcss.decl({
+ * prop: '-moz-' + decl.prop,
+ * value: decl.value
+ * })
+ *
+ * // Correct method, source is inherited when duplicating.
+ * const prefixed = decl.clone({
+ * prop: '-moz-' + decl.prop
+ * })
+ * ```
+ *
+ * ```js
+ * if (atrule.name === 'add-link') {
+ * const rule = postcss.rule({
+ * selector: 'a',
+ * source: atrule.source
+ * })
+ *
+ * atrule.parent.insertBefore(atrule, rule)
+ * }
+ * ```
+ */
+ source?: Node.Source
+
+ /**
+ * It represents type of a node in
+ * an abstract syntax tree.
+ *
+ * A type of node helps in identification of a node
+ * and perform operation based on it's type.
+ *
+ * ```js
+ * const declaration = new Declaration({
+ * prop: 'color',
+ * value: 'black'
+ * })
+ *
+ * declaration.type //=> 'decl'
+ * ```
+ */
+ type: string
+
+ constructor(defaults?: object)
+
+ /**
+ * Insert new node after current node to current node’s parent.
+ *
+ * Just alias for `node.parent.insertAfter(node, add)`.
+ *
+ * ```js
+ * decl.after('color: black')
+ * ```
+ *
+ * @param newNode New node.
+ * @return This node for methods chain.
+ */
+ after(newNode: Node | Node.ChildProps | Node[] | string | undefined): this
+
+ /**
+ * It assigns properties to an existing node instance.
+ *
+ * ```js
+ * decl.assign({ prop: 'word-wrap', value: 'break-word' })
+ * ```
+ *
+ * @param overrides New properties to override the node.
+ *
+ * @return `this` for method chaining.
+ */
+ assign(overrides: object): this
+
+ /**
+ * Insert new node before current node to current node’s parent.
+ *
+ * Just alias for `node.parent.insertBefore(node, add)`.
+ *
+ * ```js
+ * decl.before('content: ""')
+ * ```
+ *
+ * @param newNode New node.
+ * @return This node for methods chain.
+ */
+ before(newNode: Node | Node.ChildProps | Node[] | string | undefined): this
+
+ /**
+ * Clear the code style properties for the node and its children.
+ *
+ * ```js
+ * node.raws.before //=> ' '
+ * node.cleanRaws()
+ * node.raws.before //=> undefined
+ * ```
+ *
+ * @param keepBetween Keep the `raws.between` symbols.
+ */
+ cleanRaws(keepBetween?: boolean): void
+
+ /**
+ * It creates clone of an existing node, which includes all the properties
+ * and their values, that includes `raws` but not `type`.
+ *
+ * ```js
+ * decl.raws.before //=> "\n "
+ * const cloned = decl.clone({ prop: '-moz-' + decl.prop })
+ * cloned.raws.before //=> "\n "
+ * cloned.toString() //=> -moz-transform: scale(0)
+ * ```
+ *
+ * @param overrides New properties to override in the clone.
+ *
+ * @return Duplicate of the node instance.
+ */
+ clone(overrides?: object): Node
+
+ /**
+ * Shortcut to clone the node and insert the resulting cloned node
+ * after the current node.
+ *
+ * @param overrides New properties to override in the clone.
+ * @return New node.
+ */
+ cloneAfter(overrides?: object): Node
+
+ /**
+ * Shortcut to clone the node and insert the resulting cloned node
+ * before the current node.
+ *
+ * ```js
+ * decl.cloneBefore({ prop: '-moz-' + decl.prop })
+ * ```
+ *
+ * @param overrides Mew properties to override in the clone.
+ *
+ * @return New node
+ */
+ cloneBefore(overrides?: object): Node
+
+ /**
+ * It creates an instance of the class `CssSyntaxError` and parameters passed
+ * to this method are assigned to the error instance.
+ *
+ * The error instance will have description for the
+ * error, original position of the node in the
+ * source, showing line and column number.
+ *
+ * If any previous map is present, it would be used
+ * to get original position of the source.
+ *
+ * The Previous Map here is referred to the source map
+ * generated by previous compilation, example: Less,
+ * Stylus and Sass.
+ *
+ * This method returns the error instance instead of
+ * throwing it.
+ *
+ * ```js
+ * if (!variables[name]) {
+ * throw decl.error(`Unknown variable ${name}`, { word: name })
+ * // CssSyntaxError: postcss-vars:a.sass:4:3: Unknown variable $black
+ * // color: $black
+ * // a
+ * // ^
+ * // background: white
+ * }
+ * ```
+ *
+ * @param message Description for the error instance.
+ * @param options Options for the error instance.
+ *
+ * @return Error instance is returned.
+ */
+ error(message: string, options?: Node.NodeErrorOptions): CssSyntaxError
+
+ /**
+ * Returns the next child of the node’s parent.
+ * Returns `undefined` if the current node is the last child.
+ *
+ * ```js
+ * if (comment.text === 'delete next') {
+ * const next = comment.next()
+ * if (next) {
+ * next.remove()
+ * }
+ * }
+ * ```
+ *
+ * @return Next node.
+ */
+ next(): Node.ChildNode | undefined
+
+ /**
+ * Get the position for a word or an index inside the node.
+ *
+ * @param opts Options.
+ * @return Position.
+ */
+ positionBy(opts?: Pick): Node.Position
+
+ /**
+ * Convert string index to line/column.
+ *
+ * @param index The symbol number in the node’s string.
+ * @return Symbol position in file.
+ */
+ positionInside(index: number): Node.Position
+
+ /**
+ * Returns the previous child of the node’s parent.
+ * Returns `undefined` if the current node is the first child.
+ *
+ * ```js
+ * const annotation = decl.prev()
+ * if (annotation.type === 'comment') {
+ * readAnnotation(annotation.text)
+ * }
+ * ```
+ *
+ * @return Previous node.
+ */
+ prev(): Node.ChildNode | undefined
+
+ /**
+ * Get the range for a word or start and end index inside the node.
+ * The start index is inclusive; the end index is exclusive.
+ *
+ * @param opts Options.
+ * @return Range.
+ */
+ rangeBy(
+ opts?: Pick
+ ): Node.Range
+
+ /**
+ * Returns a `raws` value. If the node is missing
+ * the code style property (because the node was manually built or cloned),
+ * PostCSS will try to autodetect the code style property by looking
+ * at other nodes in the tree.
+ *
+ * ```js
+ * const root = postcss.parse('a { background: white }')
+ * root.nodes[0].append({ prop: 'color', value: 'black' })
+ * root.nodes[0].nodes[1].raws.before //=> undefined
+ * root.nodes[0].nodes[1].raw('before') //=> ' '
+ * ```
+ *
+ * @param prop Name of code style property.
+ * @param defaultType Name of default value, it can be missed
+ * if the value is the same as prop.
+ * @return {string} Code style value.
+ */
+ raw(prop: string, defaultType?: string): string
+
+ /**
+ * It removes the node from its parent and deletes its parent property.
+ *
+ * ```js
+ * if (decl.prop.match(/^-webkit-/)) {
+ * decl.remove()
+ * }
+ * ```
+ *
+ * @return `this` for method chaining.
+ */
+ remove(): this
+
+ /**
+ * Inserts node(s) before the current node and removes the current node.
+ *
+ * ```js
+ * AtRule: {
+ * mixin: atrule => {
+ * atrule.replaceWith(mixinRules[atrule.params])
+ * }
+ * }
+ * ```
+ *
+ * @param nodes Mode(s) to replace current one.
+ * @return Current node to methods chain.
+ */
+ replaceWith(
+ ...nodes: (
+ | Node.ChildNode
+ | Node.ChildNode[]
+ | Node.ChildProps
+ | Node.ChildProps[]
+ )[]
+ ): this
+
+ /**
+ * Finds the Root instance of the node’s tree.
+ *
+ * ```js
+ * root.nodes[0].nodes[0].root() === root
+ * ```
+ *
+ * @return Root parent.
+ */
+ root(): Root
+
+ /**
+ * Fix circular links on `JSON.stringify()`.
+ *
+ * @return Cleaned object.
+ */
+ toJSON(): object
+
+ /**
+ * It compiles the node to browser readable cascading style sheets string
+ * depending on it's type.
+ *
+ * ```js
+ * new Rule({ selector: 'a' }).toString() //=> "a {}"
+ * ```
+ *
+ * @param stringifier A syntax to use in string generation.
+ * @return CSS string of this node.
+ */
+ toString(stringifier?: Stringifier | Syntax): string
+
+ /**
+ * It is a wrapper for {@link Result#warn}, providing convenient
+ * way of generating warnings.
+ *
+ * ```js
+ * Declaration: {
+ * bad: (decl, { result }) => {
+ * decl.warn(result, 'Deprecated property: bad')
+ * }
+ * }
+ * ```
+ *
+ * @param result The `Result` instance that will receive the warning.
+ * @param message Description for the warning.
+ * @param options Options for the warning.
+ *
+ * @return `Warning` instance is returned
+ */
+ warn(result: Result, message: string, options?: WarningOptions): Warning
+}
+
+declare class Node extends Node_ {}
+
+export = Node
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/node.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/node.js"
index ce442de6b12476bf437e51db5bce8387d9527ca5..9e747ca7d40b5684895fb0d3c8a70fa8a75e6281 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/node.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/node.js"
@@ -1,3 +1,381 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e9c49adf52654d19cb4d3a0b367c56cc4b958b031499625a8146c717eff317ab
-size 8753
+'use strict'
+
+let { isClean, my } = require('./symbols')
+let CssSyntaxError = require('./css-syntax-error')
+let Stringifier = require('./stringifier')
+let stringify = require('./stringify')
+
+function cloneNode(obj, parent) {
+ let cloned = new obj.constructor()
+
+ for (let i in obj) {
+ if (!Object.prototype.hasOwnProperty.call(obj, i)) {
+ /* c8 ignore next 2 */
+ continue
+ }
+ if (i === 'proxyCache') continue
+ let value = obj[i]
+ let type = typeof value
+
+ if (i === 'parent' && type === 'object') {
+ if (parent) cloned[i] = parent
+ } else if (i === 'source') {
+ cloned[i] = value
+ } else if (Array.isArray(value)) {
+ cloned[i] = value.map(j => cloneNode(j, cloned))
+ } else {
+ if (type === 'object' && value !== null) value = cloneNode(value)
+ cloned[i] = value
+ }
+ }
+
+ return cloned
+}
+
+class Node {
+ constructor(defaults = {}) {
+ this.raws = {}
+ this[isClean] = false
+ this[my] = true
+
+ for (let name in defaults) {
+ if (name === 'nodes') {
+ this.nodes = []
+ for (let node of defaults[name]) {
+ if (typeof node.clone === 'function') {
+ this.append(node.clone())
+ } else {
+ this.append(node)
+ }
+ }
+ } else {
+ this[name] = defaults[name]
+ }
+ }
+ }
+
+ addToError(error) {
+ error.postcssNode = this
+ if (error.stack && this.source && /\n\s{4}at /.test(error.stack)) {
+ let s = this.source
+ error.stack = error.stack.replace(
+ /\n\s{4}at /,
+ `$&${s.input.from}:${s.start.line}:${s.start.column}$&`
+ )
+ }
+ return error
+ }
+
+ after(add) {
+ this.parent.insertAfter(this, add)
+ return this
+ }
+
+ assign(overrides = {}) {
+ for (let name in overrides) {
+ this[name] = overrides[name]
+ }
+ return this
+ }
+
+ before(add) {
+ this.parent.insertBefore(this, add)
+ return this
+ }
+
+ cleanRaws(keepBetween) {
+ delete this.raws.before
+ delete this.raws.after
+ if (!keepBetween) delete this.raws.between
+ }
+
+ clone(overrides = {}) {
+ let cloned = cloneNode(this)
+ for (let name in overrides) {
+ cloned[name] = overrides[name]
+ }
+ return cloned
+ }
+
+ cloneAfter(overrides = {}) {
+ let cloned = this.clone(overrides)
+ this.parent.insertAfter(this, cloned)
+ return cloned
+ }
+
+ cloneBefore(overrides = {}) {
+ let cloned = this.clone(overrides)
+ this.parent.insertBefore(this, cloned)
+ return cloned
+ }
+
+ error(message, opts = {}) {
+ if (this.source) {
+ let { end, start } = this.rangeBy(opts)
+ return this.source.input.error(
+ message,
+ { column: start.column, line: start.line },
+ { column: end.column, line: end.line },
+ opts
+ )
+ }
+ return new CssSyntaxError(message)
+ }
+
+ getProxyProcessor() {
+ return {
+ get(node, prop) {
+ if (prop === 'proxyOf') {
+ return node
+ } else if (prop === 'root') {
+ return () => node.root().toProxy()
+ } else {
+ return node[prop]
+ }
+ },
+
+ set(node, prop, value) {
+ if (node[prop] === value) return true
+ node[prop] = value
+ if (
+ prop === 'prop' ||
+ prop === 'value' ||
+ prop === 'name' ||
+ prop === 'params' ||
+ prop === 'important' ||
+ /* c8 ignore next */
+ prop === 'text'
+ ) {
+ node.markDirty()
+ }
+ return true
+ }
+ }
+ }
+
+ markDirty() {
+ if (this[isClean]) {
+ this[isClean] = false
+ let next = this
+ while ((next = next.parent)) {
+ next[isClean] = false
+ }
+ }
+ }
+
+ next() {
+ if (!this.parent) return undefined
+ let index = this.parent.index(this)
+ return this.parent.nodes[index + 1]
+ }
+
+ positionBy(opts, stringRepresentation) {
+ let pos = this.source.start
+ if (opts.index) {
+ pos = this.positionInside(opts.index, stringRepresentation)
+ } else if (opts.word) {
+ stringRepresentation = this.toString()
+ let index = stringRepresentation.indexOf(opts.word)
+ if (index !== -1) pos = this.positionInside(index, stringRepresentation)
+ }
+ return pos
+ }
+
+ positionInside(index, stringRepresentation) {
+ let string = stringRepresentation || this.toString()
+ let column = this.source.start.column
+ let line = this.source.start.line
+
+ for (let i = 0; i < index; i++) {
+ if (string[i] === '\n') {
+ column = 1
+ line += 1
+ } else {
+ column += 1
+ }
+ }
+
+ return { column, line }
+ }
+
+ prev() {
+ if (!this.parent) return undefined
+ let index = this.parent.index(this)
+ return this.parent.nodes[index - 1]
+ }
+
+ rangeBy(opts) {
+ let start = {
+ column: this.source.start.column,
+ line: this.source.start.line
+ }
+ let end = this.source.end
+ ? {
+ column: this.source.end.column + 1,
+ line: this.source.end.line
+ }
+ : {
+ column: start.column + 1,
+ line: start.line
+ }
+
+ if (opts.word) {
+ let stringRepresentation = this.toString()
+ let index = stringRepresentation.indexOf(opts.word)
+ if (index !== -1) {
+ start = this.positionInside(index, stringRepresentation)
+ end = this.positionInside(index + opts.word.length, stringRepresentation)
+ }
+ } else {
+ if (opts.start) {
+ start = {
+ column: opts.start.column,
+ line: opts.start.line
+ }
+ } else if (opts.index) {
+ start = this.positionInside(opts.index)
+ }
+
+ if (opts.end) {
+ end = {
+ column: opts.end.column,
+ line: opts.end.line
+ }
+ } else if (typeof opts.endIndex === 'number') {
+ end = this.positionInside(opts.endIndex)
+ } else if (opts.index) {
+ end = this.positionInside(opts.index + 1)
+ }
+ }
+
+ if (
+ end.line < start.line ||
+ (end.line === start.line && end.column <= start.column)
+ ) {
+ end = { column: start.column + 1, line: start.line }
+ }
+
+ return { end, start }
+ }
+
+ raw(prop, defaultType) {
+ let str = new Stringifier()
+ return str.raw(this, prop, defaultType)
+ }
+
+ remove() {
+ if (this.parent) {
+ this.parent.removeChild(this)
+ }
+ this.parent = undefined
+ return this
+ }
+
+ replaceWith(...nodes) {
+ if (this.parent) {
+ let bookmark = this
+ let foundSelf = false
+ for (let node of nodes) {
+ if (node === this) {
+ foundSelf = true
+ } else if (foundSelf) {
+ this.parent.insertAfter(bookmark, node)
+ bookmark = node
+ } else {
+ this.parent.insertBefore(bookmark, node)
+ }
+ }
+
+ if (!foundSelf) {
+ this.remove()
+ }
+ }
+
+ return this
+ }
+
+ root() {
+ let result = this
+ while (result.parent && result.parent.type !== 'document') {
+ result = result.parent
+ }
+ return result
+ }
+
+ toJSON(_, inputs) {
+ let fixed = {}
+ let emitInputs = inputs == null
+ inputs = inputs || new Map()
+ let inputsNextIndex = 0
+
+ for (let name in this) {
+ if (!Object.prototype.hasOwnProperty.call(this, name)) {
+ /* c8 ignore next 2 */
+ continue
+ }
+ if (name === 'parent' || name === 'proxyCache') continue
+ let value = this[name]
+
+ if (Array.isArray(value)) {
+ fixed[name] = value.map(i => {
+ if (typeof i === 'object' && i.toJSON) {
+ return i.toJSON(null, inputs)
+ } else {
+ return i
+ }
+ })
+ } else if (typeof value === 'object' && value.toJSON) {
+ fixed[name] = value.toJSON(null, inputs)
+ } else if (name === 'source') {
+ let inputId = inputs.get(value.input)
+ if (inputId == null) {
+ inputId = inputsNextIndex
+ inputs.set(value.input, inputsNextIndex)
+ inputsNextIndex++
+ }
+ fixed[name] = {
+ end: value.end,
+ inputId,
+ start: value.start
+ }
+ } else {
+ fixed[name] = value
+ }
+ }
+
+ if (emitInputs) {
+ fixed.inputs = [...inputs.keys()].map(input => input.toJSON())
+ }
+
+ return fixed
+ }
+
+ toProxy() {
+ if (!this.proxyCache) {
+ this.proxyCache = new Proxy(this, this.getProxyProcessor())
+ }
+ return this.proxyCache
+ }
+
+ toString(stringifier = stringify) {
+ if (stringifier.stringify) stringifier = stringifier.stringify
+ let result = ''
+ stringifier(this, i => {
+ result += i
+ })
+ return result
+ }
+
+ warn(result, text, opts) {
+ let data = { node: this }
+ for (let i in opts) data[i] = opts[i]
+ return result.warn(text, data)
+ }
+
+ get proxyOf() {
+ return this
+ }
+}
+
+module.exports = Node
+Node.default = Node
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parse.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parse.d.ts"
index e0b4f64fd45f501285e6728afba4cb61f4028f26..4c943a4d6279c8bb944b3f26004548bb9e4cb98e 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parse.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parse.d.ts"
@@ -1,3 +1,9 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:478a5d26690c755f4676cc491f34584f2b4ebf16751b90ef8c77916c3b995f0a
-size 135
+import { Parser } from './postcss.js'
+
+interface Parse extends Parser {
+ default: Parse
+}
+
+declare const parse: Parse
+
+export = parse
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parse.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parse.js"
index 3bb62b3eef660e0fb5382663d1183a95a9fc5429..971431f238b124ec071fd7b7fac973e1aac8ec3c 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parse.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parse.js"
@@ -1,3 +1,42 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:57968b21181210bda81c74b5b019c3f5562d696970f341622f80a67090ac09aa
-size 1147
+'use strict'
+
+let Container = require('./container')
+let Parser = require('./parser')
+let Input = require('./input')
+
+function parse(css, opts) {
+ let input = new Input(css, opts)
+ let parser = new Parser(input)
+ try {
+ parser.parse()
+ } catch (e) {
+ if (process.env.NODE_ENV !== 'production') {
+ if (e.name === 'CssSyntaxError' && opts && opts.from) {
+ if (/\.scss$/i.test(opts.from)) {
+ e.message +=
+ '\nYou tried to parse SCSS with ' +
+ 'the standard CSS parser; ' +
+ 'try again with the postcss-scss parser'
+ } else if (/\.sass/i.test(opts.from)) {
+ e.message +=
+ '\nYou tried to parse Sass with ' +
+ 'the standard CSS parser; ' +
+ 'try again with the postcss-sass parser'
+ } else if (/\.less$/i.test(opts.from)) {
+ e.message +=
+ '\nYou tried to parse Less with ' +
+ 'the standard CSS parser; ' +
+ 'try again with the postcss-less parser'
+ }
+ }
+ }
+ throw e
+ }
+
+ return parser.root
+}
+
+module.exports = parse
+parse.default = parse
+
+Container.registerParse(parse)
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parser.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parser.js"
index 45f1a67f6736023d635ec78741f1179b64cb1bd2..bc761dedaea4a0b3239a8af4648fda853c2fa332 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parser.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/parser.js"
@@ -1,3 +1,609 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1335b03c13109bd2503e83977105611ccdc5be9fe903471d79441b7b38cda492
-size 14725
+'use strict'
+
+let Declaration = require('./declaration')
+let tokenizer = require('./tokenize')
+let Comment = require('./comment')
+let AtRule = require('./at-rule')
+let Root = require('./root')
+let Rule = require('./rule')
+
+const SAFE_COMMENT_NEIGHBOR = {
+ empty: true,
+ space: true
+}
+
+function findLastWithPosition(tokens) {
+ for (let i = tokens.length - 1; i >= 0; i--) {
+ let token = tokens[i]
+ let pos = token[3] || token[2]
+ if (pos) return pos
+ }
+}
+
+class Parser {
+ constructor(input) {
+ this.input = input
+
+ this.root = new Root()
+ this.current = this.root
+ this.spaces = ''
+ this.semicolon = false
+
+ this.createTokenizer()
+ this.root.source = { input, start: { column: 1, line: 1, offset: 0 } }
+ }
+
+ atrule(token) {
+ let node = new AtRule()
+ node.name = token[1].slice(1)
+ if (node.name === '') {
+ this.unnamedAtrule(node, token)
+ }
+ this.init(node, token[2])
+
+ let type
+ let prev
+ let shift
+ let last = false
+ let open = false
+ let params = []
+ let brackets = []
+
+ while (!this.tokenizer.endOfFile()) {
+ token = this.tokenizer.nextToken()
+ type = token[0]
+
+ if (type === '(' || type === '[') {
+ brackets.push(type === '(' ? ')' : ']')
+ } else if (type === '{' && brackets.length > 0) {
+ brackets.push('}')
+ } else if (type === brackets[brackets.length - 1]) {
+ brackets.pop()
+ }
+
+ if (brackets.length === 0) {
+ if (type === ';') {
+ node.source.end = this.getPosition(token[2])
+ node.source.end.offset++
+ this.semicolon = true
+ break
+ } else if (type === '{') {
+ open = true
+ break
+ } else if (type === '}') {
+ if (params.length > 0) {
+ shift = params.length - 1
+ prev = params[shift]
+ while (prev && prev[0] === 'space') {
+ prev = params[--shift]
+ }
+ if (prev) {
+ node.source.end = this.getPosition(prev[3] || prev[2])
+ node.source.end.offset++
+ }
+ }
+ this.end(token)
+ break
+ } else {
+ params.push(token)
+ }
+ } else {
+ params.push(token)
+ }
+
+ if (this.tokenizer.endOfFile()) {
+ last = true
+ break
+ }
+ }
+
+ node.raws.between = this.spacesAndCommentsFromEnd(params)
+ if (params.length) {
+ node.raws.afterName = this.spacesAndCommentsFromStart(params)
+ this.raw(node, 'params', params)
+ if (last) {
+ token = params[params.length - 1]
+ node.source.end = this.getPosition(token[3] || token[2])
+ node.source.end.offset++
+ this.spaces = node.raws.between
+ node.raws.between = ''
+ }
+ } else {
+ node.raws.afterName = ''
+ node.params = ''
+ }
+
+ if (open) {
+ node.nodes = []
+ this.current = node
+ }
+ }
+
+ checkMissedSemicolon(tokens) {
+ let colon = this.colon(tokens)
+ if (colon === false) return
+
+ let founded = 0
+ let token
+ for (let j = colon - 1; j >= 0; j--) {
+ token = tokens[j]
+ if (token[0] !== 'space') {
+ founded += 1
+ if (founded === 2) break
+ }
+ }
+ // If the token is a word, e.g. `!important`, `red` or any other valid property's value.
+ // Then we need to return the colon after that word token. [3] is the "end" colon of that word.
+ // And because we need it after that one we do +1 to get the next one.
+ throw this.input.error(
+ 'Missed semicolon',
+ token[0] === 'word' ? token[3] + 1 : token[2]
+ )
+ }
+
+ colon(tokens) {
+ let brackets = 0
+ let token, type, prev
+ for (let [i, element] of tokens.entries()) {
+ token = element
+ type = token[0]
+
+ if (type === '(') {
+ brackets += 1
+ }
+ if (type === ')') {
+ brackets -= 1
+ }
+ if (brackets === 0 && type === ':') {
+ if (!prev) {
+ this.doubleColon(token)
+ } else if (prev[0] === 'word' && prev[1] === 'progid') {
+ continue
+ } else {
+ return i
+ }
+ }
+
+ prev = token
+ }
+ return false
+ }
+
+ comment(token) {
+ let node = new Comment()
+ this.init(node, token[2])
+ node.source.end = this.getPosition(token[3] || token[2])
+ node.source.end.offset++
+
+ let text = token[1].slice(2, -2)
+ if (/^\s*$/.test(text)) {
+ node.text = ''
+ node.raws.left = text
+ node.raws.right = ''
+ } else {
+ let match = text.match(/^(\s*)([^]*\S)(\s*)$/)
+ node.text = match[2]
+ node.raws.left = match[1]
+ node.raws.right = match[3]
+ }
+ }
+
+ createTokenizer() {
+ this.tokenizer = tokenizer(this.input)
+ }
+
+ decl(tokens, customProperty) {
+ let node = new Declaration()
+ this.init(node, tokens[0][2])
+
+ let last = tokens[tokens.length - 1]
+ if (last[0] === ';') {
+ this.semicolon = true
+ tokens.pop()
+ }
+
+ node.source.end = this.getPosition(
+ last[3] || last[2] || findLastWithPosition(tokens)
+ )
+ node.source.end.offset++
+
+ while (tokens[0][0] !== 'word') {
+ if (tokens.length === 1) this.unknownWord(tokens)
+ node.raws.before += tokens.shift()[1]
+ }
+ node.source.start = this.getPosition(tokens[0][2])
+
+ node.prop = ''
+ while (tokens.length) {
+ let type = tokens[0][0]
+ if (type === ':' || type === 'space' || type === 'comment') {
+ break
+ }
+ node.prop += tokens.shift()[1]
+ }
+
+ node.raws.between = ''
+
+ let token
+ while (tokens.length) {
+ token = tokens.shift()
+
+ if (token[0] === ':') {
+ node.raws.between += token[1]
+ break
+ } else {
+ if (token[0] === 'word' && /\w/.test(token[1])) {
+ this.unknownWord([token])
+ }
+ node.raws.between += token[1]
+ }
+ }
+
+ if (node.prop[0] === '_' || node.prop[0] === '*') {
+ node.raws.before += node.prop[0]
+ node.prop = node.prop.slice(1)
+ }
+
+ let firstSpaces = []
+ let next
+ while (tokens.length) {
+ next = tokens[0][0]
+ if (next !== 'space' && next !== 'comment') break
+ firstSpaces.push(tokens.shift())
+ }
+
+ this.precheckMissedSemicolon(tokens)
+
+ for (let i = tokens.length - 1; i >= 0; i--) {
+ token = tokens[i]
+ if (token[1].toLowerCase() === '!important') {
+ node.important = true
+ let string = this.stringFrom(tokens, i)
+ string = this.spacesFromEnd(tokens) + string
+ if (string !== ' !important') node.raws.important = string
+ break
+ } else if (token[1].toLowerCase() === 'important') {
+ let cache = tokens.slice(0)
+ let str = ''
+ for (let j = i; j > 0; j--) {
+ let type = cache[j][0]
+ if (str.trim().indexOf('!') === 0 && type !== 'space') {
+ break
+ }
+ str = cache.pop()[1] + str
+ }
+ if (str.trim().indexOf('!') === 0) {
+ node.important = true
+ node.raws.important = str
+ tokens = cache
+ }
+ }
+
+ if (token[0] !== 'space' && token[0] !== 'comment') {
+ break
+ }
+ }
+
+ let hasWord = tokens.some(i => i[0] !== 'space' && i[0] !== 'comment')
+
+ if (hasWord) {
+ node.raws.between += firstSpaces.map(i => i[1]).join('')
+ firstSpaces = []
+ }
+ this.raw(node, 'value', firstSpaces.concat(tokens), customProperty)
+
+ if (node.value.includes(':') && !customProperty) {
+ this.checkMissedSemicolon(tokens)
+ }
+ }
+
+ doubleColon(token) {
+ throw this.input.error(
+ 'Double colon',
+ { offset: token[2] },
+ { offset: token[2] + token[1].length }
+ )
+ }
+
+ emptyRule(token) {
+ let node = new Rule()
+ this.init(node, token[2])
+ node.selector = ''
+ node.raws.between = ''
+ this.current = node
+ }
+
+ end(token) {
+ if (this.current.nodes && this.current.nodes.length) {
+ this.current.raws.semicolon = this.semicolon
+ }
+ this.semicolon = false
+
+ this.current.raws.after = (this.current.raws.after || '') + this.spaces
+ this.spaces = ''
+
+ if (this.current.parent) {
+ this.current.source.end = this.getPosition(token[2])
+ this.current.source.end.offset++
+ this.current = this.current.parent
+ } else {
+ this.unexpectedClose(token)
+ }
+ }
+
+ endFile() {
+ if (this.current.parent) this.unclosedBlock()
+ if (this.current.nodes && this.current.nodes.length) {
+ this.current.raws.semicolon = this.semicolon
+ }
+ this.current.raws.after = (this.current.raws.after || '') + this.spaces
+ this.root.source.end = this.getPosition(this.tokenizer.position())
+ }
+
+ freeSemicolon(token) {
+ this.spaces += token[1]
+ if (this.current.nodes) {
+ let prev = this.current.nodes[this.current.nodes.length - 1]
+ if (prev && prev.type === 'rule' && !prev.raws.ownSemicolon) {
+ prev.raws.ownSemicolon = this.spaces
+ this.spaces = ''
+ }
+ }
+ }
+
+ // Helpers
+
+ getPosition(offset) {
+ let pos = this.input.fromOffset(offset)
+ return {
+ column: pos.col,
+ line: pos.line,
+ offset
+ }
+ }
+
+ init(node, offset) {
+ this.current.push(node)
+ node.source = {
+ input: this.input,
+ start: this.getPosition(offset)
+ }
+ node.raws.before = this.spaces
+ this.spaces = ''
+ if (node.type !== 'comment') this.semicolon = false
+ }
+
+ other(start) {
+ let end = false
+ let type = null
+ let colon = false
+ let bracket = null
+ let brackets = []
+ let customProperty = start[1].startsWith('--')
+
+ let tokens = []
+ let token = start
+ while (token) {
+ type = token[0]
+ tokens.push(token)
+
+ if (type === '(' || type === '[') {
+ if (!bracket) bracket = token
+ brackets.push(type === '(' ? ')' : ']')
+ } else if (customProperty && colon && type === '{') {
+ if (!bracket) bracket = token
+ brackets.push('}')
+ } else if (brackets.length === 0) {
+ if (type === ';') {
+ if (colon) {
+ this.decl(tokens, customProperty)
+ return
+ } else {
+ break
+ }
+ } else if (type === '{') {
+ this.rule(tokens)
+ return
+ } else if (type === '}') {
+ this.tokenizer.back(tokens.pop())
+ end = true
+ break
+ } else if (type === ':') {
+ colon = true
+ }
+ } else if (type === brackets[brackets.length - 1]) {
+ brackets.pop()
+ if (brackets.length === 0) bracket = null
+ }
+
+ token = this.tokenizer.nextToken()
+ }
+
+ if (this.tokenizer.endOfFile()) end = true
+ if (brackets.length > 0) this.unclosedBracket(bracket)
+
+ if (end && colon) {
+ if (!customProperty) {
+ while (tokens.length) {
+ token = tokens[tokens.length - 1][0]
+ if (token !== 'space' && token !== 'comment') break
+ this.tokenizer.back(tokens.pop())
+ }
+ }
+ this.decl(tokens, customProperty)
+ } else {
+ this.unknownWord(tokens)
+ }
+ }
+
+ parse() {
+ let token
+ while (!this.tokenizer.endOfFile()) {
+ token = this.tokenizer.nextToken()
+
+ switch (token[0]) {
+ case 'space':
+ this.spaces += token[1]
+ break
+
+ case ';':
+ this.freeSemicolon(token)
+ break
+
+ case '}':
+ this.end(token)
+ break
+
+ case 'comment':
+ this.comment(token)
+ break
+
+ case 'at-word':
+ this.atrule(token)
+ break
+
+ case '{':
+ this.emptyRule(token)
+ break
+
+ default:
+ this.other(token)
+ break
+ }
+ }
+ this.endFile()
+ }
+
+ precheckMissedSemicolon(/* tokens */) {
+ // Hook for Safe Parser
+ }
+
+ raw(node, prop, tokens, customProperty) {
+ let token, type
+ let length = tokens.length
+ let value = ''
+ let clean = true
+ let next, prev
+
+ for (let i = 0; i < length; i += 1) {
+ token = tokens[i]
+ type = token[0]
+ if (type === 'space' && i === length - 1 && !customProperty) {
+ clean = false
+ } else if (type === 'comment') {
+ prev = tokens[i - 1] ? tokens[i - 1][0] : 'empty'
+ next = tokens[i + 1] ? tokens[i + 1][0] : 'empty'
+ if (!SAFE_COMMENT_NEIGHBOR[prev] && !SAFE_COMMENT_NEIGHBOR[next]) {
+ if (value.slice(-1) === ',') {
+ clean = false
+ } else {
+ value += token[1]
+ }
+ } else {
+ clean = false
+ }
+ } else {
+ value += token[1]
+ }
+ }
+ if (!clean) {
+ let raw = tokens.reduce((all, i) => all + i[1], '')
+ node.raws[prop] = { raw, value }
+ }
+ node[prop] = value
+ }
+
+ rule(tokens) {
+ tokens.pop()
+
+ let node = new Rule()
+ this.init(node, tokens[0][2])
+
+ node.raws.between = this.spacesAndCommentsFromEnd(tokens)
+ this.raw(node, 'selector', tokens)
+ this.current = node
+ }
+
+ spacesAndCommentsFromEnd(tokens) {
+ let lastTokenType
+ let spaces = ''
+ while (tokens.length) {
+ lastTokenType = tokens[tokens.length - 1][0]
+ if (lastTokenType !== 'space' && lastTokenType !== 'comment') break
+ spaces = tokens.pop()[1] + spaces
+ }
+ return spaces
+ }
+
+ // Errors
+
+ spacesAndCommentsFromStart(tokens) {
+ let next
+ let spaces = ''
+ while (tokens.length) {
+ next = tokens[0][0]
+ if (next !== 'space' && next !== 'comment') break
+ spaces += tokens.shift()[1]
+ }
+ return spaces
+ }
+
+ spacesFromEnd(tokens) {
+ let lastTokenType
+ let spaces = ''
+ while (tokens.length) {
+ lastTokenType = tokens[tokens.length - 1][0]
+ if (lastTokenType !== 'space') break
+ spaces = tokens.pop()[1] + spaces
+ }
+ return spaces
+ }
+
+ stringFrom(tokens, from) {
+ let result = ''
+ for (let i = from; i < tokens.length; i++) {
+ result += tokens[i][1]
+ }
+ tokens.splice(from, tokens.length - from)
+ return result
+ }
+
+ unclosedBlock() {
+ let pos = this.current.source.start
+ throw this.input.error('Unclosed block', pos.line, pos.column)
+ }
+
+ unclosedBracket(bracket) {
+ throw this.input.error(
+ 'Unclosed bracket',
+ { offset: bracket[2] },
+ { offset: bracket[2] + 1 }
+ )
+ }
+
+ unexpectedClose(token) {
+ throw this.input.error(
+ 'Unexpected }',
+ { offset: token[2] },
+ { offset: token[2] + 1 }
+ )
+ }
+
+ unknownWord(tokens) {
+ throw this.input.error(
+ 'Unknown word',
+ { offset: tokens[0][2] },
+ { offset: tokens[0][2] + tokens[0][1].length }
+ )
+ }
+
+ unnamedAtrule(node, token) {
+ throw this.input.error(
+ 'At-rule without name',
+ { offset: token[2] },
+ { offset: token[2] + token[1].length }
+ )
+ }
+}
+
+module.exports = Parser
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.d.mts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.d.mts"
index e29d991ab9ed18471155e8c1966fcd67daa868da..a8ca8c7a1882a5f6f52aef08e957cdea144efc39 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.d.mts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.d.mts"
@@ -1,3 +1,72 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:77926a706478940016e826b162f95f8e4077b1ad3184b2592dc03bd8b33e0384
-size 1053
+export {
+ // postcss function / namespace
+ default,
+
+ // Value exports from postcss.mjs
+ stringify,
+ fromJSON,
+ // @ts-expect-error This value exists, but it’s untyped.
+ plugin,
+ parse,
+ list,
+
+ document,
+ comment,
+ atRule,
+ rule,
+ decl,
+ root,
+
+ CssSyntaxError,
+ Declaration,
+ Container,
+ Processor,
+ Document,
+ Comment,
+ Warning,
+ AtRule,
+ Result,
+ Input,
+ Rule,
+ Root,
+ Node,
+
+ // Type-only exports
+ AcceptedPlugin,
+ AnyNode,
+ AtRuleProps,
+ Builder,
+ ChildNode,
+ ChildProps,
+ CommentProps,
+ ContainerProps,
+ DeclarationProps,
+ DocumentProps,
+ FilePosition,
+ Helpers,
+ JSONHydrator,
+ Message,
+ NodeErrorOptions,
+ NodeProps,
+ OldPlugin,
+ Parser,
+ Plugin,
+ PluginCreator,
+ Position,
+ Postcss,
+ ProcessOptions,
+ RootProps,
+ RuleProps,
+ Source,
+ SourceMap,
+ SourceMapOptions,
+ Stringifier,
+ Syntax,
+ TransformCallback,
+ Transformer,
+ WarningOptions,
+
+ // This is a class, but it’s not re-exported. That’s why it’s exported as type-only here.
+ type LazyResult,
+
+} from './postcss.js'
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.d.ts"
index 2283b596f6aa2ac85721613a3091264a73bc34e9..49af61c394e5edb4e7ed67bc8b77a629b688eb9f 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.d.ts"
@@ -1,3 +1,441 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:670ddaf1f1b881abaa1cc28236430d86b691affbeaefd66b3ee1db31fdfb8dba
-size 11255
+import { RawSourceMap, SourceMapGenerator } from 'source-map-js'
+
+import AtRule, { AtRuleProps } from './at-rule.js'
+import Comment, { CommentProps } from './comment.js'
+import Container, { ContainerProps } from './container.js'
+import CssSyntaxError from './css-syntax-error.js'
+import Declaration, { DeclarationProps } from './declaration.js'
+import Document, { DocumentProps } from './document.js'
+import Input, { FilePosition } from './input.js'
+import LazyResult from './lazy-result.js'
+import list from './list.js'
+import Node, {
+ AnyNode,
+ ChildNode,
+ ChildProps,
+ NodeErrorOptions,
+ NodeProps,
+ Position,
+ Source
+} from './node.js'
+import Processor from './processor.js'
+import Result, { Message } from './result.js'
+import Root, { RootProps } from './root.js'
+import Rule, { RuleProps } from './rule.js'
+import Warning, { WarningOptions } from './warning.js'
+
+type DocumentProcessor = (
+ document: Document,
+ helper: postcss.Helpers
+) => Promise | void
+type RootProcessor = (root: Root, helper: postcss.Helpers) => Promise | void
+type DeclarationProcessor = (
+ decl: Declaration,
+ helper: postcss.Helpers
+) => Promise | void
+type RuleProcessor = (rule: Rule, helper: postcss.Helpers) => Promise | void
+type AtRuleProcessor = (atRule: AtRule, helper: postcss.Helpers) => Promise | void
+type CommentProcessor = (
+ comment: Comment,
+ helper: postcss.Helpers
+) => Promise | void
+
+interface Processors {
+ /**
+ * Will be called on all`AtRule` nodes.
+ *
+ * Will be called again on node or children changes.
+ */
+ AtRule?: { [name: string]: AtRuleProcessor } | AtRuleProcessor
+
+ /**
+ * Will be called on all `AtRule` nodes, when all children will be processed.
+ *
+ * Will be called again on node or children changes.
+ */
+ AtRuleExit?: { [name: string]: AtRuleProcessor } | AtRuleProcessor
+
+ /**
+ * Will be called on all `Comment` nodes.
+ *
+ * Will be called again on node or children changes.
+ */
+ Comment?: CommentProcessor
+
+ /**
+ * Will be called on all `Comment` nodes after listeners
+ * for `Comment` event.
+ *
+ * Will be called again on node or children changes.
+ */
+ CommentExit?: CommentProcessor
+
+ /**
+ * Will be called on all `Declaration` nodes after listeners
+ * for `Declaration` event.
+ *
+ * Will be called again on node or children changes.
+ */
+ Declaration?: { [prop: string]: DeclarationProcessor } | DeclarationProcessor
+
+ /**
+ * Will be called on all `Declaration` nodes.
+ *
+ * Will be called again on node or children changes.
+ */
+ DeclarationExit?:
+ | { [prop: string]: DeclarationProcessor }
+ | DeclarationProcessor
+
+ /**
+ * Will be called on `Document` node.
+ *
+ * Will be called again on children changes.
+ */
+ Document?: DocumentProcessor
+
+ /**
+ * Will be called on `Document` node, when all children will be processed.
+ *
+ * Will be called again on children changes.
+ */
+ DocumentExit?: DocumentProcessor
+
+ /**
+ * Will be called on `Root` node once.
+ */
+ Once?: RootProcessor
+
+ /**
+ * Will be called on `Root` node once, when all children will be processed.
+ */
+ OnceExit?: RootProcessor
+
+ /**
+ * Will be called on `Root` node.
+ *
+ * Will be called again on children changes.
+ */
+ Root?: RootProcessor
+
+ /**
+ * Will be called on `Root` node, when all children will be processed.
+ *
+ * Will be called again on children changes.
+ */
+ RootExit?: RootProcessor
+
+ /**
+ * Will be called on all `Rule` nodes.
+ *
+ * Will be called again on node or children changes.
+ */
+ Rule?: RuleProcessor
+
+ /**
+ * Will be called on all `Rule` nodes, when all children will be processed.
+ *
+ * Will be called again on node or children changes.
+ */
+ RuleExit?: RuleProcessor
+}
+
+declare namespace postcss {
+ export {
+ AnyNode,
+ AtRule,
+ AtRuleProps,
+ ChildNode,
+ ChildProps,
+ Comment,
+ CommentProps,
+ Container,
+ ContainerProps,
+ CssSyntaxError,
+ Declaration,
+ DeclarationProps,
+ Document,
+ DocumentProps,
+ FilePosition,
+ Input,
+ LazyResult,
+ list,
+ Message,
+ Node,
+ NodeErrorOptions,
+ NodeProps,
+ Position,
+ Processor,
+ Result,
+ Root,
+ RootProps,
+ Rule,
+ RuleProps,
+ Source,
+ Warning,
+ WarningOptions
+ }
+
+ export type SourceMap = SourceMapGenerator & {
+ toJSON(): RawSourceMap
+ }
+
+ export type Helpers = { postcss: Postcss; result: Result } & Postcss
+
+ export interface Plugin extends Processors {
+ postcssPlugin: string
+ prepare?: (result: Result) => Processors
+ }
+
+ export interface PluginCreator {
+ (opts?: PluginOptions): Plugin | Processor
+ postcss: true
+ }
+
+ export interface Transformer extends TransformCallback {
+ postcssPlugin: string
+ postcssVersion: string
+ }
+
+ export interface TransformCallback {
+ (root: Root, result: Result): Promise | void
+ }
+
+ export interface OldPlugin extends Transformer {
+ (opts?: T): Transformer
+ postcss: Transformer
+ }
+
+ export type AcceptedPlugin =
+ | {
+ postcss: Processor | TransformCallback
+ }
+ | OldPlugin
+ | Plugin
+ | PluginCreator
+ | Processor
+ | TransformCallback
+
+ export interface Parser {
+ (
+ css: { toString(): string } | string,
+ opts?: Pick
+ ): RootNode
+ }
+
+ export interface Builder {
+ (part: string, node?: AnyNode, type?: 'end' | 'start'): void
+ }
+
+ export interface Stringifier {
+ (node: AnyNode, builder: Builder): void
+ }
+
+ export interface JSONHydrator {
+ (data: object): Node
+ (data: object[]): Node[]
+ }
+
+ export interface Syntax {
+ /**
+ * Function to generate AST by string.
+ */
+ parse?: Parser
+
+ /**
+ * Class to generate string by AST.
+ */
+ stringify?: Stringifier
+ }
+
+ export interface SourceMapOptions {
+ /**
+ * Use absolute path in generated source map.
+ */
+ absolute?: boolean
+
+ /**
+ * Indicates that PostCSS should add annotation comments to the CSS.
+ * By default, PostCSS will always add a comment with a path
+ * to the source map. PostCSS will not add annotations to CSS files
+ * that do not contain any comments.
+ *
+ * By default, PostCSS presumes that you want to save the source map as
+ * `opts.to + '.map'` and will use this path in the annotation comment.
+ * A different path can be set by providing a string value for annotation.
+ *
+ * If you have set `inline: true`, annotation cannot be disabled.
+ */
+ annotation?: ((file: string, root: Root) => string) | boolean | string
+
+ /**
+ * Override `from` in map’s sources.
+ */
+ from?: string
+
+ /**
+ * Indicates that the source map should be embedded in the output CSS
+ * as a Base64-encoded comment. By default, it is `true`.
+ * But if all previous maps are external, not inline, PostCSS will not embed
+ * the map even if you do not set this option.
+ *
+ * If you have an inline source map, the result.map property will be empty,
+ * as the source map will be contained within the text of `result.css`.
+ */
+ inline?: boolean
+
+ /**
+ * Source map content from a previous processing step (e.g., Sass).
+ *
+ * PostCSS will try to read the previous source map
+ * automatically (based on comments within the source CSS), but you can use
+ * this option to identify it manually.
+ *
+ * If desired, you can omit the previous map with prev: `false`.
+ */
+ prev?: ((file: string) => string) | boolean | object | string
+
+ /**
+ * Indicates that PostCSS should set the origin content (e.g., Sass source)
+ * of the source map. By default, it is true. But if all previous maps do not
+ * contain sources content, PostCSS will also leave it out even if you
+ * do not set this option.
+ */
+ sourcesContent?: boolean
+ }
+
+ export interface ProcessOptions {
+ /**
+ * The path of the CSS source file. You should always set `from`,
+ * because it is used in source map generation and syntax error messages.
+ */
+ from?: string | undefined
+
+ /**
+ * Source map options
+ */
+ map?: boolean | SourceMapOptions
+
+ /**
+ * Function to generate AST by string.
+ */
+ parser?: Parser | Syntax
+
+ /**
+ * Class to generate string by AST.
+ */
+ stringifier?: Stringifier | Syntax
+
+ /**
+ * Object with parse and stringify.
+ */
+ syntax?: Syntax
+
+ /**
+ * The path where you'll put the output CSS file. You should always set `to`
+ * to generate correct source maps.
+ */
+ to?: string
+ }
+
+ export type Postcss = typeof postcss
+
+ /**
+ * Default function to convert a node tree into a CSS string.
+ */
+ export let stringify: Stringifier
+
+ /**
+ * Parses source css and returns a new `Root` or `Document` node,
+ * which contains the source CSS nodes.
+ *
+ * ```js
+ * // Simple CSS concatenation with source map support
+ * const root1 = postcss.parse(css1, { from: file1 })
+ * const root2 = postcss.parse(css2, { from: file2 })
+ * root1.append(root2).toResult().css
+ * ```
+ */
+ export let parse: Parser
+
+ /**
+ * Rehydrate a JSON AST (from `Node#toJSON`) back into the AST classes.
+ *
+ * ```js
+ * const json = root.toJSON()
+ * // save to file, send by network, etc
+ * const root2 = postcss.fromJSON(json)
+ * ```
+ */
+ export let fromJSON: JSONHydrator
+
+ /**
+ * Creates a new `Comment` node.
+ *
+ * @param defaults Properties for the new node.
+ * @return New comment node
+ */
+ export function comment(defaults?: CommentProps): Comment
+
+ /**
+ * Creates a new `AtRule` node.
+ *
+ * @param defaults Properties for the new node.
+ * @return New at-rule node.
+ */
+ export function atRule(defaults?: AtRuleProps): AtRule
+
+ /**
+ * Creates a new `Declaration` node.
+ *
+ * @param defaults Properties for the new node.
+ * @return New declaration node.
+ */
+ export function decl(defaults?: DeclarationProps): Declaration
+
+ /**
+ * Creates a new `Rule` node.
+ *
+ * @param default Properties for the new node.
+ * @return New rule node.
+ */
+ export function rule(defaults?: RuleProps): Rule
+
+ /**
+ * Creates a new `Root` node.
+ *
+ * @param defaults Properties for the new node.
+ * @return New root node.
+ */
+ export function root(defaults?: RootProps): Root
+
+ /**
+ * Creates a new `Document` node.
+ *
+ * @param defaults Properties for the new node.
+ * @return New document node.
+ */
+ export function document(defaults?: DocumentProps): Document
+
+ export { postcss as default }
+}
+
+/**
+ * Create a new `Processor` instance that will apply `plugins`
+ * as CSS processors.
+ *
+ * ```js
+ * let postcss = require('postcss')
+ *
+ * postcss(plugins).process(css, { from, to }).then(result => {
+ * console.log(result.css)
+ * })
+ * ```
+ *
+ * @param plugins PostCSS plugins.
+ * @return Processor to process multiple CSS.
+ */
+declare function postcss(plugins?: postcss.AcceptedPlugin[]): Processor
+declare function postcss(...plugins: postcss.AcceptedPlugin[]): Processor
+
+export = postcss
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.js"
index aa5cbdd35ef854054cd75b3b64c9e4f9d3a69cc0..080ee8378977d092c94f10c9e567dac78db78812 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.js"
@@ -1,3 +1,101 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:998c5e1e05d436b43814946784ec967547ab96422baaae167810607010b1ebc2
-size 2898
+'use strict'
+
+let CssSyntaxError = require('./css-syntax-error')
+let Declaration = require('./declaration')
+let LazyResult = require('./lazy-result')
+let Container = require('./container')
+let Processor = require('./processor')
+let stringify = require('./stringify')
+let fromJSON = require('./fromJSON')
+let Document = require('./document')
+let Warning = require('./warning')
+let Comment = require('./comment')
+let AtRule = require('./at-rule')
+let Result = require('./result.js')
+let Input = require('./input')
+let parse = require('./parse')
+let list = require('./list')
+let Rule = require('./rule')
+let Root = require('./root')
+let Node = require('./node')
+
+function postcss(...plugins) {
+ if (plugins.length === 1 && Array.isArray(plugins[0])) {
+ plugins = plugins[0]
+ }
+ return new Processor(plugins)
+}
+
+postcss.plugin = function plugin(name, initializer) {
+ let warningPrinted = false
+ function creator(...args) {
+ // eslint-disable-next-line no-console
+ if (console && console.warn && !warningPrinted) {
+ warningPrinted = true
+ // eslint-disable-next-line no-console
+ console.warn(
+ name +
+ ': postcss.plugin was deprecated. Migration guide:\n' +
+ 'https://evilmartians.com/chronicles/postcss-8-plugin-migration'
+ )
+ if (process.env.LANG && process.env.LANG.startsWith('cn')) {
+ /* c8 ignore next 7 */
+ // eslint-disable-next-line no-console
+ console.warn(
+ name +
+ ': 里� postcss.plugin 被弃用. �移指�:\n' +
+ 'https://www.w3ctech.com/topic/2226'
+ )
+ }
+ }
+ let transformer = initializer(...args)
+ transformer.postcssPlugin = name
+ transformer.postcssVersion = new Processor().version
+ return transformer
+ }
+
+ let cache
+ Object.defineProperty(creator, 'postcss', {
+ get() {
+ if (!cache) cache = creator()
+ return cache
+ }
+ })
+
+ creator.process = function (css, processOpts, pluginOpts) {
+ return postcss([creator(pluginOpts)]).process(css, processOpts)
+ }
+
+ return creator
+}
+
+postcss.stringify = stringify
+postcss.parse = parse
+postcss.fromJSON = fromJSON
+postcss.list = list
+
+postcss.comment = defaults => new Comment(defaults)
+postcss.atRule = defaults => new AtRule(defaults)
+postcss.decl = defaults => new Declaration(defaults)
+postcss.rule = defaults => new Rule(defaults)
+postcss.root = defaults => new Root(defaults)
+postcss.document = defaults => new Document(defaults)
+
+postcss.CssSyntaxError = CssSyntaxError
+postcss.Declaration = Declaration
+postcss.Container = Container
+postcss.Processor = Processor
+postcss.Document = Document
+postcss.Comment = Comment
+postcss.Warning = Warning
+postcss.AtRule = AtRule
+postcss.Result = Result
+postcss.Input = Input
+postcss.Rule = Rule
+postcss.Root = Root
+postcss.Node = Node
+
+LazyResult.registerPostcss(postcss)
+
+module.exports = postcss
+postcss.default = postcss
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.mjs" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.mjs"
index 7ae3ec11be3337869819e1033ce9a18bb29750a1..35075988c69c7316f5d64361fc65795e1e5e6c68 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.mjs"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/postcss.mjs"
@@ -1,3 +1,30 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:986ebc2d661a3e93b6e026dd2e1925e18167efdcc963f4043a65e1859974664f
-size 980
+import postcss from './postcss.js'
+
+export default postcss
+
+export const stringify = postcss.stringify
+export const fromJSON = postcss.fromJSON
+export const plugin = postcss.plugin
+export const parse = postcss.parse
+export const list = postcss.list
+
+export const document = postcss.document
+export const comment = postcss.comment
+export const atRule = postcss.atRule
+export const rule = postcss.rule
+export const decl = postcss.decl
+export const root = postcss.root
+
+export const CssSyntaxError = postcss.CssSyntaxError
+export const Declaration = postcss.Declaration
+export const Container = postcss.Container
+export const Processor = postcss.Processor
+export const Document = postcss.Document
+export const Comment = postcss.Comment
+export const Warning = postcss.Warning
+export const AtRule = postcss.AtRule
+export const Result = postcss.Result
+export const Input = postcss.Input
+export const Rule = postcss.Rule
+export const Root = postcss.Root
+export const Node = postcss.Node
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/previous-map.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/previous-map.d.ts"
index c46e8b0f6ef93d7430d6ad464957b4341fee9702..23edeb5c5efc6c0f328282bf4a3b5f338587b11a 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/previous-map.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/previous-map.d.ts"
@@ -1,3 +1,81 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2
-size 1827
+import { SourceMapConsumer } from 'source-map-js'
+
+import { ProcessOptions } from './postcss.js'
+
+declare namespace PreviousMap {
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { PreviousMap_ as default }
+}
+
+/**
+ * Source map information from input CSS.
+ * For example, source map after Sass compiler.
+ *
+ * This class will automatically find source map in input CSS or in file system
+ * near input file (according `from` option).
+ *
+ * ```js
+ * const root = parse(css, { from: 'a.sass.css' })
+ * root.input.map //=> PreviousMap
+ * ```
+ */
+declare class PreviousMap_ {
+ /**
+ * `sourceMappingURL` content.
+ */
+ annotation?: string
+
+ /**
+ * The CSS source identifier. Contains `Input#file` if the user
+ * set the `from` option, or `Input#id` if they did not.
+ */
+ file?: string
+
+ /**
+ * Was source map inlined by data-uri to input CSS.
+ */
+ inline: boolean
+
+ /**
+ * Path to source map file.
+ */
+ mapFile?: string
+
+ /**
+ * The directory with source map file, if source map is in separated file.
+ */
+ root?: string
+
+ /**
+ * Source map file content.
+ */
+ text?: string
+
+ /**
+ * @param css Input CSS source.
+ * @param opts Process options.
+ */
+ constructor(css: string, opts?: ProcessOptions)
+
+ /**
+ * Create a instance of `SourceMapGenerator` class
+ * from the `source-map` library to work with source map information.
+ *
+ * It is lazy method, so it will create object only on first call
+ * and then it will use cache.
+ *
+ * @return Object with source map information.
+ */
+ consumer(): SourceMapConsumer
+
+ /**
+ * Does source map contains `sourcesContent` with input source text.
+ *
+ * @return Is `sourcesContent` present.
+ */
+ withContent(): boolean
+}
+
+declare class PreviousMap extends PreviousMap_ {}
+
+export = PreviousMap
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/previous-map.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/previous-map.js"
index 4d0339664a15b266b7f39da279affd23bb620cbf..f3093dfb8e77e305a648ae72a8062cac759e81e9 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/previous-map.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/previous-map.js"
@@ -1,3 +1,142 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b3f2473a8cfe24301d41dbccefd7d3b6434fe22d6cf93e6807810160523cc538
-size 3923
+'use strict'
+
+let { SourceMapConsumer, SourceMapGenerator } = require('source-map-js')
+let { existsSync, readFileSync } = require('fs')
+let { dirname, join } = require('path')
+
+function fromBase64(str) {
+ if (Buffer) {
+ return Buffer.from(str, 'base64').toString()
+ } else {
+ /* c8 ignore next 2 */
+ return window.atob(str)
+ }
+}
+
+class PreviousMap {
+ constructor(css, opts) {
+ if (opts.map === false) return
+ this.loadAnnotation(css)
+ this.inline = this.startWith(this.annotation, 'data:')
+
+ let prev = opts.map ? opts.map.prev : undefined
+ let text = this.loadMap(opts.from, prev)
+ if (!this.mapFile && opts.from) {
+ this.mapFile = opts.from
+ }
+ if (this.mapFile) this.root = dirname(this.mapFile)
+ if (text) this.text = text
+ }
+
+ consumer() {
+ if (!this.consumerCache) {
+ this.consumerCache = new SourceMapConsumer(this.text)
+ }
+ return this.consumerCache
+ }
+
+ decodeInline(text) {
+ let baseCharsetUri = /^data:application\/json;charset=utf-?8;base64,/
+ let baseUri = /^data:application\/json;base64,/
+ let charsetUri = /^data:application\/json;charset=utf-?8,/
+ let uri = /^data:application\/json,/
+
+ if (charsetUri.test(text) || uri.test(text)) {
+ return decodeURIComponent(text.substr(RegExp.lastMatch.length))
+ }
+
+ if (baseCharsetUri.test(text) || baseUri.test(text)) {
+ return fromBase64(text.substr(RegExp.lastMatch.length))
+ }
+
+ let encoding = text.match(/data:application\/json;([^,]+),/)[1]
+ throw new Error('Unsupported source map encoding ' + encoding)
+ }
+
+ getAnnotationURL(sourceMapString) {
+ return sourceMapString.replace(/^\/\*\s*# sourceMappingURL=/, '').trim()
+ }
+
+ isMap(map) {
+ if (typeof map !== 'object') return false
+ return (
+ typeof map.mappings === 'string' ||
+ typeof map._mappings === 'string' ||
+ Array.isArray(map.sections)
+ )
+ }
+
+ loadAnnotation(css) {
+ let comments = css.match(/\/\*\s*# sourceMappingURL=/gm)
+ if (!comments) return
+
+ // sourceMappingURLs from comments, strings, etc.
+ let start = css.lastIndexOf(comments.pop())
+ let end = css.indexOf('*/', start)
+
+ if (start > -1 && end > -1) {
+ // Locate the last sourceMappingURL to avoid pickin
+ this.annotation = this.getAnnotationURL(css.substring(start, end))
+ }
+ }
+
+ loadFile(path) {
+ this.root = dirname(path)
+ if (existsSync(path)) {
+ this.mapFile = path
+ return readFileSync(path, 'utf-8').toString().trim()
+ }
+ }
+
+ loadMap(file, prev) {
+ if (prev === false) return false
+
+ if (prev) {
+ if (typeof prev === 'string') {
+ return prev
+ } else if (typeof prev === 'function') {
+ let prevPath = prev(file)
+ if (prevPath) {
+ let map = this.loadFile(prevPath)
+ if (!map) {
+ throw new Error(
+ 'Unable to load previous source map: ' + prevPath.toString()
+ )
+ }
+ return map
+ }
+ } else if (prev instanceof SourceMapConsumer) {
+ return SourceMapGenerator.fromSourceMap(prev).toString()
+ } else if (prev instanceof SourceMapGenerator) {
+ return prev.toString()
+ } else if (this.isMap(prev)) {
+ return JSON.stringify(prev)
+ } else {
+ throw new Error(
+ 'Unsupported previous source map format: ' + prev.toString()
+ )
+ }
+ } else if (this.inline) {
+ return this.decodeInline(this.annotation)
+ } else if (this.annotation) {
+ let map = this.annotation
+ if (file) map = join(dirname(file), map)
+ return this.loadFile(map)
+ }
+ }
+
+ startWith(string, start) {
+ if (!string) return false
+ return string.substr(0, start.length) === start
+ }
+
+ withContent() {
+ return !!(
+ this.consumer().sourcesContent &&
+ this.consumer().sourcesContent.length > 0
+ )
+ }
+}
+
+module.exports = PreviousMap
+PreviousMap.default = PreviousMap
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/processor.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/processor.d.ts"
index bd3eef36a0fc44b942cb14b1bca3649511a9bdc0..50c9a07d3f502e22aaffb6df3bfd4f8f70e607e3 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/processor.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/processor.d.ts"
@@ -1,3 +1,115 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c7a38c1ef8d6ae4bf252be67bd9a8b012b2cdea65bd6225a3d1a726c4f0d52b6
-size 3406
+import Document from './document.js'
+import LazyResult from './lazy-result.js'
+import NoWorkResult from './no-work-result.js'
+import {
+ AcceptedPlugin,
+ Plugin,
+ ProcessOptions,
+ TransformCallback,
+ Transformer
+} from './postcss.js'
+import Result from './result.js'
+import Root from './root.js'
+
+declare namespace Processor {
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { Processor_ as default }
+}
+
+/**
+ * Contains plugins to process CSS. Create one `Processor` instance,
+ * initialize its plugins, and then use that instance on numerous CSS files.
+ *
+ * ```js
+ * const processor = postcss([autoprefixer, postcssNested])
+ * processor.process(css1).then(result => console.log(result.css))
+ * processor.process(css2).then(result => console.log(result.css))
+ * ```
+ */
+declare class Processor_ {
+ /**
+ * Plugins added to this processor.
+ *
+ * ```js
+ * const processor = postcss([autoprefixer, postcssNested])
+ * processor.plugins.length //=> 2
+ * ```
+ */
+ plugins: (Plugin | TransformCallback | Transformer)[]
+
+ /**
+ * Current PostCSS version.
+ *
+ * ```js
+ * if (result.processor.version.split('.')[0] !== '6') {
+ * throw new Error('This plugin works only with PostCSS 6')
+ * }
+ * ```
+ */
+ version: string
+
+ /**
+ * @param plugins PostCSS plugins
+ */
+ constructor(plugins?: AcceptedPlugin[])
+
+ /**
+ * Parses source CSS and returns a `LazyResult` Promise proxy.
+ * Because some plugins can be asynchronous it doesn’t make
+ * any transformations. Transformations will be applied
+ * in the `LazyResult` methods.
+ *
+ * ```js
+ * processor.process(css, { from: 'a.css', to: 'a.out.css' })
+ * .then(result => {
+ * console.log(result.css)
+ * })
+ * ```
+ *
+ * @param css String with input CSS or any object with a `toString()` method,
+ * like a Buffer. Optionally, send a `Result` instance
+ * and the processor will take the `Root` from it.
+ * @param opts Options.
+ * @return Promise proxy.
+ */
+ process(
+ css: { toString(): string } | LazyResult | Result | Root | string
+ ): LazyResult | NoWorkResult
+ process(
+ css: { toString(): string } | LazyResult | Result | Root | string,
+ options: ProcessOptions
+ ): LazyResult
+
+ /**
+ * Adds a plugin to be used as a CSS processor.
+ *
+ * PostCSS plugin can be in 4 formats:
+ * * A plugin in `Plugin` format.
+ * * A plugin creator function with `pluginCreator.postcss = true`.
+ * PostCSS will call this function without argument to get plugin.
+ * * A function. PostCSS will pass the function a {@link Root}
+ * as the first argument and current `Result` instance
+ * as the second.
+ * * Another `Processor` instance. PostCSS will copy plugins
+ * from that instance into this one.
+ *
+ * Plugins can also be added by passing them as arguments when creating
+ * a `postcss` instance (see [`postcss(plugins)`]).
+ *
+ * Asynchronous plugins should return a `Promise` instance.
+ *
+ * ```js
+ * const processor = postcss()
+ * .use(autoprefixer)
+ * .use(postcssNested)
+ * ```
+ *
+ * @param plugin PostCSS plugin or `Processor` with plugins.
+ * @return Current processor to make methods chain.
+ */
+ use(plugin: AcceptedPlugin): this
+}
+
+declare class Processor extends Processor_ {}
+
+export = Processor
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/processor.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/processor.js"
index ec8125f44db135971feb28f5516a352c27cc88d5..d8a16f4548b72128606edbfc8a2018e011c9ae3d 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/processor.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/processor.js"
@@ -1,3 +1,67 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f904d8d981dea7db0cecfb4c5432f5911c26ee32b794d7f2633c2eb452f3282c
-size 1739
+'use strict'
+
+let NoWorkResult = require('./no-work-result')
+let LazyResult = require('./lazy-result')
+let Document = require('./document')
+let Root = require('./root')
+
+class Processor {
+ constructor(plugins = []) {
+ this.version = '8.4.38'
+ this.plugins = this.normalize(plugins)
+ }
+
+ normalize(plugins) {
+ let normalized = []
+ for (let i of plugins) {
+ if (i.postcss === true) {
+ i = i()
+ } else if (i.postcss) {
+ i = i.postcss
+ }
+
+ if (typeof i === 'object' && Array.isArray(i.plugins)) {
+ normalized = normalized.concat(i.plugins)
+ } else if (typeof i === 'object' && i.postcssPlugin) {
+ normalized.push(i)
+ } else if (typeof i === 'function') {
+ normalized.push(i)
+ } else if (typeof i === 'object' && (i.parse || i.stringify)) {
+ if (process.env.NODE_ENV !== 'production') {
+ throw new Error(
+ 'PostCSS syntaxes cannot be used as plugins. Instead, please use ' +
+ 'one of the syntax/parser/stringifier options as outlined ' +
+ 'in your PostCSS runner documentation.'
+ )
+ }
+ } else {
+ throw new Error(i + ' is not a PostCSS plugin')
+ }
+ }
+ return normalized
+ }
+
+ process(css, opts = {}) {
+ if (
+ !this.plugins.length &&
+ !opts.parser &&
+ !opts.stringifier &&
+ !opts.syntax
+ ) {
+ return new NoWorkResult(this, css, opts)
+ } else {
+ return new LazyResult(this, css, opts)
+ }
+ }
+
+ use(plugin) {
+ this.plugins = this.plugins.concat(this.normalize([plugin]))
+ return this
+ }
+}
+
+module.exports = Processor
+Processor.default = Processor
+
+Root.registerProcessor(Processor)
+Document.registerProcessor(Processor)
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/result.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/result.d.ts"
index 8100d30c44a8f8fba4d759cfa6a35561986154ae..c3dcbdab132f245ebf8f88c83d39554302ae1d5a 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/result.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/result.d.ts"
@@ -1,3 +1,206 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e773630f8772a06e82d97046fc92da59ada8414c61689894fff0155dd08f102c
-size 4417
+import {
+ Document,
+ Node,
+ Plugin,
+ ProcessOptions,
+ Root,
+ SourceMap,
+ TransformCallback,
+ Warning,
+ WarningOptions
+} from './postcss.js'
+import Processor from './processor.js'
+
+declare namespace Result {
+ export interface Message {
+ [others: string]: any
+
+ /**
+ * Source PostCSS plugin name.
+ */
+ plugin?: string
+
+ /**
+ * Message type.
+ */
+ type: string
+ }
+
+ export interface ResultOptions extends ProcessOptions {
+ /**
+ * The CSS node that was the source of the warning.
+ */
+ node?: Node
+
+ /**
+ * Name of plugin that created this warning. `Result#warn` will fill it
+ * automatically with `Plugin#postcssPlugin` value.
+ */
+ plugin?: string
+ }
+
+
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { Result_ as default }
+}
+
+/**
+ * Provides the result of the PostCSS transformations.
+ *
+ * A Result instance is returned by `LazyResult#then`
+ * or `Root#toResult` methods.
+ *
+ * ```js
+ * postcss([autoprefixer]).process(css).then(result => {
+ * console.log(result.css)
+ * })
+ * ```
+ *
+ * ```js
+ * const result2 = postcss.parse(css).toResult()
+ * ```
+ */
+declare class Result_ {
+ /**
+ * A CSS string representing of `Result#root`.
+ *
+ * ```js
+ * postcss.parse('a{}').toResult().css //=> "a{}"
+ * ```
+ */
+ css: string
+
+ /**
+ * Last runned PostCSS plugin.
+ */
+ lastPlugin: Plugin | TransformCallback
+
+ /**
+ * An instance of `SourceMapGenerator` class from the `source-map` library,
+ * representing changes to the `Result#root` instance.
+ *
+ * ```js
+ * result.map.toJSON() //=> { version: 3, file: 'a.css', … }
+ * ```
+ *
+ * ```js
+ * if (result.map) {
+ * fs.writeFileSync(result.opts.to + '.map', result.map.toString())
+ * }
+ * ```
+ */
+ map: SourceMap
+
+ /**
+ * Contains messages from plugins (e.g., warnings or custom messages).
+ * Each message should have type and plugin properties.
+ *
+ * ```js
+ * AtRule: {
+ * import: (atRule, { result }) {
+ * const importedFile = parseImport(atRule)
+ * result.messages.push({
+ * type: 'dependency',
+ * plugin: 'postcss-import',
+ * file: importedFile,
+ * parent: result.opts.from
+ * })
+ * }
+ * }
+ * ```
+ */
+ messages: Result.Message[]
+
+ /**
+ * Options from the `Processor#process` or `Root#toResult` call
+ * that produced this Result instance.]
+ *
+ * ```js
+ * root.toResult(opts).opts === opts
+ * ```
+ */
+ opts: Result.ResultOptions
+
+ /**
+ * The Processor instance used for this transformation.
+ *
+ * ```js
+ * for (const plugin of result.processor.plugins) {
+ * if (plugin.postcssPlugin === 'postcss-bad') {
+ * throw 'postcss-good is incompatible with postcss-bad'
+ * }
+ * })
+ * ```
+ */
+ processor: Processor
+
+ /**
+ * Root node after all transformations.
+ *
+ * ```js
+ * root.toResult().root === root
+ * ```
+ */
+ root: RootNode
+
+ /**
+ * @param processor Processor used for this transformation.
+ * @param root Root node after all transformations.
+ * @param opts Options from the `Processor#process` or `Root#toResult`.
+ */
+ constructor(processor: Processor, root: RootNode, opts: Result.ResultOptions)
+
+ /**
+ * Returns for `Result#css` content.
+ *
+ * ```js
+ * result + '' === result.css
+ * ```
+ *
+ * @return String representing of `Result#root`.
+ */
+ toString(): string
+
+ /**
+ * Creates an instance of `Warning` and adds it to `Result#messages`.
+ *
+ * ```js
+ * if (decl.important) {
+ * result.warn('Avoid !important', { node: decl, word: '!important' })
+ * }
+ * ```
+ *
+ * @param text Warning message.
+ * @param opts Warning options.
+ * @return Created warning.
+ */
+ warn(message: string, options?: WarningOptions): Warning
+
+ /**
+ * Returns warnings from plugins. Filters `Warning` instances
+ * from `Result#messages`.
+ *
+ * ```js
+ * result.warnings().forEach(warn => {
+ * console.warn(warn.toString())
+ * })
+ * ```
+ *
+ * @return Warnings from plugins.
+ */
+ warnings(): Warning[]
+
+ /**
+ * An alias for the `Result#css` property.
+ * Use it with syntaxes that generate non-CSS output.
+ *
+ * ```js
+ * result.css === result.content
+ * ```
+ */
+ get content(): string
+}
+
+declare class Result extends Result_ {}
+
+export = Result
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/result.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/result.js"
index a5ad4d3c62dfaf1555d98886b08a07f553d5b63a..a39751de0989ac55ee54b0733a3acc75f59819f1 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/result.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/result.js"
@@ -1,3 +1,42 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7f2b27651b2fb5ac7f46adb6e6f928194b31af0c6b821225400d0ee762c94e0c
-size 745
+'use strict'
+
+let Warning = require('./warning')
+
+class Result {
+ constructor(processor, root, opts) {
+ this.processor = processor
+ this.messages = []
+ this.root = root
+ this.opts = opts
+ this.css = undefined
+ this.map = undefined
+ }
+
+ toString() {
+ return this.css
+ }
+
+ warn(text, opts = {}) {
+ if (!opts.plugin) {
+ if (this.lastPlugin && this.lastPlugin.postcssPlugin) {
+ opts.plugin = this.lastPlugin.postcssPlugin
+ }
+ }
+
+ let warning = new Warning(text, opts)
+ this.messages.push(warning)
+
+ return warning
+ }
+
+ warnings() {
+ return this.messages.filter(i => i.type === 'warning')
+ }
+
+ get content() {
+ return this.css
+ }
+}
+
+module.exports = Result
+Result.default = Result
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/root.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/root.d.ts"
index 42d4d416c1020e3914125bcb93ba018af094c47c..9046aacdf146dbb380feef3719319b0daf45656f 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/root.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/root.d.ts"
@@ -1,3 +1,87 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1d51250438f2071d2803053d9aec7973ef22dfffd80685a9ec5fb3fa082f4347
-size 2320
+import Container, { ContainerProps } from './container.js'
+import Document from './document.js'
+import { ProcessOptions } from './postcss.js'
+import Result from './result.js'
+
+declare namespace Root {
+ export interface RootRaws extends Record {
+ /**
+ * The space symbols after the last child to the end of file.
+ */
+ after?: string
+
+ /**
+ * Non-CSS code after `Root`, when `Root` is inside `Document`.
+ *
+ * **Experimental:** some aspects of this node could change within minor
+ * or patch version releases.
+ */
+ codeAfter?: string
+
+ /**
+ * Non-CSS code before `Root`, when `Root` is inside `Document`.
+ *
+ * **Experimental:** some aspects of this node could change within minor
+ * or patch version releases.
+ */
+ codeBefore?: string
+
+ /**
+ * Is the last child has an (optional) semicolon.
+ */
+ semicolon?: boolean
+ }
+
+ export interface RootProps extends ContainerProps {
+ /**
+ * Information used to generate byte-to-byte equal node string
+ * as it was in the origin input.
+ * */
+ raws?: RootRaws
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { Root_ as default }
+}
+
+/**
+ * Represents a CSS file and contains all its parsed nodes.
+ *
+ * ```js
+ * const root = postcss.parse('a{color:black} b{z-index:2}')
+ * root.type //=> 'root'
+ * root.nodes.length //=> 2
+ * ```
+ */
+declare class Root_ extends Container {
+ nodes: NonNullable
+ parent: Document | undefined
+ raws: Root.RootRaws
+ type: 'root'
+
+ constructor(defaults?: Root.RootProps)
+
+ assign(overrides: object | Root.RootProps): this
+ clone(overrides?: Partial): Root
+ cloneAfter(overrides?: Partial): Root
+ cloneBefore(overrides?: Partial): Root
+
+ /**
+ * Returns a `Result` instance representing the root’s CSS.
+ *
+ * ```js
+ * const root1 = postcss.parse(css1, { from: 'a.css' })
+ * const root2 = postcss.parse(css2, { from: 'b.css' })
+ * root1.append(root2)
+ * const result = root1.toResult({ to: 'all.css', map: true })
+ * ```
+ *
+ * @param opts Options.
+ * @return Result with current root’s CSS.
+ */
+ toResult(options?: ProcessOptions): Result
+}
+
+declare class Root extends Root_ {}
+
+export = Root
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/root.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/root.js"
index 1155ad1af80f5dca77dad40c673dc0e9820b00a3..ea574edca70c45641753c6392fcd675971788cf7 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/root.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/root.js"
@@ -1,3 +1,61 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:66bf461dbd984702272d737e8dc86a254b0481ae7934162f4ce0b32d9a19ec76
-size 1239
+'use strict'
+
+let Container = require('./container')
+
+let LazyResult, Processor
+
+class Root extends Container {
+ constructor(defaults) {
+ super(defaults)
+ this.type = 'root'
+ if (!this.nodes) this.nodes = []
+ }
+
+ normalize(child, sample, type) {
+ let nodes = super.normalize(child)
+
+ if (sample) {
+ if (type === 'prepend') {
+ if (this.nodes.length > 1) {
+ sample.raws.before = this.nodes[1].raws.before
+ } else {
+ delete sample.raws.before
+ }
+ } else if (this.first !== sample) {
+ for (let node of nodes) {
+ node.raws.before = sample.raws.before
+ }
+ }
+ }
+
+ return nodes
+ }
+
+ removeChild(child, ignore) {
+ let index = this.index(child)
+
+ if (!ignore && index === 0 && this.nodes.length > 1) {
+ this.nodes[1].raws.before = this.nodes[index].raws.before
+ }
+
+ return super.removeChild(child)
+ }
+
+ toResult(opts = {}) {
+ let lazy = new LazyResult(new Processor(), this, opts)
+ return lazy.stringify()
+ }
+}
+
+Root.registerLazyResult = dependant => {
+ LazyResult = dependant
+}
+
+Root.registerProcessor = dependant => {
+ Processor = dependant
+}
+
+module.exports = Root
+Root.default = Root
+
+Container.registerRoot(Root)
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/rule.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/rule.d.ts"
index fbcc2eec4f4062271567400e41eea4fdec8c6e4f..fc5dd721a89815208542061d8fb1737ef5481b80 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/rule.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/rule.d.ts"
@@ -1,3 +1,117 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e97321edbef59b6f68839bcdfd5ae1949fe80d554d2546e35484a8d044a04444
-size 2762
+import Container, {
+ ContainerProps,
+ ContainerWithChildren
+} from './container.js'
+
+declare namespace Rule {
+ export interface RuleRaws extends Record {
+ /**
+ * The space symbols after the last child of the node to the end of the node.
+ */
+ after?: string
+
+ /**
+ * The space symbols before the node. It also stores `*`
+ * and `_` symbols before the declaration (IE hack).
+ */
+ before?: string
+
+ /**
+ * The symbols between the selector and `{` for rules.
+ */
+ between?: string
+
+ /**
+ * Contains `true` if there is semicolon after rule.
+ */
+ ownSemicolon?: string
+
+ /**
+ * The rule’s selector with comments.
+ */
+ selector?: {
+ raw: string
+ value: string
+ }
+
+ /**
+ * Contains `true` if the last child has an (optional) semicolon.
+ */
+ semicolon?: boolean
+ }
+
+ export interface RuleProps extends ContainerProps {
+ /** Information used to generate byte-to-byte equal node string as it was in the origin input. */
+ raws?: RuleRaws
+ /** Selector or selectors of the rule. */
+ selector?: string
+ /** Selectors of the rule represented as an array of strings. */
+ selectors?: string[]
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { Rule_ as default }
+}
+
+/**
+ * Represents a CSS rule: a selector followed by a declaration block.
+ *
+ * ```js
+ * Once (root, { Rule }) {
+ * let a = new Rule({ selector: 'a' })
+ * a.append(…)
+ * root.append(a)
+ * }
+ * ```
+ *
+ * ```js
+ * const root = postcss.parse('a{}')
+ * const rule = root.first
+ * rule.type //=> 'rule'
+ * rule.toString() //=> 'a{}'
+ * ```
+ */
+declare class Rule_ extends Container {
+ nodes: NonNullable
+ parent: ContainerWithChildren | undefined
+ raws: Rule.RuleRaws
+ /**
+ * The rule’s full selector represented as a string.
+ *
+ * ```js
+ * const root = postcss.parse('a, b { }')
+ * const rule = root.first
+ * rule.selector //=> 'a, b'
+ * ```
+ */
+ selector: string
+
+ /**
+ * An array containing the rule’s individual selectors.
+ * Groups of selectors are split at commas.
+ *
+ * ```js
+ * const root = postcss.parse('a, b { }')
+ * const rule = root.first
+ *
+ * rule.selector //=> 'a, b'
+ * rule.selectors //=> ['a', 'b']
+ *
+ * rule.selectors = ['a', 'strong']
+ * rule.selector //=> 'a, strong'
+ * ```
+ */
+ selectors: string[]
+
+ type: 'rule'
+
+ constructor(defaults?: Rule.RuleProps)
+ assign(overrides: object | Rule.RuleProps): this
+ clone(overrides?: Partial): Rule
+ cloneAfter(overrides?: Partial): Rule
+ cloneBefore(overrides?: Partial): Rule
+}
+
+declare class Rule extends Rule_ {}
+
+export = Rule
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/rule.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/rule.js"
index ea7968d6ae1f3ab0c88002afcf94a9bd357b8bb9..a93ab25bf0c13b250ebd9fd2916e562b16e97152 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/rule.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/rule.js"
@@ -1,3 +1,27 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:682e8fef7327307047965c6563e942bf53cc3bebda24db7d3eb286ca1e6f8ef8
-size 569
+'use strict'
+
+let Container = require('./container')
+let list = require('./list')
+
+class Rule extends Container {
+ constructor(defaults) {
+ super(defaults)
+ this.type = 'rule'
+ if (!this.nodes) this.nodes = []
+ }
+
+ get selectors() {
+ return list.comma(this.selector)
+ }
+
+ set selectors(values) {
+ let match = this.selector ? this.selector.match(/,\s*/) : null
+ let sep = match ? match[0] : ',' + this.raw('between', 'beforeOpen')
+ this.selector = values.join(sep)
+ }
+}
+
+module.exports = Rule
+Rule.default = Rule
+
+Container.registerRule(Rule)
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringifier.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringifier.d.ts"
index 6f1d7bf50f5f010ff10d4fde8aea118bff558a75..f707a6aa320afb5dcb3590497ea744c50a37daca 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringifier.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringifier.d.ts"
@@ -1,3 +1,46 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:12a8474be61d3f569a026ea921686b0f9fc6ffb74c01ecbc7d8a7d3bfd920fe0
-size 1411
+import {
+ AnyNode,
+ AtRule,
+ Builder,
+ Comment,
+ Container,
+ Declaration,
+ Document,
+ Root,
+ Rule
+} from './postcss.js'
+
+declare namespace Stringifier {
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { Stringifier_ as default }
+}
+
+declare class Stringifier_ {
+ builder: Builder
+ constructor(builder: Builder)
+ atrule(node: AtRule, semicolon?: boolean): void
+ beforeAfter(node: AnyNode, detect: 'after' | 'before'): string
+ block(node: AnyNode, start: string): void
+ body(node: Container): void
+ comment(node: Comment): void
+ decl(node: Declaration, semicolon?: boolean): void
+ document(node: Document): void
+ raw(node: AnyNode, own: null | string, detect?: string): string
+ rawBeforeClose(root: Root): string | undefined
+ rawBeforeComment(root: Root, node: Comment): string | undefined
+ rawBeforeDecl(root: Root, node: Declaration): string | undefined
+ rawBeforeOpen(root: Root): string | undefined
+ rawBeforeRule(root: Root): string | undefined
+ rawColon(root: Root): string | undefined
+ rawEmptyBody(root: Root): string | undefined
+ rawIndent(root: Root): string | undefined
+ rawSemicolon(root: Root): boolean | undefined
+ rawValue(node: AnyNode, prop: string): string
+ root(node: Root): void
+ rule(node: Rule): void
+ stringify(node: AnyNode, semicolon?: boolean): void
+}
+
+declare class Stringifier extends Stringifier_ {}
+
+export = Stringifier
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringifier.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringifier.js"
index 94b5b5e2d1f4b714038a6244c2c3bd608d0116cd..e07ad12e7b37dccdb4d5e2a0280b814af6e62ba2 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringifier.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringifier.js"
@@ -1,3 +1,353 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c29cb2393a49240b06b710a626120ce9097236e289adc9d876c5421f6e8b9fcb
-size 8220
+'use strict'
+
+const DEFAULT_RAW = {
+ after: '\n',
+ beforeClose: '\n',
+ beforeComment: '\n',
+ beforeDecl: '\n',
+ beforeOpen: ' ',
+ beforeRule: '\n',
+ colon: ': ',
+ commentLeft: ' ',
+ commentRight: ' ',
+ emptyBody: '',
+ indent: ' ',
+ semicolon: false
+}
+
+function capitalize(str) {
+ return str[0].toUpperCase() + str.slice(1)
+}
+
+class Stringifier {
+ constructor(builder) {
+ this.builder = builder
+ }
+
+ atrule(node, semicolon) {
+ let name = '@' + node.name
+ let params = node.params ? this.rawValue(node, 'params') : ''
+
+ if (typeof node.raws.afterName !== 'undefined') {
+ name += node.raws.afterName
+ } else if (params) {
+ name += ' '
+ }
+
+ if (node.nodes) {
+ this.block(node, name + params)
+ } else {
+ let end = (node.raws.between || '') + (semicolon ? ';' : '')
+ this.builder(name + params + end, node)
+ }
+ }
+
+ beforeAfter(node, detect) {
+ let value
+ if (node.type === 'decl') {
+ value = this.raw(node, null, 'beforeDecl')
+ } else if (node.type === 'comment') {
+ value = this.raw(node, null, 'beforeComment')
+ } else if (detect === 'before') {
+ value = this.raw(node, null, 'beforeRule')
+ } else {
+ value = this.raw(node, null, 'beforeClose')
+ }
+
+ let buf = node.parent
+ let depth = 0
+ while (buf && buf.type !== 'root') {
+ depth += 1
+ buf = buf.parent
+ }
+
+ if (value.includes('\n')) {
+ let indent = this.raw(node, null, 'indent')
+ if (indent.length) {
+ for (let step = 0; step < depth; step++) value += indent
+ }
+ }
+
+ return value
+ }
+
+ block(node, start) {
+ let between = this.raw(node, 'between', 'beforeOpen')
+ this.builder(start + between + '{', node, 'start')
+
+ let after
+ if (node.nodes && node.nodes.length) {
+ this.body(node)
+ after = this.raw(node, 'after')
+ } else {
+ after = this.raw(node, 'after', 'emptyBody')
+ }
+
+ if (after) this.builder(after)
+ this.builder('}', node, 'end')
+ }
+
+ body(node) {
+ let last = node.nodes.length - 1
+ while (last > 0) {
+ if (node.nodes[last].type !== 'comment') break
+ last -= 1
+ }
+
+ let semicolon = this.raw(node, 'semicolon')
+ for (let i = 0; i < node.nodes.length; i++) {
+ let child = node.nodes[i]
+ let before = this.raw(child, 'before')
+ if (before) this.builder(before)
+ this.stringify(child, last !== i || semicolon)
+ }
+ }
+
+ comment(node) {
+ let left = this.raw(node, 'left', 'commentLeft')
+ let right = this.raw(node, 'right', 'commentRight')
+ this.builder('/*' + left + node.text + right + '*/', node)
+ }
+
+ decl(node, semicolon) {
+ let between = this.raw(node, 'between', 'colon')
+ let string = node.prop + between + this.rawValue(node, 'value')
+
+ if (node.important) {
+ string += node.raws.important || ' !important'
+ }
+
+ if (semicolon) string += ';'
+ this.builder(string, node)
+ }
+
+ document(node) {
+ this.body(node)
+ }
+
+ raw(node, own, detect) {
+ let value
+ if (!detect) detect = own
+
+ // Already had
+ if (own) {
+ value = node.raws[own]
+ if (typeof value !== 'undefined') return value
+ }
+
+ let parent = node.parent
+
+ if (detect === 'before') {
+ // Hack for first rule in CSS
+ if (!parent || (parent.type === 'root' && parent.first === node)) {
+ return ''
+ }
+
+ // `root` nodes in `document` should use only their own raws
+ if (parent && parent.type === 'document') {
+ return ''
+ }
+ }
+
+ // Floating child without parent
+ if (!parent) return DEFAULT_RAW[detect]
+
+ // Detect style by other nodes
+ let root = node.root()
+ if (!root.rawCache) root.rawCache = {}
+ if (typeof root.rawCache[detect] !== 'undefined') {
+ return root.rawCache[detect]
+ }
+
+ if (detect === 'before' || detect === 'after') {
+ return this.beforeAfter(node, detect)
+ } else {
+ let method = 'raw' + capitalize(detect)
+ if (this[method]) {
+ value = this[method](root, node)
+ } else {
+ root.walk(i => {
+ value = i.raws[own]
+ if (typeof value !== 'undefined') return false
+ })
+ }
+ }
+
+ if (typeof value === 'undefined') value = DEFAULT_RAW[detect]
+
+ root.rawCache[detect] = value
+ return value
+ }
+
+ rawBeforeClose(root) {
+ let value
+ root.walk(i => {
+ if (i.nodes && i.nodes.length > 0) {
+ if (typeof i.raws.after !== 'undefined') {
+ value = i.raws.after
+ if (value.includes('\n')) {
+ value = value.replace(/[^\n]+$/, '')
+ }
+ return false
+ }
+ }
+ })
+ if (value) value = value.replace(/\S/g, '')
+ return value
+ }
+
+ rawBeforeComment(root, node) {
+ let value
+ root.walkComments(i => {
+ if (typeof i.raws.before !== 'undefined') {
+ value = i.raws.before
+ if (value.includes('\n')) {
+ value = value.replace(/[^\n]+$/, '')
+ }
+ return false
+ }
+ })
+ if (typeof value === 'undefined') {
+ value = this.raw(node, null, 'beforeDecl')
+ } else if (value) {
+ value = value.replace(/\S/g, '')
+ }
+ return value
+ }
+
+ rawBeforeDecl(root, node) {
+ let value
+ root.walkDecls(i => {
+ if (typeof i.raws.before !== 'undefined') {
+ value = i.raws.before
+ if (value.includes('\n')) {
+ value = value.replace(/[^\n]+$/, '')
+ }
+ return false
+ }
+ })
+ if (typeof value === 'undefined') {
+ value = this.raw(node, null, 'beforeRule')
+ } else if (value) {
+ value = value.replace(/\S/g, '')
+ }
+ return value
+ }
+
+ rawBeforeOpen(root) {
+ let value
+ root.walk(i => {
+ if (i.type !== 'decl') {
+ value = i.raws.between
+ if (typeof value !== 'undefined') return false
+ }
+ })
+ return value
+ }
+
+ rawBeforeRule(root) {
+ let value
+ root.walk(i => {
+ if (i.nodes && (i.parent !== root || root.first !== i)) {
+ if (typeof i.raws.before !== 'undefined') {
+ value = i.raws.before
+ if (value.includes('\n')) {
+ value = value.replace(/[^\n]+$/, '')
+ }
+ return false
+ }
+ }
+ })
+ if (value) value = value.replace(/\S/g, '')
+ return value
+ }
+
+ rawColon(root) {
+ let value
+ root.walkDecls(i => {
+ if (typeof i.raws.between !== 'undefined') {
+ value = i.raws.between.replace(/[^\s:]/g, '')
+ return false
+ }
+ })
+ return value
+ }
+
+ rawEmptyBody(root) {
+ let value
+ root.walk(i => {
+ if (i.nodes && i.nodes.length === 0) {
+ value = i.raws.after
+ if (typeof value !== 'undefined') return false
+ }
+ })
+ return value
+ }
+
+ rawIndent(root) {
+ if (root.raws.indent) return root.raws.indent
+ let value
+ root.walk(i => {
+ let p = i.parent
+ if (p && p !== root && p.parent && p.parent === root) {
+ if (typeof i.raws.before !== 'undefined') {
+ let parts = i.raws.before.split('\n')
+ value = parts[parts.length - 1]
+ value = value.replace(/\S/g, '')
+ return false
+ }
+ }
+ })
+ return value
+ }
+
+ rawSemicolon(root) {
+ let value
+ root.walk(i => {
+ if (i.nodes && i.nodes.length && i.last.type === 'decl') {
+ value = i.raws.semicolon
+ if (typeof value !== 'undefined') return false
+ }
+ })
+ return value
+ }
+
+ rawValue(node, prop) {
+ let value = node[prop]
+ let raw = node.raws[prop]
+ if (raw && raw.value === value) {
+ return raw.raw
+ }
+
+ return value
+ }
+
+ root(node) {
+ this.body(node)
+ if (node.raws.after) this.builder(node.raws.after)
+ }
+
+ rule(node) {
+ this.block(node, this.rawValue(node, 'selector'))
+ if (node.raws.ownSemicolon) {
+ this.builder(node.raws.ownSemicolon, node, 'end')
+ }
+ }
+
+ stringify(node, semicolon) {
+ /* c8 ignore start */
+ if (!this[node.type]) {
+ throw new Error(
+ 'Unknown AST node type ' +
+ node.type +
+ '. ' +
+ 'Maybe you need to change PostCSS stringifier.'
+ )
+ }
+ /* c8 ignore stop */
+ this[node.type](node, semicolon)
+ }
+}
+
+module.exports = Stringifier
+Stringifier.default = Stringifier
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringify.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringify.d.ts"
index 2ae72d29723c4a0802f1cea827198ad6b31b347f..06ad0b4de4b40de7caae2172f94a75dc7de3b5b1 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringify.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringify.d.ts"
@@ -1,3 +1,9 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:03da5503293daa628a66917fb9bee6a8fb9d4eaa337f016d7e96ac5225a0f688
-size 165
+import { Stringifier } from './postcss.js'
+
+interface Stringify extends Stringifier {
+ default: Stringify
+}
+
+declare const stringify: Stringify
+
+export = stringify
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringify.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringify.js"
index 7dba7b4dd0cda68354ed527e9724319439f3623c..77bd0178bbc95d57719117bec456a086b5a142a0 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringify.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/stringify.js"
@@ -1,3 +1,11 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:99229cdda200513f88f7fee46004d5c39c1492a73451509e66164d26dff34abc
-size 213
+'use strict'
+
+let Stringifier = require('./stringifier')
+
+function stringify(node, builder) {
+ let str = new Stringifier(builder)
+ str.stringify(node)
+}
+
+module.exports = stringify
+stringify.default = stringify
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/symbols.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/symbols.js"
index 22a559038633ce85ef60c4e4f8b4310abfa54526..a142c268d464bd4093653baea44ea7abb85e1496 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/symbols.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/symbols.js"
@@ -1,3 +1,5 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:eb8ab8b9648d400ec3e8e37e75dc159734b97ba21137f12da11b4afc2547a1b4
-size 91
+'use strict'
+
+module.exports.isClean = Symbol('isClean')
+
+module.exports.my = Symbol('my')
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/terminal-highlight.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/terminal-highlight.js"
index 78048d6c37887ee812afead937d3a1e8234948df..6196c9df19d6fc2c3bd0c3de7dc662dca5408048 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/terminal-highlight.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/terminal-highlight.js"
@@ -1,3 +1,70 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:27f1eb6cc633f3947e053c96f16b1754bcffcda2742ecc9a1e11cc2a75d70d9b
-size 1399
+'use strict'
+
+let pico = require('picocolors')
+
+let tokenizer = require('./tokenize')
+
+let Input
+
+function registerInput(dependant) {
+ Input = dependant
+}
+
+const HIGHLIGHT_THEME = {
+ ';': pico.yellow,
+ ':': pico.yellow,
+ '(': pico.cyan,
+ ')': pico.cyan,
+ '[': pico.yellow,
+ ']': pico.yellow,
+ '{': pico.yellow,
+ '}': pico.yellow,
+ 'at-word': pico.cyan,
+ 'brackets': pico.cyan,
+ 'call': pico.cyan,
+ 'class': pico.yellow,
+ 'comment': pico.gray,
+ 'hash': pico.magenta,
+ 'string': pico.green
+}
+
+function getTokenType([type, value], processor) {
+ if (type === 'word') {
+ if (value[0] === '.') {
+ return 'class'
+ }
+ if (value[0] === '#') {
+ return 'hash'
+ }
+ }
+
+ if (!processor.endOfFile()) {
+ let next = processor.nextToken()
+ processor.back(next)
+ if (next[0] === 'brackets' || next[0] === '(') return 'call'
+ }
+
+ return type
+}
+
+function terminalHighlight(css) {
+ let processor = tokenizer(new Input(css), { ignoreErrors: true })
+ let result = ''
+ while (!processor.endOfFile()) {
+ let token = processor.nextToken()
+ let color = HIGHLIGHT_THEME[getTokenType(token, processor)]
+ if (color) {
+ result += token[1]
+ .split(/\r?\n/)
+ .map(i => color(i))
+ .join('\n')
+ } else {
+ result += token[1]
+ }
+ }
+ return result
+}
+
+terminalHighlight.registerInput = registerInput
+
+module.exports = terminalHighlight
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/tokenize.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/tokenize.js"
index 8a8a6d8623c11c4a52ecddf6bd93d1351450b481..39a20a37d5c7abd3e343291c42684b2d5d3e944e 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/tokenize.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/tokenize.js"
@@ -1,3 +1,266 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ddb2f66772a7611e7dfd1e844f1245d3902af06f4a8ddbc42cd044b1ed5827a7
-size 6538
+'use strict'
+
+const SINGLE_QUOTE = "'".charCodeAt(0)
+const DOUBLE_QUOTE = '"'.charCodeAt(0)
+const BACKSLASH = '\\'.charCodeAt(0)
+const SLASH = '/'.charCodeAt(0)
+const NEWLINE = '\n'.charCodeAt(0)
+const SPACE = ' '.charCodeAt(0)
+const FEED = '\f'.charCodeAt(0)
+const TAB = '\t'.charCodeAt(0)
+const CR = '\r'.charCodeAt(0)
+const OPEN_SQUARE = '['.charCodeAt(0)
+const CLOSE_SQUARE = ']'.charCodeAt(0)
+const OPEN_PARENTHESES = '('.charCodeAt(0)
+const CLOSE_PARENTHESES = ')'.charCodeAt(0)
+const OPEN_CURLY = '{'.charCodeAt(0)
+const CLOSE_CURLY = '}'.charCodeAt(0)
+const SEMICOLON = ';'.charCodeAt(0)
+const ASTERISK = '*'.charCodeAt(0)
+const COLON = ':'.charCodeAt(0)
+const AT = '@'.charCodeAt(0)
+
+const RE_AT_END = /[\t\n\f\r "#'()/;[\\\]{}]/g
+const RE_WORD_END = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g
+const RE_BAD_BRACKET = /.[\r\n"'(/\\]/
+const RE_HEX_ESCAPE = /[\da-f]/i
+
+module.exports = function tokenizer(input, options = {}) {
+ let css = input.css.valueOf()
+ let ignore = options.ignoreErrors
+
+ let code, next, quote, content, escape
+ let escaped, escapePos, prev, n, currentToken
+
+ let length = css.length
+ let pos = 0
+ let buffer = []
+ let returned = []
+
+ function position() {
+ return pos
+ }
+
+ function unclosed(what) {
+ throw input.error('Unclosed ' + what, pos)
+ }
+
+ function endOfFile() {
+ return returned.length === 0 && pos >= length
+ }
+
+ function nextToken(opts) {
+ if (returned.length) return returned.pop()
+ if (pos >= length) return
+
+ let ignoreUnclosed = opts ? opts.ignoreUnclosed : false
+
+ code = css.charCodeAt(pos)
+
+ switch (code) {
+ case NEWLINE:
+ case SPACE:
+ case TAB:
+ case CR:
+ case FEED: {
+ next = pos
+ do {
+ next += 1
+ code = css.charCodeAt(next)
+ } while (
+ code === SPACE ||
+ code === NEWLINE ||
+ code === TAB ||
+ code === CR ||
+ code === FEED
+ )
+
+ currentToken = ['space', css.slice(pos, next)]
+ pos = next - 1
+ break
+ }
+
+ case OPEN_SQUARE:
+ case CLOSE_SQUARE:
+ case OPEN_CURLY:
+ case CLOSE_CURLY:
+ case COLON:
+ case SEMICOLON:
+ case CLOSE_PARENTHESES: {
+ let controlChar = String.fromCharCode(code)
+ currentToken = [controlChar, controlChar, pos]
+ break
+ }
+
+ case OPEN_PARENTHESES: {
+ prev = buffer.length ? buffer.pop()[1] : ''
+ n = css.charCodeAt(pos + 1)
+ if (
+ prev === 'url' &&
+ n !== SINGLE_QUOTE &&
+ n !== DOUBLE_QUOTE &&
+ n !== SPACE &&
+ n !== NEWLINE &&
+ n !== TAB &&
+ n !== FEED &&
+ n !== CR
+ ) {
+ next = pos
+ do {
+ escaped = false
+ next = css.indexOf(')', next + 1)
+ if (next === -1) {
+ if (ignore || ignoreUnclosed) {
+ next = pos
+ break
+ } else {
+ unclosed('bracket')
+ }
+ }
+ escapePos = next
+ while (css.charCodeAt(escapePos - 1) === BACKSLASH) {
+ escapePos -= 1
+ escaped = !escaped
+ }
+ } while (escaped)
+
+ currentToken = ['brackets', css.slice(pos, next + 1), pos, next]
+
+ pos = next
+ } else {
+ next = css.indexOf(')', pos + 1)
+ content = css.slice(pos, next + 1)
+
+ if (next === -1 || RE_BAD_BRACKET.test(content)) {
+ currentToken = ['(', '(', pos]
+ } else {
+ currentToken = ['brackets', content, pos, next]
+ pos = next
+ }
+ }
+
+ break
+ }
+
+ case SINGLE_QUOTE:
+ case DOUBLE_QUOTE: {
+ quote = code === SINGLE_QUOTE ? "'" : '"'
+ next = pos
+ do {
+ escaped = false
+ next = css.indexOf(quote, next + 1)
+ if (next === -1) {
+ if (ignore || ignoreUnclosed) {
+ next = pos + 1
+ break
+ } else {
+ unclosed('string')
+ }
+ }
+ escapePos = next
+ while (css.charCodeAt(escapePos - 1) === BACKSLASH) {
+ escapePos -= 1
+ escaped = !escaped
+ }
+ } while (escaped)
+
+ currentToken = ['string', css.slice(pos, next + 1), pos, next]
+ pos = next
+ break
+ }
+
+ case AT: {
+ RE_AT_END.lastIndex = pos + 1
+ RE_AT_END.test(css)
+ if (RE_AT_END.lastIndex === 0) {
+ next = css.length - 1
+ } else {
+ next = RE_AT_END.lastIndex - 2
+ }
+
+ currentToken = ['at-word', css.slice(pos, next + 1), pos, next]
+
+ pos = next
+ break
+ }
+
+ case BACKSLASH: {
+ next = pos
+ escape = true
+ while (css.charCodeAt(next + 1) === BACKSLASH) {
+ next += 1
+ escape = !escape
+ }
+ code = css.charCodeAt(next + 1)
+ if (
+ escape &&
+ code !== SLASH &&
+ code !== SPACE &&
+ code !== NEWLINE &&
+ code !== TAB &&
+ code !== CR &&
+ code !== FEED
+ ) {
+ next += 1
+ if (RE_HEX_ESCAPE.test(css.charAt(next))) {
+ while (RE_HEX_ESCAPE.test(css.charAt(next + 1))) {
+ next += 1
+ }
+ if (css.charCodeAt(next + 1) === SPACE) {
+ next += 1
+ }
+ }
+ }
+
+ currentToken = ['word', css.slice(pos, next + 1), pos, next]
+
+ pos = next
+ break
+ }
+
+ default: {
+ if (code === SLASH && css.charCodeAt(pos + 1) === ASTERISK) {
+ next = css.indexOf('*/', pos + 2) + 1
+ if (next === 0) {
+ if (ignore || ignoreUnclosed) {
+ next = css.length
+ } else {
+ unclosed('comment')
+ }
+ }
+
+ currentToken = ['comment', css.slice(pos, next + 1), pos, next]
+ pos = next
+ } else {
+ RE_WORD_END.lastIndex = pos + 1
+ RE_WORD_END.test(css)
+ if (RE_WORD_END.lastIndex === 0) {
+ next = css.length - 1
+ } else {
+ next = RE_WORD_END.lastIndex - 2
+ }
+
+ currentToken = ['word', css.slice(pos, next + 1), pos, next]
+ buffer.push(currentToken)
+ pos = next
+ }
+
+ break
+ }
+ }
+
+ pos++
+ return currentToken
+ }
+
+ function back(token) {
+ returned.push(token)
+ }
+
+ return {
+ back,
+ endOfFile,
+ nextToken,
+ position
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warn-once.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warn-once.js"
index c48e96e58a418d44f6c1ae8a85df20ba6d48b31e..316e1cf462f076c803b4f5e023c4d81bdba308b9 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warn-once.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warn-once.js"
@@ -1,3 +1,13 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5683ff69eeb8e77373a4bd0e0b9da611c7575ee434ba3c458c0552ab4806464a
-size 256
+/* eslint-disable no-console */
+'use strict'
+
+let printed = {}
+
+module.exports = function warnOnce(message) {
+ if (printed[message]) return
+ printed[message] = true
+
+ if (typeof console !== 'undefined' && console.warn) {
+ console.warn(message)
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warning.d.ts" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warning.d.ts"
index 0acf392818c4167c5132f6d0eb4a1dfd06efb98f..b25bba81603e800598a65f70447f35a17b0b9d00 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warning.d.ts"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warning.d.ts"
@@ -1,3 +1,147 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa
-size 2994
+import { RangePosition } from './css-syntax-error.js'
+import Node from './node.js'
+
+declare namespace Warning {
+ export interface WarningOptions {
+ /**
+ * End position, exclusive, in CSS node string that caused the warning.
+ */
+ end?: RangePosition
+
+ /**
+ * End index, exclusive, in CSS node string that caused the warning.
+ */
+ endIndex?: number
+
+ /**
+ * Start index, inclusive, in CSS node string that caused the warning.
+ */
+ index?: number
+
+ /**
+ * CSS node that caused the warning.
+ */
+ node?: Node
+
+ /**
+ * Name of the plugin that created this warning. `Result#warn` fills
+ * this property automatically.
+ */
+ plugin?: string
+
+ /**
+ * Start position, inclusive, in CSS node string that caused the warning.
+ */
+ start?: RangePosition
+
+ /**
+ * Word in CSS source that caused the warning.
+ */
+ word?: string
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
+ export { Warning_ as default }
+}
+
+/**
+ * Represents a plugin’s warning. It can be created using `Node#warn`.
+ *
+ * ```js
+ * if (decl.important) {
+ * decl.warn(result, 'Avoid !important', { word: '!important' })
+ * }
+ * ```
+ */
+declare class Warning_ {
+ /**
+ * Column for inclusive start position in the input file with this warning’s source.
+ *
+ * ```js
+ * warning.column //=> 6
+ * ```
+ */
+ column: number
+
+ /**
+ * Column for exclusive end position in the input file with this warning’s source.
+ *
+ * ```js
+ * warning.endColumn //=> 4
+ * ```
+ */
+ endColumn?: number
+
+ /**
+ * Line for exclusive end position in the input file with this warning’s source.
+ *
+ * ```js
+ * warning.endLine //=> 6
+ * ```
+ */
+ endLine?: number
+
+ /**
+ * Line for inclusive start position in the input file with this warning’s source.
+ *
+ * ```js
+ * warning.line //=> 5
+ * ```
+ */
+ line: number
+
+ /**
+ * Contains the CSS node that caused the warning.
+ *
+ * ```js
+ * warning.node.toString() //=> 'color: white !important'
+ * ```
+ */
+ node: Node
+
+ /**
+ * The name of the plugin that created this warning.
+ * When you call `Node#warn` it will fill this property automatically.
+ *
+ * ```js
+ * warning.plugin //=> 'postcss-important'
+ * ```
+ */
+ plugin: string
+
+ /**
+ * The warning message.
+ *
+ * ```js
+ * warning.text //=> 'Try to avoid !important'
+ * ```
+ */
+ text: string
+
+ /**
+ * Type to filter warnings from `Result#messages`.
+ * Always equal to `"warning"`.
+ */
+ type: 'warning'
+
+ /**
+ * @param text Warning message.
+ * @param opts Warning options.
+ */
+ constructor(text: string, opts?: Warning.WarningOptions)
+
+ /**
+ * Returns a warning position and message.
+ *
+ * ```js
+ * warning.toString() //=> 'postcss-lint:a.css:10:14: Avoid !important'
+ * ```
+ *
+ * @return Warning position and message.
+ */
+ toString(): string
+}
+
+declare class Warning extends Warning_ {}
+
+export = Warning
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warning.js" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warning.js"
index 23a426c379a613a993ca96ce34ec2c2854b1e165..3a3d79c938026c5559f0f5538b6ab0d47d1e7a27 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warning.js"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/lib/warning.js"
@@ -1,3 +1,37 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a969d1ec8a5025c028278ee037cc21c5c7b8129e80269ea3bd8d831a957474fa
-size 739
+'use strict'
+
+class Warning {
+ constructor(text, opts = {}) {
+ this.type = 'warning'
+ this.text = text
+
+ if (opts.node && opts.node.source) {
+ let range = opts.node.rangeBy(opts)
+ this.line = range.start.line
+ this.column = range.start.column
+ this.endLine = range.end.line
+ this.endColumn = range.end.column
+ }
+
+ for (let opt in opts) this[opt] = opts[opt]
+ }
+
+ toString() {
+ if (this.node) {
+ return this.node.error(this.text, {
+ index: this.index,
+ plugin: this.plugin,
+ word: this.word
+ }).message
+ }
+
+ if (this.plugin) {
+ return this.plugin + ': ' + this.text
+ }
+
+ return this.text
+ }
+}
+
+module.exports = Warning
+Warning.default = Warning
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/package.json" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/package.json"
index c212daccbb8d4667cea9a52abe2e00c16052ee5c..2cfe97f51d727750f5314110483a7309dcd71e3b 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/package.json"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/postcss/package.json"
@@ -1,3 +1,88 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d3a1cd9ecbfe9a5e69a17354346b92d9cd14fbd54a5219fb45db3fc8d74c5419
-size 2496
+{
+ "name": "postcss",
+ "version": "8.4.38",
+ "description": "Tool for transforming styles with JS plugins",
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ },
+ "exports": {
+ ".": {
+ "require": "./lib/postcss.js",
+ "import": "./lib/postcss.mjs"
+ },
+ "./lib/at-rule": "./lib/at-rule.js",
+ "./lib/comment": "./lib/comment.js",
+ "./lib/container": "./lib/container.js",
+ "./lib/css-syntax-error": "./lib/css-syntax-error.js",
+ "./lib/declaration": "./lib/declaration.js",
+ "./lib/fromJSON": "./lib/fromJSON.js",
+ "./lib/input": "./lib/input.js",
+ "./lib/lazy-result": "./lib/lazy-result.js",
+ "./lib/no-work-result": "./lib/no-work-result.js",
+ "./lib/list": "./lib/list.js",
+ "./lib/map-generator": "./lib/map-generator.js",
+ "./lib/node": "./lib/node.js",
+ "./lib/parse": "./lib/parse.js",
+ "./lib/parser": "./lib/parser.js",
+ "./lib/postcss": "./lib/postcss.js",
+ "./lib/previous-map": "./lib/previous-map.js",
+ "./lib/processor": "./lib/processor.js",
+ "./lib/result": "./lib/result.js",
+ "./lib/root": "./lib/root.js",
+ "./lib/rule": "./lib/rule.js",
+ "./lib/stringifier": "./lib/stringifier.js",
+ "./lib/stringify": "./lib/stringify.js",
+ "./lib/symbols": "./lib/symbols.js",
+ "./lib/terminal-highlight": "./lib/terminal-highlight.js",
+ "./lib/tokenize": "./lib/tokenize.js",
+ "./lib/warn-once": "./lib/warn-once.js",
+ "./lib/warning": "./lib/warning.js",
+ "./package.json": "./package.json"
+ },
+ "main": "./lib/postcss.js",
+ "types": "./lib/postcss.d.ts",
+ "keywords": [
+ "css",
+ "postcss",
+ "rework",
+ "preprocessor",
+ "parser",
+ "source map",
+ "transform",
+ "manipulation",
+ "transpiler"
+ ],
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "author": "Andrey Sitnik ",
+ "license": "MIT",
+ "homepage": "https://postcss.org/",
+ "repository": "postcss/postcss",
+ "bugs": {
+ "url": "https://github.com/postcss/postcss/issues"
+ },
+ "dependencies": {
+ "nanoid": "^3.3.7",
+ "picocolors": "^1.0.0",
+ "source-map-js": "^1.2.0"
+ },
+ "browser": {
+ "./lib/terminal-highlight": false,
+ "source-map-js": false,
+ "path": false,
+ "url": false,
+ "fs": false
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/prettier/LICENSE" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/prettier/LICENSE"
index fe3442878594664a665c766be3f639053d5d543b..52d431f28b47d6a615205a67c536b0dd029c8a29 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/prettier/LICENSE"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wildwebdeveloper_1.2.2.202405280856/node_modules/prettier/LICENSE"
@@ -1,3 +1,5970 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4d9b29fc0935ac68f29e579c3ddc79d501f812ba2fca6efa0754cc5ff5c7cbdc
-size 294693
+# Prettier license
+
+Prettier is released under the MIT license:
+
+Copyright © James Long and contributors
+
+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:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+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.
+
+## Licenses of bundled dependencies
+
+The published Prettier artifact additionally contains code with the following licenses:
+MIT, ISC, BSD-2-Clause, BSD-3-Clause, Apache-2.0, 0BSD
+
+## Bundled dependencies
+
+### @angular/compiler@v12.2.16
+
+License: MIT
+By: angular
+Repository:
+
+----------------------------------------
+
+### @babel/code-frame@v7.18.6
+
+License: MIT
+By: The Babel Team
+Repository:
+
+> MIT License
+>
+> Copyright (c) 2014-present Sebastian McKenzie and other contributors
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be
+> included in all copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### @babel/helper-validator-identifier@v7.19.1
+
+License: MIT
+By: The Babel Team
+Repository:
+
+> MIT License
+>
+> Copyright (c) 2014-present Sebastian McKenzie and other contributors
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be
+> included in all copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### @babel/highlight@v7.18.6
+
+License: MIT
+By: The Babel Team
+Repository:
+
+> MIT License
+>
+> Copyright (c) 2014-present Sebastian McKenzie and other contributors
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be
+> included in all copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### @babel/parser@v7.21.3
+
+License: MIT
+By: The Babel Team
+Repository:
+
+> Copyright (C) 2012-2014 by various contributors (see AUTHORS)
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be included in
+> all copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### @glimmer/env@v0.1.7
+
+License: MIT
+
+> Copyright (c) 2017 Martin Muñoz and contributors.
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be included in all
+> copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### @glimmer/syntax@v0.84.2
+
+License: MIT
+
+> Copyright (c) 2015 Tilde, Inc.
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be included in all
+> copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### @glimmer/util@v0.84.2
+
+License: MIT
+
+> Copyright (c) 2015 Tilde, Inc.
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be included in all
+> copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### @handlebars/parser@v2.0.0
+
+License: ISC
+Repository:
+
+----------------------------------------
+
+### @iarna/toml@v2.2.5
+
+License: ISC
+By: Rebecca Turner
+Repository:
+
+> Copyright (c) 2016, Rebecca Turner
+>
+> Permission to use, copy, modify, and/or distribute this software for any
+> purpose with or without fee is hereby granted, provided that the above
+> copyright notice and this permission notice appear in all copies.
+>
+> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+----------------------------------------
+
+### @nodelib/fs.scandir@v2.1.5
+
+License: MIT
+
+> The MIT License (MIT)
+>
+> Copyright (c) Denis Malinochkin
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be included in all
+> copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### @nodelib/fs.stat@v2.0.5
+
+License: MIT
+
+> The MIT License (MIT)
+>
+> Copyright (c) Denis Malinochkin
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be included in all
+> copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### @nodelib/fs.walk@v1.2.8
+
+License: MIT
+
+> The MIT License (MIT)
+>
+> Copyright (c) Denis Malinochkin
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be included in all
+> copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### @typescript-eslint/types@v5.55.0
+
+License: MIT
+Repository:
+
+> MIT License
+>
+> Copyright (c) 2019 typescript-eslint and other contributors
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be included in all
+> copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### @typescript-eslint/typescript-estree@v5.55.0
+
+License: BSD-2-Clause
+Repository:
+
+> TypeScript ESTree
+>
+> Originally extracted from:
+>
+> TypeScript ESLint Parser
+> Copyright JS Foundation and other contributors, https://js.foundation
+>
+> Redistribution and use in source and binary forms, with or without
+> modification, are permitted provided that the following conditions are met:
+>
+> - Redistributions of source code must retain the above copyright
+> notice, this list of conditions and the following disclaimer.
+> - Redistributions in binary form must reproduce the above copyright
+> notice, this list of conditions and the following disclaimer in the
+> documentation and/or other materials provided with the distribution.
+>
+> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+> AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+> ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+> DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+> (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+> LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+> ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+> (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+> THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+----------------------------------------
+
+### @typescript-eslint/visitor-keys@v5.55.0
+
+License: MIT
+Repository:
+
+> MIT License
+>
+> Copyright (c) 2019 typescript-eslint and other contributors
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be included in all
+> copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### acorn@v8.8.1
+
+License: MIT
+Repository:
+
+> MIT License
+>
+> Copyright (C) 2012-2022 by various contributors (see AUTHORS)
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be included in
+> all copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### acorn-jsx@v5.3.2
+
+License: MIT
+Repository:
+
+> Copyright (C) 2012-2017 by Ingvar Stepanyan
+>
+> 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:
+>
+> The above copyright notice and this permission notice shall be included in
+> all copies or substantial portions of the Software.
+>
+> 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.
+
+----------------------------------------
+
+### aggregate-error@v3.1.0
+
+License: MIT
+By: Sindre Sorhus
+
+> MIT License
+>
+> Copyright (c) Sindre Sorhus