Skip to content

Commit 165afed

Browse files
pkg: Update build packages (#3353)
* pkg: Update build packages * enhance: Polyfills no longer pollute global scope --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathaniel Tucker <me@ntucker.me>
1 parent 0fe6a8d commit 165afed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2087
-1598
lines changed

.changeset/wet-ravens-report.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@data-client/use-enhanced-reducer': patch
3+
'@data-client/normalizr': patch
4+
'@data-client/endpoint': patch
5+
'@data-client/graphql': patch
6+
'@data-client/react': patch
7+
'@data-client/core': patch
8+
'@data-client/rest': patch
9+
'@data-client/test': patch
10+
'@data-client/img': patch
11+
---
12+
13+
Polyfills no longer pollute global scope

.github/renovate.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"enabled": false
2323
},
2424
{
25-
"matchPackageNames": ["@babel/runtime", "core-js", "core-js-compat"],
25+
"matchPackageNames": ["@babel/runtime", "@babel/runtime-corejs3", "core-js", "core-js-pure", "core-js-compat"],
2626
"matchDepTypes": ["dependencies"],
2727
"rangeStrategy": "replace"
2828
},
@@ -69,7 +69,10 @@
6969
"matchUpdateTypes": ["major", "minor", "patch"],
7070
"matchPackageNames": [
7171
"@anansi/babel-preset",
72+
"@babel/runtime",
73+
"@babel/runtime-corejs3",
7274
"core-js",
75+
"core-js-pure",
7376
"core-js-compat"
7477
],
7578
"groupSlug": "build",

babel.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ const fs = require('fs');
33
const path = require('path');
44

55
module.exports = function (api) {
6-
api.cache.using(() => process.env.NODE_ENV);
6+
api.cache.using(
7+
() => process.env.NODE_ENV + process.env.BROWSERSLIST_ENV + '0',
8+
);
79
return {
810
presets: [
911
[

examples/benchmark/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"devDependencies": {
2828
"@anansi/webpack-config": "^20.0.0",
29-
"@babel/core": "7.26.0",
29+
"@babel/core": "7.26.9",
3030
"@babel/node": "7.26.0",
3131
"@types/babel__core": "^7",
3232
"@types/benchmark": "2.1.5",

examples/coin-app/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"anansi"
2525
],
2626
"devDependencies": {
27-
"@anansi/babel-preset": "^6.0.0",
27+
"@anansi/babel-preset": "^6.1.6",
2828
"@anansi/browserslist-config": "^1.4.3",
2929
"@anansi/webpack-config": "^20.0.0",
3030
"@babel/core": "^7.22.15",
@@ -44,10 +44,11 @@
4444
"@anansi/cli": "^3.0.15",
4545
"@anansi/core": "^0.20.0",
4646
"@anansi/router": "^0.10.0",
47-
"@babel/runtime": "^7.22.15",
47+
"@babel/runtime-corejs3": "^7.26.7",
4848
"@data-client/img": "^0.14.0",
4949
"@data-client/react": "^0.14.0",
5050
"@data-client/rest": "^0.14.0",
51+
"core-js": "^3.40.0",
5152
"d3": "^7.9.0",
5253
"history": "*",
5354
"react": "^19.0.0",

0 commit comments

Comments
 (0)