0
Fork 0
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:
Juan Picado 2017-04-17 11:47:37 +02:00
parent 640240e5c2
commit c166c20701
No known key found for this signature in database
GPG key ID: 18AC54485952D158
7 changed files with 0 additions and 8 deletions

View file

@ -1,4 +1,3 @@
require('es6-shim')
module.exports = require('./lib')
/**package

View file

@ -7,7 +7,6 @@ if (process.getuid && process.getuid() === 0) {
}
process.title = 'verdaccio'
require('es6-shim')
try {
// for debugging memory leaks

View file

@ -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",

View file

@ -1,7 +1,6 @@
require('./lib/startup')
var assert = require('assert')
var Promise = require('bluebird')
function readfile(x) {
return require('fs').readFileSync(__dirname + '/' + x)

View file

@ -1,6 +1,5 @@
//require('es6-shim')
require('./lib/startup')
var Promise = require('bluebird')
var assert = require('assert')
var async = require('async')

View file

@ -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)

View file

@ -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) {