This commit is contained in:
Lukian LEIZOUR 2022-11-26 15:56:34 +01:00
parent 70e2f7a8aa
commit 008d2f30d7
675 changed files with 189892 additions and 0 deletions

3
node_modules/axo/.npmignore generated vendored Normal file
View file

@ -0,0 +1,3 @@
coverage
node_modules
npm-debug.log

28
node_modules/axo/.travis.yml generated vendored Normal file
View file

@ -0,0 +1,28 @@
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "0.9"
- "0.8"
- "iojs-v1.1"
- "iojs-v1.0"
before_install:
- "npm install -g npm@1.4.x"
script:
- "npm run test-travis"
after_script:
- "npm install coveralls@2.11.x && cat coverage/lcov.info | coveralls"
matrix:
fast_finish: true
allow_failures:
- node_js: "0.11"
- node_js: "0.9"
- node_js: "iojs-v1.1"
- node_js: "iojs-v1.0"
notifications:
irc:
channels:
- "irc.freenode.org#unshift"
on_success: change
on_failure: change

22
node_modules/axo/LICENSE generated vendored Normal file
View file

@ -0,0 +1,22 @@
The MIT License (MIT)
Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
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.

37
node_modules/axo/README.md generated vendored Normal file
View file

@ -0,0 +1,37 @@
# AXO
[![Made by unshift](https://img.shields.io/badge/made%20by-unshift-00ffcc.svg?style=flat-square)](http://unshift.io)[![Version npm](http://img.shields.io/npm/v/axo.svg?style=flat-square)](http://browsenpm.org/package/axo)[![Build Status](http://img.shields.io/travis/unshiftio/axo/master.svg?style=flat-square)](https://travis-ci.org/unshiftio/axo)[![Dependencies](https://img.shields.io/david/unshiftio/axo.svg?style=flat-square)](https://david-dm.org/unshiftio/axo)[![Coverage Status](http://img.shields.io/coveralls/unshiftio/axo/master.svg?style=flat-square)](https://coveralls.io/r/unshiftio/axo?branch=master)[![IRC channel](http://img.shields.io/badge/IRC-irc.freenode.net%23unshift-00a8ff.svg?style=flat-square)](http://webchat.freenode.net/?channels=unshift)
AXO stands for **A**ctive**XO**bject. And the sole purpose of this library is to
return the `ActiveXObject` constructor from the environment it's loaded in.
Normally you would just reference the constructor directly by simply mentioning
this constructor in your source file can [result in blocking of your
file](https://github.com/felixge/node-active-x-obfuscator#why).
There are 2 ways of tackling this issue:
1. Use the [active-x-obfuscator](https://github.com/felixge/node-active-x-obfuscator)
and introduce another build step in your code.
2. Use `AXO` and never mention it.
## Installation
```
npm install --save axo
```
This module makes the assumption that it can be loaded in node.js/commonjs based
environment and exports it self on the `module.exports`. So using browserify for
the code makes a lot of sense here.
## Usage
```js
var AXO = require('axo');
new AXO('htmlfile');
```
## License
MIT

17
node_modules/axo/index.js generated vendored Normal file
View file

@ -0,0 +1,17 @@
//
// So this might need some explanation. There are firewalls, virus scanners and
// what more that inspect the contents of files that is downloaded over the
// internet and search for potential bad words. Some of them assume that
// ActiveXObject is a bad word and will block the complete file from loading. In
// order to prevent this from happening we've pre-decoded the word ActiveXObject
// by changing the charCodes.
//
module.exports = (function AXO(x, i) {
var target = typeof global !== 'undefined' ? global : window;
for (i = 0; i < x.length; i++) {
x[i] = String.fromCharCode(x[i].charCodeAt(0) + i);
}
return target[x.join('')];
})('Abrfr`RHZa[Xh'.split(''));

27
node_modules/axo/package.json generated vendored Normal file
View file

@ -0,0 +1,27 @@
{
"name": "axo",
"version": "0.0.2",
"description": "Return an ActiveXObject without mentioning it in the source",
"main": "index.js",
"scripts": {
"test": "node test.js",
"coverage": "istanbul cover test.js",
"test-travis": "istanbul cover --report lcovonly test.js"
},
"keywords": [
"ActiveX",
"ActiveXObject",
"active-x",
"active-x-object"
],
"author": "Arnout Kazemier",
"license": "MIT",
"devDependencies": {
"istanbul": "0.3.x",
"pre-commit": "1.0.x"
},
"repository": {
"type": "git",
"url": "git://github.com/unshiftio/axo.git"
}
}

10
node_modules/axo/test.js generated vendored Normal file
View file

@ -0,0 +1,10 @@
/* istanbul ignore next */
this.ActiveXObject = global.ActiveXObject = function foobar() {
// Node doesn't have an ActiveXObject so introduce it as global.
};
var assert = require('assert')
, AXO = require('./');
assert.ok('function' === typeof AXO, 'should export the ActiveXObject constructor');
assert.ok(AXO === ActiveXObject, 'it should return the ActiveXObject');