Simulator first commit

This commit is contained in:
2019-09-18 11:11:16 +03:00
commit 6e1686be67
5028 changed files with 985331 additions and 0 deletions

4
node_modules/callsite/.npmignore generated vendored Normal file
View File

@ -0,0 +1,4 @@
support
test
examples
*.sock

10
node_modules/callsite/History.md generated vendored Normal file
View File

@ -0,0 +1,10 @@
1.0.0 / 2013-01-24
==================
* remove lame magical getters
0.0.1 / 2010-01-03
==================
* Initial release

6
node_modules/callsite/Makefile generated vendored Normal file
View File

@ -0,0 +1,6 @@
test:
@./node_modules/.bin/mocha \
--require should
.PHONY: test

44
node_modules/callsite/Readme.md generated vendored Normal file
View File

@ -0,0 +1,44 @@
# callstack
Access to v8's "raw" `CallSite`s.
## Installation
$ npm install callsite
## Example
```js
var stack = require('callsite');
foo();
function foo() {
bar();
}
function bar() {
baz();
}
function baz() {
console.log();
stack().forEach(function(site){
console.log(' \033[36m%s\033[90m in %s:%d\033[0m'
, site.getFunctionName() || 'anonymous'
, site.getFileName()
, site.getLineNumber());
});
console.log();
}
```
## Why?
Because you can do weird, stupid, clever, wacky things such as:
- [better-assert](https://github.com/visionmedia/better-assert)
## License
MIT

10
node_modules/callsite/index.js generated vendored Normal file
View File

@ -0,0 +1,10 @@
module.exports = function(){
var orig = Error.prepareStackTrace;
Error.prepareStackTrace = function(_, stack){ return stack; };
var err = new Error;
Error.captureStackTrace(err, arguments.callee);
var stack = err.stack;
Error.prepareStackTrace = orig;
return stack;
};

48
node_modules/callsite/package.json generated vendored Normal file
View File

@ -0,0 +1,48 @@
{
"_from": "callsite@1.0.0",
"_id": "callsite@1.0.0",
"_inBundle": false,
"_integrity": "sha1-KAOY5dZkvXQDi28JBRU+borxvCA=",
"_location": "/callsite",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "callsite@1.0.0",
"name": "callsite",
"escapedName": "callsite",
"rawSpec": "1.0.0",
"saveSpec": null,
"fetchSpec": "1.0.0"
},
"_requiredBy": [
"/better-assert"
],
"_resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz",
"_shasum": "280398e5d664bd74038b6f0905153e6e8af1bc20",
"_spec": "callsite@1.0.0",
"_where": "/home/sergiu/linx-audio-simulator/node_modules/better-assert",
"author": {
"name": "TJ Holowaychuk",
"email": "tj@vision-media.ca"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "access to v8's CallSites",
"devDependencies": {
"mocha": "*",
"should": "*"
},
"engines": {
"node": "*"
},
"keywords": [
"stack",
"trace",
"line"
],
"main": "index",
"name": "callsite",
"version": "1.0.0"
}