banner图

This commit is contained in:
xiao-fajia 2024-09-27 20:58:56 +08:00
parent ba8549a0b8
commit 2e815440de
57 changed files with 2285 additions and 1904 deletions

View File

@ -1,7 +1,8 @@
// 应用全局配置
module.exports = {
// baseUrl: 'https://www.nuoyunr.com',
baseUrl: 'http://192.168.1.4:48080',
// baseUrl: 'http://192.168.1.4:48080',
baseUrl: "http://localhost:48080",
imagesUrl: 'http://shequ.0315e.com/static/images/pages/',
baseImageUrl: 'https://www.nuoyunr.com/minio/',
wsUrl: 'wss://www.nuoyunr.com',

2
node_modules/.bin/json5 generated vendored
View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then

22
node_modules/.bin/json5.cmd generated vendored
View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\json5\lib\cli.js" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\json5\lib\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\json5\lib\cli.js" %*
)

18
node_modules/.bin/json5.ps1 generated vendored
View File

@ -1,18 +0,0 @@
#!/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") {
& "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../json5/lib/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

2
node_modules/.bin/sass generated vendored
View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then

22
node_modules/.bin/sass.cmd generated vendored
View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\sass\sass.js" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\sass\sass.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\sass\sass.js" %*
)

18
node_modules/.bin/sass.ps1 generated vendored
View File

@ -1,18 +0,0 @@
#!/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") {
& "$basedir/node$exe" "$basedir/../sass/sass.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../sass/sass.js" $args
$ret=$LASTEXITCODE
}
exit $ret

2
node_modules/.bin/semver generated vendored
View File

@ -2,7 +2,7 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then

22
node_modules/.bin/semver.cmd generated vendored
View File

@ -1,17 +1,7 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\semver\bin\semver.js" %*
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\semver\bin\semver.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\semver\bin\semver.js" %*
)

18
node_modules/.bin/semver.ps1 generated vendored
View File

@ -1,18 +0,0 @@
#!/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") {
& "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../semver/bin/semver.js" $args
$ret=$LASTEXITCODE
}
exit $ret

45
node_modules/.yarn-integrity generated vendored Normal file
View File

@ -0,0 +1,45 @@
{
"systemParams": "win32-x64-93",
"modulesFolders": [
"node_modules"
],
"flags": [],
"linkedModules": [],
"topLevelPatterns": [
"rich-text-parser@^1.0.2",
"sass-loader@^10.5.2",
"sass@^1.79.3",
"uview-ui@^2.0.36",
"weapp-qrcode@^1.0.0"
],
"lockfileEntries": {
"@types/json-schema@^7.0.8": "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841",
"ajv-keywords@^3.5.2": "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d",
"ajv@^6.12.5": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4",
"big.js@^5.2.2": "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328",
"chokidar@^4.0.0": "https://registry.npmmirror.com/chokidar/-/chokidar-4.0.1.tgz#4a6dff66798fb0f72a94f616abbd7e1a19f31d41",
"emojis-list@^3.0.0": "https://registry.npmmirror.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78",
"extend@^3.0.2": "https://registry.npmmirror.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa",
"fast-deep-equal@^3.1.1": "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525",
"fast-json-stable-stringify@^2.0.0": "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633",
"immutable@^4.0.0": "https://registry.npmmirror.com/immutable/-/immutable-4.3.7.tgz#c70145fc90d89fb02021e65c84eb0226e4e5a381",
"json-schema-traverse@^0.4.1": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660",
"json5@^2.1.2": "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283",
"klona@^2.0.4": "https://registry.npmmirror.com/klona/-/klona-2.0.6.tgz#85bffbf819c03b2f53270412420a4555ef882e22",
"loader-utils@^2.0.0": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c",
"neo-async@^2.6.2": "https://registry.npmmirror.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f",
"punycode@^2.1.0": "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5",
"readdirp@^4.0.1": "https://registry.npmmirror.com/readdirp/-/readdirp-4.0.1.tgz#b2fe35f8dca63183cd3b86883ecc8f720ea96ae6",
"rich-text-parser@^1.0.2": "https://registry.npmmirror.com/rich-text-parser/-/rich-text-parser-1.0.2.tgz#c4d59390f5f6f085fe4fe352205cbd037b2473d3",
"sass-loader@^10.5.2": "https://registry.npmmirror.com/sass-loader/-/sass-loader-10.5.2.tgz#1ca30534fff296417b853c7597ca3b0bbe8c37d0",
"sass@^1.79.3": "https://registry.npmmirror.com/sass/-/sass-1.79.3.tgz#7811b000eb68195fe51dea89177e73e7ef7f546f",
"schema-utils@^3.0.0": "https://registry.npmmirror.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe",
"semver@^7.3.2": "https://registry.npmmirror.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143",
"source-map-js@>=0.6.2 <2.0.0": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46",
"uri-js@^4.2.2": "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e",
"uview-ui@^2.0.36": "https://registry.npmmirror.com/uview-ui/-/uview-ui-2.0.37.tgz#b47263ebe41e7edbecd9574eba806a7f45d2bf22",
"weapp-qrcode@^1.0.0": "https://registry.npmmirror.com/weapp-qrcode/-/weapp-qrcode-1.0.0.tgz#4f3b4b4e7d37710c513439166734587859aebbfc"
},
"files": [],
"artifacts": {}
}

View File

@ -1,65 +1,40 @@
{
"_from": "@types/json-schema@^7.0.8",
"_id": "@types/json-schema@7.0.15",
"_inBundle": false,
"_integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
"_location": "/@types/json-schema",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@types/json-schema@^7.0.8",
"name": "@types/json-schema",
"escapedName": "@types%2fjson-schema",
"scope": "@types",
"rawSpec": "^7.0.8",
"saveSpec": null,
"fetchSpec": "^7.0.8"
},
"_requiredBy": [
"/schema-utils"
],
"_resolved": "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.15.tgz",
"_shasum": "596a1747233694d50f6ad8a7869fcb6f56cf5841",
"_spec": "@types/json-schema@^7.0.8",
"_where": "D:\\Code\\lanan-repair\\node_modules\\schema-utils",
"bugs": {
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Boris Cherny",
"url": "https://github.com/bcherny"
"version": "7.0.15",
"description": "TypeScript definitions for json-schema",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-schema",
"license": "MIT",
"contributors": [
{
"name": "Boris Cherny",
"githubUsername": "bcherny",
"url": "https://github.com/bcherny"
},
{
"name": "Lucian Buzzo",
"githubUsername": "lucianbuzzo",
"url": "https://github.com/lucianbuzzo"
},
{
"name": "Roland Groza",
"githubUsername": "rolandjitsu",
"url": "https://github.com/rolandjitsu"
},
{
"name": "Jason Kwok",
"githubUsername": "JasonHK",
"url": "https://github.com/JasonHK"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/json-schema"
},
{
"name": "Lucian Buzzo",
"url": "https://github.com/lucianbuzzo"
},
{
"name": "Roland Groza",
"url": "https://github.com/rolandjitsu"
},
{
"name": "Jason Kwok",
"url": "https://github.com/JasonHK"
}
],
"dependencies": {},
"deprecated": false,
"description": "TypeScript definitions for json-schema",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-schema",
"license": "MIT",
"main": "",
"name": "@types/json-schema",
"repository": {
"type": "git",
"url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/json-schema"
},
"scripts": {},
"typeScriptVersion": "4.5",
"types": "index.d.ts",
"typesPublisherContentHash": "79984fd70cd25c3f7d72b84368778c763c89728ea0073832d745d4691b705257",
"version": "7.0.15"
}
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "79984fd70cd25c3f7d72b84368778c763c89728ea0073832d745d4691b705257",
"typeScriptVersion": "4.5"
}

View File

@ -1,36 +1,40 @@
{
"_from": "ajv-keywords@^3.5.2",
"_id": "ajv-keywords@3.5.2",
"_inBundle": false,
"_integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==",
"_location": "/ajv-keywords",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "ajv-keywords@^3.5.2",
"name": "ajv-keywords",
"escapedName": "ajv-keywords",
"rawSpec": "^3.5.2",
"saveSpec": null,
"fetchSpec": "^3.5.2"
"name": "ajv-keywords",
"version": "3.5.2",
"description": "Custom JSON-Schema keywords for Ajv validator",
"main": "index.js",
"typings": "ajv-keywords.d.ts",
"scripts": {
"build": "node node_modules/ajv/scripts/compile-dots.js node_modules/ajv/lib keywords",
"prepublish": "npm run build",
"test": "npm run build && npm run eslint && npm run test-cov",
"eslint": "eslint index.js keywords/*.js spec",
"test-spec": "mocha spec/*.spec.js -R spec",
"test-cov": "istanbul cover -x 'spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"
},
"_requiredBy": [
"/schema-utils"
"repository": {
"type": "git",
"url": "git+https://github.com/epoberezkin/ajv-keywords.git"
},
"keywords": [
"JSON-Schema",
"ajv",
"keywords"
],
"_resolved": "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz",
"_shasum": "31f29da5ab6e00d1c2d329acf7b5929614d5014d",
"_spec": "ajv-keywords@^3.5.2",
"_where": "D:\\Code\\lanan-repair\\node_modules\\schema-utils",
"author": {
"name": "Evgeny Poberezkin"
},
"files": [
"index.js",
"ajv-keywords.d.ts",
"keywords"
],
"author": "Evgeny Poberezkin",
"license": "MIT",
"bugs": {
"url": "https://github.com/epoberezkin/ajv-keywords/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Custom JSON-Schema keywords for Ajv validator",
"homepage": "https://github.com/epoberezkin/ajv-keywords#readme",
"peerDependencies": {
"ajv": "^6.9.1"
},
"devDependencies": {
"ajv": "^6.9.1",
"ajv-pack": "^0.3.0",
@ -45,36 +49,5 @@
"mocha": "^8.0.1",
"pre-commit": "^1.1.3",
"uuid": "^8.1.0"
},
"files": [
"index.js",
"ajv-keywords.d.ts",
"keywords"
],
"homepage": "https://github.com/epoberezkin/ajv-keywords#readme",
"keywords": [
"JSON-Schema",
"ajv",
"keywords"
],
"license": "MIT",
"main": "index.js",
"name": "ajv-keywords",
"peerDependencies": {
"ajv": "^6.9.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/epoberezkin/ajv-keywords.git"
},
"scripts": {
"build": "node node_modules/ajv/scripts/compile-dots.js node_modules/ajv/lib keywords",
"eslint": "eslint index.js keywords/*.js spec",
"prepublish": "npm run build",
"test": "npm run build && npm run eslint && npm run test-cov",
"test-cov": "istanbul cover -x 'spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec",
"test-spec": "mocha spec/*.spec.js -R spec"
},
"typings": "ajv-keywords.d.ts",
"version": "3.5.2"
}
}

151
node_modules/ajv/package.json generated vendored
View File

@ -1,46 +1,72 @@
{
"_from": "ajv@^6.12.5",
"_id": "ajv@6.12.6",
"_inBundle": false,
"_integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"_location": "/ajv",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "ajv@^6.12.5",
"name": "ajv",
"escapedName": "ajv",
"rawSpec": "^6.12.5",
"saveSpec": null,
"fetchSpec": "^6.12.5"
},
"_requiredBy": [
"/schema-utils"
"name": "ajv",
"version": "6.12.6",
"description": "Another JSON Schema Validator",
"main": "lib/ajv.js",
"typings": "lib/ajv.d.ts",
"files": [
"lib/",
"dist/",
"scripts/",
"LICENSE",
".tonic_example.js"
],
"_resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz",
"_shasum": "baf5a62e802b07d977034586f8c3baf5adf26df4",
"_spec": "ajv@^6.12.5",
"_where": "D:\\Code\\lanan-repair\\node_modules\\schema-utils",
"author": {
"name": "Evgeny Poberezkin"
"scripts": {
"eslint": "eslint lib/{compile/,}*.js spec/{**/,}*.js scripts --ignore-pattern spec/JSON-Schema-Test-Suite",
"jshint": "jshint lib/{compile/,}*.js",
"lint": "npm run jshint && npm run eslint",
"test-spec": "mocha spec/{**/,}*.spec.js -R spec",
"test-fast": "AJV_FAST_TEST=true npm run test-spec",
"test-debug": "npm run test-spec -- --inspect-brk",
"test-cov": "nyc npm run test-spec",
"test-ts": "tsc --target ES5 --noImplicitAny --noEmit spec/typescript/index.ts",
"bundle": "del-cli dist && node ./scripts/bundle.js . Ajv pure_getters",
"bundle-beautify": "node ./scripts/bundle.js js-beautify",
"build": "del-cli lib/dotjs/*.js \"!lib/dotjs/index.js\" && node scripts/compile-dots.js",
"test-karma": "karma start",
"test-browser": "del-cli .browser && npm run bundle && scripts/prepare-tests && npm run test-karma",
"test-all": "npm run test-cov && if-node-version 10 npm run test-browser",
"test": "npm run lint && npm run build && npm run test-all",
"prepublish": "npm run build && npm run bundle",
"watch": "watch \"npm run build\" ./lib/dot"
},
"nyc": {
"exclude": [
"**/spec/**",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
]
},
"repository": {
"type": "git",
"url": "https://github.com/ajv-validator/ajv.git"
},
"keywords": [
"JSON",
"schema",
"validator",
"validation",
"jsonschema",
"json-schema",
"json-schema-validator",
"json-schema-validation"
],
"author": "Evgeny Poberezkin",
"license": "MIT",
"bugs": {
"url": "https://github.com/ajv-validator/ajv/issues"
},
"bundleDependencies": false,
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/ajv"
},
"homepage": "https://github.com/ajv-validator/ajv",
"tonicExampleFilename": ".tonic_example.js",
"dependencies": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "^0.4.1",
"uri-js": "^4.2.2"
},
"deprecated": false,
"description": "Another JSON Schema Validator",
"devDependencies": {
"ajv-async": "^1.0.0",
"bluebird": "^3.5.3",
@ -69,65 +95,12 @@
"uglify-js": "^3.6.9",
"watch": "^1.0.0"
},
"files": [
"lib/",
"dist/",
"scripts/",
"LICENSE",
".tonic_example.js"
],
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/ajv"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/epoberezkin"
},
"homepage": "https://github.com/ajv-validator/ajv",
"keywords": [
"JSON",
"schema",
"validator",
"validation",
"jsonschema",
"json-schema",
"json-schema-validator",
"json-schema-validation"
],
"license": "MIT",
"main": "lib/ajv.js",
"name": "ajv",
"nyc": {
"exclude": [
"**/spec/**",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/ajv-validator/ajv.git"
},
"scripts": {
"build": "del-cli lib/dotjs/*.js \"!lib/dotjs/index.js\" && node scripts/compile-dots.js",
"bundle": "del-cli dist && node ./scripts/bundle.js . Ajv pure_getters",
"bundle-beautify": "node ./scripts/bundle.js js-beautify",
"eslint": "eslint lib/{compile/,}*.js spec/{**/,}*.js scripts --ignore-pattern spec/JSON-Schema-Test-Suite",
"jshint": "jshint lib/{compile/,}*.js",
"lint": "npm run jshint && npm run eslint",
"prepublish": "npm run build && npm run bundle",
"test": "npm run lint && npm run build && npm run test-all",
"test-all": "npm run test-cov && if-node-version 10 npm run test-browser",
"test-browser": "del-cli .browser && npm run bundle && scripts/prepare-tests && npm run test-karma",
"test-cov": "nyc npm run test-spec",
"test-debug": "npm run test-spec -- --inspect-brk",
"test-fast": "AJV_FAST_TEST=true npm run test-spec",
"test-karma": "karma start",
"test-spec": "mocha spec/{**/,}*.spec.js -R spec",
"test-ts": "tsc --target ES5 --noImplicitAny --noEmit spec/typescript/index.ts",
"watch": "watch \"npm run build\" ./lib/dot"
},
"tonicExampleFilename": ".tonic_example.js",
"typings": "lib/ajv.d.ts",
"version": "6.12.6"
}
}

84
node_modules/big.js/package.json generated vendored
View File

