diff --git a/__tests__/unit/jsx/utils/is-number.test.ts b/__tests__/unit/jsx/utils/is-number.test.ts index a1cc8858..f9279ded 100644 --- a/__tests__/unit/jsx/utils/is-number.test.ts +++ b/__tests__/unit/jsx/utils/is-number.test.ts @@ -84,7 +84,6 @@ describe('is-number utils', () => { it('should return false for BigInt', () => { expect(isNumber(BigInt(42))).toBe(false); - expect(isNumber(42n)).toBe(false); }); it('should handle edge cases with Number constructor', () => { diff --git a/package.json b/package.json index c4423849..76a54e04 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@antv/infographic", - "version": "0.2.11", + "version": "0.2.12", "description": "An Infographic Generation and Rendering Framework, bring words to life!", "keywords": [ "antv", diff --git a/src/version.ts b/src/version.ts index cedef9d3..949cc7ac 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.2.11'; +export const VERSION = '0.2.12'; diff --git a/tsconfig.json b/tsconfig.json index e415a338..fe11a3cf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ "rootDir": "./src", "skipLibCheck": true, "strict": true, - "target": "ES2020", + "target": "es6", "types": ["node"], "resolveJsonModule": true, "paths": {