feat:node-modules

This commit is contained in:
houjunxiang
2025-11-24 10:26:18 +08:00
parent 753766893b
commit 8a3e48d856
8825 changed files with 567399 additions and 1 deletions

2
node_modules/jsbn/.npmignore generated vendored Normal file
View File

@@ -0,0 +1,2 @@
node_modules
.DS_Store

16
node_modules/jsbn/CHANGELOG.md generated vendored Normal file
View File

@@ -0,0 +1,16 @@
# v1.1.0
- Allow for es6 "default import", e.g. `import BigInteger from 'jsbn'`.
- Updated license file to read MIT
# v1.0.0
- breaking change: `require('jsbn')` no longer returns `BigInteger`. Use `require('jsbn').BigInteger` instead.
# v0.1.1
- fixed backwards-incompatible change in v0.1.0 where `require('jsbn') != BigInteger`. This patch version allows for `var BigInteger = require('jsbn')` or `var BigInteger = require('jsbn').BigInteger`.

40
node_modules/jsbn/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,40 @@
Licensing
---------
This software is covered under the following copyright:
/*
* Copyright (c) 2003-2005 Tom Wu
* 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" AND WITHOUT WARRANTY OF ANY KIND,
* EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
* WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
*
* IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER
* RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF
* THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* In addition, the following condition applies:
*
* All redistributions must retain an intact copy of this copyright notice
* and disclaimer.
*/
Address all questions regarding this license to:
Tom Wu
tjw@cs.Stanford.EDU

173
node_modules/jsbn/README.md generated vendored Normal file

File diff suppressed because it is too large Load Diff

11
node_modules/jsbn/example.html generated vendored Normal file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script src="index.js"></script>
<script src="example.js"></script>
</body>
</html>

5
node_modules/jsbn/example.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
(function () {
var BigInteger = jsbn.BigInteger;
var a = new BigInteger('91823918239182398123');
console.log(a.bitLength());
}());

1361
node_modules/jsbn/index.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

21
node_modules/jsbn/package.json generated vendored Normal file
View File

@@ -0,0 +1,21 @@
{
"name": "jsbn",
"version": "1.1.0",
"description": "The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers.",
"main": "index.js",
"scripts": {
"test": "mocha test.js"
},
"repository": {
"type": "git",
"url": "https://github.com/andyperlitch/jsbn.git"
},
"keywords": [
"biginteger",
"bignumber",
"big",
"integer"
],
"author": "Tom Wu",
"license": "MIT"
}

3
node_modules/jsbn/test/es6-import.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
import {BigInteger} from '../';
console.log(typeof BigInteger)