@ -1,51 +1,7 @@
{
"_from": "big.js@^5.2.2",
"_id": "big.js@5.2.2",
"_inBundle": false,
"_integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
"_location": "/big.js",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "big.js@^5.2.2",
"name": "big.js",
"escapedName": "big.js",
"rawSpec": "^5.2.2",
"saveSpec": null,
"fetchSpec": "^5.2.2"
},
"_requiredBy": [
"/loader-utils"
],
"_resolved": "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz",
"_shasum": "65f0af382f578bcdc742bd9c281e9cb2d7768328",
"_spec": "big.js@^5.2.2",
"_where": "D:\\Code\\lanan-repair\\node_modules\\loader-utils",
"author": {
"name": "Michael Mclaughlin",
"email": "M8ch88l@gmail.com"
},
"browser": "big.js",
"bugs": {
"url": "https://github.com/MikeMcl/big.js/issues"
},
"bundleDependencies": false,
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/bigjs"
},
"deprecated": false,
"name": "big.js",
"description": "A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic",
"engines": {
"node": "*"
},
"files": [
"big.js",
"big.mjs",
"big.min.js"
],
"homepage": "https://github.com/MikeMcl/big.js#readme",
"version": "5.2.2",
"keywords": [
"arbitrary",
"precision",
@ -60,17 +16,35 @@
"bigint",
"bignum"
],
"license": "MIT",
"main": "big",
"module": "big.mjs",
"name": "big.js",
"repository": {
"type": "git",
"url": "git+https://github.com/MikeMcl/big.js.git"
"url": "https://github.com/MikeMcl/big.js.git"
},
"main": "big",
"browser": "big.js",
"module": "big.mjs",
"author": {
"name": "Michael Mclaughlin",
"email": "M8ch88l@gmail.com"
},
"bugs": {
"url": "https://github.com/MikeMcl/big.js/issues"
},
"engines": {
"node": "*"
},
"license": "MIT",
"scripts": {
"build": "uglifyjs big.js --source-map -c -m -o big.min.js",
"test": "node ./test/every-test.js"
"test": "node ./test/every-test.js",
"build": "uglifyjs big.js --source-map -c -m -o big.min.js"
},
"version": "5.2.2"
}
"files": [
"big.js",
"big.mjs",
"big.min.js"
],
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/bigjs"
}
}

128
node_modules/chokidar/package.json generated vendored
View File

@ -1,64 +1,9 @@
{
"_from": "chokidar@^4.0.0",
"_id": "chokidar@4.0.1",
"_inBundle": false,
"_integrity": "sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==",
"_location": "/chokidar",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "chokidar@^4.0.0",
"name": "chokidar",
"escapedName": "chokidar",
"rawSpec": "^4.0.0",
"saveSpec": null,
"fetchSpec": "^4.0.0"
},
"_requiredBy": [
"/sass"
],
"_resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-4.0.1.tgz",
"_shasum": "4a6dff66798fb0f72a94f616abbd7e1a19f31d41",
"_spec": "chokidar@^4.0.0",
"_where": "D:\\Code\\lanan-repair\\node_modules\\sass",
"author": {
"name": "Paul Miller",
"url": "https://paulmillr.com"
},
"bugs": {
"url": "https://github.com/paulmillr/chokidar/issues"
},
"bundleDependencies": false,
"dependencies": {
"readdirp": "^4.0.1"
},
"deprecated": false,
"name": "chokidar",
"description": "Minimal and efficient cross-platform file watching library",
"devDependencies": {
"@paulmillr/jsbt": "0.2.1",
"@types/node": "20.14.8",
"chai": "4.3.4",
"prettier": "3.1.1",
"rimraf": "5.0.5",
"sinon": "12.0.1",
"sinon-chai": "3.7.0",
"typescript": "5.5.2",
"upath": "2.0.1"
},
"engines": {
"node": ">= 14.16.0"
},
"exports": {
".": {
"import": "./esm/index.js",
"require": "./index.js"
},
"./handler.js": {
"import": "./esm/handler.js",
"require": "./handler.js"
}
},
"version": "4.0.1",
"homepage": "https://github.com/paulmillr/chokidar",
"author": "Paul Miller (https://paulmillr.com)",
"files": [
"index.js",
"index.d.ts",
@ -70,8 +15,51 @@
"handler.js.map",
"esm"
],
"funding": "https://paulmillr.com/funding/",
"homepage": "https://github.com/paulmillr/chokidar",
"main": "./index.js",
"module": "./esm/index.js",
"types": "./index.d.ts",
"exports": {
".": {
"import": "./esm/index.js",
"require": "./index.js"
},
"./handler.js": {
"import": "./esm/handler.js",
"require": "./handler.js"
}
},
"dependencies": {
"readdirp": "^4.0.1"
},
"devDependencies": {
"@paulmillr/jsbt": "0.2.1",
"@types/node": "20.14.8",
"chai": "4.3.4",
"prettier": "3.1.1",
"rimraf": "5.0.5",
"sinon": "12.0.1",
"sinon-chai": "3.7.0",
"typescript": "5.5.2",
"upath": "2.0.1"
},
"sideEffects": false,
"engines": {
"node": ">= 14.16.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/paulmillr/chokidar.git"
},
"bugs": {
"url": "https://github.com/paulmillr/chokidar/issues"
},
"license": "MIT",
"scripts": {
"build": "tsc && tsc -p tsconfig.esm.json",
"lint": "prettier --check src",
"format": "prettier --write src",
"test": "node --test"
},
"keywords": [
"fs",
"watch",
@ -81,21 +69,5 @@
"file",
"fsevents"
],
"license": "MIT",
"main": "./index.js",
"module": "./esm/index.js",
"name": "chokidar",
"repository": {
"type": "git",
"url": "git+https://github.com/paulmillr/chokidar.git"
},
"scripts": {
"build": "tsc && tsc -p tsconfig.esm.json",
"format": "prettier --write src",
"lint": "prettier --check src",
"test": "node --test"
},
"sideEffects": false,
"types": "./index.d.ts",
"version": "4.0.1"
"funding": "https://paulmillr.com/funding/"
}

View File

@ -1,38 +1,28 @@
{
"_from": "emojis-list@^3.0.0",
"_id": "emojis-list@3.0.0",
"_inBundle": false,
"_integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==",
"_location": "/emojis-list",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "emojis-list@^3.0.0",
"name": "emojis-list",
"escapedName": "emojis-list",
"rawSpec": "^3.0.0",
"saveSpec": null,
"fetchSpec": "^3.0.0"
},
"_requiredBy": [
"/loader-utils"
],
"_resolved": "https://registry.npmmirror.com/emojis-list/-/emojis-list-3.0.0.tgz",
"_shasum": "5570662046ad29e2e916e71aae260abdff4f6a78",
"_spec": "emojis-list@^3.0.0",
"_where": "D:\\Code\\lanan-repair\\node_modules\\loader-utils",
"name": "emojis-list",
"description": "Complete list of standard emojis.",
"homepage": "https://nidecoc.io/Kikobeats/emojis-list",
"version": "3.0.0",
"main": "./index.js",
"author": {
"name": "Kiko Beats",
"email": "josefrancisco.verdu@gmail.com",
"name": "Kiko Beats",
"url": "https://github.com/Kikobeats"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kikobeats/emojis-list.git"
},
"bugs": {
"url": "https://github.com/Kikobeats/emojis-list/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Complete list of standard emojis.",
"keywords": [
"archive",
"complete",
"emoji",
"list",
"standard"
],
"devDependencies": {
"acho": "latest",
"browserify": "latest",
@ -46,25 +36,10 @@
"files": [
"index.js"
],
"homepage": "https://nidecoc.io/Kikobeats/emojis-list",
"keywords": [
"archive",
"complete",
"emoji",
"list",
"standard"
],
"license": "MIT",
"main": "./index.js",
"name": "emojis-list",
"repository": {
"type": "git",
"url": "git+https://github.com/kikobeats/emojis-list.git"
},
"scripts": {
"pretest": "standard update.js",
"test": "echo 'YOLO'",
"update": "node update"
},
"version": "3.0.0"
"license": "MIT"
}

113
node_modules/extend/package.json generated vendored
View File

@ -1,75 +1,42 @@
{
"_from": "extend@^3.0.2",
"_id": "extend@3.0.2",
"_inBundle": false,
"_integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
"_location": "/extend",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "extend@^3.0.2",
"name": "extend",
"escapedName": "extend",
"rawSpec": "^3.0.2",
"saveSpec": null,
"fetchSpec": "^3.0.2"
},
"_requiredBy": [
"/weapp-qrcode"
],
"_resolved": "https://registry.npmmirror.com/extend/-/extend-3.0.2.tgz",
"_shasum": "f8b1136b4071fbd8eb140aff858b1019ec2915fa",
"_spec": "extend@^3.0.2",
"_where": "D:\\lananWork\\lanan-repair\\node_modules\\weapp-qrcode",
"author": {
"name": "Stefan Thomas",
"email": "justmoon@members.fsf.org",
"url": "http://www.justmoon.net"
},
"bugs": {
"url": "https://github.com/justmoon/node-extend/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Jordan Harband",
"url": "https://github.com/ljharb"
}
],
"dependencies": {},
"deprecated": false,
"description": "Port of jQuery.extend for node.js and the browser",
"devDependencies": {
"@ljharb/eslint-config": "^12.2.1",
"covert": "^1.1.0",
"eslint": "^4.19.1",
"jscs": "^3.0.7",
"tape": "^4.9.1"
},
"homepage": "https://github.com/justmoon/node-extend#readme",
"keywords": [
"extend",
"clone",
"merge"
],
"license": "MIT",
"main": "index",
"name": "extend",
"repository": {
"type": "git",
"url": "git+https://github.com/justmoon/node-extend.git"
},
"scripts": {
"coverage": "covert test/index.js",
"coverage-quiet": "covert test/index.js --quiet",
"eslint": "eslint *.js */*.js",
"jscs": "jscs *.js */*.js",
"lint": "npm run jscs && npm run eslint",
"posttest": "npm run coverage-quiet",
"pretest": "npm run lint",
"test": "npm run tests-only",
"tests-only": "node test"
},
"version": "3.0.2"
"name": "extend",
"author": "Stefan Thomas <justmoon@members.fsf.org> (http://www.justmoon.net)",
"version": "3.0.2",
"description": "Port of jQuery.extend for node.js and the browser",
"main": "index",
"scripts": {
"pretest": "npm run lint",
"test": "npm run tests-only",
"posttest": "npm run coverage-quiet",
"tests-only": "node test",
"coverage": "covert test/index.js",
"coverage-quiet": "covert test/index.js --quiet",
"lint": "npm run jscs && npm run eslint",
"jscs": "jscs *.js */*.js",
"eslint": "eslint *.js */*.js"
},
"contributors": [
{
"name": "Jordan Harband",
"url": "https://github.com/ljharb"
}
],
"keywords": [
"extend",
"clone",
"merge"
],
"repository": {
"type": "git",
"url": "https://github.com/justmoon/node-extend.git"
},
"dependencies": {},
"devDependencies": {
"@ljharb/eslint-config": "^12.2.1",
"covert": "^1.1.0",
"eslint": "^4.19.1",
"jscs": "^3.0.7",
"tape": "^4.9.1"
},
"license": "MIT"
}

View File

@ -1,36 +1,33 @@
{
"_from": "fast-deep-equal@^3.1.1",
"_id": "fast-deep-equal@3.1.3",
"_inBundle": false,
"_integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
"_location": "/fast-deep-equal",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "fast-deep-equal@^3.1.1",
"name": "fast-deep-equal",
"escapedName": "fast-deep-equal",
"rawSpec": "^3.1.1",
"saveSpec": null,
"fetchSpec": "^3.1.1"
"name": "fast-deep-equal",
"version": "3.1.3",
"description": "Fast deep equal",
"main": "index.js",
"scripts": {
"eslint": "eslint *.js benchmark/*.js spec/*.js",
"build": "node build",
"benchmark": "npm i && npm run build && cd ./benchmark && npm i && node ./",
"test-spec": "mocha spec/*.spec.js -R spec",
"test-cov": "nyc npm run test-spec",
"test-ts": "tsc --target ES5 --noImplicitAny index.d.ts",
"test": "npm run build && npm run eslint && npm run test-ts && npm run test-cov",
"prepublish": "npm run build"
},
"_requiredBy": [
"/ajv"
"repository": {
"type": "git",
"url": "git+https://github.com/epoberezkin/fast-deep-equal.git"
},
"keywords": [
"fast",
"equal",
"deep-equal"
],
"_resolved": "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"_shasum": "3a7d56b559d6cbc3eb512325244e619a65c6c525",
"_spec": "fast-deep-equal@^3.1.1",
"_where": "D:\\Code\\lanan-repair\\node_modules\\ajv",
"author": {
"name": "Evgeny Poberezkin"
},
"author": "Evgeny Poberezkin",
"license": "MIT",
"bugs": {
"url": "https://github.com/epoberezkin/fast-deep-equal/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Fast deep equal",
"homepage": "https://github.com/epoberezkin/fast-deep-equal#readme",
"devDependencies": {
"coveralls": "^3.1.0",
"dot": "^1.1.2",
@ -43,22 +40,6 @@
"sinon": "^9.0.2",
"typescript": "^3.9.5"
},
"files": [
"index.js",
"index.d.ts",
"react.js",
"react.d.ts",
"es6/"
],
"homepage": "https://github.com/epoberezkin/fast-deep-equal#readme",
"keywords": [
"fast",
"equal",
"deep-equal"
],
"license": "MIT",
"main": "index.js",
"name": "fast-deep-equal",
"nyc": {
"exclude": [
"**/spec/**",
@ -69,20 +50,12 @@
"text-summary"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/epoberezkin/fast-deep-equal.git"
},
"scripts": {
"benchmark": "npm i && npm run build && cd ./benchmark && npm i && node ./",
"build": "node build",
"eslint": "eslint *.js benchmark/*.js spec/*.js",
"prepublish": "npm run build",
"test": "npm run build && npm run eslint && npm run test-ts && npm run test-cov",
"test-cov": "nyc npm run test-spec",
"test-spec": "mocha spec/*.spec.js -R spec",
"test-ts": "tsc --target ES5 --noImplicitAny index.d.ts"
},
"types": "index.d.ts",
"version": "3.1.3"
"files": [
"index.js",
"index.d.ts",
"react.js",
"react.d.ts",
"es6/"
],
"types": "index.d.ts"
}

View File

@ -1,39 +1,10 @@
{
"_from": "fast-json-stable-stringify@^2.0.0",
"_id": "fast-json-stable-stringify@2.1.0",
"_inBundle": false,
"_integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
"_location": "/fast-json-stable-stringify",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "fast-json-stable-stringify@^2.0.0",
"name": "fast-json-stable-stringify",
"escapedName": "fast-json-stable-stringify",
"rawSpec": "^2.0.0",
"saveSpec": null,
"fetchSpec": "^2.0.0"
},
"_requiredBy": [
"/ajv"
],
"_resolved": "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
"_shasum": "874bf69c6f404c2b5d99c481341399fd55892633",
"_spec": "fast-json-stable-stringify@^2.0.0",
"_where": "D:\\Code\\lanan-repair\\node_modules\\ajv",
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"bugs": {
"url": "https://github.com/epoberezkin/fast-json-stable-stringify/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"name": "fast-json-stable-stringify",
"version": "2.1.0",
"description": "deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify",
"main": "index.js",
"types": "index.d.ts",
"dependencies": {},
"devDependencies": {
"benchmark": "^2.1.4",
"coveralls": "^3.0.0",
@ -45,6 +16,15 @@
"pre-commit": "^1.2.2",
"tape": "^4.11.0"
},
"scripts": {
"eslint": "eslint index.js test",
"test-spec": "tape test/*.js",
"test": "npm run eslint && nyc npm run test-spec"
},
"repository": {
"type": "git",
"url": "git://github.com/epoberezkin/fast-json-stable-stringify.git"
},
"homepage": "https://github.com/epoberezkin/fast-json-stable-stringify",
"keywords": [
"json",
@ -53,9 +33,12 @@
"hash",
"stable"
],
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"license": "MIT",
"main": "index.js",
"name": "fast-json-stable-stringify",
"nyc": {
"exclude": [
"test",
@ -65,16 +48,5 @@
"lcov",
"text-summary"
]
},
"repository": {
"type": "git",
"url": "git://github.com/epoberezkin/fast-json-stable-stringify.git"
},
"scripts": {
"eslint": "eslint index.js test",
"test": "npm run eslint && nyc npm run test-spec",
"test-spec": "tape test/*.js"
},
"types": "index.d.ts",
"version": "2.1.0"
}
}

55
node_modules/immutable/package.json generated vendored
View File

@ -1,43 +1,29 @@
{
"_from": "immutable@^4.0.0",
"_id": "immutable@4.3.7",
"_inBundle": false,
"_integrity": "sha512-1hqclzwYwjRDFLjcFxOM5AYkkG0rpFPpr1RLPMEuGczoS7YA8gLhy8SWXYRAA/XwfEHpfo3cw5JGioS32fnMRw==",
"_location": "/immutable",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "immutable@^4.0.0",
"name": "immutable",
"escapedName": "immutable",
"rawSpec": "^4.0.0",
"saveSpec": null,
"fetchSpec": "^4.0.0"
},
"_requiredBy": [
"/sass"
],
"_resolved": "https://registry.npmmirror.com/immutable/-/immutable-4.3.7.tgz",
"_shasum": "c70145fc90d89fb02021e65c84eb0226e4e5a381",
"_spec": "immutable@^4.0.0",
"_where": "D:\\Code\\lanan-repair\\node_modules\\sass",
"name": "immutable",
"version": "4.3.7",
"description": "Immutable Data Collections",
"license": "MIT",
"homepage": "https://immutable-js.com",
"author": {
"name": "Lee Byron",
"url": "https://github.com/leebyron"
},
"repository": {
"type": "git",
"url": "git://github.com/immutable-js/immutable-js.git"
},
"bugs": {
"url": "https://github.com/immutable-js/immutable-js/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Immutable Data Collections",
"main": "dist/immutable.js",
"module": "dist/immutable.es.js",
"sideEffects": false,
"types": "dist/immutable.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"homepage": "https://immutable-js.com",
"keywords": [
"immutable",
"persistent",
@ -49,16 +35,5 @@
"stateless",
"sequence",
"iteration"
],
"license": "MIT",
"main": "dist/immutable.js",
"module": "dist/immutable.es.js",
"name": "immutable",
"repository": {
"type": "git",
"url": "git://github.com/immutable-js/immutable-js.git"
},
"sideEffects": false,
"types": "dist/immutable.d.ts",
"version": "4.3.7"
}
]
}

