update
This commit is contained in:
38
APP/nexus-remote/node_modules/pe-library/CHANGELOG.md
generated
vendored
Normal file
38
APP/nexus-remote/node_modules/pe-library/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
# Changelog
|
||||
|
||||
## v0.4.1
|
||||
|
||||
- Cherry-pick [v.1.0.1](https://github.com/jet2jet/pe-library-js/releases/tag/v1.0.1) bugfix
|
||||
|
||||
## v0.4.0
|
||||
|
||||
- Add support for ES module loading in Node.js environment
|
||||
|
||||
## v0.3.0
|
||||
|
||||
- Add support for 'unparsable' resource data
|
||||
- Use `ignoreUnparsableData` parameter on `from` method of `NtExecutableResource`.
|
||||
|
||||
## v0.2.1
|
||||
|
||||
- Fix version information (no classes/types are changed)
|
||||
|
||||
## v0.2.0
|
||||
|
||||
- Add `NtExecutableResource` class and related types
|
||||
|
||||
## v0.1.3
|
||||
|
||||
- Export `calculateCheckSumForPE` function
|
||||
|
||||
## v0.1.2
|
||||
|
||||
- Remove `@internal` specifier for some methods
|
||||
|
||||
## v0.1.1
|
||||
|
||||
- Export `NtExecutableSection` and `NtExecutableFromOptions` types
|
||||
|
||||
## v0.1.0
|
||||
|
||||
Initial version (almost cloned from [resedit-js](https://github.com/jet2jet/resedit-js))
|
||||
21
APP/nexus-remote/node_modules/pe-library/LICENSE
generated
vendored
Normal file
21
APP/nexus-remote/node_modules/pe-library/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018 jet
|
||||
|
||||
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.
|
||||
34
APP/nexus-remote/node_modules/pe-library/README.md
generated
vendored
Normal file
34
APP/nexus-remote/node_modules/pe-library/README.md
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
[](https://www.npmjs.com/package/pe-library)
|
||||
[](https://github.com/jet2jet/pe-library-js)
|
||||
|
||||
# pe-library
|
||||
|
||||
pe-library provides parsing and generating Portable Executable (known as Windows Executables) binaries.
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import * as PE from 'pe-library';
|
||||
import * as fs from 'fs';
|
||||
|
||||
// load and parse data
|
||||
let data = fs.readFileSync('MyApp.exe');
|
||||
// (the Node.js Buffer instance can be specified directly to NtExecutable.from)
|
||||
let exe = PE.NtExecutable.from(data);
|
||||
|
||||
// get section data
|
||||
let exportSection = exe.getSectionByEntry(PE.Format.ImageDirectoryEntry.Export);
|
||||
// read binary data stored in exportSection.data ...
|
||||
// to write binary: use exe.setSectionByEntry
|
||||
|
||||
// write to buffer
|
||||
let newBin = exe.generate();
|
||||
fs.writeFileSync('MyApp_modified.exe', new Buffer(newBin));
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
- All programs / source codes / binaries in this package, EXCEPT FOLLOWINGS, are licensed with [MIT License](./LICENSE).
|
||||
- The followings are licensed with 0-BSD license:
|
||||
- [tools/dos-stub/dos-stub.asm](./tools/dos-stub/dos-stub.asm)
|
||||
- The bit code, generated from tools/dos-stub/dos-stub.asm, written in [src/main/util/generate.ts](./src/main/util/generate.ts) as `DOS_STUB_PROGRAM`
|
||||
71
APP/nexus-remote/node_modules/pe-library/package.json
generated
vendored
Normal file
71
APP/nexus-remote/node_modules/pe-library/package.json
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"name": "pe-library",
|
||||
"version": "0.4.1",
|
||||
"engines": {
|
||||
"node": ">=12",
|
||||
"npm": ">=6"
|
||||
},
|
||||
"engineStrict": true,
|
||||
"description": "Node.js library for Portable Executable format",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/_esm/index.js",
|
||||
"exports": {
|
||||
"node": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js"
|
||||
},
|
||||
"import": "./dist/_esm/index.js",
|
||||
"require": "./dist/index.js"
|
||||
},
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "jet",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/jet2jet/pe-library-js",
|
||||
"keywords": [
|
||||
"javascript",
|
||||
"library",
|
||||
"pe",
|
||||
"pe-executable",
|
||||
"portable-executable",
|
||||
"exe"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jet2jet/pe-library-js.git"
|
||||
},
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/jet2jet"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run build:cjs && npm run build:esm",
|
||||
"build:cjs": "tsc -p ./tsconfig.app.json",
|
||||
"build:esm": "tsc -p ./tsconfig.app.esm.json && node ./tools/copyEsmFile.js",
|
||||
"lint": "npm run lint:prettier && npm run lint:eslint",
|
||||
"lint:eslint": "eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .",
|
||||
"lint:eslint:fix": "eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .",
|
||||
"lint:fix": "npm run lint:prettier:fix && npm run lint:eslint:fix",
|
||||
"lint:prettier": "prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"",
|
||||
"lint:prettier:fix": "prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"",
|
||||
"test": "jest --config ./jest.config.basic.js",
|
||||
"version": "node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^28.1.8",
|
||||
"@types/node": "^12.20.37",
|
||||
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
||||
"@typescript-eslint/parser": "^5.48.0",
|
||||
"eslint": "^8.31.0",
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
"eslint-config-standard": "^17.0.0",
|
||||
"eslint-config-standard-with-typescript": "^26.0.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-n": "^15.6.0",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"jest": "^28.1.3",
|
||||
"prettier": "^2.8.2",
|
||||
"ts-jest": "^28.0.8",
|
||||
"typescript": "~4.2.4"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user