Skip to content

Commit

Permalink
Do not run on Node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Jul 1, 2022
1 parent 2d5cd6a commit 8b76631
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['10', '12', '18']
node: ['12', '18']
name: Node ${{ matrix.node }} (Linux)
steps:
- name: Checkout Commit
Expand All @@ -78,7 +78,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
node: ['12', '16']
node: ['12', '18']
name: Node ${{ matrix.node }} (macOS)
steps:
- name: Checkout Commit
Expand All @@ -98,7 +98,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
node: ['10', '16']
node: ['12', '18']
name: Node ${{ matrix.node }} (Windows)
steps:
- name: Checkout Commit
Expand Down
2 changes: 1 addition & 1 deletion src/finalisers/amd.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type { Bundle as MagicStringBundle } from 'magic-string';
import type { NormalizedOutputOptions } from '../rollup/types';
import type { FinaliserOptions } from './index';
import getCompleteAmdId from './shared/getCompleteAmdId';
import { getExportBlock, getNamespaceMarkers } from './shared/getExportBlock';
import getInteropBlock from './shared/getInteropBlock';
import removeExtensionFromRelativeAmdId from './shared/removeExtensionFromRelativeAmdId';
import warnOnBuiltins from './shared/warnOnBuiltins';
import type { FinaliserOptions } from './index';

export default function amd(
magicString: MagicStringBundle,
Expand Down
2 changes: 1 addition & 1 deletion src/finalisers/iife.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import type { Bundle as MagicStringBundle } from 'magic-string';
import type { NormalizedOutputOptions } from '../rollup/types';
import { error } from '../utils/error';
import { isLegal } from '../utils/identifierHelpers';
import type { FinaliserOptions } from './index';
import { getExportBlock, getNamespaceMarkers } from './shared/getExportBlock';
import getInteropBlock from './shared/getInteropBlock';
import { keypath } from './shared/sanitize';
import setupNamespace from './shared/setupNamespace';
import trimEmptyImports from './shared/trimEmptyImports';
import warnOnBuiltins from './shared/warnOnBuiltins';
import type { FinaliserOptions } from './index';

export default function iife(
magicString: MagicStringBundle,
Expand Down
2 changes: 1 addition & 1 deletion src/finalisers/umd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { Bundle as MagicStringBundle } from 'magic-string';
import type { NormalizedOutputOptions } from '../rollup/types';
import { error } from '../utils/error';
import type { GenerateCodeSnippets } from '../utils/generateCodeSnippets';
import type { FinaliserOptions } from './index';
import getCompleteAmdId from './shared/getCompleteAmdId';
import { getExportBlock, getNamespaceMarkers } from './shared/getExportBlock';
import getInteropBlock from './shared/getInteropBlock';
Expand All @@ -11,6 +10,7 @@ import { keypath } from './shared/sanitize';
import { assignToDeepVariable } from './shared/setupNamespace';
import trimEmptyImports from './shared/trimEmptyImports';
import warnOnBuiltins from './shared/warnOnBuiltins';
import type { FinaliserOptions } from './index';

function globalProp(
name: string | false | undefined,
Expand Down

0 comments on commit 8b76631

Please sign in to comment.