Skip to content

Commit c0f2fc6

Browse files
authored
fix(vite): update outdated upstream file links in license comments (#23285)
Co-authored-by: MoonsvnLyn <287222957+FirmaSpring@users.noreply.github.com>
1 parent 3dbddef commit c0f2fc6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/vite/rollupLicensePlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function licensePlugin(
1212
): Plugin {
1313
const originalPlugin = license({
1414
thirdParty(dependencies) {
15-
// https://github.com/rollup/rollup/blob/master/build-plugins/generate-license-file.js
15+
// https://github.com/rollup/rollup/blob/1378cae13b33838de9c8ba9ef9152354f6eed27b/build-plugins/generate-license-file.js
1616
// MIT Licensed https://github.com/rollup/rollup/blob/master/LICENSE-CORE.md
1717
const coreLicense = fs.readFileSync(
1818
new URL('../../LICENSE', import.meta.url),

packages/vite/src/node/optimizer/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ export async function cleanupDepsCacheStaleDirs(
14691469

14701470
// The ISC License
14711471
// Copyright (c) 2011-2022 Isaac Z. Schlueter, Ben Noordhuis, and Contributors
1472-
// https://github.com/isaacs/node-graceful-fs/blob/main/LICENSE
1472+
// https://github.com/isaacs/node-graceful-fs/blob/234379906b7d2f4c9cfeb412d2516f42b0fb4953/LICENSE
14731473

14741474
// On Windows, A/V software can lock the directory, causing this
14751475
// to fail with an EACCES or EPERM if the directory contains newly

packages/vite/src/types/alias.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
Types from https://github.com/rollup/plugins/blob/master/packages/alias/types/index.d.ts
2+
Types from https://github.com/rollup/plugins/blob/4e85ed78cd2e941107fdf0e8e118e7bee550109d/packages/alias/types/index.d.ts
33
Inlined because the plugin is bundled.
44
55
https://github.com/rollup/plugins/blob/master/LICENSE

0 commit comments

Comments
 (0)