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:
parent
2793914d80
commit
640240e5c2
3 changed files with 2 additions and 3 deletions
|
@ -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,
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue