Skip to content

chore(deps): update dependency @hitc/netsuite-types to v2026.2.9 - #151

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/hitc-netsuite-types-2026.x
Nov 21, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/hitc-netsuite-types-2026.x

Conversation

@renovate

@renovate renovate Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@hitc/netsuite-types 2026.2.8 → 2026.2.9 age confidence

Release Notes

headintheclouddev/typings-suitescript-2.1 (@​hitc/netsuite-types)

v2026.2.9

Compare Source

Breaking changes (strict mode)

A client record's id can be an empty string (#​467, @​simeon-unicare)

In the browser, a client script's current record has an id of '' while it's being created or copied, not null. ClientCurrentRecord.id is now number | '' | null, while Record.id stays number | null. Code that tests id === null to spot a new record treats a new client record as saved, and the compiler now flags it:

const recordId = context.currentRecord.id;
if (recordId) {
  // Saved record: recordId is a number here
}

Script.getParameter() can return null or undefined (#​470, @​tim88435)

Oracle documents the return type as number | Date | string | boolean | null | undefined, such as for a parameter that isn't set on the deployment. Casts like getParameter({ name: 'custscript_folder' }) as number still compile. Calling a method directly on the result, such as .toString(), now needs a check.

New
  • Enum values: 674 members of 64 enums now have the string values NetSuite uses, read at runtime on NetSuite 2026.2, so hovers and template literal types such as `${file.Encoding}` show the real strings, and a member can be passed where a string is expected (#​468, @​simeon-unicare). Many values aren't their keys: config.Type.FEATURES is 'companyfeatures', and query.PeriodCode.LAST_FISCAL_YEAR is 'LFY'. The modules are cache, certificateControl, compress, config, crypto, crypto/certificate, documentCapture, encode, file, format/i18n, http, pgp, query, recordContext, render, runtime, search, sftp, ui/serverWidget, url, workbook and xml. Only code that treats a member as a number stops compiling.
Documentation
  • @throws, @governance and @since tags for N/task (#​447, @​nemchik).
  • N/search: Search.columns explains that reading it returns search.Column objects, even for columns assigned as strings, and is null for a search created without columns (#​238).
  • isNew on a record is false in a user event's beforeLoad for a copy and in beforeSubmit for a create, so the doc comment suggests testing id instead (#​467, @​simeon-unicare).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) November 21, 2026 00:21
@renovate

renovate Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: package-lock.json

npm --before could not be enforced because existing locked packages were published after the minimumReleaseAge cutoff. This will resolve after the next lock file maintenance run.

@renovate
renovate Bot merged commit acbf631 into main Nov 21, 2026
8 of 9 checks passed
@renovate
renovate Bot deleted the renovate/hitc-netsuite-types-2026.x branch November 21, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants