forked from mirrors/action-gh-release
		
	vendor node_modules for release
This commit is contained in:
		
							parent
							
								
									6ecc92f5ad
								
							
						
					
					
						commit
						83407ce885
					
				
					 446 changed files with 83961 additions and 2 deletions
				
			
		
							
								
								
									
										6
									
								
								node_modules/atob-lite/.npmignore
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								node_modules/atob-lite/.npmignore
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| node_modules | ||||
| *.log | ||||
| .DS_Store | ||||
| bundle.js | ||||
| test | ||||
| test.js | ||||
							
								
								
									
										18
									
								
								node_modules/atob-lite/LICENSE.md
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								node_modules/atob-lite/LICENSE.md
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | |||
| This software is released under the MIT license: | ||||
| 
 | ||||
| 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. | ||||
							
								
								
									
										37
									
								
								node_modules/atob-lite/README.md
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								node_modules/atob-lite/README.md
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,37 @@ | |||
| # atob-lite | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| 
 | ||||
| Smallest/simplest possible means of using atob with both Node and browserify. | ||||
| 
 | ||||
| In the browser, decoding base64 strings is done using: | ||||
| 
 | ||||
| ``` javascript | ||||
| var decoded = atob(encoded) | ||||
| ``` | ||||
| 
 | ||||
| However in Node, it's done like so: | ||||
| 
 | ||||
| ``` javascript | ||||
| var decoded = new Buffer(encoded, 'base64').toString('utf8') | ||||
| ``` | ||||
| 
 | ||||
| You can easily check if `Buffer` exists and switch between the approaches | ||||
| accordingly, but using `Buffer` anywhere in your browser source will pull | ||||
| in browserify's `Buffer` shim which is pretty hefty. This package uses | ||||
| the `main` and `browser` fields in its `package.json` to perform this | ||||
| check at build time and avoid pulling `Buffer` in unnecessarily. | ||||
| 
 | ||||
| ## Usage | ||||
| 
 | ||||
| [](https://nodei.co/npm/atob-lite/) | ||||
| 
 | ||||
| ### `decoded = atob(encoded)` | ||||
| 
 | ||||
| Returns the decoded value of a base64-encoded string. | ||||
| 
 | ||||
| ## License | ||||
| 
 | ||||
| MIT. See [LICENSE.md](http://github.com/hughsk/atob-lite/blob/master/LICENSE.md) for details. | ||||
							
								
								
									
										3
									
								
								node_modules/atob-lite/atob-browser.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								node_modules/atob-lite/atob-browser.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| module.exports = function _atob(str) { | ||||
|   return atob(str) | ||||
| } | ||||
							
								
								
									
										3
									
								
								node_modules/atob-lite/atob-node.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								node_modules/atob-lite/atob-node.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| module.exports = function atob(str) { | ||||
|   return Buffer.from(str, 'base64').toString('binary') | ||||
| } | ||||
							
								
								
									
										70
									
								
								node_modules/atob-lite/package.json
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								node_modules/atob-lite/package.json
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,70 @@ | |||
| { | ||||
|   "_args": [ | ||||
|     [ | ||||
|       "atob-lite@2.0.0", | ||||
|       "/Users/dougtangren/code/rust/action-gh-release" | ||||
|     ] | ||||
|   ], | ||||
|   "_from": "atob-lite@2.0.0", | ||||
|   "_id": "atob-lite@2.0.0", | ||||
|   "_inBundle": false, | ||||
|   "_integrity": "sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY=", | ||||
|   "_location": "/atob-lite", | ||||
|   "_phantomChildren": {}, | ||||
|   "_requested": { | ||||
|     "type": "version", | ||||
|     "registry": true, | ||||
|     "raw": "atob-lite@2.0.0", | ||||
|     "name": "atob-lite", | ||||
|     "escapedName": "atob-lite", | ||||
|     "rawSpec": "2.0.0", | ||||
|     "saveSpec": null, | ||||
|     "fetchSpec": "2.0.0" | ||||
|   }, | ||||
|   "_requiredBy": [ | ||||
|     "/@octokit/rest" | ||||
|   ], | ||||
|   "_resolved": "https://registry.npmjs.org/atob-lite/-/atob-lite-2.0.0.tgz", | ||||
|   "_spec": "2.0.0", | ||||
|   "_where": "/Users/dougtangren/code/rust/action-gh-release", | ||||
|   "author": { | ||||
|     "name": "Hugh Kennedy", | ||||
|     "email": "hughskennedy@gmail.com", | ||||
|     "url": "http://hughsk.io/" | ||||
|   }, | ||||
|   "browser": "atob-browser.js", | ||||
|   "bugs": { | ||||
|     "url": "https://github.com/hughsk/atob-lite/issues" | ||||
|   }, | ||||
|   "dependencies": {}, | ||||
|   "description": "Smallest/simplest possible means of using atob with both Node and browserify", | ||||
|   "devDependencies": { | ||||
|     "browserify": "^10.2.4", | ||||
|     "smokestack": "^3.3.0", | ||||
|     "tap-closer": "^1.0.0", | ||||
|     "tap-spec": "^4.0.0", | ||||
|     "tape": "^4.0.0" | ||||
|   }, | ||||
|   "homepage": "https://github.com/hughsk/atob-lite", | ||||
|   "keywords": [ | ||||
|     "atob", | ||||
|     "base64", | ||||
|     "isomorphic", | ||||
|     "browser", | ||||
|     "node", | ||||
|     "shared" | ||||
|   ], | ||||
|   "license": "MIT", | ||||
|   "main": "atob-node.js", | ||||
|   "name": "atob-lite", | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "git://github.com/hughsk/atob-lite.git" | ||||
|   }, | ||||
|   "scripts": { | ||||
|     "test": "npm run test-node && npm run test-browser", | ||||
|     "test-browser": "browserify test | smokestack | tap-spec", | ||||
|     "test-node": "node test | tap-spec" | ||||
|   }, | ||||
|   "version": "2.0.0" | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue