Skip to content

Commit b17afb8

Browse files
committed
fix: use ES-Module memoizee fork
1 parent 57e4019 commit b17afb8

23 files changed

+94
-169
lines changed

dist/legacy/gcc_matcher.json

-17
This file was deleted.

dist/legacy/llvm_matcher.json

-17
This file was deleted.

dist/legacy/msvc_matcher.json

-18
This file was deleted.

dist/legacy/python_matcher.json

-18
This file was deleted.

dist/modern/assets/actions_python-mhNRejTS.mjs

-2
This file was deleted.

dist/modern/assets/hdi-CLiriP2M.mjs

-2
This file was deleted.

dist/modern/assets/hdi-CLiriP2M.mjs.map

-1
This file was deleted.

dist/modern/assets/proxy-agent-CtreyBpw.mjs

-2
This file was deleted.

dist/modern/assets/proxy-agent-CtreyBpw.mjs.map

-1
This file was deleted.

dist/modern/gcc_matcher.json

-17
This file was deleted.

dist/modern/llvm_matcher.json

-17
This file was deleted.

dist/modern/msvc_matcher.json

-18
This file was deleted.

dist/modern/python_matcher.json

-18
This file was deleted.

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@
208208
"pnpm": {
209209
"patchedDependencies": {
210210
"@actions/[email protected]": "patches/@[email protected]"
211+
},
212+
"overrides": {
213+
"memoizee": "https://github.com/aminya/memoizee#fa36fc6f8bf3c8d3160f4731826c9db5b7d5e632"
211214
}
212215
}
213216
}

packages/envosman/src/rc-file.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function sourceRCInRc_(options: RcOptions) {
3838
/**
3939
* handles adding conditions to source rc file from .bashrc and .profile
4040
*/
41-
export const sourceRCInRc = memoize(sourceRCInRc_, { promise: true })
41+
export const sourceRCInRc = await memoize(sourceRCInRc_, { promise: true })
4242

4343
async function addRCHeader(options: RcOptions) {
4444
// a variable that prevents source rc from being called from .bashrc and .profile

packages/setup-apt/src/init-apt.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ export async function initApt(apt: string) {
2525
}
2626

2727
/** Install gnupg and certificates (usually missing from docker containers) (memoized) */
28-
export const initAptMemoized = memoize(initApt, { promise: true })
28+
export const initAptMemoized = await memoize(initApt, { promise: true })

packages/setup-apt/src/update.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ export function updateAptRepos(apt: string = getApt()) {
2424
* Update the apt repositories (memoized)
2525
* @param apt The apt command to use (optional)
2626
*/
27-
export const updateAptReposMemoized = memoize(updateAptRepos)
27+
export const updateAptReposMemoized = await memoize(updateAptRepos)

0 commit comments

Comments
 (0)