firecrawl 0.0.28 → 0.0.30

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.
@@ -4,7 +4,7 @@ function build_and_publish {
4
4
  PACKAGE_NAME=$1
5
5
 
6
6
  # Replace placeholder with the package name in package.json
7
- sed -i '' "s/\"name\": \"PLACEHOLDER_NAME\"/\"name\": \"$PACKAGE_NAME\"/" package.json
7
+ jq --arg name "$PACKAGE_NAME" '.name = $name' package.json > temp.json && mv temp.json package.json
8
8
 
9
9
  # Debug: show modified state
10
10
  echo "Modified package.json for $PACKAGE_NAME:"
@@ -20,7 +20,7 @@ function build_and_publish {
20
20
  fi
21
21
 
22
22
  # Revert the changes to the original placeholder in package.json
23
- sed -i '' "s/\"name\": \"$PACKAGE_NAME\"/\"name\": \"PLACEHOLDER_NAME\"/" package.json
23
+ jq '.name = "PLACEHOLDER_NAME"' package.json > temp.json && mv temp.json package.json
24
24
 
25
25
  # Debug: show reverted state
26
26
  echo "Reverted package.json to placeholder:"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "JavaScript SDK for Firecrawl API",
5
5
  "main": "build/index.js",
6
6
  "types": "types/index.d.ts",