@cursor/sdk-win32-x64 1.0.31 → 1.0.32

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cursor/sdk-win32-x64",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "Platform binaries for win32-x64, bundled for @cursor/sdk.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "repository": {
Binary file
@@ -873,8 +873,10 @@ function initializeLanguageNodeClasses(language) {
873
873
 
874
874
  const className = camelCase(typeName, true) + 'Node';
875
875
  const nodeSubclass = eval(`class ${className} extends SyntaxNode {${classBody}}; ${className}`);
876
- nodeSubclass.prototype.type = typeName;
877
- nodeSubclass.prototype.fields = Object.freeze(fieldNames.sort())
876
+ Object.defineProperties(nodeSubclass.prototype, {
877
+ type: {value: typeName, enumerable: true},
878
+ fields: {value: Object.freeze(fieldNames.sort()), enumerable: true},
879
+ });
878
880
  nodeSubclasses[id] = nodeSubclass;
879
881
  }
880
882