fix: Realign TS, JS, and package names
MODIFY
packages/cjs-module-analyzer/index.d.ts
packages/cjs-module-analyzer/index.d.ts
-export * from './src/main.js';
+export { analyzeCommonJS } from './src/main.js';

MODIFY
packages/cjs-module-analyzer/package.json
packages/cjs-module-analyzer/package.json
{
- "name": "@endo/lexer",
+ "name": "@endo/cjs-module-analyzer",
"version": "0.1.0",
"description": "A JavaScript lexer dedicated to static analysis and transformation of ECMAScript modules.",
"keywords": [],
"author": "Endo contributors",
"license": "Apache-2.0",
- "homepage": "https://github.com/endojs/endo/tree/master/packages/lexer#readme",
+ "homepage": "https://github.com/endojs/endo/tree/master/packages/cjs-module-analyzer#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/endojs/endo.git"

MODIFY
packages/compartment-mapper/package.json
packages/compartment-mapper/package.json
"test": "ava"
},
"dependencies": {
- "@endo/lexer": "^0.1.0",
+ "@endo/cjs-module-analyzer": "^0.1.0",
"@endo/static-module-record": "^0.1.0",
"@endo/zip": "^0.1.0",
"ses": "^0.12.7"

MODIFY
packages/compartment-mapper/src/parse.js
packages/compartment-mapper/src/parse.js
/// <reference types="ses" />
import { StaticModuleRecord } from '@endo/static-module-record';
-import { analyzeCommonJS } from '@endo/lexer';
+import { analyzeCommonJS } from '@endo/cjs-module-analyzer';
import { parseExtension } from './extension.js';
import * as json from './json.js';

fix: Realign TS, JS, and package names (#686)