editcodewithai 2.2.0 → 2.3.0

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.
Files changed (2) hide show
  1. package/dist/prompt.js +3 -1
  2. package/package.json +4 -4
package/dist/prompt.js CHANGED
@@ -22,7 +22,9 @@ exports.FORMAT_INSTRUCTIONS = {
22
22
  "**fileToDelete.js**\n\n```\n```\n\n",
23
23
  "For D3 logic, make sure it remains idempotent (use data joins), ",
24
24
  "and prefer function signatures like `someFunction(selection, options)` ",
25
- "where `selection` is a D3 selection and `options` is an object.\n\n",
25
+ "where `selection` is a D3 selection and `options` is an object. ",
26
+ 'Only import from the top-level `"d3"` module, not from submodules ',
27
+ '(e.g. imports from `"d3-scale"` or `"d3-shape"` are not supported).\n\n',
26
28
  ].join(""),
27
29
  diff: [
28
30
  "## Formatting Instructions\n\n",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "editcodewithai",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Edit Code With AI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -43,7 +43,7 @@
43
43
  "@vizhub/viz-types": "^0.3.0",
44
44
  "@vizhub/viz-utils": "^1.3.0",
45
45
  "dotenv": "^17.2.0",
46
- "llm-code-format": "^2.0.1"
46
+ "llm-code-format": "^3.0.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@langchain/core": "^0.3.66",
@@ -51,9 +51,9 @@
51
51
  "langchain": "^0.3.30",
52
52
  "cors": "^2.8.5",
53
53
  "express": "^5.1.0",
54
- "npm-check-updates": "^18.0.1",
54
+ "npm-check-updates": "^18.0.2",
55
55
  "prettier": "^3.6.2",
56
- "puppeteer": "^24.14.0",
56
+ "puppeteer": "^24.15.0",
57
57
  "ts-node": "^10.9.2",
58
58
  "typescript": "^5.8.3",
59
59
  "vitest": "^3.2.4"