Skip to content

feat: JavaScript namespaces, JSON-Schema Bundles, Bi-directional JSON-RPC changes#179

Open
jlacivita wants to merge 66 commits intonextfrom
major/rpc
Open

feat: JavaScript namespaces, JSON-Schema Bundles, Bi-directional JSON-RPC changes#179
jlacivita wants to merge 66 commits intonextfrom
major/rpc

Conversation

@jlacivita
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/macrofier/engine.mjs
fContents = fContents.replace(/\$\{module\.init\}/g, Object.values(macros.moduleInit)[0])

Object.keys(macros.moduleInit).forEach(key => {
const regex = new RegExp('\\$\\{module\.init\\:' + key + '\\}', 'gms')

Check failure

Code scanning / CodeQL

Useless regular-expression character escape

The escape sequence '\.' is equivalent to just '.', so the sequence may still represent a meta-character when it is used in a [regular expression](1).
@rdkcmf-jenkins
Copy link
Copy Markdown
Contributor

Coverity detected 1 issue; a quality concern.

Comment thread src/shared/modules.mjs
})

return json
const notifiers = json.methods.filter( m => m.tags && m.tags.find(t => t.name == 'notifier')) || []
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Medium impact. Quality issue.
Control flow issues. Structurally dead code.
Code block is unreachable because of the syntactic structure of the code
Actions intended to be performed by the unreachable code will never occur.

@rdkcmf-jenkins
Copy link
Copy Markdown
Contributor

Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/firebolt-openrpc/179/rdkcentral/firebolt-openrpc

  • Commit: 131dbb1

Report detail: gist

@rdkcmf-jenkins
Copy link
Copy Markdown
Contributor

WARNING: A Blackduck scan failure has been waived

A prior failure has been upvoted

  • Upvote reason: OK

  • Commit: 131dbb1

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.

4 participants