chore: update node_modules with new binary files and dependencies

- Add new binary files for nodemon, onnxruntime-web, and xenova/transformers
- Update various JavaScript and TypeScript files in node_modules
- Remove unused files and dependencies
- Add new test fixtures and documentation files
This commit is contained in:
你的名字
2025-07-18 08:41:48 +08:00
parent db8c0adc79
commit 4c2f5c69a1
4655 changed files with 811329 additions and 35112 deletions

39
node_modules/guid-typescript/README.md generated vendored Normal file
View File

@@ -0,0 +1,39 @@
# Guid Typescript
Guid Typescript is library that let you generate guid code
## Instalation and usage
### Instalation
```
npm i guid-typescript --save
```
### Basic usage
```typescript
import { Guid } from "guid-typescript";
export class Example {
public id: Guid;
constructor() {
this.id = Guid.create(); // ==> b77d409a-10cd-4a47-8e94-b0cd0ab50aa1
}
}
```
## Props and Methods
| Method/Prop | Description | Test | Status |
|---|---|---|---|
| static isGuid (guid: any): boolean | Check if value is a guid code | OK | Ready |
| static create ( ): Guid | Create a new guid | OK | Ready |
| static createEmpty ( ): Guid | Create a guid empty | OK | Ready |
| static parse (guid: string): Guid | Given a guid code in string format, so create a guid instance | OK | Ready |
| static raw ( ): string | Create a guid code in string format | OK | Ready |
| equals (other: Guid): boolean | Compare a guid code | OK | Ready |
| isEmpty ( ): boolean | Validate if a guid is empty | OK | Ready |
| toString ( ): string | Parse a guid instance to string format | OK | Ready |
| toJSON ( ): any | Parse to JSON format | OK | Ready |

16
node_modules/guid-typescript/dist/guid.d.ts generated vendored Normal file
View File

@@ -0,0 +1,16 @@
export declare class Guid {
static validator: RegExp;
static EMPTY: string;
static isGuid(guid: any): boolean;
static create(): Guid;
static createEmpty(): Guid;
static parse(guid: string): Guid;
static raw(): string;
private static gen;
private value;
private constructor();
equals(other: Guid): boolean;
isEmpty(): boolean;
toString(): string;
toJSON(): any;
}

57
node_modules/guid-typescript/dist/guid.js generated vendored Normal file
View File

@@ -0,0 +1,57 @@
"use strict";
exports.__esModule = true;
var Guid = /** @class */ (function () {
function Guid(guid) {
if (!guid) {
throw new TypeError("Invalid argument; `value` has no value.");
}
this.value = Guid.EMPTY;
if (guid && Guid.isGuid(guid)) {
this.value = guid;
}
}
Guid.isGuid = function (guid) {
var value = guid.toString();
return guid && (guid instanceof Guid || Guid.validator.test(value));
};
Guid.create = function () {
return new Guid([Guid.gen(2), Guid.gen(1), Guid.gen(1), Guid.gen(1), Guid.gen(3)].join("-"));
};
Guid.createEmpty = function () {
return new Guid("emptyguid");
};
Guid.parse = function (guid) {
return new Guid(guid);
};
Guid.raw = function () {
return [Guid.gen(2), Guid.gen(1), Guid.gen(1), Guid.gen(1), Guid.gen(3)].join("-");
};
Guid.gen = function (count) {
var out = "";
for (var i = 0; i < count; i++) {
// tslint:disable-next-line:no-bitwise
out += (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
}
return out;
};
Guid.prototype.equals = function (other) {
// Comparing string `value` against provided `guid` will auto-call
// toString on `guid` for comparison
return Guid.isGuid(other) && this.value === other.toString();
};
Guid.prototype.isEmpty = function () {
return this.value === Guid.EMPTY;
};
Guid.prototype.toString = function () {
return this.value;
};
Guid.prototype.toJSON = function () {
return {
value: this.value
};
};
Guid.validator = new RegExp("^[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$", "i");
Guid.EMPTY = "00000000-0000-0000-0000-000000000000";
return Guid;
}());
exports.Guid = Guid;

37
node_modules/guid-typescript/package.json generated vendored Normal file
View File

@@ -0,0 +1,37 @@
{
"name": "guid-typescript",
"version": "1.0.9",
"description": "Guid generator to typescript",
"scripts": {
"verify": ".\\node_modules\\.bin\\tslint .\\lib\\**",
"test": "npm run verify && mocha -r ts-node/register tests/*.spec.ts",
"build": ".\\node_modules\\.bin\\tsc lib/guid -t es3 -m commonjs -d --outDir dist"
},
"author": "nicolas",
"license": "ISC",
"keywords": [
"typescript",
"guid",
"identifier"
],
"main": "./dist/guid.js",
"types": "./dist/guid.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/NicolasDeveloper/guid-typescript"
},
"devDependencies": {
"@types/chai": "^4.1.6",
"@types/mocha": "^2.2.48",
"@types/node": "^9.6.35",
"chai": "^4.2.0",
"mocha": "^4.1.0",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
},
"dependencies": {},
"files": [
"/dist/"
]
}