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:
24
node_modules/methods/HISTORY.md
generated
vendored
Normal file
24
node_modules/methods/HISTORY.md
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
1.1.1 / 2014-12-30
|
||||
==================
|
||||
|
||||
* Improve `browserify` support
|
||||
|
||||
1.1.0 / 2014-07-05
|
||||
==================
|
||||
|
||||
* Add `CONNECT` method
|
||||
|
||||
1.0.1 / 2014-06-02
|
||||
==================
|
||||
|
||||
* Fix module to work with harmony transform
|
||||
|
||||
1.0.0 / 2014-05-08
|
||||
==================
|
||||
|
||||
* Add `PURGE` method
|
||||
|
||||
0.1.0 / 2013-10-28
|
||||
==================
|
||||
|
||||
* Add `http.METHODS` support
|
||||
23
node_modules/methods/LICENSE
generated
vendored
Normal file
23
node_modules/methods/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2013-2014 TJ Holowaychuk <tj@vision-media.ca>
|
||||
|
||||
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.
|
||||
|
||||
41
node_modules/methods/README.md
generated
vendored
Normal file
41
node_modules/methods/README.md
generated
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
# Methods
|
||||
|
||||
[![NPM Version][npm-image]][npm-url]
|
||||
[![NPM Downloads][downloads-image]][downloads-url]
|
||||
[![Node.js Version][node-version-image]][node-version-url]
|
||||
[![Build Status][travis-image]][travis-url]
|
||||
[![Test Coverage][coveralls-image]][coveralls-url]
|
||||
|
||||
HTTP verbs that node core's parser supports.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
$ npm install methods
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
```js
|
||||
var methods = require('methods')
|
||||
```
|
||||
|
||||
### methods
|
||||
|
||||
This is an array of lower-case method names that Node.js supports.
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE)
|
||||
|
||||
[npm-image]: https://img.shields.io/npm/v/methods.svg?style=flat
|
||||
[npm-url]: https://npmjs.org/package/methods
|
||||
[node-version-image]: https://img.shields.io/node/v/methods.svg?style=flat
|
||||
[node-version-url]: http://nodejs.org/download/
|
||||
[travis-image]: https://img.shields.io/travis/jshttp/methods.svg?style=flat
|
||||
[travis-url]: https://travis-ci.org/jshttp/methods
|
||||
[coveralls-image]: https://img.shields.io/coveralls/jshttp/methods.svg?style=flat
|
||||
[coveralls-url]: https://coveralls.io/r/jshttp/methods?branch=master
|
||||
[downloads-image]: https://img.shields.io/npm/dm/methods.svg?style=flat
|
||||
[downloads-url]: https://npmjs.org/package/methods
|
||||
42
node_modules/methods/index.js
generated
vendored
Normal file
42
node_modules/methods/index.js
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
var http = require('http');
|
||||
|
||||
/* istanbul ignore next: implementation differs on version */
|
||||
if (http.METHODS) {
|
||||
|
||||
module.exports = http.METHODS.map(function(method){
|
||||
return method.toLowerCase();
|
||||
});
|
||||
|
||||
} else {
|
||||
|
||||
module.exports = [
|
||||
'get',
|
||||
'post',
|
||||
'put',
|
||||
'head',
|
||||
'delete',
|
||||
'options',
|
||||
'trace',
|
||||
'copy',
|
||||
'lock',
|
||||
'mkcol',
|
||||
'move',
|
||||
'purge',
|
||||
'propfind',
|
||||
'proppatch',
|
||||
'unlock',
|
||||
'report',
|
||||
'mkactivity',
|
||||
'checkout',
|
||||
'merge',
|
||||
'm-search',
|
||||
'notify',
|
||||
'subscribe',
|
||||
'unsubscribe',
|
||||
'patch',
|
||||
'search',
|
||||
'connect'
|
||||
];
|
||||
|
||||
}
|
||||
115
node_modules/methods/package.json
generated
vendored
Normal file
115
node_modules/methods/package.json
generated
vendored
Normal file
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"methods@~1.1.1",
|
||||
"/home/mitchell/Desktop/test-mywebsite/mywebsite/node_modules/express"
|
||||
]
|
||||
],
|
||||
"_from": "methods@>=1.1.1 <1.2.0",
|
||||
"_id": "methods@1.1.1",
|
||||
"_inCache": true,
|
||||
"_installable": true,
|
||||
"_location": "/methods",
|
||||
"_npmUser": {
|
||||
"email": "doug@somethingdoug.com",
|
||||
"name": "dougwilson"
|
||||
},
|
||||
"_npmVersion": "1.4.28",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"name": "methods",
|
||||
"raw": "methods@~1.1.1",
|
||||
"rawSpec": "~1.1.1",
|
||||
"scope": null,
|
||||
"spec": ">=1.1.1 <1.2.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/express",
|
||||
"/method-override"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/methods/-/methods-1.1.1.tgz",
|
||||
"_shasum": "17ea6366066d00c58e375b8ec7dfd0453c89822a",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "methods@~1.1.1",
|
||||
"_where": "/home/mitchell/Desktop/test-mywebsite/mywebsite/node_modules/express",
|
||||
"browser": {
|
||||
"http": false
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jshttp/methods/issues"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Douglas Christopher Wilson",
|
||||
"email": "doug@somethingdoug.com"
|
||||
},
|
||||
{
|
||||
"name": "Jonathan Ong",
|
||||
"email": "me@jongleberry.com",
|
||||
"url": "http://jongleberry.com"
|
||||
},
|
||||
{
|
||||
"name": "TJ Holowaychuk",
|
||||
"email": "tj@vision-media.ca",
|
||||
"url": "http://tjholowaychuk.com"
|
||||
}
|
||||
],
|
||||
"dependencies": {},
|
||||
"description": "HTTP methods that node supports",
|
||||
"devDependencies": {
|
||||
"istanbul": "0.3",
|
||||
"mocha": "1"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "17ea6366066d00c58e375b8ec7dfd0453c89822a",
|
||||
"tarball": "http://registry.npmjs.org/methods/-/methods-1.1.1.tgz"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
},
|
||||
"files": [
|
||||
"HISTORY.md",
|
||||
"LICENSE",
|
||||
"index.js"
|
||||
],
|
||||
"gitHead": "6293c6b27c5fb963acf67a347af80ad2ebd7247f",
|
||||
"homepage": "https://github.com/jshttp/methods",
|
||||
"keywords": [
|
||||
"http",
|
||||
"methods"
|
||||
],
|
||||
"license": "MIT",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "tjholowaychuk",
|
||||
"email": "tj@vision-media.ca"
|
||||
},
|
||||
{
|
||||
"name": "jonathanong",
|
||||
"email": "jonathanrichardong@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "jongleberry",
|
||||
"email": "jonathanrichardong@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "dougwilson",
|
||||
"email": "doug@somethingdoug.com"
|
||||
}
|
||||
],
|
||||
"name": "methods",
|
||||
"optionalDependencies": {},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jshttp/methods.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.1.1"
|
||||
}
|
||||
Reference in New Issue
Block a user