kn-es-features 1.0.3 → 1.0.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kn-es-features",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "ES2015/2022/2025/2026所有特性的测试案例集合",
5
5
  "keywords": [
6
6
  "es2015",
@@ -20,10 +20,6 @@ export async function testExplicitResourceManagement() {
20
20
  const supported = (() => {
21
21
  try {
22
22
  using cx='cx';
23
- new Function('Symbol', `
24
- const r = { [Symbol.dispose]() {} }
25
- { using x = r }
26
- `)(Symbol)
27
23
  return true
28
24
  } catch { return false }
29
25
  })()