mathitude 0.0.0-dev-202603280606 → 1.1.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mathitude might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/package.json +10 -20
  2. package/postinstall.mjs +4 -4
package/package.json CHANGED
@@ -1,23 +1,13 @@
1
1
  {
2
2
  "name": "mathitude",
3
3
  "bin": {
4
- "mathitude": "./bin/stardrop"
5
- },
6
- "scripts": {
7
- "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
8
- },
9
- "version": "0.0.0-dev-202603280606",
10
- "optionalDependencies": {
11
- "stardrop-linux-arm64": "0.0.0-dev-202603280606",
12
- "stardrop-linux-x64": "0.0.0-dev-202603280606",
13
- "stardrop-linux-x64-baseline": "0.0.0-dev-202603280606",
14
- "stardrop-linux-arm64-musl": "0.0.0-dev-202603280606",
15
- "stardrop-linux-x64-musl": "0.0.0-dev-202603280606",
16
- "stardrop-linux-x64-baseline-musl": "0.0.0-dev-202603280606",
17
- "stardrop-darwin-arm64": "0.0.0-dev-202603280606",
18
- "stardrop-darwin-x64": "0.0.0-dev-202603280606",
19
- "stardrop-darwin-x64-baseline": "0.0.0-dev-202603280606",
20
- "stardrop-windows-x64": "0.0.0-dev-202603280606",
21
- "stardrop-windows-x64-baseline": "0.0.0-dev-202603280606"
22
- }
23
- }
4
+ "mathitude": "./bin/stardrop"
5
+ },
6
+ "scripts": {
7
+ "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
8
+ },
9
+ "version": "1.1.49",
10
+ "optionalDependencies": {
11
+ "mathitude-darwin-arm64": "1.1.49"
12
+ }
13
+ }
package/postinstall.mjs CHANGED
@@ -49,8 +49,8 @@ function detectPlatformAndArch() {
49
49
 
50
50
  function findBinary() {
51
51
  const { platform, arch } = detectPlatformAndArch()
52
- const packageName = `stardrop-${platform}-${arch}`
53
- const binaryName = platform === "windows" ? "stardrop.exe" : "stardrop"
52
+ const packageName = `mathitude-${platform}-${arch}`
53
+ const binaryName = platform === "windows" ? "mathitude.exe" : "mathitude"
54
54
 
55
55
  try {
56
56
  // Use require.resolve to find the package
@@ -89,7 +89,7 @@ function symlinkBinary(sourcePath, binaryName) {
89
89
  const { targetPath } = prepareBinDirectory(binaryName)
90
90
 
91
91
  fs.symlinkSync(sourcePath, targetPath)
92
- console.log(`stardrop binary symlinked: ${targetPath} -> ${sourcePath}`)
92
+ console.log(`mathitude binary symlinked: ${targetPath} -> ${sourcePath}`)
93
93
 
94
94
  // Verify the file exists after operation
95
95
  if (!fs.existsSync(targetPath)) {
@@ -112,7 +112,7 @@ async function main() {
112
112
  console.log(`Platform binary verified at: ${binaryPath}`)
113
113
  console.log("Wrapper script will handle binary execution")
114
114
  } catch (error) {
115
- console.error("Failed to setup stardrop binary:", error.message)
115
+ console.error("Failed to setup mathitude binary:", error.message)
116
116
  process.exit(1)
117
117
  }
118
118
  }