Template Upload

This commit is contained in:
SOUTHERNCO\x2mjbyrn
2017-05-17 13:45:25 -04:00
parent 415b9c25f3
commit 7efe7605b8
11476 changed files with 2170865 additions and 34 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;
};

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

@ -0,0 +1,68 @@
{
"_args": [
[
"callsite@1.0.0",
"C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\better-assert"
]
],
"_from": "callsite@1.0.0",
"_id": "callsite@1.0.0",
"_inCache": true,
"_location": "/callsite",
"_npmUser": {
"email": "tj@vision-media.ca",
"name": "tjholowaychuk"
},
"_npmVersion": "1.2.2",
"_phantomChildren": {},
"_requested": {
"name": "callsite",
"raw": "callsite@1.0.0",
"rawSpec": "1.0.0",
"scope": null,
"spec": "1.0.0",
"type": "version"
},
"_requiredBy": [
"/better-assert"
],
"_resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz",
"_shasum": "280398e5d664bd74038b6f0905153e6e8af1bc20",
"_shrinkwrap": null,
"_spec": "callsite@1.0.0",
"_where": "C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\better-assert",
"author": {
"email": "tj@vision-media.ca",
"name": "TJ Holowaychuk"
},
"dependencies": {},
"description": "access to v8's CallSites",
"devDependencies": {
"mocha": "*",
"should": "*"
},
"directories": {},
"dist": {
"shasum": "280398e5d664bd74038b6f0905153e6e8af1bc20",
"tarball": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz"
},
"engines": {
"node": "*"
},
"installable": true,
"keywords": [
"line",
"stack",
"trace"
],
"main": "index",
"maintainers": [
{
"name": "tjholowaychuk",
"email": "tj@vision-media.ca"
}
],
"name": "callsite",
"optionalDependencies": {},
"version": "1.0.0"
}