Repository navigation
chore(deps): update dependency @hitc/netsuite-types to v2026.2.9 - #151
Merged
Merged
Conversation
Contributor
Author
ℹ️ Artifact update noticeFile name: package-lock.jsonnpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2026.2.8→2026.2.9Release Notes
headintheclouddev/typings-suitescript-2.1 (@hitc/netsuite-types)
v2026.2.9Compare Source
Breaking changes (strict mode)
A client record's
idcan be an empty string (#467, @simeon-unicare)In the browser, a client script's current record has an
idof''while it's being created or copied, notnull.ClientCurrentRecord.idis nownumber | '' | null, whileRecord.idstaysnumber | null. Code that testsid === nullto spot a new record treats a new client record as saved, and the compiler now flags it:Script.getParameter()can returnnullorundefined(#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 likegetParameter({ name: 'custscript_folder' }) as numberstill compile. Calling a method directly on the result, such as.toString(), now needs a check.New
`${file.Encoding}`show the real strings, and a member can be passed where astringis expected (#468, @simeon-unicare). Many values aren't their keys:config.Type.FEATURESis'companyfeatures', andquery.PeriodCode.LAST_FISCAL_YEARis'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,@governanceand@sincetags for N/task (#447, @nemchik).Search.columnsexplains that reading it returnssearch.Columnobjects, even for columns assigned as strings, and is null for a search created without columns (#238).isNewon a record is false in a user event's beforeLoad for a copy and in beforeSubmit for a create, so the doc comment suggests testingidinstead (#467, @simeon-unicare).Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.