Installations
npm install @lxsmnsyc/preact-scoped-model
Developer Guide
Typescript
Yes
Module System
CommonJS
Min. Node Version
>=10
Node Version
14.9.0
NPM Version
lerna/3.22.1/node@v14.9.0+x64 (win32)
Score
76
Supply Chain
76
Quality
75.2
Maintenance
100
Vulnerability
100
License
Releases
v2.0.0
Published on 04 Apr 2021
graph-state@0.5.0
Published on 03 Nov 2020
swr-graph-state@0.5.0
Published on 03 Nov 2020
swr-graph-state@0.4.0
Published on 23 Oct 2020
graph-state@0.2.0
Published on 13 Oct 2020
preact-scoped-model@0.3.0
Published on 09 Oct 2020
Contributors
Unable to fetch Contributors
Languages
TypeScript (78.08%)
Reason (11.34%)
JavaScript (10.53%)
C++ (0.05%)
Developer
LXSMNSYC
Download Statistics
Total Downloads
1,275
Last Day
1
Last Week
2
Last Month
4
Last Year
130
GitHub Statistics
23 Stars
684 Commits
3 Watching
6 Branches
1 Contributors
Bundle Size
6.08 kB
Minified
2.12 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.2.2
Package Id
@lxsmnsyc/preact-scoped-model@0.2.2
Unpacked Size
485.91 kB
Size
48.00 kB
File Count
80
NPM Version
lerna/3.22.1/node@v14.9.0+x64 (win32)
Node Version
14.9.0
Total Downloads
Cumulative downloads
Total Downloads
1,275
Last day
0%
1
Compared to previous day
Last week
0%
2
Compared to previous week
Last month
-55.6%
4
Compared to previous month
Last year
-50%
130
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
@lxsmnsyc/preact-scoped-model
Scoped Model pattern in Preact (but with Hooks)
Features
- Contextual State: Inject state into your component tree.
- Composition: Write states as if you are writing components, use Preact Hooks to compose state logic.
- Granular control: Only watch updates you need, not when the whole state updates.
Install
1npm install --save @lxsmnsyc/preact-scoped-model
1yarn add @lxsmnsyc/preact-scoped-model
Documentation
License
MIT © lxsmnsyc
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Info: no jobLevel write permissions found
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/lxsmnsyc/scoped-model/main.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/lxsmnsyc/scoped-model/main.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/lxsmnsyc/scoped-model/main.yml/master?enable=pin
- Info: 0 out of 3 GitHub-owned GitHubAction dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
32 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq
- Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5
- Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j
- Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-3j8f-xvm3-ffx4
- Warn: Project is vulnerable to: GHSA-4p35-cfcx-8653
- Warn: Project is vulnerable to: GHSA-7f3x-x4pr-wqhj
- Warn: Project is vulnerable to: GHSA-jpp7-7chh-cf67
- Warn: Project is vulnerable to: GHSA-q6wq-5p59-983w
- Warn: Project is vulnerable to: GHSA-j9fq-vwqv-2fm2
- Warn: Project is vulnerable to: GHSA-pqw5-jmp5-px4v
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-mv48-hcvh-8jj8
- Warn: Project is vulnerable to: GHSA-353f-5xf4-qw67
- Warn: Project is vulnerable to: GHSA-c24v-8rfc-w8vw
- Warn: Project is vulnerable to: GHSA-8jhw-289h-jh2g
- Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3
- Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
Score
2.5
/10
Last Scanned on 2024-12-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More