
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
ccnq-ko-rule-gwlist
Advanced tools
module.exports = (require 'kow') 'rule-gwlist', (ko) ->
@data class RuleGwlist
constructor: (gwlist) ->
gwlist ?= []
@gwlist = ko.observableArray gwlist.map (data) ->
new RuleTarget data
return
toJS: ->
@gwlist.remove (x) -> !x._validated()
ko.toJS @gwlist
@view ({value,ko}) ->
# assert value instanceof RuleGwlist, 'value should be an instance of RuleGwlist'
assert value?, 'value is required'
@notify = ko.observable ''
Add a new (empty) target.
FIXME: should select a default type based on existing targets (e.g. only one source_registrant makes sense).
@add_gw = =>
@gwlist.push new RuleTarget {}
Remove an existing target.
@remove_gw = (target) =>
@gwlist.remove target
return
@html ({p,div,text,label,input,datalist,option,ul,li,button,tag}) ->
datalist '#gateway', bind: foreach: '$root.gateways', ->
option bind: value: '$data'
datalist '#carrier', bind: foreach: '$root.carriers', ->
option bind: value: '$data'
div bind: foreach: 'gwlist', ->
div ->
rule_target '$data'
button bind: click: '$parent.remove_gw', 'Remove'
button bind: click: 'add_gw', 'Add'
Extend Knockout witht the rule-target component/tag.
{RuleTarget,rule_target} = (require 'ccnq-ko-rule-target') ko
assert = require 'assert'
FAQs
CCNQ Knockout Widget for gwlist management
The npm package ccnq-ko-rule-gwlist receives a total of 0 weekly downloads. As such, ccnq-ko-rule-gwlist popularity was classified as not popular.
We found that ccnq-ko-rule-gwlist demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.