1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 10:52:47 +00:00

updated bunch of file paths and changed the way posts are loaded

This commit is contained in:
2016-01-05 12:28:04 -06:00
parent 719ae331ae
commit c96a84d0ff
13249 changed files with 317868 additions and 2101398 deletions

38
node_modules/destroy/README.md generated vendored Normal file
View File

@@ -0,0 +1,38 @@
# Destroy
[![NPM version][npm-image]][npm-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Dependency Status][david-image]][david-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]
[![Gittip][gittip-image]][gittip-url]
Destroy a stream.
## API
```js
var destroy = require('destroy')
var fs = require('fs')
var stream = fs.createReadStream('package.json')
destroy(stream)
```
[npm-image]: https://img.shields.io/npm/v/destroy.svg?style=flat-square
[npm-url]: https://npmjs.org/package/destroy
[github-tag]: http://img.shields.io/github/tag/stream-utils/destroy.svg?style=flat-square
[github-url]: https://github.com/stream-utils/destroy/tags
[travis-image]: https://img.shields.io/travis/stream-utils/destroy.svg?style=flat-square
[travis-url]: https://travis-ci.org/stream-utils/destroy
[coveralls-image]: https://img.shields.io/coveralls/stream-utils/destroy.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/stream-utils/destroy?branch=master
[david-image]: http://img.shields.io/david/stream-utils/destroy.svg?style=flat-square
[david-url]: https://david-dm.org/stream-utils/destroy
[license-image]: http://img.shields.io/npm/l/destroy.svg?style=flat-square
[license-url]: LICENSE.md
[downloads-image]: http://img.shields.io/npm/dm/destroy.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/destroy
[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square
[gittip-url]: https://www.gittip.com/jonathanong/

36
node_modules/destroy/index.js generated vendored Normal file
View File

@@ -0,0 +1,36 @@
var ReadStream = require('fs').ReadStream
var Stream = require('stream')
module.exports = function destroy(stream) {
if (stream instanceof ReadStream) {
return destroyReadStream(stream)
}
if (!(stream instanceof Stream)) {
return stream
}
if (typeof stream.destroy === 'function') {
stream.destroy()
}
return stream
}
function destroyReadStream(stream) {
stream.destroy()
if (typeof stream.close === 'function') {
// node.js core bug work-around
stream.on('open', onopenClose)
}
return stream
}
function onopenClose() {
if (typeof this.fd === 'number') {
// actually close down the fd
this.close()
}
}

93
node_modules/destroy/package.json generated vendored Normal file
View File

@@ -0,0 +1,93 @@
{
"_args": [
[
"destroy@1.0.3",
"/home/mitchell/Desktop/test-mywebsite/mywebsite/node_modules/send"
]
],
"_from": "destroy@1.0.3",
"_id": "destroy@1.0.3",
"_inCache": true,
"_installable": true,
"_location": "/destroy",
"_npmUser": {
"email": "jonathanrichardong@gmail.com",
"name": "jongleberry"
},
"_npmVersion": "1.4.21",
"_phantomChildren": {},
"_requested": {
"name": "destroy",
"raw": "destroy@1.0.3",
"rawSpec": "1.0.3",
"scope": null,
"spec": "1.0.3",
"type": "version"
},
"_requiredBy": [
"/send"
],
"_resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz",
"_shasum": "b433b4724e71fd8551d9885174851c5fc377e2c9",
"_shrinkwrap": null,
"_spec": "destroy@1.0.3",
"_where": "/home/mitchell/Desktop/test-mywebsite/mywebsite/node_modules/send",
"author": {
"email": "me@jongleberry.com",
"name": "Jonathan Ong",
"url": "http://jongleberry.com"
},
"bugs": {
"url": "https://github.com/stream-utils/destroy/issues"
},
"contributors": [
{
"name": "Douglas Christopher Wilson",
"email": "doug@somethingdoug.com"
}
],
"dependencies": {},
"description": "destroy a stream if possible",
"devDependencies": {
"istanbul": "0",
"mocha": "1"
},
"directories": {},
"dist": {
"shasum": "b433b4724e71fd8551d9885174851c5fc377e2c9",
"tarball": "http://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz"
},
"files": [
"index.js"
],
"gitHead": "50af95ece4a70202f9301bc3edc8f9fdbbad0f26",
"homepage": "https://github.com/stream-utils/destroy",
"keywords": [
"cleanup",
"destroy",
"fd",
"leak",
"stream",
"streams"
],
"license": "MIT",
"maintainers": [
{
"name": "jongleberry",
"email": "jonathanrichardong@gmail.com"
}
],
"name": "destroy",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/stream-utils/destroy.git"
},
"scripts": {
"test": "mocha --reporter spec",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"
},
"version": "1.0.3"
}