diff --git a/ChangeLog b/ChangeLog index 20d9f13..ffea3da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024.06.03, v5.14.0 + +feature: +- 7e81e0e goldstein: keyword-assign-from: add + 2024.06.03, v5.13.2 fix: diff --git a/package.json b/package.json index 7065b84..6f5a58a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "goldstein", - "version": "5.13.2", + "version": "5.14.0", "type": "module", "author": "coderaiser (https://github.com/coderaiser)", "description": "JavaScript with no limits", diff --git a/packages/goldstein/index.spec.js b/packages/goldstein/index.spec.js index 809567f..29b6395 100644 --- a/packages/goldstein/index.spec.js +++ b/packages/goldstein/index.spec.js @@ -502,13 +502,10 @@ test('goldstein: compile: parse-maybe-array', (t) => { a += [1]; `; - const [error, result] = tryCatch(compile, source, { + const [error] = tryCatch(compile, source, { keywords: {}, }); - console.log(error, result); - t.equal(error.message, `☝️Looks like 'keyword-add-array' is missing.`); t.end(); }); - diff --git a/packages/internal-parse-maybe-assign/index.spec.js b/packages/internal-parse-maybe-assign/index.spec.js index f988286..6c30819 100644 --- a/packages/internal-parse-maybe-assign/index.spec.js +++ b/packages/internal-parse-maybe-assign/index.spec.js @@ -1,13 +1,8 @@ import {createTest} from '../test/index.js'; -import keywordFn from './index.js'; import ts from 'acorn-typescript'; import internalParseMaybeAssign from '../internal-parse-maybe-assign/index.js'; -const test = createTest( - import.meta.url, - ts(), - internalParseMaybeAssign, -); +const test = createTest(import.meta.url, ts(), internalParseMaybeAssign); test('goldstein: keyword: assign-from: raise: add-array', (t) => { t.raise('add-array', `☝️Looks like 'keyword-add-array' is missing.`);