View File

@ -1,36 +1,28 @@
{
"_from": "json-schema-traverse@^0.4.1",
"_id": "json-schema-traverse@0.4.1",
"_inBundle": false,
"_integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
"_location": "/json-schema-traverse",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "json-schema-traverse@^0.4.1",
"name": "json-schema-traverse",
"escapedName": "json-schema-traverse",
"rawSpec": "^0.4.1",
"saveSpec": null,
"fetchSpec": "^0.4.1"
"name": "json-schema-traverse",
"version": "0.4.1",
"description": "Traverse JSON Schema passing each schema object to callback",
"main": "index.js",
"scripts": {
"eslint": "eslint index.js spec",
"test-spec": "mocha spec -R spec",
"test": "npm run eslint && nyc npm run test-spec"
},
"_requiredBy": [
"/ajv"
"repository": {
"type": "git",
"url": "git+https://github.com/epoberezkin/json-schema-traverse.git"
},
"keywords": [
"JSON-Schema",
"traverse",
"iterate"
],
"_resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"_shasum": "69f6a87d9513ab8bb8fe63bdb0979c448e684660",
"_spec": "json-schema-traverse@^0.4.1",
"_where": "D:\\Code\\lanan-repair\\node_modules\\ajv",
"author": {
"name": "Evgeny Poberezkin"
},
"author": "Evgeny Poberezkin",
"license": "MIT",
"bugs": {
"url": "https://github.com/epoberezkin/json-schema-traverse/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Traverse JSON Schema passing each schema object to callback",
"homepage": "https://github.com/epoberezkin/json-schema-traverse#readme",
"devDependencies": {
"coveralls": "^2.13.1",
"eslint": "^3.19.0",
@ -38,15 +30,6 @@
"nyc": "^11.0.2",
"pre-commit": "^1.2.2"
},
"homepage": "https://github.com/epoberezkin/json-schema-traverse#readme",
"keywords": [
"JSON-Schema",
"traverse",
"iterate"
],
"license": "MIT",
"main": "index.js",
"name": "json-schema-traverse",
"nyc": {
"exclude": [
"**/spec/**",
@ -56,15 +39,5 @@
"lcov",
"text-summary"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/epoberezkin/json-schema-traverse.git"
},
"scripts": {
"eslint": "eslint index.js spec",
"test": "npm run eslint && nyc npm run test-spec",
"test-spec": "mocha spec -R spec"
},
"version": "0.4.1"
}
}

135
node_modules/json5/package.json generated vendored
View File

@ -1,55 +1,55 @@
{
"_from": "json5@^2.1.2",
"_id": "json5@2.2.3",
"_inBundle": false,
"_integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
"_location": "/json5",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "json5@^2.1.2",
"name": "json5",
"escapedName": "json5",
"rawSpec": "^2.1.2",
"saveSpec": null,
"fetchSpec": "^2.1.2"
},
"_requiredBy": [
"/loader-utils"
],
"_resolved": "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz",
"_shasum": "78cd6f1a19bdc12b73db5ad0c61efd66c1e29283",
"_spec": "json5@^2.1.2",
"_where": "D:\\Code\\lanan-repair\\node_modules\\loader-utils",
"author": {
"name": "Aseem Kishore",
"email": "aseem.kishore@gmail.com"
},
"bin": {
"json5": "lib/cli.js"
},
"name": "json5",
"version": "2.2.3",
"description": "JSON for Humans",
"main": "lib/index.js",
"module": "dist/index.mjs",
"bin": "lib/cli.js",
"browser": "dist/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/",
"dist/"
],
"engines": {
"node": ">=6"
},
"scripts": {
"build": "rollup -c",
"build-package": "node build/package.js",
"build-unicode": "node build/unicode.js",
"coverage": "tap --coverage-report html test",
"lint": "eslint --fix .",
"lint-report": "eslint .",
"prepublishOnly": "npm run production",
"preversion": "npm run production",
"production": "run-s test build",
"tap": "tap -Rspec --100 test",
"test": "run-s lint-report tap",
"version": "npm run build-package && git add package.json5"
},
"repository": {
"type": "git",
"url": "git+https://github.com/json5/json5.git"
},
"keywords": [
"json",
"json5",
"es5",
"es2015",
"ecmascript"
],
"author": "Aseem Kishore <aseem.kishore@gmail.com>",
"contributors": [
"Max Nanasy <max.nanasy@gmail.com>",
"Andrew Eisenberg <andrew@eisenberg.as>",
"Jordan Tucker <jordanbtucker@gmail.com>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/json5/json5/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Max Nanasy",
"email": "max.nanasy@gmail.com"
},
{
"name": "Andrew Eisenberg",
"email": "andrew@eisenberg.as"
},
{
"name": "Jordan Tucker",
"email": "jordanbtucker@gmail.com"
}
],
"deprecated": false,
"description": "JSON for Humans",
"homepage": "http://json5.org/",
"devDependencies": {
"core-js": "^2.6.5",
"eslint": "^5.15.3",
@ -68,44 +68,5 @@
"sinon": "^6.3.5",
"tap": "^12.6.0",
"unicode-10.0.0": "^0.7.5"
},
"engines": {
"node": ">=6"
},
"files": [
"lib/",
"dist/"
],
"homepage": "http://json5.org/",
"keywords": [
"json",
"json5",
"es5",
"es2015",
"ecmascript"
],
"license": "MIT",
"main": "lib/index.js",
"module": "dist/index.mjs",
"name": "json5",
"repository": {
"type": "git",
"url": "git+https://github.com/json5/json5.git"
},
"scripts": {
"build": "rollup -c",
"build-package": "node build/package.js",
"build-unicode": "node build/unicode.js",
"coverage": "tap --coverage-report html test",
"lint": "eslint --fix .",
"lint-report": "eslint .",
"prepublishOnly": "npm run production",
"preversion": "npm run production",
"production": "run-s test build",
"tap": "tap -Rspec --100 test",
"test": "run-s lint-report tap",
"version": "npm run build-package && git add package.json5"
},
"types": "lib/index.d.ts",
"version": "2.2.3"
}
}

104
node_modules/klona/package.json generated vendored
View File

@ -1,46 +1,25 @@
{
"_from": "klona@^2.0.4",
"_id": "klona@2.0.6",
"_inBundle": false,
"_integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==",
"_location": "/klona",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "klona@^2.0.4",
"name": "klona",
"escapedName": "klona",
"rawSpec": "^2.0.4",
"saveSpec": null,
"fetchSpec": "^2.0.4"
},
"_requiredBy": [
"/sass-loader"
],
"_resolved": "https://registry.npmmirror.com/klona/-/klona-2.0.6.tgz",
"_shasum": "85bffbf819c03b2f53270412420a4555ef882e22",
"_spec": "klona@^2.0.4",
"_where": "D:\\Code\\lanan-repair\\node_modules\\sass-loader",
"name": "klona",
"version": "2.0.6",
"repository": "lukeed/klona",
"description": "A tiny (240B to 501B) and fast utility to \"deep clone\" Objects, Arrays, Dates, RegExps, and more!",
"module": "dist/index.mjs",
"unpkg": "dist/index.min.js",
"main": "dist/index.js",
"types": "index.d.ts",
"license": "MIT",
"author": {
"name": "Luke Edwards",
"email": "luke.edwards05@gmail.com",
"url": "https://lukeed.com"
},
"bugs": {
"url": "https://github.com/lukeed/klona/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "A tiny (240B to 501B) and fast utility to \"deep clone\" Objects, Arrays, Dates, RegExps, and more!",
"devDependencies": {
"bundt": "1.0.2",
"esm": "3.2.25",
"uvu": "0.5.2"
},
"engines": {
"node": ">= 8"
},
"files": [
"*.d.ts",
"dist",
"full",
"json",
"lite"
],
"exports": {
".": {
"types": "./index.d.ts",
@ -64,14 +43,21 @@
},
"./package.json": "./package.json"
},
"files": [
"*.d.ts",
"dist",
"full",
"json",
"lite"
],
"homepage": "https://github.com/lukeed/klona#readme",
"modes": {
"json": "src/json.js",
"lite": "src/lite.js",
"default": "src/index.js",
"full": "src/full.js"
},
"engines": {
"node": ">= 8"
},
"scripts": {
"build": "bundt",
"pretest": "npm run build",
"postbuild": "echo \"lite full json\" | xargs -n1 cp -v index.d.ts",
"test": "uvu -r esm test -i suites"
},
"keywords": [
"clone",
"copy",
@ -80,27 +66,9 @@
"recursive",
"object"
],
"license": "MIT",
"main": "dist/index.js",
"modes": {
"json": "src/json.js",
"lite": "src/lite.js",
"default": "src/index.js",
"full": "src/full.js"
},
"module": "dist/index.mjs",
"name": "klona",
"repository": {
"type": "git",
"url": "git+https://github.com/lukeed/klona.git"
},
"scripts": {
"build": "bundt",
"postbuild": "echo \"lite full json\" | xargs -n1 cp -v index.d.ts",
"pretest": "npm run build",
"test": "uvu -r esm test -i suites"
},
"types": "index.d.ts",
"unpkg": "dist/index.min.js",
"version": "2.0.6"
"devDependencies": {
"bundt": "1.0.2",
"esm": "3.2.25",
"uvu": "0.5.2"
}
}

15
node_modules/loader-utils/node_modules/.bin/json5 generated vendored Normal file
View File

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../../../json5/lib/cli.js" "$@"
ret=$?
else
node "$basedir/../../../json5/lib/cli.js" "$@"
ret=$?
fi
exit $ret

View File

@ -0,0 +1,7 @@
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\..\..\json5\lib\cli.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\..\..\json5\lib\cli.js" %*
)

View File

@ -1,41 +1,28 @@
{
"_from": "loader-utils@^2.0.0",
"_id": "loader-utils@2.0.4",
"_inBundle": false,
"_integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
"_location": "/loader-utils",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "loader-utils@^2.0.0",
"name": "loader-utils",
"escapedName": "loader-utils",
"rawSpec": "^2.0.0",
"saveSpec": null,
"fetchSpec": "^2.0.0"
},
"_requiredBy": [
"/sass-loader"
],
"_resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz",
"_shasum": "8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c",
"_spec": "loader-utils@^2.0.0",
"_where": "D:\\Code\\lanan-repair\\node_modules\\sass-loader",
"author": {
"name": "Tobias Koppers @sokra"
},
"bugs": {
"url": "https://github.com/webpack/loader-utils/issues"
},
"bundleDependencies": false,
"name": "loader-utils",
"version": "2.0.4",
"author": "Tobias Koppers @sokra",
"description": "utils for webpack loaders",
"dependencies": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
},
"deprecated": false,
"description": "utils for webpack loaders",
"scripts": {
"lint": "eslint lib test",
"pretest": "yarn lint",
"test": "jest",
"test:ci": "jest --coverage",
"release": "yarn test && standard-version"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/webpack/loader-utils.git"
},
"engines": {
"node": ">=8.9.0"
},
"devDependencies": {
"coveralls": "^3.0.9",
"eslint": "^6.8.0",
@ -45,26 +32,8 @@
"prettier": "^1.19.1",
"standard-version": "^7.1.0"
},
"engines": {
"node": ">=8.9.0"
},
"main": "lib/index.js",
"files": [
"lib"
],
"homepage": "https://github.com/webpack/loader-utils#readme",
"license": "MIT",
"main": "lib/index.js",
"name": "loader-utils",
"repository": {
"type": "git",
"url": "git+https://github.com/webpack/loader-utils.git"
},
"scripts": {
"lint": "eslint lib test",
"pretest": "yarn lint",
"release": "yarn test && standard-version",
"test": "jest",
"test:ci": "jest --coverage"
},
"version": "2.0.4"
]
}

60
node_modules/neo-async/package.json generated vendored
View File

@ -1,35 +1,19 @@
{
"_from": "neo-async@^2.6.2",
"_id": "neo-async@2.6.2",
"_inBundle": false,
"_integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",
"_location": "/neo-async",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "neo-async@^2.6.2",
"name": "neo-async",
"escapedName": "neo-async",
"rawSpec": "^2.6.2",
"saveSpec": null,
"fetchSpec": "^2.6.2"
},
"_requiredBy": [
"/sass-loader"
],
"_resolved": "https://registry.npmmirror.com/neo-async/-/neo-async-2.6.2.tgz",
"_shasum": "b4aafb93e3aeb2d8174ca53cf163ab7d7308305f",
"_spec": "neo-async@^2.6.2",
"_where": "D:\\Code\\lanan-repair\\node_modules\\sass-loader",
"browser": "async.min.js",
"bugs": {
"url": "https://github.com/suguru03/neo-async/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"name": "neo-async",
"version": "2.6.2",
"description": "Neo-Async is a drop-in replacement for Async, it almost fully covers its functionality and runs faster ",
"main": "async.js",
"license": "MIT",
"keywords": [
"async",
"util"
],
"repository": {
"type": "git",
"url": "git@github.com:suguru03/neo-async.git"
},
"homepage": "https://github.com/suguru03/neo-async",
"dependencies": {},
"devDependencies": {
"aigle": "^1.14.0",
"async": "^2.6.0",
@ -59,27 +43,15 @@
"prettier": "^1.15.2",
"require-dir": "^0.3.0"
},
"homepage": "https://github.com/suguru03/neo-async",
"keywords": [
"async",
"util"
],
"license": "MIT",
"lint-staged": {
"*.{js,ts}": [
"prettier --write",
"git add"
]
},
"main": "async.js",
"name": "neo-async",
"prettier": {
"printWidth": 100,
"singleQuote": true
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/suguru03/neo-async.git"
},
"version": "2.6.2"
}
"browser": "async.min.js"
}

101
node_modules/punycode/package.json generated vendored
View File

