mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
Remove es6 polyfills and use native Promises
This commit is contained in:
parent
640240e5c2
commit
c166c20701
7 changed files with 0 additions and 8 deletions
1
index.js
1
index.js
|
@ -1,4 +1,3 @@
|
|||
require('es6-shim')
|
||||
module.exports = require('./lib')
|
||||
|
||||
/**package
|
||||
|
|
|
@ -7,7 +7,6 @@ if (process.getuid && process.getuid() === 0) {
|
|||
}
|
||||
|
||||
process.title = 'verdaccio'
|
||||
require('es6-shim')
|
||||
|
||||
try {
|
||||
// for debugging memory leaks
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
"commander": "^2.9.0",
|
||||
"compression": "^1.6.1",
|
||||
"cookies": "^0.6.1",
|
||||
"es6-shim": "^0.35.0",
|
||||
"express": "^4.13.4",
|
||||
"handlebars": "^4.0.5",
|
||||
"highlight.js": "^9.3.0",
|
||||
|
@ -42,7 +41,6 @@
|
|||
"unix-crypt-td-js": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bluebird": "^3.3.5",
|
||||
"browserify": "^13.0.0",
|
||||
"browserify-handlebars": "^1.0.0",
|
||||
"eslint": "^2.9.0",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
require('./lib/startup')
|
||||
|
||||
var assert = require('assert')
|
||||
var Promise = require('bluebird')
|
||||
|
||||
function readfile(x) {
|
||||
return require('fs').readFileSync(__dirname + '/' + x)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
//require('es6-shim')
|
||||
require('./lib/startup')
|
||||
var Promise = require('bluebird')
|
||||
|
||||
var assert = require('assert')
|
||||
var async = require('async')
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
var assert = require('assert')
|
||||
var request = require('./smart_request')
|
||||
var Promise = require('bluebird')
|
||||
|
||||
function Server(url) {
|
||||
var self = Object.create(Server.prototype)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
var assert = require('assert')
|
||||
var request = require('request')
|
||||
var Promise = require('bluebird')
|
||||
var sym = Symbol('smart_request_data')
|
||||
|
||||
function smart_request(options) {
|
||||
|
|
Loading…
Reference in a new issue