fetch-rest-connect
Advanced tools
Comparing version
module.exports = { | ||
extends: "airbnb-base", | ||
parser: "babel-eslint", | ||
env: { | ||
browser: true, | ||
es6: true, | ||
jest: true, | ||
parser: "@typescript-eslint/parser", | ||
extends: [ | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier/@typescript-eslint", | ||
"plugin:prettier/recommended", | ||
], | ||
parserOptions: { | ||
ecmaVersion: 2019, | ||
sourceType: "module", | ||
project: "./tsconfig.json", | ||
}, | ||
rules: { | ||
semi: ["error", "never"], | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/no-use-before-define": "off", | ||
}, | ||
} | ||
settings: { | ||
"import/resolver": { | ||
node: { | ||
extensions: [ | ||
".js", | ||
".ts", | ||
], | ||
}, | ||
}, | ||
}, | ||
}; |
{ | ||
"name": "fetch-rest-connect", | ||
"version": "3.1.1", | ||
"version": "3.2.0", | ||
"main": "dist/index.js", | ||
@@ -9,38 +9,30 @@ "repository": "https://github.com/drublic/fetch-rest-connect.git", | ||
"scripts": { | ||
"lint": "eslint **/*.js", | ||
"build": "rm -rf dist/ && babel . --ignore node_modules,coverage -d dist", | ||
"dev": "nodemon src/index.ts", | ||
"lint": "eslint ./src/{**/,}* --ext js,ts", | ||
"build": "tsc", | ||
"test": "jest", | ||
"prepublishOnly": "yarn build" | ||
}, | ||
"jest": { | ||
"automock": false, | ||
"setupFiles": [ | ||
"./jestSetup.js" | ||
], | ||
"testURL": "http://localhost", | ||
"testMatch": [ | ||
"**/__tests__/**/*.test.js?(x)" | ||
], | ||
"testPathIgnorePatterns": [ | ||
"/dist/", | ||
"/node_modules/" | ||
] | ||
"dependencies": { | ||
"node-fetch": "^2.6.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.8.4", | ||
"@babel/core": "^7.9.6", | ||
"@babel/preset-env": "^7.9.6", | ||
"babel-core": "^7.0.0-bridge.0", | ||
"babel-eslint": "^10.1.0", | ||
"babel-jest": "^26.0.1", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb-base": "^14.1.0", | ||
"eslint-plugin-import": "^2.20.2", | ||
"@types/jest": "^25.2.3", | ||
"@types/node": "^14.0.5", | ||
"@types/node-fetch": "^2.5.7", | ||
"@typescript-eslint/eslint-plugin": "^3.0.1", | ||
"@typescript-eslint/parser": "^3.0.1", | ||
"eslint": "^7.1.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"jest": "^26.0.1", | ||
"jest-fetch-mock": "^3.0.3", | ||
"regenerator-runtime": "^0.13.5" | ||
}, | ||
"dependencies": { | ||
"node-fetch": "^2.6.0" | ||
"nodemon": "^2.0.4", | ||
"prettier": "^2.0.5", | ||
"regenerator-runtime": "^0.13.5", | ||
"supertest": "^4.0.2", | ||
"ts-jest": "^26.0.0", | ||
"ts-node": "^8.10.1", | ||
"typescript": "^3.9.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
43
30.3%855
16.01%1
-75%45626
-82.28%17
41.67%