@ -1,65 +1,14 @@
{
"_from": "punycode@^2.1.0",
"_id": "punycode@2.3.1",
"_inBundle": false,
"_integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
"_location": "/punycode",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "punycode@^2.1.0",
"name": "punycode",
"escapedName": "punycode",
"rawSpec": "^2.1.0",
"saveSpec": null,
"fetchSpec": "^2.1.0"
},
"_requiredBy": [
"/uri-js"
],
"_resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz",
"_shasum": "027422e2faec0b25e1549c3e1bd8309b9133b6e5",
"_spec": "punycode@^2.1.0",
"_where": "D:\\Code\\lanan-repair\\node_modules\\uri-js",
"author": {
"name": "Mathias Bynens",
"url": "https://mathiasbynens.be/"
},
"bugs": {
"url": "https://github.com/mathiasbynens/punycode.js/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Mathias Bynens",
"url": "https://mathiasbynens.be/"
}
],
"deprecated": false,
"name": "punycode",
"version": "2.3.1",
"description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.",
"devDependencies": {
"codecov": "^3.8.3",
"mocha": "^10.2.0",
"nyc": "^15.1.0"
},
"homepage": "https://mths.be/punycode",
"main": "punycode.js",
"jsnext:main": "punycode.es6.js",
"module": "punycode.es6.js",
"engines": {
"node": ">=6"
},
"files": [
"LICENSE-MIT.txt",
"punycode.js",
"punycode.es6.js"
],
"homepage": "https://mths.be/punycode",
"jsnext:main": "punycode.es6.js",
"jspm": {
"map": {
"./punycode.js": {
"node": "@node/punycode"
}
}
},
"keywords": [
"punycode",
"unicode",
@ -70,16 +19,40 @@
"domain"
],
"license": "MIT",
"main": "punycode.js",
"module": "punycode.es6.js",
"name": "punycode",
"author": {
"name": "Mathias Bynens",
"url": "https://mathiasbynens.be/"
},
"contributors": [
{
"name": "Mathias Bynens",
"url": "https://mathiasbynens.be/"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/mathiasbynens/punycode.js.git"
"url": "https://github.com/mathiasbynens/punycode.js.git"
},
"bugs": "https://github.com/mathiasbynens/punycode.js/issues",
"files": [
"LICENSE-MIT.txt",
"punycode.js",
"punycode.es6.js"
],
"scripts": {
"build": "node scripts/prepublish.js",
"test": "mocha tests"
"test": "mocha tests",
"build": "node scripts/prepublish.js"
},
"version": "2.3.1"
"devDependencies": {
"codecov": "^3.8.3",
"nyc": "^15.1.0",
"mocha": "^10.2.0"
},
"jspm": {
"map": {
"./punycode.js": {
"node": "@node/punycode"
}
}
}
}

142
node_modules/readdirp/package.json generated vendored
View File

@ -1,49 +1,59 @@
{
"_from": "readdirp@^4.0.1",
"_id": "readdirp@4.0.1",
"_inBundle": false,
"_integrity": "sha512-GkMg9uOTpIWWKbSsgwb5fA4EavTR+SG/PMPoAY8hkhHfEEY0/vqljY+XHqtDf2cr2IJtoNRDbrrEpZUiZCkYRw==",
"_location": "/readdirp",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "readdirp@^4.0.1",
"name": "readdirp",
"escapedName": "readdirp",
"rawSpec": "^4.0.1",
"saveSpec": null,
"fetchSpec": "^4.0.1"
},
"_requiredBy": [
"/chokidar"
],
"_resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-4.0.1.tgz",
"_shasum": "b2fe35f8dca63183cd3b86883ecc8f720ea96ae6",
"_spec": "readdirp@^4.0.1",
"_where": "D:\\Code\\lanan-repair\\node_modules\\chokidar",
"author": {
"name": "Thorsten Lorenz",
"email": "thlorenz@gmx.de",
"url": "thlorenz.com"
"name": "readdirp",
"description": "Recursive version of fs.readdir with streaming API.",
"version": "4.0.1",
"homepage": "https://github.com/paulmillr/readdirp",
"repository": {
"type": "git",
"url": "git://github.com/paulmillr/readdirp.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/paulmillr/readdirp/issues"
},
"bundleDependencies": false,
"author": "Thorsten Lorenz <thlorenz@gmx.de> (thlorenz.com)",
"contributors": [
{
"name": "Thorsten Lorenz",
"email": "thlorenz@gmx.de",
"url": "thlorenz.com"
},
{
"name": "Paul Miller",
"url": "https://paulmillr.com"
}
"Thorsten Lorenz <thlorenz@gmx.de> (thlorenz.com)",
"Paul Miller (https://paulmillr.com)"
],
"deprecated": false,
"description": "Recursive version of fs.readdir with streaming API.",
"engines": {
"node": ">= 14.16.0"
},
"files": [
"index.js",
"index.d.ts",
"index.d.ts.map",
"index.js.map",
"esm"
],
"main": "./index.js",
"module": "./esm/index.js",
"types": "./index.d.ts",
"exports": {
".": {
"import": "./esm/index.js",
"require": "./index.js"
}
},
"sideEffects": false,
"keywords": [
"recursive",
"fs",
"stream",
"streams",
"readdir",
"filesystem",
"find",
"filter"
],
"scripts": {
"build": "tsc && tsc -p tsconfig.esm.json",
"nyc": "nyc",
"mocha": "mocha --exit",
"lint": "prettier --check index.ts",
"format": "prettier --write index.ts",
"test": "nyc npm run mocha"
},
"devDependencies": {
"@paulmillr/jsbt": "0.2.1",
"@types/node": "20.14.8",
@ -55,60 +65,14 @@
"rimraf": "6.0.1",
"typescript": "5.5.2"
},
"engines": {
"node": ">= 14.16.0"
},
"exports": {
".": {
"import": "./esm/index.js",
"require": "./index.js"
}
},
"files": [
"index.js",
"index.d.ts",
"index.d.ts.map",
"index.js.map",
"esm"
],
"funding": {
"type": "individual",
"url": "https://paulmillr.com/funding/"
},
"homepage": "https://github.com/paulmillr/readdirp",
"keywords": [
"recursive",
"fs",
"stream",
"streams",
"readdir",
"filesystem",
"find",
"filter"
],
"license": "MIT",
"main": "./index.js",
"module": "./esm/index.js",
"name": "readdirp",
"nyc": {
"reporter": [
"html",
"text"
]
},
"repository": {
"type": "git",
"url": "git://github.com/paulmillr/readdirp.git"
},
"scripts": {
"build": "tsc && tsc -p tsconfig.esm.json",
"format": "prettier --write index.ts",
"lint": "prettier --check index.ts",
"mocha": "mocha --exit",
"nyc": "nyc",
"test": "nyc npm run mocha"
},
"sideEffects": false,
"types": "./index.d.ts",
"version": "4.0.1"
"funding": {
"type": "individual",
"url": "https://paulmillr.com/funding/"
}
}

2
node_modules/rich-text-parser/.npmignore generated vendored Normal file
View File

@ -0,0 +1,2 @@
.DS_Store
npm-debug.log

28
node_modules/rich-text-parser/README.md generated vendored Normal file
View File

@ -0,0 +1,28 @@
# 在项目中使用该rich-text-parser
**安装**
```bash
$ npm i rich-text-parser -S --production
```
**使用**
```html
<rich-text nodes="{{nodes}}"></rich-text>
```
```bash
import parser from 'rich-text-parser'
parser.definedCustomTag({figure: 'p', figcaption: ''})
const nodes = parser.getRichTextJson(html)
```
### Api
| 参数 | 说明 | 参数 | 参数类型 | 返回值类型 |
|-----------|----------------------------------|-----------|---------|--------|
| getRichTextJson | 解析html | `html` | `String` | `Object` |
| definedCustomTag | 定义需要解析的特殊标签value不填默认是div | `options` | `Object` | `-` |

218
node_modules/rich-text-parser/lib/discode.js generated vendored Normal file
View File

