From 7bee9b7e0968b650b3dbe2e35bf3a0d7d6e5e00e Mon Sep 17 00:00:00 2001 From: nanalelfe Date: Wed, 27 Jul 2016 08:46:04 -0400 Subject: Removed some unused modules with prune --- node_modules/base64-url/LICENSE | 15 ------ node_modules/base64-url/README.md | 55 ------------------- node_modules/base64-url/index.js | 24 --------- node_modules/base64-url/package.json | 101 ----------------------------------- 4 files changed, 195 deletions(-) delete mode 100644 node_modules/base64-url/LICENSE delete mode 100644 node_modules/base64-url/README.md delete mode 100644 node_modules/base64-url/index.js delete mode 100644 node_modules/base64-url/package.json (limited to 'node_modules/base64-url') diff --git a/node_modules/base64-url/LICENSE b/node_modules/base64-url/LICENSE deleted file mode 100644 index 9549143..0000000 --- a/node_modules/base64-url/LICENSE +++ /dev/null @@ -1,15 +0,0 @@ -The ISC License - -Copyright (c) 2014, Joaquim José F. Serafim - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/base64-url/README.md b/node_modules/base64-url/README.md deleted file mode 100644 index d9368c8..0000000 --- a/node_modules/base64-url/README.md +++ /dev/null @@ -1,55 +0,0 @@ -# base64-url - -Base64 encode, decode, escape and unescape for URL applications. - - - -[![Build Status](https://travis-ci.org/joaquimserafim/base64-url.png?branch=master)](https://travis-ci.org/joaquimserafim/base64-url) - - -## API - -```js -base64url.encode('Node.js is awesome.'); -// returns Tm9kZS5qcyBpcyBhd2Vzb21lLg - -base64url.decode('Tm9kZS5qcyBpcyBhd2Vzb21lLg'); -// returns Node.js is awesome. - -base64url.escape('This+is/goingto+escape=='); -// returns This-is_goingto-escape - -base64url.unescape('This-is_goingto-escape'); -// returns This+is/goingto+escape== -``` - - -## Development - -**this projet has been set up with a precommit that forces you to follow a code style, no jshint issues and 100% of code coverage before commit** - - -to run test -``` js -npm test -``` - -to run jshint -``` js -npm run jshint -``` - -to run code style -``` js -npm run code-style -``` - -to check code coverage -``` js -npm run check-coverage -``` - -to open the code coverage report -``` js -npm run coverage -``` diff --git a/node_modules/base64-url/index.js b/node_modules/base64-url/index.js deleted file mode 100644 index 34968ae..0000000 --- a/node_modules/base64-url/index.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -var base64url = module.exports; - -base64url.unescape = function unescape (str) { - return (str + Array(5 - str.length % 4) - .join('=')) - .replace(/\-/g, '+') - .replace(/_/g, '/'); -}; - -base64url.escape = function escape (str) { - return str.replace(/\+/g, '-') - .replace(/\//g, '_') - .replace(/=/g, ''); -}; - -base64url.encode = function encode (str) { - return this.escape(new Buffer(str).toString('base64')); -}; - -base64url.decode = function decode (str) { - return new Buffer(this.unescape(str), 'base64').toString(); -}; diff --git a/node_modules/base64-url/package.json b/node_modules/base64-url/package.json deleted file mode 100644 index 82b8785..0000000 --- a/node_modules/base64-url/package.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "_args": [ - [ - "base64-url@1.2.2", - "/home/humair/School/csc309/a4/solutions_repo/node_modules/uid-safe" - ] - ], - "_from": "base64-url@1.2.2", - "_id": "base64-url@1.2.2", - "_inCache": true, - "_installable": true, - "_location": "/base64-url", - "_nodeVersion": "4.4.2", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/base64-url-1.2.2.tgz_1459642531916_0.0884270598180592" - }, - "_npmUser": { - "email": "joaquim.serafim@gmail.com", - "name": "quim" - }, - "_npmVersion": "2.15.0", - "_phantomChildren": {}, - "_requested": { - "name": "base64-url", - "raw": "base64-url@1.2.2", - "rawSpec": "1.2.2", - "scope": null, - "spec": "1.2.2", - "type": "version" - }, - "_requiredBy": [ - "/uid-safe" - ], - "_resolved": "https://registry.npmjs.org/base64-url/-/base64-url-1.2.2.tgz", - "_shasum": "90af26ef8b0b67bc801b05eccf943345649008b3", - "_shrinkwrap": null, - "_spec": "base64-url@1.2.2", - "_where": "/home/humair/School/csc309/a4/solutions_repo/node_modules/uid-safe", - "author": { - "name": "@joaquimserafim" - }, - "bugs": { - "url": "https://github.com/joaquimserafim/base64-url/issues" - }, - "dependencies": {}, - "description": "Base64 encode, decode, escape and unescape for URL applications", - "devDependencies": { - "istanbul": "^0.3.5", - "jscs": "^1.9.0", - "jshint": "^2.5.11", - "pre-commit": "0.0.9", - "tape": "^3.0.3", - "which": "^1.0.8" - }, - "directories": {}, - "dist": { - "shasum": "90af26ef8b0b67bc801b05eccf943345649008b3", - "tarball": "https://registry.npmjs.org/base64-url/-/base64-url-1.2.2.tgz" - }, - "files": [ - "LICENSE", - "README.md", - "index.js" - ], - "gitHead": "7e5b7e351edbf67ed04e3475663d3a64e0c32035", - "homepage": "https://github.com/joaquimserafim/base64-url", - "keywords": [ - "base64", - "base64url" - ], - "license": "ISC", - "main": "index.js", - "maintainers": [ - { - "name": "quim", - "email": "joaquim.serafim@gmail.com" - } - ], - "name": "base64-url", - "optionalDependencies": {}, - "pre-commit": [ - "check-coverage", - "code-style", - "jshint", - "test" - ], - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/joaquimserafim/base64-url.git" - }, - "scripts": { - "check-coverage": "istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100", - "code-style": "jscs -p google *.js", - "coverage": "open coverage/lcov-report/index.html", - "jshint": "jshint -c .jshintrc *.js", - "test": "istanbul cover tape test.js" - }, - "version": "1.2.2" -} -- cgit v1.2.3