Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #261 from data-provider/release
Browse files Browse the repository at this point in the history
Release 5.0.1
  • Loading branch information
javierbrea committed Aug 30, 2022
2 parents 9d0ba0d + eaba4bd commit 820ecc2
Show file tree
Hide file tree
Showing 12 changed files with 1,777 additions and 1,479 deletions.
54 changes: 28 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,73 +24,75 @@
"graph": "nx graph"
},
"devDependencies": {
"@babel/core": "7.18.2",
"@babel/eslint-parser": "7.18.2",
"@babel/preset-env": "7.18.2",
"@babel/preset-react": "7.17.12",
"@babel/preset-typescript": "7.17.12",
"@cypress/webpack-preprocessor": "5.11.1",
"@babel/core": "7.18.13",
"@babel/eslint-parser": "7.18.9",
"@babel/plugin-syntax-flow": "7.18.6",
"@babel/plugin-transform-react-jsx": "7.18.10",
"@babel/preset-env": "7.18.10",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@cypress/webpack-preprocessor": "5.12.2",
"@mocks-server/admin-api-paths": "3.0.0",
"@mocks-server/main": "3.0.1",
"@mocks-server/main": "3.11.0",
"@nrwl/cli": "13.8.3",
"@nrwl/eslint-plugin-nx": "13.8.3",
"@nrwl/tao": "13.8.3",
"@nrwl/workspace": "13.8.3",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "22.0.0",
"@rollup/plugin-commonjs": "22.0.2",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"@stryker-mutator/core": "6.0.2",
"@stryker-mutator/jest-runner": "6.0.2",
"@testing-library/cypress": "8.0.2",
"@testing-library/jest-dom": "5.16.4",
"@stryker-mutator/core": "6.1.2",
"@stryker-mutator/jest-runner": "6.1.2",
"@testing-library/cypress": "8.0.3",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "12.1.2",
"@typescript-eslint/parser": "5.26.0",
"@typescript-eslint/parser": "5.36.0",
"babel-jest": "27.5.1",
"babel-loader": "8.2.5",
"babel-plugin-module-resolver": "4.1.0",
"babel-polyfill": "6.26.0",
"commander": "9.2.0",
"commander": "9.4.0",
"cross-env": "7.0.3",
"cross-fetch": "3.1.5",
"cross-spawn": "7.0.3",
"cypress": "9.7.0",
"cypress-fail-fast": "3.4.1",
"deepmerge": "4.2.2",
"eslint": "8.16.0",
"eslint": "8.23.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-prettier": "4.2.1",
"fs-extra": "10.1.0",
"handlebars": "4.7.7",
"husky": "8.0.1",
"is-ci": "3.0.1",
"is-promise": "4.0.0",
"jest": "27.5.1",
"json-server": "0.17.0",
"lint-staged": "12.4.2",
"lint-staged": "13.0.3",
"lodash": "4.17.21",
"prettier": "2.6.2",
"prettier": "2.7.1",
"prop-types": "15.8.1",
"react": "18.1.0",
"react": "18.2.0",
"react-app-rewired": "2.2.1",
"react-dom": "18.1.0",
"react-dom": "18.2.0",
"react-redux": "8.0.2",
"react-scripts": "5.0.1",
"react-test-renderer": "18.1.0",
"react-test-renderer": "18.2.0",
"redux": "4.2.0",
"regenerator-runtime": "0.13.9",
"request": "2.88.2",
"request-promise": "4.2.6",
"rollup": "2.74.1",
"rollup": "2.78.1",
"rollup-plugin-terser": "7.0.2",
"serve": "13.0.2",
"serve": "14.0.1",
"sinon": "14.0.0",
"start-server-and-test": "1.14.0",
"strip-ansi": "6.0.0",
"tree-kill": "1.2.2",
"typescript": "4.7.2",
"typescript": "4.8.2",
"wait-on": "6.0.1",
"webpack": "5.72.1"
"webpack": "5.74.0"
},
"lint-staged": {
"packages/**/*.js": "eslint",
Expand All @@ -103,6 +105,6 @@
},
"type": "module",
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
}
}
5 changes: 5 additions & 0 deletions packages/axios/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
### BREAKING CHANGES