@ -0,0 +1,218 @@
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Discode = function () {
function Discode() {
_classCallCheck(this, Discode);
}
_createClass(Discode, [{
key: 'strNumDiscode',
value: function strNumDiscode(str) {
str = str.replace(/&forall;/g, '∀');
str = str.replace(/&part;/g, '∂');
str = str.replace(/&exists;/g, '∃');
str = str.replace(/&empty;/g, '∅');
str = str.replace(/&nabla;/g, '∇');
str = str.replace(/&isin;/g, '∈');
str = str.replace(/&notin;/g, '∉');
str = str.replace(/&ni;/g, '∋');
str = str.replace(/&prod;/g, '∏');
str = str.replace(/&sum;/g, '∑');
str = str.replace(/&minus;/g, '');
str = str.replace(/&lowast;/g, '');
str = str.replace(/&radic;/g, '√');
str = str.replace(/&prop;/g, '∝');
str = str.replace(/&infin;/g, '∞');
str = str.replace(/&ang;/g, '∠');
str = str.replace(/&and;/g, '∧');
str = str.replace(/&or;/g, '');
str = str.replace(/&cap;/g, '∩');
str = str.replace(/&cap;/g, '');
str = str.replace(/&int;/g, '∫');
str = str.replace(/&there4;/g, '∴');
str = str.replace(/&sim;/g, '');
str = str.replace(/&cong;/g, '≅');
str = str.replace(/&asymp;/g, '≈');
str = str.replace(/&ne;/g, '≠');
str = str.replace(/&le;/g, '≤');
str = str.replace(/&ge;/g, '≥');
str = str.replace(/&sub;/g, '⊂');
str = str.replace(/&sup;/g, '⊃');
str = str.replace(/&nsub;/g, '⊄');
str = str.replace(/&sube;/g, '⊆');
str = str.replace(/&supe;/g, '⊇');
str = str.replace(/&oplus;/g, '⊕');
str = str.replace(/&otimes;/g, '⊗');
str = str.replace(/&perp;/g, '⊥');
str = str.replace(/&sdot;/g, '⋅');
return str;
}
}, {
key: 'strGreeceDiscode',
value: function strGreeceDiscode(str) {
str = str.replace(/&Alpha;/g, 'Α');
str = str.replace(/&Beta;/g, 'Β');
str = str.replace(/&Gamma;/g, 'Γ');
str = str.replace(/&Delta;/g, 'Δ');
str = str.replace(/&Epsilon;/g, 'Ε');
str = str.replace(/&Zeta;/g, 'Ζ');
str = str.replace(/&Eta;/g, 'Η');
str = str.replace(/&Theta;/g, 'Θ');
str = str.replace(/&Iota;/g, 'Ι');
str = str.replace(/&Kappa;/g, 'Κ');
str = str.replace(/&Lambda;/g, 'Λ');
str = str.replace(/&Mu;/g, 'Μ');
str = str.replace(/&Nu;/g, 'Ν');
str = str.replace(/&Xi;/g, 'Ν');
str = str.replace(/&Omicron;/g, 'Ο');
str = str.replace(/&Pi;/g, 'Π');
str = str.replace(/&Rho;/g, 'Ρ');
str = str.replace(/&Sigma;/g, 'Σ');
str = str.replace(/&Tau;/g, 'Τ');
str = str.replace(/&Upsilon;/g, 'Υ');
str = str.replace(/&Phi;/g, 'Φ');
str = str.replace(/&Chi;/g, 'Χ');
str = str.replace(/&Psi;/g, 'Ψ');
str = str.replace(/&Omega;/g, 'Ω');
str = str.replace(/&alpha;/g, 'α');
str = str.replace(/&beta;/g, 'β');
str = str.replace(/&gamma;/g, 'γ');
str = str.replace(/&delta;/g, 'δ');
str = str.replace(/&epsilon;/g, 'ε');
str = str.replace(/&zeta;/g, 'ζ');
str = str.replace(/&eta;/g, 'η');
str = str.replace(/&theta;/g, 'θ');
str = str.replace(/&iota;/g, 'ι');
str = str.replace(/&kappa;/g, 'κ');
str = str.replace(/&lambda;/g, 'λ');
str = str.replace(/&mu;/g, 'μ');
str = str.replace(/&nu;/g, 'ν');
str = str.replace(/&xi;/g, 'ξ');
str = str.replace(/&omicron;/g, 'ο');
str = str.replace(/&pi;/g, 'π');
str = str.replace(/&rho;/g, 'ρ');
str = str.replace(/&sigmaf;/g, 'ς');
str = str.replace(/&sigma;/g, 'σ');
str = str.replace(/&tau;/g, 'τ');
str = str.replace(/&upsilon;/g, 'υ');
str = str.replace(/&phi;/g, 'φ');
str = str.replace(/&chi;/g, 'χ');
str = str.replace(/&psi;/g, 'ψ');
str = str.replace(/&omega;/g, 'ω');
str = str.replace(/&thetasym;/g, 'ϑ');
str = str.replace(/&upsih;/g, 'ϒ');
str = str.replace(/&piv;/g, 'ϖ');
str = str.replace(/&middot;/g, '·');
return str;
}
}, {
key: 'strcharacterDiscode',
value: function strcharacterDiscode(str) {
// 加入常用解析
str = str.replace(/&nbsp;/g, ' ');
str = str.replace(/&quot;/g, "'");
str = str.replace(/&amp;/g, '&');
str = str.replace(/&lt;/g, '<');
str = str.replace(/&gt;/g, '>');
str = str.replace(/&#8226;/g, '•');
return str;
}
}, {
key: 'strOtherDiscode',
value: function strOtherDiscode(str) {
str = str.replace(/&OElig;/g, 'Œ');
str = str.replace(/&oelig;/g, 'œ');
str = str.replace(/&Scaron;/g, 'Š');
str = str.replace(/&scaron;/g, 'š');
str = str.replace(/&Yuml;/g, 'Ÿ');
str = str.replace(/&fnof;/g, 'ƒ');
str = str.replace(/&circ;/g, 'ˆ');
str = str.replace(/&tilde;/g, '˜');
str = str.replace(/&ensp;/g, '');
str = str.replace(/&emsp;/g, '');
str = str.replace(/&thinsp;/g, '');
str = str.replace(/&zwnj;/g, '');
str = str.replace(/&zwj;/g, '');
str = str.replace(/&lrm;/g, '');
str = str.replace(/&rlm;/g, '');
str = str.replace(/&ndash;/g, '');
str = str.replace(/&mdash;/g, '—');
str = str.replace(/&lsquo;/g, '');
str = str.replace(/&rsquo;/g, '');
str = str.replace(/&sbquo;/g, '');
str = str.replace(/&ldquo;/g, '“');
str = str.replace(/&rdquo;/g, '”');
str = str.replace(/&bdquo;/g, '„');
str = str.replace(/&dagger;/g, '†');
str = str.replace(/&Dagger;/g, '‡');
str = str.replace(/&bull;/g, '•');
str = str.replace(/&hellip;/g, '…');
str = str.replace(/&permil;/g, '‰');
str = str.replace(/&prime;/g, '');
str = str.replace(/&Prime;/g, '″');
str = str.replace(/&lsaquo;/g, '');
str = str.replace(/&rsaquo;/g, '');
str = str.replace(/&oline;/g, '‾');
str = str.replace(/&euro;/g, '€');
str = str.replace(/&trade;/g, '™');
str = str.replace(/&larr;/g, '←');
str = str.replace(/&uarr;/g, '↑');
str = str.replace(/&rarr;/g, '→');
str = str.replace(/&darr;/g, '↓');
str = str.replace(/&harr;/g, '↔');
str = str.replace(/&crarr;/g, '↵');
str = str.replace(/&lceil;/g, '⌈');
str = str.replace(/&rceil;/g, '⌉');
str = str.replace(/&lfloor;/g, '⌊');
str = str.replace(/&rfloor;/g, '⌋');
str = str.replace(/&loz;/g, '◊');
str = str.replace(/&spades;/g, '♠');
str = str.replace(/&clubs;/g, '♣');
str = str.replace(/&hearts;/g, '♥');
str = str.replace(/&diams;/g, '♦');
str = str.replace(/&#39;/g, '\'');
return str;
}
}, {
key: 'strMoreDiscode',
value: function strMoreDiscode(str) {
str = str.replace(/\r\n/g, '');
str = str.replace(/\n/g, '');
str = str.replace(/code/g, 'wxxxcode-style');
return str;
}
}, {
key: 'strDiscode',
value: function strDiscode(str) {
str = this.strNumDiscode(str);
str = this.strGreeceDiscode(str);
str = this.strcharacterDiscode(str);
str = this.strOtherDiscode(str);
str = this.strMoreDiscode(str);
return str;
}
}, {
key: 'urlToHttpUrl',
value: function urlToHttpUrl(url, rep) {
var patt1 = new RegExp('^//');
var result = patt1.test(url);
if (result) {
url = rep + ':' + url;
}
return url;
}
}]);
return Discode;
}();
var disCode = new Discode();
exports.default = disCode;

157
node_modules/rich-text-parser/lib/html2json.js generated vendored Normal file
View File

@ -0,0 +1,157 @@
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
var _discode = require('./discode');
var _discode2 = _interopRequireDefault(_discode);
var _htmlparser = require('./htmlparser');
var _htmlparser2 = _interopRequireDefault(_htmlparser);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var HtmlToJson = function () {
function HtmlToJson() {
_classCallCheck(this, HtmlToJson);
this.__placeImgeUrlHttps = 'https';
this.customTag = {};
}
_createClass(HtmlToJson, [{
key: 'removeDoctype',
value: function removeDoctype(html) {
return html.replace(/<\?xml.*\?>\n/, '').replace(/<.*!doctype.*\n/, '').replace(/<.*!DOCTYPE.*\n/, '');
}
}, {
key: 'trimHtml',
value: function trimHtml(html) {
return html.replace(/\r?\n+/g, '').replace(/<!--.*?-->/ig, '').replace(/\/\*.*?\*\//ig, '').replace(/[ ]+</ig, '<');
}
}, {
key: 'definedCustomTag',
value: function definedCustomTag(options) {
this.customTag = options;
}
}, {
key: 'getHtmlJson',
value: function getHtmlJson(html) {
html = this.removeDoctype(html);
html = this.trimHtml(html);
html = _discode2.default.strDiscode(html);
var customTag = this.customTag;
var bufArray = [];
var results = {
children: []
};
(0, _htmlparser2.default)(html, {
start: function start(tag, attrs, unary) {
var node = {
name: tag
};
if (attrs.length !== 0) {
node.attrs = attrs.reduce(function (pre, attr) {
var name = attr.name;
var value = attr.value;
if (pre[name]) {
if (Array.isArray(pre[name])) {
pre[name].push(value);
} else {
pre[name] = [pre[name], value];
}
} else {
pre[name] = value;
}
return pre;
}, {});
}
node.attrs = Object.assign({}, node.attrs);
var hasClass = node.attrs.hasOwnProperty('class');
node.attrs.class = hasClass ? node.attrs.class + ' rich-' + node.name : 'rich-' + node.name;
if (node.name === 'img') {
var imgUrl = node.attrs.src;
if (imgUrl[0] === '') {
imgUrl.splice(0, 1);
}
imgUrl = _discode2.default.urlToHttpUrl(imgUrl, this.__placeImgeUrlHttps);
node.attrs.src = imgUrl;
}
if (node.name === 'source') {
results.source = node.attrs.src;
}
if (unary) {
var parent = bufArray[0] || results;
if (parent.children === undefined) {
parent.children = [];
}
parent.children.push(node);
} else {
bufArray.unshift(node);
}
},
end: function end(tag) {
var node = bufArray.shift();
if (node.name !== tag) console.error('invalid state: mismatch end tag');
if (node.name === 'video' && results.source) {
node.attrs.src = results.source;
delete results.source;
}
if (customTag.hasOwnProperty(node.name)) {
node.name = customTag[node.name];
}
if (bufArray.length === 0) {
results.children.push(node);
} else {
var parent = bufArray[0];
if (parent.children === undefined) {
parent.children = [];
}
parent.children.push(node);
}
},
chars: function chars(text) {
var node = {
text: text,
type: 'text'
};
if (bufArray.length === 0) {
results.children.push(node);
} else {
var parent = bufArray[0];
if (parent.children === undefined) {
parent.children = [];
}
parent.children.push(node);
}
},
comment: function comment(text) {}
});
return results;
}
}]);
return HtmlToJson;
}();
exports.default = HtmlToJson;

174
node_modules/rich-text-parser/lib/htmlparser.js generated vendored Normal file
View File

@ -0,0 +1,174 @@
"use strict";
/**
* htmlParser改造自: https://github.com/blowsie/Pure-JavaScript-HTML5-Parser
*/
var startTag = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,
endTag = /^<\/([-A-Za-z0-9_]+)[^>]*>/,
attr = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g;
// Empty Elements - HTML 5
var empty = makeMap("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr");
// Block Elements - HTML 5
var block = makeMap("a,address,code,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video");
// Inline Elements - HTML 5
var inline = makeMap("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var");
// Elements that you can, intentionally, leave open
// (and which close themselves)
var closeSelf = makeMap("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr");
// Attributes that have their values filled in disabled="disabled"
var fillAttrs = makeMap("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected");
// Special Elements (can contain anything)
var special = makeMap("wxxxcode-style,script,style,view,scroll-view,block");
function HTMLParser(html, handler) {
var index,
chars,
match,
stack = [],
last = html;
stack.last = function () {
return this[this.length - 1];
};
while (html) {
chars = true;
// Make sure we're not in a script or style element
if (!stack.last() || !special[stack.last()]) {
// Comment
if (html.indexOf("<!--") == 0) {
index = html.indexOf("-->");
if (index >= 0) {
if (handler.comment) handler.comment(html.substring(4, index));
html = html.substring(index + 3);
chars = false;
}
// end tag
} else if (html.indexOf("</") == 0) {
match = html.match(endTag);
if (match) {
html = html.substring(match[0].length);
match[0].replace(endTag, parseEndTag);
chars = false;
}
// start tag
} else if (html.indexOf("<") == 0) {
match = html.match(startTag);
if (match) {
html = html.substring(match[0].length);
match[0].replace(startTag, parseStartTag);
chars = false;
}
}
if (chars) {
index = html.indexOf("<");
var text = '';
while (index === 0) {
text += "<";
html = html.substring(1);
index = html.indexOf("<");
}
text += index < 0 ? html : html.substring(0, index);
html = index < 0 ? "" : html.substring(index);
if (handler.chars) handler.chars(text);
}
} else {
html = html.replace(new RegExp("([\\s\\S]*?)<\/" + stack.last() + "[^>]*>"), function (all, text) {
text = text.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g, "$1$2");
if (handler.chars) handler.chars(text);
return "";
});
parseEndTag("", stack.last());
}
if (html == last) throw "Parse Error: " + html;
last = html;
}
// Clean up any remaining tags
parseEndTag();
function parseStartTag(tag, tagName, rest, unary) {
tagName = tagName.toLowerCase();
if (block[tagName]) {
while (stack.last() && inline[stack.last()]) {
parseEndTag("", stack.last());
}
}
if (closeSelf[tagName] && stack.last() == tagName) {
parseEndTag("", tagName);
}
unary = empty[tagName] || !!unary;
if (!unary) stack.push(tagName);
if (handler.start) {
var attrs = [];
rest.replace(attr, function (match, name) {
var value = arguments[2] ? arguments[2] : arguments[3] ? arguments[3] : arguments[4] ? arguments[4] : fillAttrs[name] ? name : "";
attrs.push({
name: name,
value: value,
escaped: value.replace(/(^|[^\\])"/g, '$1\\\"') //"
});
});
if (handler.start) {
handler.start(tagName, attrs, unary);
}
}
}
function parseEndTag(tag, tagName) {
// If no tag name is provided, clean shop
if (!tagName) var pos = 0;
// Find the closest opened tag of the same type
else {
tagName = tagName.toLowerCase();
for (var pos = stack.length - 1; pos >= 0; pos--) {
if (stack[pos] == tagName) break;
}
}
if (pos >= 0) {
// Close all the open elements, up the stack
for (var i = stack.length - 1; i >= pos; i--) {
if (handler.end) handler.end(stack[i]);
} // Remove the open elements from the stack
stack.length = pos;
}
}
};
function makeMap(str) {
var obj = {},
items = str.split(",");
for (var i = 0; i < items.length; i++) {
obj[items[i]] = true;
}return obj;
}
module.exports = HTMLParser;

52
node_modules/rich-text-parser/lib/parser.js generated vendored Normal file
View File

@ -0,0 +1,52 @@
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
var _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };
var _html2json = require('./html2json');
var _html2json2 = _interopRequireDefault(_html2json);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var Parser = function (_ParseJson) {
_inherits(Parser, _ParseJson);
function Parser() {
_classCallCheck(this, Parser);
return _possibleConstructorReturn(this, (Parser.__proto__ || Object.getPrototypeOf(Parser)).apply(this, arguments));
}
_createClass(Parser, [{
key: 'getRichTextJson',
value: function getRichTextJson(html) {
return _get(Parser.prototype.__proto__ || Object.getPrototypeOf(Parser.prototype), 'getHtmlJson', this).call(this, html);
}
}, {
key: 'definedCustomTag',
value: function definedCustomTag(options) {
var newOptions = {};
for (var i in options) {
newOptions[i] = options[i] ? options[i] : 'div';
}
_get(Parser.prototype.__proto__ || Object.getPrototypeOf(Parser.prototype), 'definedCustomTag', this).call(this, newOptions);
}
}]);
return Parser;
}(_html2json2.default);
var parser = new Parser();
exports.default = parser;

24
node_modules/rich-text-parser/package.json generated vendored Normal file
View File

@ -0,0 +1,24 @@
{
"name": "rich-text-parser",
"version": "1.0.2",
"description": "html to json parser work for weapp rich-text",
"main": "./lib/parser.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Chaunjie/rich-text-parser.git"
},
"keywords": [
"rich-text",
"html",
"json"
],
"author": "chaunjie",
"license": "ISC",
"bugs": {
"url": "https://github.com/Chaunjie/rich-text-parser/issues"
},
"homepage": "https://github.com/Chaunjie/rich-text-parser#readme"
}

193
node_modules/rich-text-parser/src/discode.js generated vendored Normal file
View File

@ -0,0 +1,193 @@
class Discode {
strNumDiscode (str) {
str = str.replace(/&forall;/g, '∀')
str = str.replace(/&part;/g, '∂')
str = str.replace(/&exists;/g, '∃')
str = str.replace(/&empty;/g, '∅')
str = str.replace(/&nabla;/g, '∇')
str = str.replace(/&isin;/g, '∈')
str = str.replace(/&notin;/g, '∉')
str = str.replace(/&ni;/g, '∋')
str = str.replace(/&prod;/g, '∏')
str = str.replace(/&sum;/g, '∑')
str = str.replace(/&minus;/g, '')
str = str.replace(/&lowast;/g, '')
str = str.replace(/&radic;/g, '√')
str = str.replace(/&prop;/g, '∝')
str = str.replace(/&infin;/g, '∞')
str = str.replace(/&ang;/g, '∠')
str = str.replace(/&and;/g, '∧')
str = str.replace(/&or;/g, '')
str = str.replace(/&cap;/g, '∩')
str = str.replace(/&cap;/g, '')
str = str.replace(/&int;/g, '∫')
str = str.replace(/&there4;/g, '∴')
str = str.replace(/&sim;/g, '')
str = str.replace(/&cong;/g, '≅')
str = str.replace(/&asymp;/g, '≈')
str = str.replace(/&ne;/g, '≠')
str = str.replace(/&le;/g, '≤')
str = str.replace(/&ge;/g, '≥')
str = str.replace(/&sub;/g, '⊂')
str = str.replace(/&sup;/g, '⊃')
str = str.replace(/&nsub;/g, '⊄')
str = str.replace(/&sube;/g, '⊆')
str = str.replace(/&supe;/g, '⊇')
str = str.replace(/&oplus;/g, '⊕')
str = str.replace(/&otimes;/g, '⊗')
str = str.replace(/&perp;/g, '⊥')
str = str.replace(/&sdot;/g, '⋅')
return str
}
strGreeceDiscode (str) {
str = str.replace(/&Alpha;/g, 'Α')
str = str.replace(/&Beta;/g, 'Β')
str = str.replace(/&Gamma;/g, 'Γ')
str = str.replace(/&Delta;/g, 'Δ')
str = str.replace(/&Epsilon;/g, 'Ε')
str = str.replace(/&Zeta;/g, 'Ζ')
str = str.replace(/&Eta;/g, 'Η')
str = str.replace(/&Theta;/g, 'Θ')
str = str.replace(/&Iota;/g, 'Ι')
str = str.replace(/&Kappa;/g, 'Κ')
str = str.replace(/&Lambda;/g, 'Λ')
str = str.replace(/&Mu;/g, 'Μ')
str = str.replace(/&Nu;/g, 'Ν')
str = str.replace(/&Xi;/g, 'Ν')
str = str.replace(/&Omicron;/g, 'Ο')
str = str.replace(/&Pi;/g, 'Π')
str = str.replace(/&Rho;/g, 'Ρ')
str = str.replace(/&Sigma;/g, 'Σ')
str = str.replace(/&Tau;/g, 'Τ')
str = str.replace(/&Upsilon;/g, 'Υ')
str = str.replace(/&Phi;/g, 'Φ')
str = str.replace(/&Chi;/g, 'Χ')
str = str.replace(/&Psi;/g, 'Ψ')
str = str.replace(/&Omega;/g, 'Ω')
str = str.replace(/&alpha;/g, 'α')
str = str.replace(/&beta;/g, 'β')
str = str.replace(/&gamma;/g, 'γ')
str = str.replace(/&delta;/g, 'δ')
str = str.replace(/&epsilon;/g, 'ε')
str = str.replace(/&zeta;/g, 'ζ')
str = str.replace(/&eta;/g, 'η')
str = str.replace(/&theta;/g, 'θ')
str = str.replace(/&iota;/g, 'ι')
str = str.replace(/&kappa;/g, 'κ')
str = str.replace(/&lambda;/g, 'λ')
str = str.replace(/&mu;/g, 'μ')
str = str.replace(/&nu;/g, 'ν')
str = str.replace(/&xi;/g, 'ξ')
str = str.replace(/&omicron;/g, 'ο')
str = str.replace(/&pi;/g, 'π')
str = str.replace(/&rho;/g, 'ρ')
str = str.replace(/&sigmaf;/g, 'ς')
str = str.replace(/&sigma;/g, 'σ')
str = str.replace(/&tau;/g, 'τ')
str = str.replace(/&upsilon;/g, 'υ')
str = str.replace(/&phi;/g, 'φ')
str = str.replace(/&chi;/g, 'χ')
str = str.replace(/&psi;/g, 'ψ')
str = str.replace(/&omega;/g, 'ω')
str = str.replace(/&thetasym;/g, 'ϑ')
str = str.replace(/&upsih;/g, 'ϒ')
str = str.replace(/&piv;/g, 'ϖ')
str = str.replace(/&middot;/g, '·')
return str
}
strcharacterDiscode (str) {
// 加入常用解析
str = str.replace(/&nbsp;/g, ' ')
str = str.replace(/&quot;/g, "'")
str = str.replace(/&amp;/g, '&')
str = str.replace(/&lt;/g, '<')
str = str.replace(/&gt;/g, '>')
str = str.replace(/&#8226;/g, '•')
return str
}
strOtherDiscode (str) {
str = str.replace(/&OElig;/g, 'Œ')
str = str.replace(/&oelig;/g, 'œ')
str = str.replace(/&Scaron;/g, 'Š')
str = str.replace(/&scaron;/g, 'š')
str = str.replace(/&Yuml;/g, 'Ÿ')
str = str.replace(/&fnof;/g, 'ƒ')
str = str.replace(/&circ;/g, 'ˆ')
str = str.replace(/&tilde;/g, '˜')
str = str.replace(/&ensp;/g, '')
str = str.replace(/&emsp;/g, '')
str = str.replace(/&thinsp;/g, '')
str = str.replace(/&zwnj;/g, '')
str = str.replace(/&zwj;/g, '')
str = str.replace(/&lrm;/g, '')
str = str.replace(/&rlm;/g, '')
str = str.replace(/&ndash;/g, '')
str = str.replace(/&mdash;/g, '—')
str = str.replace(/&lsquo;/g, '')
str = str.replace(/&rsquo;/g, '')
str = str.replace(/&sbquo;/g, '')
str = str.replace(/&ldquo;/g, '“')
str = str.replace(/&rdquo;/g, '”')
str = str.replace(/&bdquo;/g, '„')
str = str.replace(/&dagger;/g, '†')
str = str.replace(/&Dagger;/g, '‡')
str = str.replace(/&bull;/g, '•')
str = str.replace(/&hellip;/g, '…')
str = str.replace(/&permil;/g, '‰')
str = str.replace(/&prime;/g, '')
str = str.replace(/&Prime;/g, '″')
str = str.replace(/&lsaquo;/g, '')
str = str.replace(/&rsaquo;/g, '')
str = str.replace(/&oline;/g, '‾')
str = str.replace(/&euro;/g, '€')
str = str.replace(/&trade;/g, '™')
str = str.replace(/&larr;/g, '←')
str = str.replace(/&uarr;/g, '↑')
str = str.replace(/&rarr;/g, '→')
str = str.replace(/&darr;/g, '↓')
str = str.replace(/&harr;/g, '↔')
str = str.replace(/&crarr;/g, '↵')
str = str.replace(/&lceil;/g, '⌈')
str = str.replace(/&rceil;/g, '⌉')
str = str.replace(/&lfloor;/g, '⌊')
str = str.replace(/&rfloor;/g, '⌋')
str = str.replace(/&loz;/g, '◊')
str = str.replace(/&spades;/g, '♠')
str = str.replace(/&clubs;/g, '♣')
str = str.replace(/&hearts;/g, '♥')
str = str.replace(/&diams;/g, '♦')
str = str.replace(/&#39;/g, '\'')
return str
}
strMoreDiscode (str) {
str = str.replace(/\r\n/g, '')
str = str.replace(/\n/g, '')
str = str.replace(/code/g, 'wxxxcode-style')
return str
}
strDiscode (str) {
str = this.strNumDiscode(str)
str = this.strGreeceDiscode(str)
str = this.strcharacterDiscode(str)
str = this.strOtherDiscode(str)
str = this.strMoreDiscode(str)
return str
}
urlToHttpUrl (url, rep) {
const patt1 = new RegExp('^//')
const result = patt1.test(url)
if (result) {
url = rep + ':' + url
}
return url
}
}
const disCode = new Discode()
export default disCode

127
node_modules/rich-text-parser/src/html2json.js generated vendored Normal file
View File

@ -0,0 +1,127 @@
import discode from './discode'
import htmlParser from './htmlparser'
export default class HtmlToJson {
constructor () {
this.__placeImgeUrlHttps = 'https'
this.customTag = {}
}
removeDoctype (html) {
return html.replace(/<\?xml.*\?>\n/, '').replace(/<.*!doctype.*\n/, '').replace(/<.*!DOCTYPE.*\n/, '')
}
trimHtml (html) {
return html.replace(/\r?\n+/g, '').replace(/<!--.*?-->/ig, '').replace(/\/\*.*?\*\//ig, '').replace(/[ ]+</ig, '<')
}
definedCustomTag (options) {
this.customTag = options
}
getHtmlJson (html) {
html = this.removeDoctype(html)
html = this.trimHtml(html)
html = discode.strDiscode(html)
const {customTag} = this
let bufArray = []
let results = {
children: []
}
htmlParser(html, {
start: function (tag, attrs, unary) {
let node = {
name: tag
}
if (attrs.length !== 0) {
node.attrs = attrs.reduce(function (pre, attr) {
const name = attr.name
const value = attr.value
if (pre[name]) {
if (Array.isArray(pre[name])) {
pre[name].push(value)
} else {
pre[name] = [pre[name], value]
}
} else {
pre[name] = value
}
return pre
}, {})
}
node.attrs = Object.assign({}, node.attrs)
const hasClass = node.attrs.hasOwnProperty('class')
node.attrs.class = hasClass ? node.attrs.class + ' rich-' + node.name : 'rich-' + node.name
if (node.name === 'img') {
let imgUrl = node.attrs.src
if (imgUrl[0] === '') {
imgUrl.splice(0, 1)
}
imgUrl = discode.urlToHttpUrl(imgUrl, this.__placeImgeUrlHttps)
node.attrs.src = imgUrl
}
if (node.name === 'source') {
results.source = node.attrs.src
}
if (unary) {
let parent = bufArray[0] || results
if (parent.children === undefined) {
parent.children = []
}
parent.children.push(node)
} else {
bufArray.unshift(node)
}
},
end: function (tag) {
let node = bufArray.shift()
if (node.name !== tag) console.error('invalid state: mismatch end tag')
if (node.name === 'video' && results.source) {
node.attrs.src = results.source
delete results.source
}
if (customTag.hasOwnProperty(node.name)) {
node.name = customTag[node.name]
}
if (bufArray.length === 0) {
results.children.push(node)
} else {
let parent = bufArray[0]
if (parent.children === undefined) {
parent.children = []
}
parent.children.push(node)
}
},
chars: function (text) {
let node = {
text: text,
type: 'text'
}
if (bufArray.length === 0) {
results.children.push(node)
} else {
var parent = bufArray[0]
if (parent.children === undefined) {
parent.children = []
}
parent.children.push(node)
}
},
comment: function (text) {}
})
return results
}
}

182
node_modules/rich-text-parser/src/htmlparser.js generated vendored Normal file
View File

@ -0,0 +1,182 @@
/**
* htmlParser改造自: https://github.com/blowsie/Pure-JavaScript-HTML5-Parser
*/
var startTag = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,
endTag = /^<\/([-A-Za-z0-9_]+)[^>]*>/,
attr = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g;
// Empty Elements - HTML 5
var empty = makeMap("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr");
// Block Elements - HTML 5
var block = makeMap("a,address,code,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video");
// Inline Elements - HTML 5
var inline = makeMap("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var");
// Elements that you can, intentionally, leave open
// (and which close themselves)
var closeSelf = makeMap("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr");
// Attributes that have their values filled in disabled="disabled"
var fillAttrs = makeMap("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected");
// Special Elements (can contain anything)
var special = makeMap("wxxxcode-style,script,style,view,scroll-view,block");
function HTMLParser(html, handler) {
var index, chars, match, stack = [], last = html;
stack.last = function () {
return this[this.length - 1];
};
while (html) {
chars = true;
// Make sure we're not in a script or style element
if (!stack.last() || !special[stack.last()]) {
// Comment
if (html.indexOf("<!--") == 0) {
index = html.indexOf("-->");
if (index >= 0) {
if (handler.comment)
handler.comment(html.substring(4, index));
html = html.substring(index + 3);
chars = false;
}
// end tag
} else if (html.indexOf("</") == 0) {
match = html.match(endTag);
if (match) {
html = html.substring(match[0].length);
match[0].replace(endTag, parseEndTag);
chars = false;
}
// start tag
} else if (html.indexOf("<") == 0) {
match = html.match(startTag);
if (match) {
html = html.substring(match[0].length);
match[0].replace(startTag, parseStartTag);
chars = false;
}
}
if (chars) {
index = html.indexOf("<");
var text = ''
while (index === 0) {
text += "<";
html = html.substring(1);
index = html.indexOf("<");
}
text += index < 0 ? html : html.substring(0, index);
html = index < 0 ? "" : html.substring(index);
if (handler.chars)
handler.chars(text);
}
} else {
html = html.replace(new RegExp("([\\s\\S]*?)<\/" + stack.last() + "[^>]*>"), function (all, text) {
text = text.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g, "$1$2");
if (handler.chars)
handler.chars(text);
return "";
});
parseEndTag("", stack.last());
}
if (html == last)
throw "Parse Error: " + html;
last = html;
}
// Clean up any remaining tags
parseEndTag();
function parseStartTag(tag, tagName, rest, unary) {
tagName = tagName.toLowerCase();
if (block[tagName]) {
while (stack.last() && inline[stack.last()]) {
parseEndTag("", stack.last());
}
}
if (closeSelf[tagName] && stack.last() == tagName) {
parseEndTag("", tagName);
}
unary = empty[tagName] || !!unary;
if (!unary)
stack.push(tagName);
if (handler.start) {
var attrs = [];
rest.replace(attr, function (match, name) {
var value = arguments[2] ? arguments[2] :
arguments[3] ? arguments[3] :
arguments[4] ? arguments[4] :
fillAttrs[name] ? name : "";
attrs.push({
name: name,
value: value,
escaped: value.replace(/(^|[^\\])"/g, '$1\\\"') //"
});
});
if (handler.start) {
handler.start(tagName, attrs, unary);
}
}
}
function parseEndTag(tag, tagName) {
// If no tag name is provided, clean shop
if (!tagName)
var pos = 0;
// Find the closest opened tag of the same type
else {
tagName = tagName.toLowerCase();
for (var pos = stack.length - 1; pos >= 0; pos--)
if (stack[pos] == tagName)
break;
}
if (pos >= 0) {
// Close all the open elements, up the stack
for (var i = stack.length - 1; i >= pos; i--)
if (handler.end)
handler.end(stack[i]);
// Remove the open elements from the stack
stack.length = pos;
}
}
};
function makeMap(str) {
var obj = {}, items = str.split(",");
for (var i = 0; i < items.length; i++)
obj[items[i]] = true;
return obj;
}
module.exports = HTMLParser;

18
node_modules/rich-text-parser/src/parser.js generated vendored Normal file
View File

@ -0,0 +1,18 @@
import ParseJson from './html2json'
class Parser extends ParseJson {
getRichTextJson (html) {
return super.getHtmlJson(html)
}
definedCustomTag (options) {
const newOptions = {}
for (let i in options) {
newOptions[i] = options[i] ? options[i] : 'div'
}
super.definedCustomTag(newOptions)
}
}
const parser = new Parser()
export default parser

15
node_modules/sass-loader/node_modules/.bin/sass generated vendored Normal file
View File

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../../../sass/sass.js" "$@"
ret=$?
else
node "$basedir/../../../sass/sass.js" "$@"
ret=$?
fi
exit $ret

7
node_modules/sass-loader/node_modules/.bin/sass.cmd generated vendored Normal file
View File

@ -0,0 +1,7 @@
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\..\..\sass\sass.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\..\..\sass\sass.js" %*
)

15
node_modules/sass-loader/node_modules/.bin/semver generated vendored Normal file
View File

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../../../semver/bin/semver.js" "$@"
ret=$?
else
node "$basedir/../../../semver/bin/semver.js" "$@"
ret=$?
fi
exit $ret

View File

@ -0,0 +1,7 @@
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\..\..\semver\bin\semver.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\..\..\semver\bin\semver.js" %*
)

138
node_modules/sass-loader/package.json generated vendored
View File

@ -1,34 +1,60 @@
{
"_from": "sass-loader@^10.4.1",
"_id": "sass-loader@10.5.2",
"_inBundle": false,
"_integrity": "sha512-vMUoSNOUKJILHpcNCCyD23X34gve1TS7Rjd9uXHeKqhvBG39x6XbswFDtpbTElj6XdMFezoWhkh5vtKudf2cgQ==",
"_location": "/sass-loader",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "sass-loader@^10.4.1",
"name": "sass-loader",
"escapedName": "sass-loader",
"rawSpec": "^10.4.1",
"saveSpec": null,
"fetchSpec": "^10.4.1"
"name": "sass-loader",
"version": "10.5.2",
"description": "Sass loader for webpack",
"license": "MIT",
"repository": "webpack-contrib/sass-loader",
"author": "J. Tangelder",
"homepage": "https://github.com/webpack-contrib/sass-loader",
"bugs": "https://github.com/webpack-contrib/sass-loader/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"_requiredBy": [
"#DEV:/"
"main": "dist/cjs.js",
"engines": {
"node": ">= 10.13.0"
},
"scripts": {
"start": "npm run build -- -w",
"clean": "del-cli dist",
"prebuild": "npm run clean",
"build": "cross-env NODE_ENV=production babel src -d dist --copy-files",
"commitlint": "commitlint --from=master",
"security": "npm audit",
"lint:prettier": "prettier --list-different .",
"lint:js": "eslint --cache .",
"lint": "npm-run-all -l -p \"lint:**\"",
"test:only": "cross-env NODE_ENV=test jest",
"test:watch": "npm run test:only -- --watch",
"test:manual": "npm run build && webpack-dev-server test/manual/src/index.js --open --config test/manual/webpack.config.js",
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
"pretest": "npm run lint",
"test": "npm run test:coverage",
"prepare": "npm run build",
"release": "standard-version",
"defaults": "webpack-defaults"
},
"files": [
"dist"
],
"_resolved": "https://registry.npmmirror.com/sass-loader/-/sass-loader-10.5.2.tgz",
"_shasum": "1ca30534fff296417b853c7597ca3b0bbe8c37d0",
"_spec": "sass-loader@^10.4.1",
"_where": "D:\\Code\\lanan-repair",
"author": {
"name": "J. Tangelder"
"peerDependencies": {
"fibers": ">= 3.1.0",
"node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0",
"sass": "^1.3.0",
"webpack": "^4.36.0 || ^5.0.0"
},
"bugs": {
"url": "https://github.com/webpack-contrib/sass-loader/issues"
"peerDependenciesMeta": {
"node-sass": {
"optional": true
},
"sass": {
"optional": true
},
"fibers": {
"optional": true
}
},
"bundleDependencies": false,
"dependencies": {
"klona": "^2.0.4",
"loader-utils": "^2.0.0",
@ -36,8 +62,6 @@
"schema-utils": "^3.0.0",
"semver": "^7.3.2"
},
"deprecated": false,
"description": "Sass loader for webpack",
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
@ -73,66 +97,10 @@
"style-loader": "^2.0.0",
"webpack": "^5.12.2"
},
"engines": {
"node": ">= 10.13.0"
},
"files": [
"dist"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"homepage": "https://github.com/webpack-contrib/sass-loader",
"keywords": [
"sass",
"libsass",
"webpack",
"loader"
],
"license": "MIT",
"main": "dist/cjs.js",
"name": "sass-loader",
"peerDependencies": {
"fibers": ">= 3.1.0",
"node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0",
"sass": "^1.3.0",
"webpack": "^4.36.0 || ^5.0.0"
},
"peerDependenciesMeta": {
"node-sass": {
"optional": true
},
"sass": {
"optional": true
},
"fibers": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/webpack-contrib/sass-loader.git"
},
"scripts": {
"build": "cross-env NODE_ENV=production babel src -d dist --copy-files",
"clean": "del-cli dist",
"commitlint": "commitlint --from=master",
"defaults": "webpack-defaults",
"lint": "npm-run-all -l -p \"lint:**\"",
"lint:js": "eslint --cache .",
"lint:prettier": "prettier --list-different .",
"prebuild": "npm run clean",
"prepare": "npm run build",
"pretest": "npm run lint",
"release": "standard-version",
"security": "npm audit",
"start": "npm run build -- -w",
"test": "npm run test:coverage",
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
"test:manual": "npm run build && webpack-dev-server test/manual/src/index.js --open --config test/manual/webpack.config.js",
"test:only": "cross-env NODE_ENV=test jest",
"test:watch": "npm run test:only -- --watch"
},
"version": "10.5.2"
]
}

76
node_modules/sass/package.json generated vendored
View File

@ -1,75 +1 @@
{
"_from": "sass@^1.69.5",
"_id": "sass@1.79.3",
"_inBundle": false,
"_integrity": "sha512-m7dZxh0W9EZ3cw50Me5GOuYm/tVAJAn91SUnohLRo9cXBixGUOdvmryN+dXpwR831bhoY3Zv7rEFt85PUwTmzA==",
"_location": "/sass",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "sass@^1.69.5",
"name": "sass",
"escapedName": "sass",
"rawSpec": "^1.69.5",
"saveSpec": null,
"fetchSpec": "^1.69.5"
},
"_requiredBy": [
"#DEV:/"
],
"_resolved": "https://registry.npmmirror.com/sass/-/sass-1.79.3.tgz",
"_shasum": "7811b000eb68195fe51dea89177e73e7ef7f546f",
"_spec": "sass@^1.69.5",
"_where": "D:\\Code\\lanan-repair",
"author": {
"name": "Natalie Weizenbaum",
"email": "nweiz@google.com",
"url": "https://github.com/nex3"
},
"bin": {
"sass": "sass.js"
},
"bugs": {
"url": "https://github.com/sass/dart-sass/issues"
},
"bundleDependencies": false,
"dependencies": {
"chokidar": "^4.0.0",
"immutable": "^4.0.0",
"source-map-js": ">=0.6.2 <2.0.0"
},
"deprecated": false,
"description": "A pure JavaScript implementation of Sass.",
"engines": {
"node": ">=14.0.0"
},
"exports": {
"types": "./types/index.d.ts",
"node": {
"require": "./sass.node.js",
"default": "./sass.node.mjs"
},
"default": {
"require": "./sass.default.cjs",
"default": "./sass.default.js"
}
},
"homepage": "https://github.com/sass/dart-sass",
"keywords": [
"style",
"scss",
"sass",
"preprocessor",
"css"
],
"license": "MIT",
"main": "sass.node.js",
"name": "sass",
"repository": {
"type": "git",
"url": "git+https://github.com/sass/dart-sass.git"
},
"types": "types/index.d.ts",
"version": "1.79.3"
}
{"name":"sass","description":"A pure JavaScript implementation of Sass.","license":"MIT","bugs":"https://github.com/sass/dart-sass/issues","homepage":"https://github.com/sass/dart-sass","repository":{"type":"git","url":"https://github.com/sass/dart-sass"},"author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"engines":{"node":">=14.0.0"},"dependencies":{"chokidar":"^4.0.0","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","exports":{"types":"./types/index.d.ts","node":{"require":"./sass.node.js","default":"./sass.node.mjs"},"default":{"require":"./sass.default.cjs","default":"./sass.default.js"}},"version":"1.79.3","bin":{"sass":"sass.js"},"main":"sass.node.js"}

View File

@ -1,42 +1,54 @@
{
"_from": "schema-utils@^3.0.0",
"_id": "schema-utils@3.3.0",
"_inBundle": false,
"_integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==",
"_location": "/schema-utils",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "schema-utils@^3.0.0",
"name": "schema-utils",
"escapedName": "schema-utils",
"rawSpec": "^3.0.0",
"saveSpec": null,
"fetchSpec": "^3.0.0"
"name": "schema-utils",
"version": "3.3.0",
"description": "webpack Validation Utils",
"license": "MIT",
"repository": "webpack/schema-utils",
"author": "webpack Contrib (https://github.com/webpack-contrib)",
"homepage": "https://github.com/webpack/schema-utils",
"bugs": "https://github.com/webpack/schema-utils/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"_requiredBy": [
"/sass-loader"
"main": "dist/index.js",
"types": "declarations/index.d.ts",
"engines": {
"node": ">= 10.13.0"
},
"scripts": {
"start": "npm run build -- -w",
"clean": "del-cli dist declarations",
"prebuild": "npm run clean",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir declarations && prettier \"declarations/**/*.ts\" --write",
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
"build": "npm-run-all -p \"build:**\"",
"commitlint": "commitlint --from=master",
"security": "npm audit --production",
"fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
"lint:js": "eslint --cache .",
"lint:types": "tsc --pretty --noEmit",
"lint": "npm-run-all lint:js lint:types fmt:check",
"fmt": "npm run fmt:check -- --write",
"fix:js": "npm run lint:js -- --fix",
"fix": "npm-run-all fix:js fmt",
"test:only": "cross-env NODE_ENV=test jest",
"test:watch": "npm run test:only -- --watch",
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
"pretest": "npm run lint",
"test": "npm run test:coverage",
"prepare": "npm run build && husky install",
"release": "standard-version"
},
"files": [
"dist",
"declarations"
],
"_resolved": "https://registry.npmmirror.com/schema-utils/-/schema-utils-3.3.0.tgz",
"_shasum": "f50a88877c3c01652a15b622ae9e9795df7a60fe",
"_spec": "schema-utils@^3.0.0",
"_where": "D:\\Code\\lanan-repair\\node_modules\\sass-loader",
"author": {
"name": "webpack Contrib",
"url": "https://github.com/webpack-contrib"
},
"bugs": {
"url": "https://github.com/webpack/schema-utils/issues"
},
"bundleDependencies": false,
"dependencies": {
"@types/json-schema": "^7.0.8",
"ajv": "^6.12.5",
"ajv-keywords": "^3.5.2"
},
"deprecated": false,
"description": "webpack Validation Utils",
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.6",
@ -60,52 +72,7 @@
"typescript": "^4.3.5",
"webpack": "^5.45.1"
},
"engines": {
"node": ">= 10.13.0"
},
"files": [
"dist",
"declarations"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"homepage": "https://github.com/webpack/schema-utils",
"keywords": [
"webpack"
],
"license": "MIT",
"main": "dist/index.js",
"name": "schema-utils",
"repository": {
"type": "git",
"url": "git+https://github.com/webpack/schema-utils.git"
},
"scripts": {
"build": "npm-run-all -p \"build:**\"",
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir declarations && prettier \"declarations/**/*.ts\" --write",
"clean": "del-cli dist declarations",
"commitlint": "commitlint --from=master",
"fix": "npm-run-all fix:js fmt",
"fix:js": "npm run lint:js -- --fix",
"fmt": "npm run fmt:check -- --write",
"fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
"lint": "npm-run-all lint:js lint:types fmt:check",
"lint:js": "eslint --cache .",
"lint:types": "tsc --pretty --noEmit",
"prebuild": "npm run clean",
"prepare": "npm run build && husky install",
"pretest": "npm run lint",
"release": "standard-version",
"security": "npm audit --production",
"start": "npm run build -- -w",
"test": "npm run test:coverage",
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
"test:only": "cross-env NODE_ENV=test jest",
"test:watch": "npm run test:only -- --watch"
},
"types": "declarations/index.d.ts",
"version": "3.3.0"
]
}

79
node_modules/semver/package.json generated vendored
View File

@ -1,47 +1,30 @@
{
"_from": "semver@^7.3.2",
"_id": "semver@7.6.3",
"_inBundle": false,
"_integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
"_location": "/semver",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "semver@^7.3.2",
"name": "semver",
"escapedName": "semver",
"rawSpec": "^7.3.2",
"saveSpec": null,
"fetchSpec": "^7.3.2"
},
"_requiredBy": [
"/sass-loader"
],
"_resolved": "https://registry.npmmirror.com/semver/-/semver-7.6.3.tgz",
"_shasum": "980f7b5550bc175fb4dc09403085627f9eb33143",
"_spec": "semver@^7.3.2",
"_where": "D:\\Code\\lanan-repair\\node_modules\\sass-loader",
"author": {
"name": "GitHub Inc."
},
"bin": {
"semver": "bin/semver.js"
},
"bugs": {
"url": "https://github.com/npm/node-semver/issues"
},
"bundleDependencies": false,
"deprecated": false,
"name": "semver",
"version": "7.6.3",
"description": "The semantic version parser used by npm.",
"main": "index.js",
"scripts": {
"test": "tap",
"snap": "tap",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"postlint": "template-oss-check",
"lintfix": "npm run lint -- --fix",
"posttest": "npm run lint",
"template-oss-apply": "template-oss-apply --force"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.22.0",
"benchmark": "^2.1.4",
"tap": "^16.0.0"
},
"engines": {
"node": ">=10"
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/node-semver.git"
},
"bin": {
"semver": "bin/semver.js"
},
"files": [
"bin/",
@ -54,23 +37,6 @@
"preload.js",
"range.bnf"
],
"homepage": "https://github.com/npm/node-semver#readme",
"license": "ISC",
"main": "index.js",
"name": "semver",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/node-semver.git"
},
"scripts": {
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"lintfix": "npm run lint -- --fix",
"postlint": "template-oss-check",
"posttest": "npm run lint",
"snap": "tap",
"template-oss-apply": "template-oss-apply --force",
"test": "tap"
},
"tap": {
"timeout": 30,
"coverage-map": "map.js",
@ -79,6 +45,10 @@
"tap-snapshots/**"
]
},
"engines": {
"node": ">=10"
},
"author": "GitHub Inc.",
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.22.0",
@ -103,6 +73,5 @@
"/benchmarks"
],
"publish": "true"
},
"version": "7.6.3"
}
}

