feat: docker compose maybe
This commit is contained in:
		
							
								
								
									
										86
									
								
								node_modules/dequal/dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										86
									
								
								node_modules/dequal/dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,86 @@
 | 
			
		||||
var has = Object.prototype.hasOwnProperty;
 | 
			
		||||
 | 
			
		||||
function find(iter, tar, key) {
 | 
			
		||||
	for (key of iter.keys()) {
 | 
			
		||||
		if (dequal(key, tar)) return key;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function dequal(foo, bar) {
 | 
			
		||||
	var ctor, len, tmp;
 | 
			
		||||
	if (foo === bar) return true;
 | 
			
		||||
 | 
			
		||||
	if (foo && bar && (ctor=foo.constructor) === bar.constructor) {
 | 
			
		||||
		if (ctor === Date) return foo.getTime() === bar.getTime();
 | 
			
		||||
		if (ctor === RegExp) return foo.toString() === bar.toString();
 | 
			
		||||
 | 
			
		||||
		if (ctor === Array) {
 | 
			
		||||
			if ((len=foo.length) === bar.length) {
 | 
			
		||||
				while (len-- && dequal(foo[len], bar[len]));
 | 
			
		||||
			}
 | 
			
		||||
			return len === -1;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (ctor === Set) {
 | 
			
		||||
			if (foo.size !== bar.size) {
 | 
			
		||||
				return false;
 | 
			
		||||
			}
 | 
			
		||||
			for (len of foo) {
 | 
			
		||||
				tmp = len;
 | 
			
		||||
				if (tmp && typeof tmp === 'object') {
 | 
			
		||||
					tmp = find(bar, tmp);
 | 
			
		||||
					if (!tmp) return false;
 | 
			
		||||
				}
 | 
			
		||||
				if (!bar.has(tmp)) return false;
 | 
			
		||||
			}
 | 
			
		||||
			return true;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (ctor === Map) {
 | 
			
		||||
			if (foo.size !== bar.size) {
 | 
			
		||||
				return false;
 | 
			
		||||
			}
 | 
			
		||||
			for (len of foo) {
 | 
			
		||||
				tmp = len[0];
 | 
			
		||||
				if (tmp && typeof tmp === 'object') {
 | 
			
		||||
					tmp = find(bar, tmp);
 | 
			
		||||
					if (!tmp) return false;
 | 
			
		||||
				}
 | 
			
		||||
				if (!dequal(len[1], bar.get(tmp))) {
 | 
			
		||||
					return false;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
			return true;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (ctor === ArrayBuffer) {
 | 
			
		||||
			foo = new Uint8Array(foo);
 | 
			
		||||
			bar = new Uint8Array(bar);
 | 
			
		||||
		} else if (ctor === DataView) {
 | 
			
		||||
			if ((len=foo.byteLength) === bar.byteLength) {
 | 
			
		||||
				while (len-- && foo.getInt8(len) === bar.getInt8(len));
 | 
			
		||||
			}
 | 
			
		||||
			return len === -1;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (ArrayBuffer.isView(foo)) {
 | 
			
		||||
			if ((len=foo.byteLength) === bar.byteLength) {
 | 
			
		||||
				while (len-- && foo[len] === bar[len]);
 | 
			
		||||
			}
 | 
			
		||||
			return len === -1;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (!ctor || typeof foo === 'object') {
 | 
			
		||||
			len = 0;
 | 
			
		||||
			for (ctor in foo) {
 | 
			
		||||
				if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false;
 | 
			
		||||
				if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false;
 | 
			
		||||
			}
 | 
			
		||||
			return Object.keys(bar).length === len;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return foo !== foo && bar !== bar;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
exports.dequal = dequal;
 | 
			
		||||
							
								
								
									
										1
									
								
								node_modules/dequal/dist/index.min.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								node_modules/dequal/dist/index.min.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.dequal={})}(this,(function(e){var t=Object.prototype.hasOwnProperty;function r(e,t,r){for(r of e.keys())if(n(r,t))return r}function n(e,f){var i,o,u;if(e===f)return!0;if(e&&f&&(i=e.constructor)===f.constructor){if(i===Date)return e.getTime()===f.getTime();if(i===RegExp)return e.toString()===f.toString();if(i===Array){if((o=e.length)===f.length)for(;o--&&n(e[o],f[o]););return-1===o}if(i===Set){if(e.size!==f.size)return!1;for(o of e){if((u=o)&&"object"==typeof u&&!(u=r(f,u)))return!1;if(!f.has(u))return!1}return!0}if(i===Map){if(e.size!==f.size)return!1;for(o of e){if((u=o[0])&&"object"==typeof u&&!(u=r(f,u)))return!1;if(!n(o[1],f.get(u)))return!1}return!0}if(i===ArrayBuffer)e=new Uint8Array(e),f=new Uint8Array(f);else if(i===DataView){if((o=e.byteLength)===f.byteLength)for(;o--&&e.getInt8(o)===f.getInt8(o););return-1===o}if(ArrayBuffer.isView(e)){if((o=e.byteLength)===f.byteLength)for(;o--&&e[o]===f[o];);return-1===o}if(!i||"object"==typeof e){for(i in o=0,e){if(t.call(e,i)&&++o&&!t.call(f,i))return!1;if(!(i in f)||!n(e[i],f[i]))return!1}return Object.keys(f).length===o}}return e!=e&&f!=f}e.dequal=n}));
 | 
			
		||||
							
								
								
									
										84
									
								
								node_modules/dequal/dist/index.mjs
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										84
									
								
								node_modules/dequal/dist/index.mjs
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,84 @@
 | 
			
		||||
var has = Object.prototype.hasOwnProperty;
 | 
			
		||||
 | 
			
		||||
function find(iter, tar, key) {
 | 
			
		||||
	for (key of iter.keys()) {
 | 
			
		||||
		if (dequal(key, tar)) return key;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function dequal(foo, bar) {
 | 
			
		||||
	var ctor, len, tmp;
 | 
			
		||||
	if (foo === bar) return true;
 | 
			
		||||
 | 
			
		||||
	if (foo && bar && (ctor=foo.constructor) === bar.constructor) {
 | 
			
		||||
		if (ctor === Date) return foo.getTime() === bar.getTime();
 | 
			
		||||
		if (ctor === RegExp) return foo.toString() === bar.toString();
 | 
			
		||||
 | 
			
		||||
		if (ctor === Array) {
 | 
			
		||||
			if ((len=foo.length) === bar.length) {
 | 
			
		||||
				while (len-- && dequal(foo[len], bar[len]));
 | 
			
		||||
			}
 | 
			
		||||
			return len === -1;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (ctor === Set) {
 | 
			
		||||
			if (foo.size !== bar.size) {
 | 
			
		||||
				return false;
 | 
			
		||||
			}
 | 
			
		||||
			for (len of foo) {
 | 
			
		||||
				tmp = len;
 | 
			
		||||
				if (tmp && typeof tmp === 'object') {
 | 
			
		||||
					tmp = find(bar, tmp);
 | 
			
		||||
					if (!tmp) return false;
 | 
			
		||||
				}
 | 
			
		||||
				if (!bar.has(tmp)) return false;
 | 
			
		||||
			}
 | 
			
		||||
			return true;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (ctor === Map) {
 | 
			
		||||
			if (foo.size !== bar.size) {
 | 
			
		||||
				return false;
 | 
			
		||||
			}
 | 
			
		||||
			for (len of foo) {
 | 
			
		||||
				tmp = len[0];
 | 
			
		||||
				if (tmp && typeof tmp === 'object') {
 | 
			
		||||
					tmp = find(bar, tmp);
 | 
			
		||||
					if (!tmp) return false;
 | 
			
		||||
				}
 | 
			
		||||
				if (!dequal(len[1], bar.get(tmp))) {
 | 
			
		||||
					return false;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
			return true;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (ctor === ArrayBuffer) {
 | 
			
		||||
			foo = new Uint8Array(foo);
 | 
			
		||||
			bar = new Uint8Array(bar);
 | 
			
		||||
		} else if (ctor === DataView) {
 | 
			
		||||
			if ((len=foo.byteLength) === bar.byteLength) {
 | 
			
		||||
				while (len-- && foo.getInt8(len) === bar.getInt8(len));
 | 
			
		||||
			}
 | 
			
		||||
			return len === -1;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (ArrayBuffer.isView(foo)) {
 | 
			
		||||
			if ((len=foo.byteLength) === bar.byteLength) {
 | 
			
		||||
				while (len-- && foo[len] === bar[len]);
 | 
			
		||||
			}
 | 
			
		||||
			return len === -1;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (!ctor || typeof foo === 'object') {
 | 
			
		||||
			len = 0;
 | 
			
		||||
			for (ctor in foo) {
 | 
			
		||||
				if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false;
 | 
			
		||||
				if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false;
 | 
			
		||||
			}
 | 
			
		||||
			return Object.keys(bar).length === len;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return foo !== foo && bar !== bar;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user