Gathering detailed insights and metrics for stackframe
Gathering detailed insights and metrics for stackframe
Gathering detailed insights and metrics for stackframe
Gathering detailed insights and metrics for stackframe
@stackframe/stack
## [📘 Docs](https://docs.stack-auth.com) | [☁️ Hosted Version](https://stack-auth.com/) | [✨ Demo](https://demo.stack-auth.com/) | [🎮 Discord](https://discord.stack-auth.com) | [GitHub](https://github.com/stack-auth/stack-auth)
@stackframe/stack-sc
@stackframe/stack-shared
@stackframe/stack-ui
npm install stackframe
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
82 Stars
188 Commits
16 Forks
7 Watchers
8 Branches
9 Contributors
Updated on May 07, 2025
Latest Version
1.3.4
Package Id
stackframe@1.3.4
Unpacked Size
23.06 kB
Size
6.29 kB
File Count
8
NPM Version
8.5.0
Node Version
16.15.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Underlies functionality of other modules within stacktrace.js.
Written to closely resemble StackFrame representations in Gecko and V8
1// Create StackFrame and set properties
2var stackFrame = new StackFrame({
3 functionName: 'funName',
4 args: ['args'],
5 fileName: 'http://localhost:3000/file.js',
6 lineNumber: 1,
7 columnNumber: 3288,
8 isEval: true,
9 isNative: false,
10 source: 'ORIGINAL_STACK_LINE'
11 evalOrigin: new StackFrame({functionName: 'withinEval', lineNumber: 2, columnNumber: 43})
12});
13
14stackFrame.functionName // => "funName"
15stackFrame.setFunctionName('newName')
16stackFrame.getFunctionName() // => "newName"
17
18stackFrame.args // => ["args"]
19stackFrame.setArgs([])
20stackFrame.getArgs() // => []
21
22stackFrame.fileName // => 'http://localhost:3000/file.min.js'
23stackFrame.setFileName('http://localhost:3000/file.js')
24stackFrame.getFileName() // => 'http://localhost:3000/file.js'
25
26stackFrame.lineNumber // => 1
27stackFrame.setLineNumber(325)
28stackFrame.getLineNumber() // => 325
29
30stackFrame.columnNumber // => 3288
31stackFrame.setColumnNumber(20)
32stackFrame.getColumnNumber() // => 20
33
34stackFrame.source // => 'ORIGINAL_STACK_LINE'
35stackFrame.setSource('NEW_SOURCE')
36stackFrame.getSource() // => 'NEW_SOURCE'
37
38stackFrame.isEval // => true
39stackFrame.setIsEval(false)
40stackFrame.getIsEval() // => false
41
42stackFrame.isNative // => false
43stackFrame.setIsNative(true)
44stackFrame.getIsNative() // => true
45
46stackFrame.evalOrigin // => StackFrame({functionName: 'withinEval', lineNumber: ...})
47stackFrame.setEvalOrigin({functionName: 'evalFn', fileName: 'anonymous'})
48stackFrame.getEvalOrigin().getFunctionName() // => 'evalFn'
49
50stackFrame.toString() // => 'funName(args)@http://localhost:3000/file.js:325:20'
npm install stackframe
bower install stackframe
https://raw.githubusercontent.com/stacktracejs/stackframe/master/dist/stackframe.min.js
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 0/23 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
29 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
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