View File

@ -1,216 +1,71 @@
{
"_from": "source-map-js@>=0.6.2 <2.0.0",
"_id": "source-map-js@1.2.1",
"_inBundle": false,
"_integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
"_location": "/source-map-js",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "source-map-js@>=0.6.2 <2.0.0",
"name": "source-map-js",
"escapedName": "source-map-js",
"rawSpec": ">=0.6.2 <2.0.0",
"saveSpec": null,
"fetchSpec": ">=0.6.2 <2.0.0"
},
"_requiredBy": [
"/sass"
],
"_resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.1.tgz",
"_shasum": "1ce5650fddd87abc099eda37dcff024c2667ae46",
"_spec": "source-map-js@>=0.6.2 <2.0.0",
"_where": "D:\\Code\\lanan-repair\\node_modules\\sass",
"author": {
"name": "Valentin 7rulnik Semirulnik",
"email": "v7rulnik@gmail.com"
},
"bugs": {
"url": "https://github.com/7rulnik/source-map-js/issues"
},
"bundleDependencies": false,
"clean-publish": {
"cleanDocs": true
},
"contributors": [
{
"name": "Nick Fitzgerald",
"email": "nfitzgerald@mozilla.com"
},
{
"name": "Tobias Koppers",
"email": "tobias.koppers@googlemail.com"
},
{
"name": "Duncan Beevers",
"email": "duncan@dweebd.com"
},
{
"name": "Stephen Crane",
"email": "scrane@mozilla.com"
},
{
"name": "Ryan Seddon",
"email": "seddon.ryan@gmail.com"
},
{
"name": "Miles Elam",
"email": "miles.elam@deem.com"
},
{
"name": "Mihai Bazon",
"email": "mihai.bazon@gmail.com"
},
{
"name": "Michael Ficarra",
"email": "github.public.email@michael.ficarra.me"
},
{
"name": "Todd Wolfson",
"email": "todd@twolfson.com"
},
{
"name": "Alexander Solovyov",
"email": "alexander@solovyov.net"
},
{
"name": "Felix Gnass",
"email": "fgnass@gmail.com"
},
{
"name": "Conrad Irwin",
"email": "conrad.irwin@gmail.com"
},
{
"name": "usrbincc",
"email": "usrbincc@yahoo.com"
},
{
"name": "David Glasser",
"email": "glasser@davidglasser.net"
},
{
"name": "Chase Douglas",
"email": "chase@newrelic.com"
},
{
"name": "Evan Wallace",
"email": "evan.exe@gmail.com"
},
{
"name": "Heather Arthur",
"email": "fayearthur@gmail.com"
},
{
"name": "Hugh Kennedy",
"email": "hughskennedy@gmail.com"
},
{
"name": "David Glasser",
"email": "glasser@davidglasser.net"
},
{
"name": "Simon Lydell",
"email": "simon.lydell@gmail.com"
},
{
"name": "Jmeas Smith",
"email": "jellyes2@gmail.com"
},
{
"name": "Michael Z Goddard",
"email": "mzgoddard@gmail.com"
},
{
"name": "azu",
"email": "azu@users.noreply.github.com"
},
{
"name": "John Gozde",
"email": "john@gozde.ca"
},
{
"name": "Adam Kirkton",
"email": "akirkton@truefitinnovation.com"
},
{
"name": "Chris Montgomery",
"email": "christopher.montgomery@dowjones.com"
},
{
"name": "J. Ryan Stinnett",
"email": "jryans@gmail.com"
},
{
"name": "Jack Herrington",
"email": "jherrington@walmartlabs.com"
},
{
"name": "Chris Truter",
"email": "jeffpalentine@gmail.com"
},
{
"name": "Daniel Espeset",
"email": "daniel@danielespeset.com"
},
{
"name": "Jamie Wong",
"email": "jamie.lf.wong@gmail.com"
},
{
"name": "Eddy Bruël",
"email": "ejpbruel@mozilla.com"
},
{
"name": "Hawken Rives",
"email": "hawkrives@gmail.com"
},
{
"name": "Gilad Peleg",
"email": "giladp007@gmail.com"
},
{
"name": "djchie",
"email": "djchie.dev@gmail.com"
},
{
"name": "Gary Ye",
"email": "garysye@gmail.com"
},
{
"name": "Nicolas Lalevée",
"email": "nicolas.lalevee@hibnet.org"
}
],
"deprecated": false,
"name": "source-map-js",
"description": "Generates and consumes source maps",
"devDependencies": {
"clean-publish": "^3.1.0",
"doctoc": "^0.15.0",
"webpack": "^1.12.0"
},
"engines": {
"node": ">=0.10.0"
},
"version": "1.2.1",
"homepage": "https://github.com/7rulnik/source-map-js",
"author": "Valentin 7rulnik Semirulnik <v7rulnik@gmail.com>",
"contributors": [
"Nick Fitzgerald <nfitzgerald@mozilla.com>",
"Tobias Koppers <tobias.koppers@googlemail.com>",
"Duncan Beevers <duncan@dweebd.com>",
"Stephen Crane <scrane@mozilla.com>",
"Ryan Seddon <seddon.ryan@gmail.com>",
"Miles Elam <miles.elam@deem.com>",
"Mihai Bazon <mihai.bazon@gmail.com>",
"Michael Ficarra <github.public.email@michael.ficarra.me>",
"Todd Wolfson <todd@twolfson.com>",
"Alexander Solovyov <alexander@solovyov.net>",
"Felix Gnass <fgnass@gmail.com>",
"Conrad Irwin <conrad.irwin@gmail.com>",
"usrbincc <usrbincc@yahoo.com>",
"David Glasser <glasser@davidglasser.net>",
"Chase Douglas <chase@newrelic.com>",
"Evan Wallace <evan.exe@gmail.com>",
"Heather Arthur <fayearthur@gmail.com>",
"Hugh Kennedy <hughskennedy@gmail.com>",
"David Glasser <glasser@davidglasser.net>",
"Simon Lydell <simon.lydell@gmail.com>",
"Jmeas Smith <jellyes2@gmail.com>",
"Michael Z Goddard <mzgoddard@gmail.com>",
"azu <azu@users.noreply.github.com>",
"John Gozde <john@gozde.ca>",
"Adam Kirkton <akirkton@truefitinnovation.com>",
"Chris Montgomery <christopher.montgomery@dowjones.com>",
"J. Ryan Stinnett <jryans@gmail.com>",
"Jack Herrington <jherrington@walmartlabs.com>",
"Chris Truter <jeffpalentine@gmail.com>",
"Daniel Espeset <daniel@danielespeset.com>",
"Jamie Wong <jamie.lf.wong@gmail.com>",
"Eddy Bruël <ejpbruel@mozilla.com>",
"Hawken Rives <hawkrives@gmail.com>",
"Gilad Peleg <giladp007@gmail.com>",
"djchie <djchie.dev@gmail.com>",
"Gary Ye <garysye@gmail.com>",
"Nicolas Lalevée <nicolas.lalevee@hibnet.org>"
],
"repository": "7rulnik/source-map-js",
"main": "./source-map.js",
"files": [
"source-map.js",
"source-map.d.ts",
"lib/"
],
"homepage": "https://github.com/7rulnik/source-map-js",
"license": "BSD-3-Clause",
"main": "./source-map.js",
"name": "source-map-js",
"repository": {
"type": "git",
"url": "git+https://github.com/7rulnik/source-map-js.git"
"engines": {
"node": ">=0.10.0"
},
"license": "BSD-3-Clause",
"scripts": {
"build": "webpack --color",
"test": "npm run build && node test/run-tests.js",
"build": "webpack --color",
"toc": "doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md"
},
"typings": "source-map.d.ts",
"version": "1.2.1"
"devDependencies": {
"clean-publish": "^3.1.0",
"doctoc": "^0.15.0",
"webpack": "^1.12.0"
},
"clean-publish": {
"cleanDocs": true
},
"typings": "source-map.d.ts"
}

