diff --git a/.parcel-cache/data.mdb b/.parcel-cache/data.mdb index a99bc6a..2561257 100644 Binary files a/.parcel-cache/data.mdb and b/.parcel-cache/data.mdb differ diff --git a/dist/code-kata-timer.3464ddca.js b/dist/code-kata-timer.3464ddca.js new file mode 100644 index 0000000..08d7dba --- /dev/null +++ b/dist/code-kata-timer.3464ddca.js @@ -0,0 +1,602 @@ +// modules are defined as an array +// [ module function, map of requires ] +// +// map of requires is short require name -> numeric require +// +// anything defined in a previous bundle is accessed via the +// orig method which is the require for previous bundles + +(function (modules, entry, mainEntry, parcelRequireName, globalName) { + /* eslint-disable no-undef */ + var globalObject = + typeof globalThis !== 'undefined' + ? globalThis + : typeof self !== 'undefined' + ? self + : typeof window !== 'undefined' + ? window + : typeof global !== 'undefined' + ? global + : {}; + /* eslint-enable no-undef */ + + // Save the require from previous bundle to this closure if any + var previousRequire = + typeof globalObject[parcelRequireName] === 'function' && + globalObject[parcelRequireName]; + + var cache = previousRequire.cache || {}; + // Do not use `require` to prevent Webpack from trying to bundle this call + var nodeRequire = + typeof module !== 'undefined' && + typeof module.require === 'function' && + module.require.bind(module); + + function newRequire(name, jumped) { + if (!cache[name]) { + if (!modules[name]) { + // if we cannot find the module within our internal map or + // cache jump to the current global require ie. the last bundle + // that was added to the page. + var currentRequire = + typeof globalObject[parcelRequireName] === 'function' && + globalObject[parcelRequireName]; + if (!jumped && currentRequire) { + return currentRequire(name, true); + } + + // If there are other bundles on this page the require from the + // previous one is saved to 'previousRequire'. Repeat this as + // many times as there are bundles until the module is found or + // we exhaust the require chain. + if (previousRequire) { + return previousRequire(name, true); + } + + // Try the node require function if it exists. + if (nodeRequire && typeof name === 'string') { + return nodeRequire(name); + } + + var err = new Error("Cannot find module '" + name + "'"); + err.code = 'MODULE_NOT_FOUND'; + throw err; + } + + localRequire.resolve = resolve; + localRequire.cache = {}; + + var module = (cache[name] = new newRequire.Module(name)); + + modules[name][0].call( + module.exports, + localRequire, + module, + module.exports, + globalObject + ); + } + + return cache[name].exports; + + function localRequire(x) { + var res = localRequire.resolve(x); + return res === false ? {} : newRequire(res); + } + + function resolve(x) { + var id = modules[name][1][x]; + return id != null ? id : x; + } + } + + function Module(moduleName) { + this.id = moduleName; + this.bundle = newRequire; + this.exports = {}; + } + + newRequire.isParcelRequire = true; + newRequire.Module = Module; + newRequire.modules = modules; + newRequire.cache = cache; + newRequire.parent = previousRequire; + newRequire.register = function (id, exports) { + modules[id] = [ + function (require, module) { + module.exports = exports; + }, + {}, + ]; + }; + + Object.defineProperty(newRequire, 'root', { + get: function () { + return globalObject[parcelRequireName]; + }, + }); + + globalObject[parcelRequireName] = newRequire; + + for (var i = 0; i < entry.length; i++) { + newRequire(entry[i]); + } + + if (mainEntry) { + // Expose entry point to Node, AMD or browser globals + // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js + var mainExports = newRequire(mainEntry); + + // CommonJS + if (typeof exports === 'object' && typeof module !== 'undefined') { + module.exports = mainExports; + + // RequireJS + } else if (typeof define === 'function' && define.amd) { + define(function () { + return mainExports; + }); + + // - + diff --git a/node_modules/.bin/browserslist b/node_modules/.bin/browserslist index 3cd991b..60e71ad 120000 --- a/node_modules/.bin/browserslist +++ b/node_modules/.bin/browserslist @@ -1 +1,16 @@ -../browserslist/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../browserslist/cli.js" "$@" +else + exec node "$basedir/../browserslist/cli.js" "$@" +fi diff --git a/node_modules/.bin/browserslist.cmd b/node_modules/.bin/browserslist.cmd new file mode 100644 index 0000000..f93c251 --- /dev/null +++ b/node_modules/.bin/browserslist.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\browserslist\cli.js" %* diff --git a/node_modules/.bin/browserslist.ps1 b/node_modules/.bin/browserslist.ps1 new file mode 100644 index 0000000..01e10a0 --- /dev/null +++ b/node_modules/.bin/browserslist.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../browserslist/cli.js" $args + } else { + & "node$exe" "$basedir/../browserslist/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/detect-libc b/node_modules/.bin/detect-libc index b4c4b76..76becf3 120000 --- a/node_modules/.bin/detect-libc +++ b/node_modules/.bin/detect-libc @@ -1 +1,16 @@ -../detect-libc/bin/detect-libc.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../detect-libc/bin/detect-libc.js" "$@" +else + exec node "$basedir/../detect-libc/bin/detect-libc.js" "$@" +fi diff --git a/node_modules/.bin/detect-libc.cmd b/node_modules/.bin/detect-libc.cmd new file mode 100644 index 0000000..1c5d86d --- /dev/null +++ b/node_modules/.bin/detect-libc.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\detect-libc\bin\detect-libc.js" %* diff --git a/node_modules/.bin/detect-libc.ps1 b/node_modules/.bin/detect-libc.ps1 new file mode 100644 index 0000000..5ebeae1 --- /dev/null +++ b/node_modules/.bin/detect-libc.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args + } else { + & "$basedir/node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args + } else { + & "node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/download-lmdb-prebuilds b/node_modules/.bin/download-lmdb-prebuilds index 12b417f..283b049 120000 --- a/node_modules/.bin/download-lmdb-prebuilds +++ b/node_modules/.bin/download-lmdb-prebuilds @@ -1 +1,16 @@ -../lmdb/bin/download-prebuilds.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../lmdb/bin/download-prebuilds.js" "$@" +else + exec node "$basedir/../lmdb/bin/download-prebuilds.js" "$@" +fi diff --git a/node_modules/.bin/download-lmdb-prebuilds.cmd b/node_modules/.bin/download-lmdb-prebuilds.cmd new file mode 100644 index 0000000..3c57893 --- /dev/null +++ b/node_modules/.bin/download-lmdb-prebuilds.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\lmdb\bin\download-prebuilds.js" %* diff --git a/node_modules/.bin/download-lmdb-prebuilds.ps1 b/node_modules/.bin/download-lmdb-prebuilds.ps1 new file mode 100644 index 0000000..8d342af --- /dev/null +++ b/node_modules/.bin/download-lmdb-prebuilds.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../lmdb/bin/download-prebuilds.js" $args + } else { + & "$basedir/node$exe" "$basedir/../lmdb/bin/download-prebuilds.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../lmdb/bin/download-prebuilds.js" $args + } else { + & "node$exe" "$basedir/../lmdb/bin/download-prebuilds.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/download-msgpackr-prebuilds b/node_modules/.bin/download-msgpackr-prebuilds index 562dd61..10f1e76 120000 --- a/node_modules/.bin/download-msgpackr-prebuilds +++ b/node_modules/.bin/download-msgpackr-prebuilds @@ -1 +1,16 @@ -../msgpackr-extract/bin/download-prebuilds.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../msgpackr-extract/bin/download-prebuilds.js" "$@" +else + exec node "$basedir/../msgpackr-extract/bin/download-prebuilds.js" "$@" +fi diff --git a/node_modules/.bin/download-msgpackr-prebuilds.cmd b/node_modules/.bin/download-msgpackr-prebuilds.cmd new file mode 100644 index 0000000..0a55d4c --- /dev/null +++ b/node_modules/.bin/download-msgpackr-prebuilds.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\msgpackr-extract\bin\download-prebuilds.js" %* diff --git a/node_modules/.bin/download-msgpackr-prebuilds.ps1 b/node_modules/.bin/download-msgpackr-prebuilds.ps1 new file mode 100644 index 0000000..cda4b78 --- /dev/null +++ b/node_modules/.bin/download-msgpackr-prebuilds.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../msgpackr-extract/bin/download-prebuilds.js" $args + } else { + & "$basedir/node$exe" "$basedir/../msgpackr-extract/bin/download-prebuilds.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../msgpackr-extract/bin/download-prebuilds.js" $args + } else { + & "node$exe" "$basedir/../msgpackr-extract/bin/download-prebuilds.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/js-yaml b/node_modules/.bin/js-yaml index 9dbd010..82416ef 120000 --- a/node_modules/.bin/js-yaml +++ b/node_modules/.bin/js-yaml @@ -1 +1,16 @@ -../js-yaml/bin/js-yaml.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@" +else + exec node "$basedir/../js-yaml/bin/js-yaml.js" "$@" +fi diff --git a/node_modules/.bin/js-yaml.cmd b/node_modules/.bin/js-yaml.cmd new file mode 100644 index 0000000..453312b --- /dev/null +++ b/node_modules/.bin/js-yaml.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\js-yaml\bin\js-yaml.js" %* diff --git a/node_modules/.bin/js-yaml.ps1 b/node_modules/.bin/js-yaml.ps1 new file mode 100644 index 0000000..2acfc61 --- /dev/null +++ b/node_modules/.bin/js-yaml.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } else { + & "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } else { + & "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/json5 b/node_modules/.bin/json5 index 217f379..abf72a4 120000 --- a/node_modules/.bin/json5 +++ b/node_modules/.bin/json5 @@ -1 +1,16 @@ -../json5/lib/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../json5/lib/cli.js" "$@" +else + exec node "$basedir/../json5/lib/cli.js" "$@" +fi diff --git a/node_modules/.bin/json5.cmd b/node_modules/.bin/json5.cmd new file mode 100644 index 0000000..95c137f --- /dev/null +++ b/node_modules/.bin/json5.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\json5\lib\cli.js" %* diff --git a/node_modules/.bin/json5.ps1 b/node_modules/.bin/json5.ps1 new file mode 100644 index 0000000..8700ddb --- /dev/null +++ b/node_modules/.bin/json5.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../json5/lib/cli.js" $args + } else { + & "node$exe" "$basedir/../json5/lib/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/node-gyp-build-optional-packages b/node_modules/.bin/node-gyp-build-optional-packages index 9630206..c7cf63e 120000 --- a/node_modules/.bin/node-gyp-build-optional-packages +++ b/node_modules/.bin/node-gyp-build-optional-packages @@ -1 +1,16 @@ -../node-gyp-build-optional-packages/bin.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../node-gyp-build-optional-packages/bin.js" "$@" +else + exec node "$basedir/../node-gyp-build-optional-packages/bin.js" "$@" +fi diff --git a/node_modules/.bin/node-gyp-build-optional-packages-optional b/node_modules/.bin/node-gyp-build-optional-packages-optional index 5915bd7..23d3f9b 120000 --- a/node_modules/.bin/node-gyp-build-optional-packages-optional +++ b/node_modules/.bin/node-gyp-build-optional-packages-optional @@ -1 +1,16 @@ -../node-gyp-build-optional-packages/optional.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../node-gyp-build-optional-packages/optional.js" "$@" +else + exec node "$basedir/../node-gyp-build-optional-packages/optional.js" "$@" +fi diff --git a/node_modules/.bin/node-gyp-build-optional-packages-optional.cmd b/node_modules/.bin/node-gyp-build-optional-packages-optional.cmd new file mode 100644 index 0000000..230d063 --- /dev/null +++ b/node_modules/.bin/node-gyp-build-optional-packages-optional.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\node-gyp-build-optional-packages\optional.js" %* diff --git a/node_modules/.bin/node-gyp-build-optional-packages-optional.ps1 b/node_modules/.bin/node-gyp-build-optional-packages-optional.ps1 new file mode 100644 index 0000000..6340bfd --- /dev/null +++ b/node_modules/.bin/node-gyp-build-optional-packages-optional.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/optional.js" $args + } else { + & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/optional.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../node-gyp-build-optional-packages/optional.js" $args + } else { + & "node$exe" "$basedir/../node-gyp-build-optional-packages/optional.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/node-gyp-build-optional-packages-test b/node_modules/.bin/node-gyp-build-optional-packages-test index c0cc979..7f62baf 120000 --- a/node_modules/.bin/node-gyp-build-optional-packages-test +++ b/node_modules/.bin/node-gyp-build-optional-packages-test @@ -1 +1,16 @@ -../node-gyp-build-optional-packages/build-test.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../node-gyp-build-optional-packages/build-test.js" "$@" +else + exec node "$basedir/../node-gyp-build-optional-packages/build-test.js" "$@" +fi diff --git a/node_modules/.bin/node-gyp-build-optional-packages-test.cmd b/node_modules/.bin/node-gyp-build-optional-packages-test.cmd new file mode 100644 index 0000000..b8260a2 --- /dev/null +++ b/node_modules/.bin/node-gyp-build-optional-packages-test.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\node-gyp-build-optional-packages\build-test.js" %* diff --git a/node_modules/.bin/node-gyp-build-optional-packages-test.ps1 b/node_modules/.bin/node-gyp-build-optional-packages-test.ps1 new file mode 100644 index 0000000..d18f048 --- /dev/null +++ b/node_modules/.bin/node-gyp-build-optional-packages-test.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/build-test.js" $args + } else { + & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/build-test.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../node-gyp-build-optional-packages/build-test.js" $args + } else { + & "node$exe" "$basedir/../node-gyp-build-optional-packages/build-test.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/node-gyp-build-optional-packages.cmd b/node_modules/.bin/node-gyp-build-optional-packages.cmd new file mode 100644 index 0000000..1e77d99 --- /dev/null +++ b/node_modules/.bin/node-gyp-build-optional-packages.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\node-gyp-build-optional-packages\bin.js" %* diff --git a/node_modules/.bin/node-gyp-build-optional-packages.ps1 b/node_modules/.bin/node-gyp-build-optional-packages.ps1 new file mode 100644 index 0000000..a88b6a9 --- /dev/null +++ b/node_modules/.bin/node-gyp-build-optional-packages.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/bin.js" $args + } else { + & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/bin.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../node-gyp-build-optional-packages/bin.js" $args + } else { + & "node$exe" "$basedir/../node-gyp-build-optional-packages/bin.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/parcel b/node_modules/.bin/parcel index 5da1994..0dcf442 120000 --- a/node_modules/.bin/parcel +++ b/node_modules/.bin/parcel @@ -1 +1,16 @@ -../parcel/lib/bin.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../parcel/lib/bin.js" "$@" +else + exec node "$basedir/../parcel/lib/bin.js" "$@" +fi diff --git a/node_modules/.bin/parcel.cmd b/node_modules/.bin/parcel.cmd new file mode 100644 index 0000000..4820990 --- /dev/null +++ b/node_modules/.bin/parcel.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\parcel\lib\bin.js" %* diff --git a/node_modules/.bin/parcel.ps1 b/node_modules/.bin/parcel.ps1 new file mode 100644 index 0000000..a6526a8 --- /dev/null +++ b/node_modules/.bin/parcel.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../parcel/lib/bin.js" $args + } else { + & "$basedir/node$exe" "$basedir/../parcel/lib/bin.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../parcel/lib/bin.js" $args + } else { + & "node$exe" "$basedir/../parcel/lib/bin.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver index 5aaadf4..97c5327 120000 --- a/node_modules/.bin/semver +++ b/node_modules/.bin/semver @@ -1 +1,16 @@ -../semver/bin/semver.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@" +else + exec node "$basedir/../semver/bin/semver.js" "$@" +fi diff --git a/node_modules/.bin/semver.cmd b/node_modules/.bin/semver.cmd new file mode 100644 index 0000000..9913fa9 --- /dev/null +++ b/node_modules/.bin/semver.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %* diff --git a/node_modules/.bin/semver.ps1 b/node_modules/.bin/semver.ps1 new file mode 100644 index 0000000..314717a --- /dev/null +++ b/node_modules/.bin/semver.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args + } else { + & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../semver/bin/semver.js" $args + } else { + & "node$exe" "$basedir/../semver/bin/semver.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/update-browserslist-db b/node_modules/.bin/update-browserslist-db index b11e16f..cced63c 120000 --- a/node_modules/.bin/update-browserslist-db +++ b/node_modules/.bin/update-browserslist-db @@ -1 +1,16 @@ -../update-browserslist-db/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../update-browserslist-db/cli.js" "$@" +else + exec node "$basedir/../update-browserslist-db/cli.js" "$@" +fi diff --git a/node_modules/.bin/update-browserslist-db.cmd b/node_modules/.bin/update-browserslist-db.cmd new file mode 100644 index 0000000..2e14905 --- /dev/null +++ b/node_modules/.bin/update-browserslist-db.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\update-browserslist-db\cli.js" %* diff --git a/node_modules/.bin/update-browserslist-db.ps1 b/node_modules/.bin/update-browserslist-db.ps1 new file mode 100644 index 0000000..7abdf26 --- /dev/null +++ b/node_modules/.bin/update-browserslist-db.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../update-browserslist-db/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../update-browserslist-db/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../update-browserslist-db/cli.js" $args + } else { + & "node$exe" "$basedir/../update-browserslist-db/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 3bba91b..e551a5d 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -55,6 +55,19 @@ "darwin" ] }, + "node_modules/@lmdb/lmdb-win32-x64": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.8.5.tgz", + "integrity": "sha512-4wvrf5BgnR8RpogHhtpCPJMKBmvyZPhhUtEwMJbXh0ni2BucpfF07jlmyM11zRqQ2XIq6PbC2j7W7UCCcm1rRQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@mischnic/json-sourcemap": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@mischnic/json-sourcemap/-/json-sourcemap-0.1.1.tgz", @@ -82,6 +95,19 @@ "darwin" ] }, + "node_modules/@msgpackr-extract/msgpackr-extract-win32-x64": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-3.0.3.tgz", + "integrity": "sha512-x0fWaQtYp4E6sktbsdAqnehxDgEc/VwM7uLsRCYWaiGu0ykYdZPiS8zCWdnjHwyiumousxfBm4SO31eXqwEZhQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@parcel/bundler-default": { "version": "2.13.3", "resolved": "https://registry.npmjs.org/@parcel/bundler-default/-/bundler-default-2.13.3.tgz", @@ -1233,6 +1259,26 @@ "url": "https://opencollective.com/parcel" } }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz", + "integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, "node_modules/@parcel/workers": { "version": "2.13.3", "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.13.3.tgz", @@ -1311,6 +1357,22 @@ "node": ">=10" } }, + "node_modules/@swc/core-win32-x64-msvc": { + "version": "1.11.9", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.11.9.tgz", + "integrity": "sha512-oAwuhzr+1Bmb4As2wa3k57/WPJeyVEYRQelwEMYjPgi/h6TH+Y69jQAgKOd+ec1Yl8L5nkWTZMVA/dKDac1bAQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=10" + } + }, "node_modules/@swc/counter": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", @@ -1917,6 +1979,26 @@ "url": "https://opencollective.com/parcel" } }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.29.2", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.29.2.tgz", + "integrity": "sha512-EdIUW3B2vLuHmv7urfzMI/h2fmlnOQBk1xlsDxkN1tCWKjNFjfLhGxYk8C8mzpSfr+A6jFFIi8fU6LbQGsRWjA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, "node_modules/lightningcss/node_modules/detect-libc": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz", diff --git a/node_modules/@lmdb/lmdb-win32-x64/README.md b/node_modules/@lmdb/lmdb-win32-x64/README.md new file mode 100644 index 0000000..3b130b5 --- /dev/null +++ b/node_modules/@lmdb/lmdb-win32-x64/README.md @@ -0,0 +1 @@ +Platform specific binary for lmdb on win32 OS with x64 architecture \ No newline at end of file diff --git a/node_modules/@lmdb/lmdb-win32-x64/index.js b/node_modules/@lmdb/lmdb-win32-x64/index.js new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/@lmdb/lmdb-win32-x64/node.abi108.node b/node_modules/@lmdb/lmdb-win32-x64/node.abi108.node new file mode 100644 index 0000000..20fd9d9 Binary files /dev/null and b/node_modules/@lmdb/lmdb-win32-x64/node.abi108.node differ diff --git a/node_modules/@lmdb/lmdb-win32-x64/node.abi115.node b/node_modules/@lmdb/lmdb-win32-x64/node.abi115.node new file mode 100644 index 0000000..6f9b3a7 Binary files /dev/null and b/node_modules/@lmdb/lmdb-win32-x64/node.abi115.node differ diff --git a/node_modules/@lmdb/lmdb-win32-x64/node.abi93.node b/node_modules/@lmdb/lmdb-win32-x64/node.abi93.node new file mode 100644 index 0000000..657cfde Binary files /dev/null and b/node_modules/@lmdb/lmdb-win32-x64/node.abi93.node differ diff --git a/node_modules/@lmdb/lmdb-win32-x64/node.napi.node b/node_modules/@lmdb/lmdb-win32-x64/node.napi.node new file mode 100644 index 0000000..d14507a Binary files /dev/null and b/node_modules/@lmdb/lmdb-win32-x64/node.napi.node differ diff --git a/node_modules/@lmdb/lmdb-win32-x64/package.json b/node_modules/@lmdb/lmdb-win32-x64/package.json new file mode 100644 index 0000000..1c17e51 --- /dev/null +++ b/node_modules/@lmdb/lmdb-win32-x64/package.json @@ -0,0 +1,21 @@ +{ + "name": "@lmdb/lmdb-win32-x64", + "version": "2.8.5", + "os": [ + "win32" + ], + "cpu": [ + "x64" + ], + "license": "MIT", + "author": "Kris Zyp", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/kriszyp/lmdb-js.git" + }, + "bugs": { + "url": "https://github.com/kriszyp/lmdb-js/issues" + }, + "homepage": "https://github.com/kriszyp/lmdb-js#readme", + "description": "Platform specific binary for lmdb on win32 OS with x64 architecture" +} \ No newline at end of file diff --git a/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/README.md b/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/README.md new file mode 100644 index 0000000..100874c --- /dev/null +++ b/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/README.md @@ -0,0 +1 @@ +Platform specific binary for msgpackr-extract on win32 OS with x64 architecture \ No newline at end of file diff --git a/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/index.js b/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/index.js new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/node.abi115.node b/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/node.abi115.node new file mode 100644 index 0000000..9f43db4 Binary files /dev/null and b/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/node.abi115.node differ diff --git a/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/node.napi.node b/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/node.napi.node new file mode 100644 index 0000000..3a9b7be Binary files /dev/null and b/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/node.napi.node differ diff --git a/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/package.json b/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/package.json new file mode 100644 index 0000000..ffacf0c --- /dev/null +++ b/node_modules/@msgpackr-extract/msgpackr-extract-win32-x64/package.json @@ -0,0 +1,17 @@ +{ + "name": "@msgpackr-extract/msgpackr-extract-win32-x64", + "version": "3.0.3", + "os": [ + "win32" + ], + "cpu": [ + "x64" + ], + "license": "MIT", + "author": "Kris Zyp", + "repository": { + "type": "git", + "url": "http://github.com/kriszyp/msgpackr-extract" + }, + "description": "Platform specific binary for msgpackr-extract on win32 OS with x64 architecture" +} \ No newline at end of file diff --git a/node_modules/@parcel/watcher-win32-x64/LICENSE b/node_modules/@parcel/watcher-win32-x64/LICENSE new file mode 100644 index 0000000..7fb9bc9 --- /dev/null +++ b/node_modules/@parcel/watcher-win32-x64/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017-present Devon Govett + +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/node_modules/@parcel/watcher-win32-x64/README.md b/node_modules/@parcel/watcher-win32-x64/README.md new file mode 100644 index 0000000..7620831 --- /dev/null +++ b/node_modules/@parcel/watcher-win32-x64/README.md @@ -0,0 +1 @@ +This is the win32-x64 build of @parcel/watcher. See https://github.com/parcel-bundler/watcher for details. \ No newline at end of file diff --git a/node_modules/@parcel/watcher-win32-x64/package.json b/node_modules/@parcel/watcher-win32-x64/package.json new file mode 100644 index 0000000..dbbc6d1 --- /dev/null +++ b/node_modules/@parcel/watcher-win32-x64/package.json @@ -0,0 +1,30 @@ +{ + "name": "@parcel/watcher-win32-x64", + "version": "2.5.1", + "main": "watcher.node", + "repository": { + "type": "git", + "url": "https://github.com/parcel-bundler/watcher.git" + }, + "description": "A native C++ Node module for querying and subscribing to filesystem events. Used by Parcel 2.", + "license": "MIT", + "publishConfig": { + "access": "public" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "files": [ + "watcher.node" + ], + "engines": { + "node": ">= 10.0.0" + }, + "os": [ + "win32" + ], + "cpu": [ + "x64" + ] +} diff --git a/node_modules/@parcel/watcher-win32-x64/watcher.node b/node_modules/@parcel/watcher-win32-x64/watcher.node new file mode 100644 index 0000000..3264889 Binary files /dev/null and b/node_modules/@parcel/watcher-win32-x64/watcher.node differ diff --git a/node_modules/@swc/core-win32-x64-msvc/README.md b/node_modules/@swc/core-win32-x64-msvc/README.md new file mode 100644 index 0000000..e1f6585 --- /dev/null +++ b/node_modules/@swc/core-win32-x64-msvc/README.md @@ -0,0 +1,3 @@ +# `@swc/core-win32-x64-msvc` + +This is the **x86_64-pc-windows-msvc** binary for `@swc/core` diff --git a/node_modules/@swc/core-win32-x64-msvc/package.json b/node_modules/@swc/core-win32-x64-msvc/package.json new file mode 100644 index 0000000..081fd88 --- /dev/null +++ b/node_modules/@swc/core-win32-x64-msvc/package.json @@ -0,0 +1,42 @@ +{ + "name": "@swc/core-win32-x64-msvc", + "version": "1.11.9", + "os": [ + "win32" + ], + "cpu": [ + "x64" + ], + "main": "swc.win32-x64-msvc.node", + "files": [ + "swc.win32-x64-msvc.node", + "swc.exe" + ], + "description": "Super-fast alternative for babel", + "keywords": [ + "swc", + "swcpack", + "babel", + "typescript", + "rust", + "webpack", + "tsc" + ], + "author": "강동윤 ", + "homepage": "https://swc.rs", + "license": "Apache-2.0 AND MIT", + "engines": { + "node": ">=10" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org/", + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/swc-project/swc.git" + }, + "bugs": { + "url": "https://github.com/swc-project/swc/issues" + } +} \ No newline at end of file diff --git a/node_modules/@swc/core-win32-x64-msvc/swc.win32-x64-msvc.node b/node_modules/@swc/core-win32-x64-msvc/swc.win32-x64-msvc.node new file mode 100644 index 0000000..cb9b026 Binary files /dev/null and b/node_modules/@swc/core-win32-x64-msvc/swc.win32-x64-msvc.node differ diff --git a/node_modules/lightningcss-win32-x64-msvc/LICENSE b/node_modules/lightningcss-win32-x64-msvc/LICENSE new file mode 100644 index 0000000..89fe5b2 --- /dev/null +++ b/node_modules/lightningcss-win32-x64-msvc/LICENSE @@ -0,0 +1,373 @@ + Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" +means each individual or legal entity that creates, contributes to +the creation of, or owns Covered Software. + +1.2. "Contributor Version" +means the combination of the Contributions of others (if any) used +by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" +means Covered Software of a particular Contributor. + +1.4. "Covered Software" +means Source Code Form to which the initial Contributor has attached +the notice in Exhibit A, the Executable Form of such Source Code +Form, and Modifications of such Source Code Form, in each case +including portions thereof. + +1.5. "Incompatible With Secondary Licenses" +means + +(a) that the initial Contributor has attached the notice described +in Exhibit B to the Covered Software; or + +(b) that the Covered Software was made available under the terms of +version 1.1 or earlier of the License, but not also under the +terms of a Secondary License. + +1.6. "Executable Form" +means any form of the work other than Source Code Form. + +1.7. "Larger Work" +means a work that combines Covered Software with other material, in +a separate file or files, that is not Covered Software. + +1.8. "License" +means this document. + +1.9. "Licensable" +means having the right to grant, to the maximum extent possible, +whether at the time of the initial grant or subsequently, any and +all of the rights conveyed by this License. + +1.10. "Modifications" +means any of the following: + +(a) any file in Source Code Form that results from an addition to, +deletion from, or modification of the contents of Covered +Software; or + +(b) any new file in Source Code Form that contains any Covered +Software. + +1.11. "Patent Claims" of a Contributor +means any patent claim(s), including without limitation, method, +process, and apparatus claims, in any patent Licensable by such +Contributor that would be infringed, but for the grant of the +License, by the making, using, selling, offering for sale, having +made, import, or transfer of either its Contributions or its +Contributor Version. + +1.12. "Secondary License" +means either the GNU General Public License, Version 2.0, the GNU +Lesser General Public License, Version 2.1, the GNU Affero General +Public License, Version 3.0, or any later versions of those +licenses. + +1.13. "Source Code Form" +means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") +means an individual or a legal entity exercising rights under this +License. For legal entities, "You" includes any entity that +controls, is controlled by, or is under common control with You. For +purposes of this definition, "control" means (a) the power, direct +or indirect, to cause the direction or management of such entity, +whether by contract or otherwise, or (b) ownership of more than +fifty percent (50%) of the outstanding shares or beneficial +ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) +Licensable by such Contributor to use, reproduce, make available, +modify, display, perform, distribute, and otherwise exploit its +Contributions, either on an unmodified basis, with Modifications, or +as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer +for sale, have made, import, and otherwise transfer either its +Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; +or + +(b) for infringements caused by: (i) Your and any other third party's +modifications of Covered Software, or (ii) the combination of its +Contributions with other software (except as part of its Contributor +Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of +its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code +Form, as described in Section 3.1, and You must inform recipients of +the Executable Form how they can obtain a copy of such Source Code +Form by reasonable means in a timely manner, at a charge no more +than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this +License, or sublicense it under different terms, provided that the +license for the Executable Form does not attempt to limit or alter +the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at https://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + +This Source Code Form is "Incompatible With Secondary Licenses", as +defined by the Mozilla Public License, v. 2.0. diff --git a/node_modules/lightningcss-win32-x64-msvc/README.md b/node_modules/lightningcss-win32-x64-msvc/README.md new file mode 100644 index 0000000..71b8938 --- /dev/null +++ b/node_modules/lightningcss-win32-x64-msvc/README.md @@ -0,0 +1 @@ +This is the x86_64-pc-windows-msvc build of lightningcss. See https://github.com/parcel-bundler/lightningcss for details. \ No newline at end of file diff --git a/node_modules/lightningcss-win32-x64-msvc/lightningcss.win32-x64-msvc.node b/node_modules/lightningcss-win32-x64-msvc/lightningcss.win32-x64-msvc.node new file mode 100644 index 0000000..1bb5789 Binary files /dev/null and b/node_modules/lightningcss-win32-x64-msvc/lightningcss.win32-x64-msvc.node differ diff --git a/node_modules/lightningcss-win32-x64-msvc/package.json b/node_modules/lightningcss-win32-x64-msvc/package.json new file mode 100644 index 0000000..1758e53 --- /dev/null +++ b/node_modules/lightningcss-win32-x64-msvc/package.json @@ -0,0 +1,34 @@ +{ + "name": "lightningcss-win32-x64-msvc", + "version": "1.29.2", + "license": "MPL-2.0", + "description": "A CSS parser, transformer, and minifier written in Rust", + "main": "lightningcss.win32-x64-msvc.node", + "browserslist": "last 2 versions, not dead", + "publishConfig": { + "access": "public" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "repository": { + "type": "git", + "url": "https://github.com/parcel-bundler/lightningcss.git" + }, + "engines": { + "node": ">= 12.0.0" + }, + "files": [ + "lightningcss.win32-x64-msvc.node" + ], + "resolutions": { + "lightningcss": "link:." + }, + "os": [ + "win32" + ], + "cpu": [ + "x64" + ] +} diff --git a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages index 9630206..c7cf63e 120000 --- a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages +++ b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages @@ -1 +1,16 @@ -../node-gyp-build-optional-packages/bin.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../node-gyp-build-optional-packages/bin.js" "$@" +else + exec node "$basedir/../node-gyp-build-optional-packages/bin.js" "$@" +fi diff --git a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-optional b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-optional index 5915bd7..23d3f9b 120000 --- a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-optional +++ b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-optional @@ -1 +1,16 @@ -../node-gyp-build-optional-packages/optional.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../node-gyp-build-optional-packages/optional.js" "$@" +else + exec node "$basedir/../node-gyp-build-optional-packages/optional.js" "$@" +fi diff --git a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-optional.cmd b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-optional.cmd new file mode 100644 index 0000000..230d063 --- /dev/null +++ b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-optional.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\node-gyp-build-optional-packages\optional.js" %* diff --git a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-optional.ps1 b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-optional.ps1 new file mode 100644 index 0000000..6340bfd --- /dev/null +++ b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-optional.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/optional.js" $args + } else { + & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/optional.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../node-gyp-build-optional-packages/optional.js" $args + } else { + & "node$exe" "$basedir/../node-gyp-build-optional-packages/optional.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-test b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-test index c0cc979..7f62baf 120000 --- a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-test +++ b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-test @@ -1 +1,16 @@ -../node-gyp-build-optional-packages/build-test.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../node-gyp-build-optional-packages/build-test.js" "$@" +else + exec node "$basedir/../node-gyp-build-optional-packages/build-test.js" "$@" +fi diff --git a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-test.cmd b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-test.cmd new file mode 100644 index 0000000..b8260a2 --- /dev/null +++ b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-test.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\node-gyp-build-optional-packages\build-test.js" %* diff --git a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-test.ps1 b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-test.ps1 new file mode 100644 index 0000000..d18f048 --- /dev/null +++ b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages-test.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/build-test.js" $args + } else { + & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/build-test.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../node-gyp-build-optional-packages/build-test.js" $args + } else { + & "node$exe" "$basedir/../node-gyp-build-optional-packages/build-test.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages.cmd b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages.cmd new file mode 100644 index 0000000..1e77d99 --- /dev/null +++ b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\node-gyp-build-optional-packages\bin.js" %* diff --git a/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages.ps1 b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages.ps1 new file mode 100644 index 0000000..a88b6a9 --- /dev/null +++ b/node_modules/msgpackr-extract/node_modules/.bin/node-gyp-build-optional-packages.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/bin.js" $args + } else { + & "$basedir/node$exe" "$basedir/../node-gyp-build-optional-packages/bin.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../node-gyp-build-optional-packages/bin.js" $args + } else { + & "node$exe" "$basedir/../node-gyp-build-optional-packages/bin.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/script.js b/script.js index 5cafba6..f079626 100644 --- a/script.js +++ b/script.js @@ -1,19 +1,22 @@ -let intervalInMillis = 10; - +const DEFAULT_INTERVAL = 1000; let timerStarted = false; -let millis = 0; let seconds = 30; let minutes = 0; let hours = 0; -let intervalInstance; +let intervalInstance = null; document.getElementById("hour").value = hours; document.getElementById("min").value = minutes; document.getElementById("sec").value = seconds; document.getElementById("startBtn").addEventListener("click", function () { - timerStarted = true; - run(); + if (!timerStarted) { + timerStarted = true; + if (intervalInstance) { + clearInterval(intervalInstance); + } + run(); + } }); document.getElementById("pauseBtn").addEventListener("click", function () { @@ -33,52 +36,97 @@ document.getElementById("toZeroBtn").addEventListener("click", function () { }); function run() { - hours = document.getElementById("hour").value; - minutes = document.getElementById("min").value; - seconds = document.getElementById("sec").value; + hours = Math.max(0, parseInt(document.getElementById("hour").value, 10) || 0); + minutes = Math.max( + 0, + parseInt(document.getElementById("min").value, 10) || 0 + ); + seconds = Math.max( + 0, + parseInt(document.getElementById("sec").value, 10) || 0 + ); - intervalInstance = setInterval(function () { - if (timerStarted) { - seconds--; + if (intervalInstance) { + clearInterval(intervalInstance); + } - if (seconds == 0) { - if (minutes > 0) { - minutes--; - - seconds = 0; - seconds = 59; - } else { - if (hours > 0) { - // sem condição - } else { - timerStarted = false; - clearInterval(intervalInstance); - } - } - } + intervalInstance = setInterval(function () { + if (!timerStarted) return; - if (minutes == 0) { - if (hours > 0) { - hours--; - minutes = 59; - } else { - // sem condição - } + if (seconds === 0) { + if (minutes > 0) { + minutes--; + seconds = 59; + } else if (hours > 0) { + hours--; + minutes = 59; + seconds = 59; + } else { + // Timer acabou + timerStarted = false; + clearInterval(intervalInstance); + intervalInstance = null; + return; } - - document.getElementById(`sec`).value = seconds; - document.getElementById(`min`).value = minutes; - document.getElementById(`hour`).value = hours; + } else { + seconds--; } - }, 1000); + + document.getElementById("sec").value = seconds; + document.getElementById("min").value = minutes; + document.getElementById("hour").value = hours; + }, DEFAULT_INTERVAL); } function pause() { timerStarted = false; - clearInterval(intervalInstance); + if (intervalInstance) { + clearInterval(intervalInstance); + intervalInstance = null; + } } function stop() { timerStarted = false; } -// functio + +// funcionalidade para o botão de tela cheia e editar +document.addEventListener("DOMContentLoaded", () => { + const fullscreenButton = document.querySelector(".js-active-fullscreen"); + const editButton = document.querySelector(".js-edit-stopwatch"); + const editContainer = document.querySelector(".js-edit-container-stopwatch"); + const stopwatchButtons = document.querySelector(".js-stopwatch-button"); + + fullscreenButton.addEventListener("click", () => { + if (!document.fullscreenElement) { + document.documentElement.requestFullscreen(); + } else { + if (document.exitFullscreen) { + document.exitFullscreen(); + } + } + }); + + editButton.addEventListener("click", () => { + editContainer.classList.toggle("hide"); + stopwatchButtons.classList.toggle("hide"); + }); + + const cancelButton = document.querySelector(".js-cancel-button"); + cancelButton.addEventListener("click", () => { + editContainer.classList.add("hide"); + stopwatchButtons.classList.remove("hide"); + }); + + const finishEditButton = document.querySelector(".js-finish-edit-button"); + finishEditButton.addEventListener("click", () => { + editContainer.classList.add("hide"); + stopwatchButtons.classList.remove("hide"); + hours = parseInt(document.getElementById("hour").value, 10); + minutes = parseInt(document.getElementById("min").value, 10); + seconds = parseInt(document.getElementById("sec").value, 10); + document.getElementById("hour").value = hours; + document.getElementById("min").value = minutes; + document.getElementById("sec").value = seconds; + }); +}); diff --git a/style.css b/style.css index e442a24..db6401e 100644 --- a/style.css +++ b/style.css @@ -34,6 +34,7 @@ button { display: flex; align-items: center; justify-content: center; + cursor: pointer; } .button-wrapper {