fix(static-module-record): ESM compatibility
MODIFY
packages/static-module-record/src/transformSource.js
packages/static-module-record/src/transformSource.js
import * as babelParser from '@babel/parser';
import babelGenerate from '@agoric/babel-generator';
import babelTraverse from '@babel/traverse';
-import babelTypes from '@babel/types';
+import * as babelTypes from '@babel/types';
const parseBabel = babelParser.default
? babelParser.default.parse

MODIFY
packages/static-module-record/test/fixtures/small.js
packages/static-module-record/test/fixtures/small.js
@@ -3,7 +3,7 @@ console.error("This is a code sample for trying out babel transforms, it's not m
import * as babelParser from '@babel/parser';
import babelGenerate from '@agoric/babel-generator';
import babelTraverse from '@babel/traverse';
-import babelTypes from '@babel/types';
+import * as babelTypes from '@babel/types';
import makeModulePlugins from './babelPlugin.js';

fix(static-module-record): ESM compatibility (#1466)