0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00

Remove Symbols dependency, Node 4 as min version supported

This commit is contained in:
Juan Picado 2017-04-17 11:36:35 +02:00
parent 2793914d80
commit 640240e5c2
No known key found for this signature in database
GPG key ID: 18AC54485952D158
3 changed files with 2 additions and 3 deletions

View file

@ -11,6 +11,7 @@
env: env:
node: true node: true
es6: true
rules: rules:
# useful to have in node.js, # useful to have in node.js,

View file

@ -39,7 +39,6 @@
"render-readme": "^1.3.1", "render-readme": "^1.3.1",
"request": "^2.72.0", "request": "^2.72.0",
"semver": "^5.1.0", "semver": "^5.1.0",
"symbol": "^0.2.1",
"unix-crypt-td-js": "^1.0.0" "unix-crypt-td-js": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
@ -78,7 +77,7 @@
"build-docker:rpi": "docker build -f Dockerfile.rpi -t verdaccio:rpi ." "build-docker:rpi": "docker build -f Dockerfile.rpi -t verdaccio:rpi ."
}, },
"engines": { "engines": {
"node": ">=0.10" "node": ">=4"
}, },
"preferGlobal": true, "preferGlobal": true,
"publishConfig": { "publishConfig": {

View file

@ -2,7 +2,6 @@
var assert = require('assert') var assert = require('assert')
var request = require('request') var request = require('request')
var Promise = require('bluebird') var Promise = require('bluebird')
var Symbol = require('symbol')
var sym = Symbol('smart_request_data') var sym = Symbol('smart_request_data')
function smart_request(options) { function smart_request(options) {