## [5.0.1] - 2022-08-30

### Changed
- chore(deps): Update axios-retry to 3.3.1

## [5.0.0] - 2022-05-27

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/axios/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = {
testEnvironment: "node",

// The glob patterns Jest uses to detect test files
testMatch: ["**/test/**/?(*.)+(spec|test).js?(x)"],
testMatch: ["<rootDir>/test/**/?(*.)+(spec|test).js?(x)"],
// testMatch: ["<rootDir>/test/methods.spec.js"],

transform: {
Expand Down
4 changes: 2 additions & 2 deletions packages/axios/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@data-provider/axios",
"version": "5.0.0",
"version": "5.0.1",
"description": "REST API Data Provider origin addon using Axios",
"keywords": [
"data-provider",
Expand Down Expand Up @@ -51,7 +51,7 @@
},
"dependencies": {
"axios": "0.27.2",
"axios-retry": "3.2.5",
"axios-retry": "3.3.1",
"path-to-regexp": "6.2.1",
"query-string": "7.1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/axios/sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sonar.organization=data-provider
sonar.projectKey=data-provider_core_axios
sonar.projectName=axios
sonar.projectVersion=5.0.0
sonar.projectVersion=5.0.1

sonar.javascript.file.suffixes=.js
sonar.sourceEncoding=UTF-8
Expand Down
2 changes: 1 addition & 1 deletion packages/axios/src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const TAG = "axios";
export const PATH_SEP = "/";

export const once = (func) => {
var executed = false;
let executed = false;
let result;
return function () {
if (!executed) {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/test/provider/clean-cache-throttle.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ describe("Provider cleanCacheThrottle option", () => {
provider.config({
cleanCacheThrottle: 500,
});
var start = new Date();
let start = new Date();
provider.cleanCache(); // This one cleans the cache
provider.cleanCache(); // throttled
provider.cleanCache(); // throttled
Expand Down Expand Up @@ -301,7 +301,7 @@ describe("Provider cleanCacheThrottle option", () => {
provider.config({
cleanCacheThrottle: 100,
});
var start = new Date();
let start = new Date();
provider.cleanCache(); // This one cleans the cache
provider.cleanCache(); // throttled
logTime(start, "First block");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ describe("Selector cleanCacheThrottle option", () => {
cleanCacheThrottle: 500,
});
await selector.read();
var start = new Date();
let start = new Date();
selector.cleanDependenciesCache(); // This one cleans the cache
selector.cleanDependenciesCache(); // throttled
selector.cleanDependenciesCache(); // throttled
Expand Down Expand Up @@ -289,7 +289,7 @@ describe("Selector cleanCacheThrottle option", () => {
cleanCacheThrottle: 100,
});
await selector.read();
var start = new Date();
let start = new Date();
selector.cleanDependenciesCache(); // This one cleans the cache
selector.cleanDependenciesCache(); // throttled
logTime(start, "First block");
Expand Down
2 changes: 1 addition & 1 deletion packages/prismic/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = {
testEnvironment: "node",

// The glob patterns Jest uses to detect test files
testMatch: ["**/test/**/?(*.)+(spec|test).js?(x)"],
testMatch: ["<rootDir>/test/**/?(*.)+(spec|test).js?(x)"],

transform: {
".js$": "babel-jest",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = {
testEnvironment: "jsdom",

// The glob patterns Jest uses to detect test files
testMatch: ["**/test/**/?(*.)+(spec|test).js?(x)"],
testMatch: ["<rootDir>/test/**/?(*.)+(spec|test).js?(x)"],
// testMatch: ["**/test/usePolling.spec.js"],

transform: {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/test/MockProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const debounce = function (func, wait = 100) {

class MockProvider extends Provider {
readMethod() {
var that = this;
let that = this;
return new Promise(function (resolve, reject) {
setTimeout(function () {
if (!that._errorToThrow) {
Expand Down
Loading

0 comments on commit 820ecc2

Please sign in to comment.