isomorfeus-redux 4.1.6 → 4.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd9365ffd5e64b3849e946d229e4c6fb2a499bafdcd947cf90de784e9a64a02d
4
- data.tar.gz: 672bd368e48463a0d72fae89ca73616e991211be1f26a6a0ba378f472f6dda57
3
+ metadata.gz: 816f551f4620c027ab31e78e4dc7f5117ff08f3c501006c0a82a36b227d0e870
4
+ data.tar.gz: 56c810661d218f138e74cee015b34dfcd952530eacba2bfd699f0cadc6bd1418
5
5
  SHA512:
6
- metadata.gz: f024c9b2eee4fc0f832d62473db22f7a59dbe7fede32cd097d8bf609c4e635785eb0f70c1c1055fd6d13e2488df1a79d8240c309ce2a343435ed66aecf622608
7
- data.tar.gz: fa297b4d22a6356277c32b194448e458dca8470bf18193b1f5899c87a73d76bae351e547934731a6d7f96cc8dfa0e60ea2f98366df95d46f146a062e9c739d89
6
+ metadata.gz: d7415141fa571bc3e5f919de63c9186fe9300698b32691ef4f6bd8ee54053165ecf881309089b82c3cf2ec7e4633c8f0c7e11cf6af915a919d5487a068e351e3
7
+ data.tar.gz: 7ed192799225fb396d8aa43f2172cec6f778ba2a1be5ff5cdb97029115786d2cd35715072c8c70cf94f9dfd4057bab48d3007c75751a23c3639e70ab235ca877
data/lib/redux/store.rb CHANGED
@@ -19,7 +19,7 @@ module Redux
19
19
  Isomorfeus.store.add_reducer(reducer)
20
20
  else
21
21
  # otherwise just add it to the reducers, so that they will be used when initializing the store
22
- preloaded_state[reducer.keys.first] = {} unless preloaded_state.has_key?(reducer.keys.first)
22
+ preloaded_state[reducer.keys.first] = {} unless preloaded_state.key?(reducer.keys.first)
23
23
  reducers.merge!(reducer)
24
24
  end
25
25
  end
data/lib/redux/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Redux
2
- VERSION = '4.1.6'
2
+ VERSION = '4.1.7'
3
3
  end
data/lib/redux.rb CHANGED
@@ -86,7 +86,7 @@ module Redux
86
86
 
87
87
  def self.get_state_path(state, *path)
88
88
  path.inject(state) do |state_el, path_el|
89
- if state_el.has_key?(path_el)
89
+ if state_el.key?(path_el)
90
90
  state_el[path_el]
91
91
  else
92
92
  return nil
@@ -100,7 +100,7 @@ module Redux
100
100
  if path_el == last_el
101
101
  state_el[path_el] = value
102
102
  state_el[path_el]
103
- elsif !state_el.has_key?(path_el)
103
+ elsif !state_el.key?(path_el)
104
104
  state_el[path_el] = {}
105
105
  state_el[path_el]
106
106
  else
@@ -15,9 +15,9 @@
15
15
  }
16
16
  },
17
17
  "node_modules/redux": {
18
- "version": "4.1.1",
19
- "resolved": "https://registry.npmjs.org/redux/-/redux-4.1.1.tgz",
20
- "integrity": "sha512-hZQZdDEM25UY2P493kPYuKqviVwZ58lEmGQNeQ+gXa+U0gYPUBf7NKYazbe3m+bs/DzM/ahN12DbF+NG8i0CWw==",
18
+ "version": "4.1.2",
19
+ "resolved": "https://registry.npmjs.org/redux/-/redux-4.1.2.tgz",
20
+ "integrity": "sha512-SH8PglcebESbd/shgf6mii6EIoRM0zrQyjcuQ+ojmfxjTtE0z9Y8pa62iA/OJ58qjP6j27uyW4kUF4jl/jd6sw==",
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.9.2"
23
23
  }