100
node_modules/uri-js/package.json generated vendored
View File

@ -1,53 +1,9 @@
{
"_from": "uri-js@^4.2.2",
"_id": "uri-js@4.4.1",
"_inBundle": false,
"_integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
"_location": "/uri-js",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "uri-js@^4.2.2",
"name": "uri-js",
"escapedName": "uri-js",
"rawSpec": "^4.2.2",
"saveSpec": null,
"fetchSpec": "^4.2.2"
},
"_requiredBy": [
"/ajv"
],
"_resolved": "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz",
"_shasum": "9b1a52595225859e55f669d928f88c6c57f2a77e",
"_spec": "uri-js@^4.2.2",
"_where": "D:\\Code\\lanan-repair\\node_modules\\ajv",
"author": {
"name": "Gary Court",
"email": "gary.court@gmail.com"
},
"bugs": {
"url": "https://github.com/garycourt/uri-js/issues"
},
"bundleDependencies": false,
"dependencies": {
"punycode": "^2.1.0"
},
"deprecated": false,
"name": "uri-js",
"version": "4.4.1",
"description": "An RFC 3986/3987 compliant, scheme extendable URI/IRI parsing/validating/resolving library for JavaScript.",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-latest": "^6.24.1",
"mocha": "^8.2.1",
"mocha-qunit-ui": "^0.1.3",
"rollup": "^0.41.6",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-node-resolve": "^2.0.0",
"sorcery": "^0.10.0",
"typescript": "^2.8.1",
"uglify-js": "^2.8.14"
},
"main": "dist/es5/uri.all.js",
"types": "dist/es5/uri.all.d.ts",
"directories": {
"test": "tests"
},
@ -59,7 +15,19 @@
"CHANGELOG",
"LICENSE"
],
"homepage": "https://github.com/garycourt/uri-js",
"scripts": {
"build:esnext": "tsc",
"build:es5": "rollup -c && cp dist/esnext/uri.d.ts dist/es5/uri.all.d.ts && npm run build:es5:fix-sourcemap",
"build:es5:fix-sourcemap": "sorcery -i dist/es5/uri.all.js",
"build:es5:min": "uglifyjs dist/es5/uri.all.js --support-ie8 --output dist/es5/uri.all.min.js --in-source-map dist/es5/uri.all.js.map --source-map uri.all.min.js.map --comments --compress --mangle --pure-funcs merge subexp && mv uri.all.min.js.map dist/es5/ && cp dist/es5/uri.all.d.ts dist/es5/uri.all.min.d.ts",
"build": "npm run build:esnext && npm run build:es5 && npm run build:es5:min",
"clean": "rm -rf dist",
"test": "mocha -u mocha-qunit-ui dist/es5/uri.all.js tests/tests.js"
},
"repository": {
"type": "git",
"url": "http://github.com/garycourt/uri-js"
},
"keywords": [
"URI",
"IRI",
@ -84,22 +52,26 @@
"RFC6455",
"RFC6874"
],
"author": "Gary Court <gary.court@gmail.com>",
"license": "BSD-2-Clause",
"main": "dist/es5/uri.all.js",
"name": "uri-js",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/garycourt/uri-js.git"
"bugs": {
"url": "https://github.com/garycourt/uri-js/issues"
},
"scripts": {
"build": "npm run build:esnext && npm run build:es5 && npm run build:es5:min",
"build:es5": "rollup -c && cp dist/esnext/uri.d.ts dist/es5/uri.all.d.ts && npm run build:es5:fix-sourcemap",
"build:es5:fix-sourcemap": "sorcery -i dist/es5/uri.all.js",
"build:es5:min": "uglifyjs dist/es5/uri.all.js --support-ie8 --output dist/es5/uri.all.min.js --in-source-map dist/es5/uri.all.js.map --source-map uri.all.min.js.map --comments --compress --mangle --pure-funcs merge subexp && mv uri.all.min.js.map dist/es5/ && cp dist/es5/uri.all.d.ts dist/es5/uri.all.min.d.ts",
"build:esnext": "tsc",
"clean": "rm -rf dist",
"test": "mocha -u mocha-qunit-ui dist/es5/uri.all.js tests/tests.js"
"homepage": "https://github.com/garycourt/uri-js",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-latest": "^6.24.1",
"mocha": "^8.2.1",
"mocha-qunit-ui": "^0.1.3",
"rollup": "^0.41.6",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-node-resolve": "^2.0.0",
"sorcery": "^0.10.0",
"typescript": "^2.8.1",
"uglify-js": "^2.8.14"
},
"types": "dist/es5/uri.all.d.ts",
"version": "4.4.1"
"dependencies": {
"punycode": "^2.1.0"
}
}

