diff options
| author | pack <pack@packgekko.xyz> | 2026-08-09 10:54:08 +0000 |
|---|---|---|
| committer | pack <pack@packgekko.xyz> | 2026-08-09 10:54:08 +0000 |
| commit | d3adc16a08d95d6e331de55d7d3bf05a66a874a8 (patch) | |
| tree | a2dabd199501e67c547c2ce79e1374ca3aa55443 /node_modules/body-parser/index.js | |
| parent | 55a4f1fc869e41aca748c63d3018f0448b1606e0 (diff) | |
| download | crud-d3adc16a08d95d6e331de55d7d3bf05a66a874a8.tar.gz | |
stop tracking node_modules/
Diffstat (limited to '')
| -rw-r--r-- | node_modules/body-parser/index.js | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/node_modules/body-parser/index.js b/node_modules/body-parser/index.js deleted file mode 100644 index c0526e1..0000000 --- a/node_modules/body-parser/index.js +++ /dev/null @@ -1,55 +0,0 @@ -/*! - * body-parser - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ - -'use strict' - -/** - * @typedef {Object} Parsers - * @property {Function} json JSON parser - * @property {Function} raw Raw parser - * @property {Function} text Text parser - * @property {Function} urlencoded URL-encoded parser - */ - -/** - * Module exports. - * @type {Function & Parsers} - */ -exports = module.exports = bodyParser - -/** - * JSON parser. - * @public - */ -exports.json = require('./lib/types/json') - -/** - * Raw parser. - * @public - */ -exports.raw = require('./lib/types/raw') - -/** - * Text parser. - * @public - */ -exports.text = require('./lib/types/text') - -/** - * URL-encoded parser. - * @public - */ -exports.urlencoded = require('./lib/types/urlencoded') - -/** - * Create a middleware to parse json and urlencoded bodies. - * - * @deprecated - * @public - */ -function bodyParser () { - throw new Error('The bodyParser() generic has been split into individual middleware to use instead.') -} |