更新前端静态网页获取方式,放弃使用后端获取api

This commit is contained in:
2025-09-09 10:47:51 +08:00
parent 6889ca37e5
commit 44a4f1bae1
25558 changed files with 2463152 additions and 153 deletions

26
frontend/node_modules/chrome-trace-event/CHANGES.md generated vendored Normal file
View File

@@ -0,0 +1,26 @@
# node-trace-event changelog
## 1.3.1 (not yet released)
(nothing yet)
## 1.3.0
- Add `.child(<fields>)` option to `trace_event.createBunyanTracer()` object.
## 1.2.0
- Add `trace_event.createBunyanLogger()` usage for some sugar. See the
README.md for details.
## 1.1.0
- Rename to 'trace-event', which is a much more accurate name.
## 1.0.0
First release.

23
frontend/node_modules/chrome-trace-event/LICENSE.txt generated vendored Normal file
View File

@@ -0,0 +1,23 @@
# This is the MIT license
Copyright (c) 2015 Joyent Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

31
frontend/node_modules/chrome-trace-event/README.md generated vendored Normal file
View File

@@ -0,0 +1,31 @@
[![Build Status](https://travis-ci.org/samccone/chrome-trace-event.svg?branch=master)](https://travis-ci.org/samccone/chrome-trace-event)
chrome-trace-event: A node library for creating trace event logs of program
execution according to [Google's Trace Event
format](https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU).
These logs can then be visualized with
[trace-viewer](https://github.com/google/trace-viewer) or chrome devtools to grok one's programs.
# Install
npm install chrome-trace-event
# Usage
```javascript
const Trace = require("chrome-trace-event").Tracer;
const trace = new Trace({
noStream: true
});
trace.pipe(fs.createWriteStream(outPath));
trace.flush();
```
# Links
* https://github.com/google/trace-viewer/wiki
* https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU
# License
MIT. See LICENSE.txt.

38
frontend/node_modules/chrome-trace-event/package.json generated vendored Normal file
View File

@@ -0,0 +1,38 @@
{
"name": "chrome-trace-event",
"description": "A library to create a trace of your node app per Google's Trace Event format.",
"license": "MIT",
"version": "1.0.4",
"author": "Trent Mick, Sam Saccone",
"keywords": [
"trace-event",
"trace",
"event",
"trace-viewer",
"google"
],
"repository": {
"url": "github:samccone/chrome-trace-event"
},
"main": "./dist/trace-event.js",
"typings": "./dist/trace-event.d.ts",
"dependencies": {},
"devDependencies": {
"@types/node": "*",
"prettier": "^1.12.1",
"tape": "4.8.0",
"typescript": "^4.2.4"
},
"engines": {
"node": ">=6.0"
},
"files": [
"dist",
"CHANGES.md"
],
"scripts": {
"build": "tsc",
"check_format": "prettier -l lib/** test/** examples/**",
"test": "tape test/*.test.js"
}
}