196
node_modules/uview-ui/package.json generated vendored
View File

@ -1,116 +1,84 @@
{
"_from": "uview-ui@^2.0.36",
"_id": "uview-ui@2.0.37",
"_inBundle": false,
"_integrity": "sha512-iBcWNmQa01Wr+z004G6XIVPDctOrJIAx7LObQceUAPxZh6kJYjIOAMp5JE1K4VpoMV5bKYDpCd0gmX+M4nTEQQ==",
"_location": "/uview-ui",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "uview-ui@^2.0.36",
"name": "uview-ui",
"escapedName": "uview-ui",
"rawSpec": "^2.0.36",
"saveSpec": null,
"fetchSpec": "^2.0.36"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmmirror.com/uview-ui/-/uview-ui-2.0.37.tgz",
"_shasum": "b47263ebe41e7edbecd9574eba806a7f45d2bf22",
"_spec": "uview-ui@^2.0.36",
"_where": "D:\\Code\\lanan-repair",
"bugs": {
"url": "https://github.com/umicro/uView2.0/issues"
},
"bundleDependencies": false,
"dcloudext": {
"sale": {
"regular": {
"price": "0.00"
},
"sourcecode": {
"price": "0.00"
}
},
"contact": {
"qq": "1416956117"
},
"declaration": {
"ads": "无",
"data": "无",
"permissions": "无"
},
"npmurl": "https://www.npmjs.com/package/uview-ui",
"type": "component-vue"
},
"deprecated": false,
"description": "uView UI已完美兼容nvue全面的组件和便捷的工具会让您信手拈来如鱼得水",
"displayName": "uView2.0重磅发布,利剑出鞘,一统江湖",
"engines": {
"HBuilderX": "^3.1.0"
},
"homepage": "https://github.com/umicro/uView2.0#readme",
"id": "uview-ui",
"keywords": [
"uview",
"uview",
"ui",
"ui",
"uni-app",
"uni-app",
"ui"
],
"name": "uview-ui",
"repository": {
"type": "git",
"url": "git+https://github.com/umicro/uView2.0.git"
},
"uni_modules": {
"dependencies": [],
"encrypt": [],
"platforms": {
"cloud": {
"tcb": "y",
"aliyun": "y"
},
"client": {
"Vue": {
"vue2": "y",
"vue3": "n"
},
"App": {
"app-vue": "y",
"app-nvue": "y"
},
"H5-mobile": {
"Safari": "y",
"Android Browser": "y",
"微信浏览器(Android)": "y",
"QQ浏览器(Android)": "y"
},
"H5-pc": {
"Chrome": "y",
"IE": "y",
"Edge": "y",
"Firefox": "y",
"Safari": "y"
},
"小程序": {
"微信": "y",
"阿里": "y",
"百度": "y",
"字节跳动": "y",
"QQ": "y"
},
"快应用": {
"华为": "y",
"联盟": "y"
}
}
}
},
"version": "2.0.37"
"id": "uview-ui",
"name": "uview-ui",
"displayName": "uView2.0重磅发布,利剑出鞘,一统江湖",
"version": "2.0.37",
"description": "uView UI已完美兼容nvue全面的组件和便捷的工具会让您信手拈来如鱼得水",
"keywords": [
"uview",
"uview",
"ui",
"ui",
"uni-app",
"uni-app",
"ui"
],
"repository": "https://github.com/umicro/uView2.0",
"engines": {
"HBuilderX": "^3.1.0"
},
"dcloudext": {
"sale": {
"regular": {
"price": "0.00"
},
"sourcecode": {
"price": "0.00"
}
},
"contact": {
"qq": "1416956117"
},
"declaration": {
"ads": "无",
"data": "无",
"permissions": "无"
},
"npmurl": "https://www.npmjs.com/package/uview-ui",
"type": "component-vue"
},
"uni_modules": {
"dependencies": [],
"encrypt": [],
"platforms": {
"cloud": {
"tcb": "y",
"aliyun": "y"
},
"client": {
"Vue": {
"vue2": "y",
"vue3": "n"
},
"App": {
"app-vue": "y",
"app-nvue": "y"
},
"H5-mobile": {
"Safari": "y",
"Android Browser": "y",
"微信浏览器(Android)": "y",
"QQ浏览器(Android)": "y"
},
"H5-pc": {
"Chrome": "y",
"IE": "y",
"Edge": "y",
"Firefox": "y",
"Safari": "y"
},
"小程序": {
"微信": "y",
"阿里": "y",
"百度": "y",
"字节跳动": "y",
"QQ": "y"
},
"快应用": {
"华为": "y",
"联盟": "y"
}
}
}
}
}

View File

@ -1,40 +1,31 @@
{
"_from": "weapp-qrcode",
"_id": "weapp-qrcode@1.0.0",
"_inBundle": false,
"_integrity": "sha512-4sa3W0rGDVJ9QaeZpAKlAuUxVyjhDwiUqHyGK/jJMsRMXnhb4yO8qWU/pZruMo+iT5J6CraS67lDMFb1VY+RaA==",
"_location": "/weapp-qrcode",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "weapp-qrcode",
"name": "weapp-qrcode",
"escapedName": "weapp-qrcode",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
"name": "weapp-qrcode",
"version": "1.0.0",
"description": "generate qrcode in weapp",
"main": "dist/weapp.qrcode.common.js",
"module": "dist/weapp.qrcode.esm.js",
"scripts": {
"dev": "rollup --config build/rollup.dev.config.js -w",
"build": "rollup --config build/rollup.prod.config.js",
"publish": "rollup --config build/rollup.dev.config.js & npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"_requiredBy": [
"#USER",
"/"
"repository": {
"type": "git",
"url": "git+https://github.com/yingye/weapp-qrcode.git"
},
"keywords": [
"wechat",
"weapp",
"qrcode",
"canvas"
],
"_resolved": "https://registry.npmmirror.com/weapp-qrcode/-/weapp-qrcode-1.0.0.tgz",
"_shasum": "4f3b4b4e7d37710c513439166734587859aebbfc",
"_spec": "weapp-qrcode",
"_where": "D:\\lananWork\\lanan-repair",
"author": {
"name": "yingye"
},
"author": "yingye",
"license": "MIT",
"bugs": {
"url": "https://github.com/yingye/weapp-qrcode/issues"
},
"bundleDependencies": false,
"dependencies": {
"extend": "^3.0.2"
},
"deprecated": false,
"description": "generate qrcode in weapp",
"homepage": "https://github.com/yingye/weapp-qrcode#readme",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
@ -53,26 +44,7 @@
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^3.0.0"
},
"homepage": "https://github.com/yingye/weapp-qrcode#readme",
"keywords": [
"wechat",
"weapp",
"qrcode",
"canvas"
],
"license": "MIT",
"main": "dist/weapp.qrcode.common.js",
"module": "dist/weapp.qrcode.esm.js",
"name": "weapp-qrcode",
"repository": {
"type": "git",
"url": "git+https://github.com/yingye/weapp-qrcode.git"
},
"scripts": {
"build": "rollup --config build/rollup.prod.config.js",
"dev": "rollup --config build/rollup.dev.config.js -w",
"publish": "rollup --config build/rollup.dev.config.js & npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "1.0.0"
"dependencies": {
"extend": "^3.0.2"
}
}

View File

@ -1,10 +1,12 @@
{
"dependencies": {
"rich-text-parser": "^1.0.2",
"uview-ui": "^2.0.36",
"weapp-qrcode": "^1.0.0"
},
"devDependencies": {
"sass": "^1.79.3",
"sass-loader": "^10.5.2"
"sass-loader": "^10.5.2",
"rich-text-parser": "^1.0.2"
}
}

View File

@ -2,16 +2,35 @@
<template>
<view class="container">
<web-view :src="richTextHtml"></web-view>
<!-- <web-view :src="richTextHtml"></web-view>-->
<VNavigationBar titleColor="rgba(0,0,0,0.9)" backgroundColor="#fff" title="活动内容"></VNavigationBar>
<!-- &lt;!&ndash; #ifdef MP-WEIXIN &ndash;&gt;-->
<!-- <v-navigation-bar background-color="rgba(255,255,255,1)" title-color="rgba(0,0,0,0)" title="活动内容"></v-navigation-bar>-->
<!-- &lt;!&ndash; #endif &ndash;&gt;-->
<!-- <web-view :src="richTextHtml"></web-view>-->
<div class="body">
<rich-text style="width: 100%" :nodes="richTextHtml | formatRichText" />
</div>
<view class="fixed-button" @click="toActivity">参与<br/>活动</view>
</view>
</template>
<script>
import request from "../../utils/request";
import config from '@/config'
import parser from 'rich-text-parser'
import VNavigationBar from "../../components/VNavigationBar.vue";
export default {
name: "content",
components: {VNavigationBar},
filters: {
formatRichText(html) { //
// console.log(html)
const nodes = parser.getRichTextJson(html)
return nodes.children
}
},
data() {
return {
richTextHtml: ''
@ -29,11 +48,16 @@ export default {
method: 'get'
})
const data = res.data
this.richTextHtml = data.content.replace(/(<img[^>]+src=")([^":]*?)(")/g, (match, p1, p2, p3) => {
return `${p1}${config.baseImageUrl}/${p2}${p3}`;
});
this.richTextHtml = `data:text/html;charset=utf-8,${encodeURIComponent(this.richTextHtml)}`
this.richTextHtml = data.content
// this.richTextHtml = data.content.replace(/(<img[^>]+src=")([^":]*?)(")/g, (match, p1, p2, p3) => {
// return `${p1}${config.baseImageUrl}/${p2}${p3}`;
// });
// this.richTextHtml = `data:text/html;charset=utf-8,${encodeURIComponent(this.richTextHtml)}`
}catch {}
},
// TODO
toActivity(){
}
}
}
@ -44,4 +68,38 @@ img{
width: 100%;
height: auto;
}
.container {
height: 100%;
display: flex;
flex-direction: column;
.body{
flex: 1;
height: 0;
overflow: auto;
}
}
.fixed-button {
position: fixed;
bottom: 3rem; /* 距离底部的距离 */
right: 2rem; /* 距离右边的距离 */
z-index: 1000; /* 确保按钮在其他元素之上 */
width: 80px; /* 按钮直径 */
height: 80px; /* 按钮直径 */
background-color: #f00; /* 按钮背景颜色 */
color: #fff; /* 文字颜色 */
border-radius: 50%; /* 圆形 */
display: flex; /* 使用弹性盒子布局 */
justify-content: center; /* 水平居中文本 */
align-items: center; /* 垂直居中文本 */
font-size: 18px; /* 字体大小 */
text-align: center; /* 文字水平居中 */
line-height: normal; /* 使用默认行高 */
font-family: 'Arial', sans-serif; /* 选择字体 */
}
/* 为了确保文本垂直居中并且分行 */
.fixed-button br {
content: '';
display: block;
}
</style>

View File

@ -4,7 +4,19 @@
<view class="body">
<view class="body-top-banner">
<!-- <image class="banner" src="@/static/images/banner.jpg" mode="aspectFit" />-->
<image class="banner" v-for="banner in bannerList" :key="banner.id" :src="banner.url" @click="toContent(banner.id)" mode="scaleToFill" />
<!-- <image class="banner" v-for="banner in bannerList" :key="banner.id" :src="banner.url" @click="toContent(banner.id)" mode="scaleToFill" />-->
<swiper class="swiper" circular indicator-dots="true" autoplay="true" interval="2000"
duration="500">
<swiper-item v-for="banner in bannerList" :key="banner.id" @click="toContent(banner.id)">
<image class="banner" :src="banner.url" mode="scaleToFill" />
</swiper-item>
<!-- <swiper-item>-->
<!-- <view class="swiper-item uni-bg-green">B</view>-->
<!-- </swiper-item>-->
<!-- <swiper-item>-->
<!-- <view class="swiper-item uni-bg-blue">C</view>-->
<!-- </swiper-item>-->
</swiper>
</view>
<view class="menus">
<view @click="gotoPage(menu)" v-for="(menu, index) in menus" :key="index" class="menu-item">
@ -23,7 +35,7 @@
<image class="more-icon" src="../../static/icons/homeInfoMore.png" mode="aspectFit"></image>
</view>
<view class="repairShop">
<view class="title">附近修理厂</view>
<view class="title">推荐修理厂</view>
<view class="shopList">
<view v-for="(item, index) in shopList" :key="index" class="shopItem" @click="gotoShopDetail(item)">
<image class="shopImg" :src="item.image" mode="aspectFill"></image>

View File

@ -12,7 +12,7 @@
<!-- </view>-->
<view class="body">
<view class="cardItem">
<view class="cardItemTop" v-for="item in customInfo.couponList">
<view class="cardItemTop" v-for="item in customInfo.couponList" :key="item.id">
<!-- <image class="cardImg" src="" mode="aspectFill"></image> -->
<view class="cardImg">
<view v-if="item.couponType == 'lbq'" class="cardImgText">礼包券</view>
@ -115,20 +115,20 @@
width: 136rpx;
height: 100rpx;
background-color: #efefef;
display: flex;
align-items: center;
justify-content: center;
position: relative;
.cardImgText {
color: #fff;
font-size: 24rpx;
position: relative;
z-index: 2;
}
.cardImgBg {
position: absolute;
width: 100%;
@ -223,11 +223,11 @@
height: 8rpx;
background: #009EDA;
border-radius: 4rpx 4rpx 4rpx 4rpx;
position: absolute;
left: 50%;
bottom: 2rpx;
transform: translate(-50%, 0);
}
}
</style>
</style>