Skip to content

Commit

Permalink
Merge pull request reduxjs#4058 from reduxjs/feature/4x-remove-legacy…
Browse files Browse the repository at this point in the history
…-deps

Former-commit-id: 5bbb6a0
  • Loading branch information
markerikson committed Apr 2, 2021
2 parents 4258ba7 + e4a9dce commit f2d21c5
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/size.yaml
Expand Up @@ -14,4 +14,4 @@ jobs:
- uses: preactjs/compressed-size-action@v1
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: './{dist,es,lib}/*.js'
pattern: './{dist,es,lib}/*.{js,mjs}'
2 changes: 1 addition & 1 deletion index.d.ts.REMOVED.git-id
@@ -1 +1 @@
b00c6f0885b9df7bf80500d9545dfb59f400a42c
4a4d4e0ad5d994d636d2afd5192306c8dd70f596
2 changes: 1 addition & 1 deletion package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions package.json
Expand Up @@ -49,8 +49,6 @@
"examples:test": "cross-env CI=true babel-node examples/testAll.js"
},
"dependencies": {
"loose-envify": "^1.4.0",
"symbol-observable": "^2.0.3",
"@babel/runtime": "^7.9.2"
},
"devDependencies": {
Expand Down Expand Up @@ -102,11 +100,6 @@
]
}
],
"browserify": {
"transform": [
"loose-envify"
]
},
"jest": {
"testRegex": "(/test/.*\\.spec\\.[tj]s)$",
"coverageProvider": "v8"
Expand Down
2 changes: 1 addition & 1 deletion src/createStore.js.REMOVED.git-id
@@ -1 +1 @@
5326a52ff8a82cca2a564d2f5b6eaf16396411f7
5e64e323d14cc929593b4d0d8cac6d54836a1106
3 changes: 3 additions & 0 deletions src/utils/symbol-observable.js
@@ -0,0 +1,3 @@
// Inlined version of the `symbol-observable` polyfill
export default (() =>
(typeof Symbol === 'function' && Symbol.observable) || '@@observable')()
2 changes: 1 addition & 1 deletion test/createStore.spec.js.REMOVED.git-id
@@ -1 +1 @@
dcbf65cf3e5d3da0bf7bd0a1934b8951120f395c
5ed9246bdc5adef07d260e6c68df755628555810
3 changes: 2 additions & 1 deletion test/typescript/store.ts
Expand Up @@ -9,7 +9,8 @@ import {
Unsubscribe,
Observer,
} from 'redux'
import 'symbol-observable'
// @ts-ignore
import $$observable from '../src/utils/symbol-observable'

type BrandedString = string & { _brand: 'type' }
const brandedString = 'a string' as BrandedString
Expand Down

0 comments on commit f2d21c5

Please sign in to comment.