Skip to content

Commit

Permalink
Update Yarn and Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Jan 25, 2024
1 parent 3853142 commit e6313b0
Show file tree
Hide file tree
Showing 8 changed files with 5,283 additions and 5,231 deletions.
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.1.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
compressionLevel: mixed

enableGlobalCache: false

enableTransparentWorkspaces: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.6.1.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"eslint": "^8.12.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-prettier": "^5.1.3",
"fancy-log": "^1.3.3",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
Expand All @@ -50,7 +50,7 @@
"jest": "^27.0.0",
"lerna": "^3.20.2",
"lodash": "^4.17.15",
"prettier": "^2.6.1",
"prettier": "^3.2.4",
"rimraf": "^2.6.3",
"rollup": "^2.42.3",
"through2": "^2.0.0",
Expand Down Expand Up @@ -93,5 +93,5 @@
}
},
"version": "0.0.0",
"packageManager": "yarn@3.6.1"
"packageManager": "yarn@4.0.2"
}
4 changes: 2 additions & 2 deletions packages/babel-plugin-polyfill-corejs2/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export default defineProvider<Options>(function (
const coreJSBase = useBabelRuntime
? `${BABEL_RUNTIME}/core-js`
: method === "usage-pure"
? "core-js/library/fn"
: "core-js/modules";
? "core-js/library/fn"
: "core-js/modules";

function inject(name: string | string[], utils) {
if (typeof name === "string") {
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-plugin-polyfill-corejs3/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ export default defineProvider<Options>(function (
? `${BABEL_RUNTIME}/core-js`
: `${BABEL_RUNTIME}/core-js-stable`
: useProposalBase
? "core-js-pure/features"
: "core-js-pure/stable";
? "core-js-pure/features"
: "core-js-pure/stable";
}

function maybeInjectGlobalImpl(name: string, utils) {
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-plugin-polyfill-es-shims/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ export default defineProvider<{}>(function ({
isGetter
? expr`${id}(${t.cloneNode(tmp)})`
: isCall
? id
: expr`${id}.getPolyfill()`,
? id
: expr`${id}.getPolyfill()`,
replacement,
);

Expand Down
Loading

0 comments on commit e6313b0

Please sign in to comment.