mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-09 10:38:10 -06:00
There were a few issues here: 1. The version header was not always passed to fetch 2. HTTP headers are case insensitive and Node an Fetch uses lower case. 3. The old code used a Map instead of an object as map. Node and Fetch uses an object as map. Now we just pass along the response headers. Fixes #1881 Closes #1880 (which this is partially based in)
60 lines
2.2 KiB
JSON
60 lines
2.2 KiB
JSON
{
|
|
"name": "@attic/noms",
|
|
"license": "Apache-2.0",
|
|
"version": "48.0.0",
|
|
"description": "Noms JS SDK",
|
|
"repository": "https://github.com/attic-labs/noms",
|
|
"main": "dist/commonjs/noms.js",
|
|
"engines": {
|
|
"node": ">=5.11",
|
|
"npm": ">=3"
|
|
},
|
|
"dependencies": {
|
|
"babel-regenerator-runtime": "6.5.0",
|
|
"babel-runtime": "5.8.38",
|
|
"rusha": "0.8.3",
|
|
"text-encoding-utf-8": "1.0.1",
|
|
"tingodb": "^0.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@attic/eslintrc": "^3.1.0",
|
|
"babel-cli": "6.6.5",
|
|
"babel-core": "6.7.2",
|
|
"babel-generator": "6.7.2",
|
|
"babel-plugin-syntax-async-functions": "6.5.0",
|
|
"babel-plugin-syntax-flow": "6.5.0",
|
|
"babel-plugin-transform-async-to-generator": "6.7.0",
|
|
"babel-plugin-transform-class-properties": "6.6.0",
|
|
"babel-plugin-transform-es2015-destructuring": "6.6.5",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "6.7.0",
|
|
"babel-plugin-transform-es2015-parameters": "6.7.0",
|
|
"babel-plugin-transform-runtime": "^6.6.0",
|
|
"babel-preset-es2015": "6.6.0",
|
|
"babel-preset-react": "6.5.0",
|
|
"chai": "3.5.0",
|
|
"chokidar": "1.4.3",
|
|
"commander": "2.9.0",
|
|
"flow-bin": "^0.25.0",
|
|
"fs-extra": "0.26.7",
|
|
"mocha": "2.4.5"
|
|
},
|
|
"scripts": {
|
|
"pretest": "eslint src/ && flow src/",
|
|
"ts": "mocha --ui tdd --timeout=4000 --reporter spec --slow=50 --invert --grep='LONG:' --compilers js:babel-core/register src/*-test.js",
|
|
"test": "mocha --ui tdd --timeout=6000 --reporter dot --compilers js:babel-core/register src/*-test.js",
|
|
"prepublish": "rm -rf dist/ && npm run compile && npm run copy-flow-files",
|
|
"compile": "npm run compile-to-commonjs",
|
|
"compile-to-commonjs": "BABEL_ENV=production babel -d dist/commonjs src/",
|
|
"copy-flow-files": "npm run copy-flow-files-commonjs",
|
|
"copy-flow-files-commonjs": "node build/copy-flow-files.js -d dist/commonjs/ src/"
|
|
},
|
|
"browser": {
|
|
"./src/bytes.js": "./src/browser/bytes.js",
|
|
"./dist/commonjs/bytes.js": "./dist/commonjs/browser/bytes.js",
|
|
"./src/fetch.js": "./src/browser/fetch.js",
|
|
"./dist/commonjs/fetch.js": "./dist/commonjs/browser/fetch.js",
|
|
"./src/put-cache.js": "./src/browser/put-cache.js",
|
|
"./dist/commonjs/put-cache.js": "./dist/commonjs/browser/put-cache.js"
|
|
}
|
|
}
|