@@ -0,0 +1,4 @@
1
+ # Change Log
2
+
3
+ This project adheres to [Semantic Versioning](http://semver.org/).
4
+ Every release, along with the migration instructions, is documented on the Github [Releases](https://github.com/reduxjs/redux/releases) page.
@@ -66,7 +66,7 @@ export type PreloadedState<S> = Required<S> extends EmptyObject
66
66
  ? {
67
67
  [K in keyof S1]?: S1[K] extends object ? PreloadedState<S1[K]> : S1[K]
68
68
  }
69
- : never
69
+ : S
70
70
  : {
71
71
  [K in keyof S]: S[K] extends string | number | boolean | symbol
72
72
  ? S[K]
@@ -1,108 +1,108 @@
1
- {
2
- "name": "redux",
3
- "version": "4.1.1",
4
- "description": "Predictable state container for JavaScript apps",
5
- "license": "MIT",
6
- "homepage": "http://redux.js.org",
7
- "repository": "github:reduxjs/redux",
8
- "bugs": "https://github.com/reduxjs/redux/issues",
9
- "keywords": [
10
- "redux",
11
- "reducer",
12
- "state",
13
- "predictable",
14
- "functional",
15
- "immutable",
16
- "hot",
17
- "live",
18
- "replay",
19
- "flux",
20
- "elm"
21
- ],
22
- "authors": [
23
- "Dan Abramov <dan.abramov@me.com> (https://github.com/gaearon)",
24
- "Andrew Clark <acdlite@me.com> (https://github.com/acdlite)"
25
- ],
26
- "main": "lib/redux.js",
27
- "unpkg": "dist/redux.js",
28
- "module": "es/redux.js",
29
- "typings": "./index.d.ts",
30
- "files": [
31
- "dist",
32
- "lib",
33
- "es",
34
- "src",
35
- "index.d.ts"
36
- ],
37
- "scripts": {
38
- "clean": "rimraf lib dist es coverage",
39
- "format": "prettier --write \"{src,test}/**/*.{js,ts}\" index.d.ts \"**/*.md\"",
40
- "format:check": "prettier --list-different \"{src,test}/**/*.{js,ts}\" index.d.ts \"**/*.md\"",
41
- "lint": "eslint src test",
42
- "test": "jest",
43
- "test:watch": "npm test -- --watch",
44
- "test:cov": "npm test -- --coverage",
45
- "build": "rollup -c",
46
- "pretest": "npm run build",
47
- "prepublishOnly": "npm run clean && npm run format:check && npm run lint && npm test",
48
- "examples:lint": "eslint examples",
49
- "examples:test": "cross-env CI=true babel-node examples/testAll.js"
50
- },
51
- "dependencies": {
52
- "@babel/runtime": "^7.9.2"
53
- },
54
- "devDependencies": {
55
- "@babel/cli": "^7.8.4",
56
- "@babel/core": "^7.9.0",
57
- "@babel/node": "^7.8.7",
58
- "@babel/plugin-external-helpers": "^7.8.3",
59
- "@babel/plugin-proposal-object-rest-spread": "^7.9.5",
60
- "@babel/plugin-transform-runtime": "^7.9.0",
61
- "@babel/preset-env": "^7.9.5",
62
- "@babel/preset-flow": "^7.9.0",
63
- "@babel/preset-typescript": "^7.9.0",
64
- "@babel/register": "^7.9.0",
65
- "@rollup/plugin-babel": "^5.3.0",
66
- "@rollup/plugin-node-resolve": "^7.1.3",
67
- "@rollup/plugin-replace": "^2.3.2",
68
- "@types/jest": "^25.2.1",
69
- "@types/node": "^13.13.4",
70
- "@typescript-eslint/eslint-plugin": "^2.29.0",
71
- "@typescript-eslint/parser": "^2.29.0",
72
- "babel-eslint": "^10.1.0",
73
- "babel-jest": "^25.4.0",
74
- "cross-env": "^7.0.2",
75
- "eslint": "^6.8.0",
76
- "eslint-config-react-app": "^5.2.1",
77
- "eslint-import-resolver-typescript": "^2.0.0",
78
- "eslint-plugin-flowtype": "^4.7.0",
79
- "eslint-plugin-import": "^2.20.2",
80
- "eslint-plugin-jsx-a11y": "^6.2.3",
81
- "eslint-plugin-react": "^7.19.0",
82
- "eslint-plugin-react-hooks": "^3.0.0",
83
- "glob": "^7.1.6",
84
- "jest": "^25.4.0",
85
- "prettier": "^2.0.5",
86
- "rimraf": "^3.0.2",
87
- "rollup": "^2.7.2",
88
- "rollup-plugin-terser": "^5.3.0",
89
- "rollup-plugin-typescript2": "^0.27.0",
90
- "rxjs": "^6.5.5",
91
- "typescript": "^3.8.3",
92
- "typings-tester": "^0.3.2"
93
- },
94
- "npmName": "redux",
95
- "npmFileMap": [
96
- {
97
- "basePath": "/dist/",
98
- "files": [
99
- "*.js"
100
- ]
101
- }
102
- ],
103
- "jest": {
104
- "testRegex": "(/test/.*\\.spec\\.[tj]s)$",
105
- "coverageProvider": "v8"
106
- },
107
- "sideEffects": false
108
- }
1
+ {
2
+ "name": "redux",
3
+ "version": "4.1.2",
4
+ "description": "Predictable state container for JavaScript apps",
5
+ "license": "MIT",
6
+ "homepage": "http://redux.js.org",
7
+ "repository": "github:reduxjs/redux",
8
+ "bugs": "https://github.com/reduxjs/redux/issues",
9
+ "keywords": [
10
+ "redux",
11
+ "reducer",
12
+ "state",
13
+ "predictable",
14
+ "functional",
15
+ "immutable",
16
+ "hot",
17
+ "live",
18
+ "replay",
19
+ "flux",
20
+ "elm"
21
+ ],
22
+ "authors": [
23
+ "Dan Abramov <dan.abramov@me.com> (https://github.com/gaearon)",
24
+ "Andrew Clark <acdlite@me.com> (https://github.com/acdlite)"
25
+ ],
26
+ "main": "lib/redux.js",
27
+ "unpkg": "dist/redux.js",
28
+ "module": "es/redux.js",
29
+ "typings": "./index.d.ts",
30
+ "files": [
31
+ "dist",
32
+ "lib",
33
+ "es",
34
+ "src",
35
+ "index.d.ts"
36
+ ],
37
+ "scripts": {
38
+ "clean": "rimraf lib dist es coverage",
39
+ "format": "prettier --write \"{src,test}/**/*.{js,ts}\" index.d.ts \"**/*.md\"",
40
+ "format:check": "prettier --list-different \"{src,test}/**/*.{js,ts}\" index.d.ts \"**/*.md\"",
41
+ "lint": "eslint src test",
42
+ "test": "jest",
43
+ "test:watch": "npm test -- --watch",
44
+ "test:cov": "npm test -- --coverage",
45
+ "build": "rollup -c",
46
+ "pretest": "npm run build",
47
+ "prepublishOnly": "npm run clean && npm run format:check && npm run lint && npm test",
48
+ "examples:lint": "eslint examples",
49
+ "examples:test": "cross-env CI=true babel-node examples/testAll.js"
50
+ },
51
+ "dependencies": {
52
+ "@babel/runtime": "^7.9.2"
53
+ },
54
+ "devDependencies": {
55
+ "@babel/cli": "^7.8.4",
56
+ "@babel/core": "^7.9.0",
57
+ "@babel/node": "^7.8.7",
58
+ "@babel/plugin-external-helpers": "^7.8.3",
59
+ "@babel/plugin-proposal-object-rest-spread": "^7.9.5",
60
+ "@babel/plugin-transform-runtime": "^7.9.0",
61
+ "@babel/preset-env": "^7.9.5",
62
+ "@babel/preset-flow": "^7.9.0",
63
+ "@babel/preset-typescript": "^7.9.0",
64
+ "@babel/register": "^7.9.0",
65
+ "@rollup/plugin-babel": "^5.3.0",
66
+ "@rollup/plugin-node-resolve": "^7.1.3",
67
+ "@rollup/plugin-replace": "^2.3.2",
68
+ "@types/jest": "^25.2.1",
69
+ "@types/node": "^13.13.4",
70
+ "@typescript-eslint/eslint-plugin": "^2.29.0",
71
+ "@typescript-eslint/parser": "^2.29.0",
72
+ "babel-eslint": "^10.1.0",
73
+ "babel-jest": "^25.4.0",
74
+ "cross-env": "^7.0.2",
75
+ "eslint": "^6.8.0",
76
+ "eslint-config-react-app": "^5.2.1",
77
+ "eslint-import-resolver-typescript": "^2.0.0",
78
+ "eslint-plugin-flowtype": "^4.7.0",
79
+ "eslint-plugin-import": "^2.20.2",
80
+ "eslint-plugin-jsx-a11y": "^6.2.3",
81
+ "eslint-plugin-react": "^7.19.0",
82
+ "eslint-plugin-react-hooks": "^3.0.0",
83
+ "glob": "^7.1.6",
84
+ "jest": "^25.4.0",
85
+ "prettier": "^2.0.5",
86
+ "rimraf": "^3.0.2",
87
+ "rollup": "^2.7.2",
88
+ "rollup-plugin-terser": "^5.3.0",
89
+ "rollup-plugin-typescript2": "^0.27.0",
90
+ "rxjs": "^6.5.5",
91
+ "typescript": "^3.8.3",
92
+ "typings-tester": "^0.3.2"
93
+ },
94
+ "npmName": "redux",
95
+ "npmFileMap": [
96
+ {
97
+ "basePath": "/dist/",
98
+ "files": [
99
+ "*.js"
100
+ ]
101
+ }
102
+ ],
103
+ "jest": {
104
+ "testRegex": "(/test/.*\\.spec\\.[tj]s)$",
105
+ "coverageProvider": "v8"
106
+ },
107
+ "sideEffects": false
108
+ }
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isomorfeus-redux",
3
3
  "dependencies": {
4
- "redux": "^4.1.1"
4
+ "redux": "4.1.2"
5
5
  }
6
6
  }
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-redux
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.6
4
+ version: 4.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2021-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.2.0
19
+ version: 1.3.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.2.0
26
+ version: 1.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: isomorfeus-asset-manager
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.12.1
33
+ version: 0.13.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.12.1
40
+ version: 0.13.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: isomorfeus-speednode
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.4.1
47
+ version: 0.4.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.4.1
54
+ version: 0.4.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -276,6 +276,7 @@ files:
276
276
  - node_modules/@babel/runtime/helpers/writeOnlyError.js
277
277
  - node_modules/@babel/runtime/package.json
278
278
  - node_modules/@babel/runtime/regenerator/index.js
279
+ - node_modules/redux/CHANGELOG.md
279
280
  - node_modules/redux/LICENSE.md
280
281
  - node_modules/redux/README.md
281
282
  - node_modules/redux/dist/redux.js