smartbear / fake-ap Goto Github PK
View Code? Open in Web Editor NEWA fake AP module to help develop and test Atlassian Connect applications.
License: MIT License
A fake AP module to help develop and test Atlassian Connect applications.
License: MIT License
Hi,
Am I wrong that there is no way to build a GET request with BackendRequestAdapter ?
I need for exampel get a list of projects:
/rest/api/3/project
Regards
Mik
a CSS selector parser
Library home page: https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz
Path to dependency file: fake-ap/package.json
Path to vulnerable library: fake-ap/node_modules/css-what
Dependency Hierarchy:
Found in base branch: master
The css-what package before 5.0.1 for Node.js does not ensure that attribute parsing has Linear Time Complexity relative to the size of the input.
Publish Date: 2021-05-28
URL: CVE-2021-33587
Base Score Metrics:
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33587
Release Date: 2021-05-28
Fix Resolution: css-what - 5.0.1
Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
Library home page: https://registry.npmjs.org/ws/-/ws-6.2.1.tgz
Path to dependency file: fake-ap/package.json
Path to vulnerable library: fake-ap/node_modules/ws
Dependency Hierarchy:
Found in HEAD commit: eeea678b6a73f5489b1426bfa7057cdd69d3a5ce
Found in base branch: master
ws is an open source WebSocket client and server library for Node.js. A specially crafted value of the Sec-Websocket-Protocol
header can be used to significantly slow down a ws server. The vulnerability has been fixed in [email protected] (websockets/ws@00c425e). In vulnerable versions of ws, the issue can be mitigated by reducing the maximum allowed length of the request headers using the --max-http-header-size=size
and/or the maxHeaderSize
options.
Publish Date: 2021-05-25
URL: CVE-2021-32640
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-6fc8-4gx4-v693
Release Date: 2021-05-25
Fix Resolution: ws - 7.4.6
JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.
Library home page: https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz
Path to dependency file: fake-ap/package.json
Path to library: fake-ap/node_modules/node-forge
Dependency Hierarchy:
Found in HEAD commit: 5d4091219faa2629c85cf8e6ec78114fc4a3a4c7
Found in base branch: master
BSD 3
License Reference File: https://github.com/digitalbazaar/forge/blob/0.10.0/LICENSE
GPL 2.0
License Reference File: https://github.com/digitalbazaar/forge/blob/0.10.0/README.md
⛔ License Policy Violation - No GPL
Hi there,
First, I would like to thank everyone that contributed to this project!
It simplifies quite a lot the tests of our Atlassian Connect apps so that's amazing.
I'm creating an issue, because our security audit workflow indicates a moderate vulnerability coming from this package due to a dependency on a vulnerable version of axios
(^0.26.0
). To be clear, I don't worry too much about that because it's a dev dependency only used for testing. However, I see that there were quite a lot of dependency updates since the last release (v3.0.0
) so I was wondering if we could get a fresh new release?
Cheers! 🎉
This library has a dependency on node stream
, node crypto
and node url
modules. When used in my project I was forced to provide fallbacks using Webpack.
Is there any way we can remove these dependencies @mcoqblin-hiptest? They seem to be deps on atlassian-jwt
package.
TypeError: Class constructor RequestAdapter cannot be invoked without 'new'
not sure what i have to change for this to work...
import { RequestAdapter } from '@smartbear/fake-ap';
const apiMock = {
jiraUser: {
displayName: 'test-account',
avatarUrls: {
'32x32' : ''
}
},
issues: [ ],
fields: [ ],
configuration: {}
};
class MockBackend extends RequestAdapter {
constructor() {
super()
}
async request() {
console.log('request!');
return {
body: `${JSON.stringify(apiMock)}`
};
}
}
export default MockBackend
An abstract-encoding compliant module for encoding / decoding DNS packets
Library home page: https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.1.tgz
Path to dependency file: fake-ap/package.json
Path to vulnerable library: fake-ap/node_modules/dns-packet
Dependency Hierarchy:
Found in base branch: master
This affects the package dns-packet before 5.2.2. It creates buffers with allocUnsafe and does not always fill them before forming network packets. This can expose internal application memory over unencrypted network when querying crafted invalid domain names.
Publish Date: 2021-05-20
URL: CVE-2021-23386
Base Score Metrics:
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23386
Release Date: 2021-05-20
Fix Resolution: dns-packet - 5.2.2
Node.js path.parse() ponyfill
Library home page: https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz
Path to dependency file: fake-ap/package.json
Path to vulnerable library: fake-ap/node_modules/path-parse
Dependency Hierarchy:
Found in base branch: master
All versions of package path-parse are vulnerable to Regular Expression Denial of Service (ReDoS) via splitDeviceRe, splitTailRe, and splitPathRe regular expressions. ReDoS exhibits polynomial worst-case time complexity.
Publish Date: 2021-05-04
URL: CVE-2021-23343
Base Score Metrics:
Type: Upgrade version
Origin: jbgutierrez/path-parse#8
Release Date: 2021-05-04
Fix Resolution: path-parse - 1.0.7
Strips glob magic from a string to provide the parent directory path
Library home page: https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz
Path to dependency file: fake-ap/package.json
Path to vulnerable library: fake-ap/node_modules/glob-parent
Dependency Hierarchy:
Found in base branch: master
This affects the package glob-parent before 5.1.2. The enclosure regex used to check for strings ending in enclosure containing path separator.
Publish Date: 2021-06-03
URL: CVE-2020-28469
Base Score Metrics:
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28469
Release Date: 2021-06-03
Fix Resolution: glob-parent - 5.1.2
HTTP and HTTPS modules that follow redirects.
Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/follow-redirects/package.json
Dependency Hierarchy:
Found in HEAD commit: 06cf30c9725d61e4d88272554475357f16bc8394
Found in base branch: master
follow-redirects is vulnerable to Exposure of Private Personal Information to an Unauthorized Actor
Publish Date: 2022-01-10
URL: CVE-2022-0155
Base Score Metrics:
Type: Upgrade version
Origin: https://huntr.dev/bounties/fc524e4b-ebb6-427d-ab67-a64181020406/
Release Date: 2022-01-10
Fix Resolution: follow-redirects - v1.14.7
Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset
Library home page: https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz
Path to dependency file: fake-ap/package.json
Path to vulnerable library: fake-ap/node_modules/browserslist
Dependency Hierarchy:
Found in HEAD commit: 5b6fb12fa18f1dfe12ace4adb4be43c9b301cd48
Found in base branch: master
The package browserslist from 4.0.0 and before 4.16.5 are vulnerable to Regular Expression Denial of Service (ReDoS) during parsing of queries.
Publish Date: 2021-04-28
URL: CVE-2021-23364
Base Score Metrics:
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23364
Release Date: 2021-04-28
Fix Resolution: browserslist - 4.16.5
Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab
Library home page: https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz
Path to dependency file: fake-ap/package.json
Path to vulnerable library: fake-ap/node_modules/hosted-git-info
Dependency Hierarchy:
Found in HEAD commit: 5b6fb12fa18f1dfe12ace4adb4be43c9b301cd48
Found in base branch: master
The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl function in index.js. The affected regular expression exhibits polynomial worst-case time complexity.
Publish Date: 2021-03-23
URL: CVE-2021-23362
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-43f8-2h32-f4cj
Release Date: 2021-03-23
Fix Resolution: hosted-git-info - 2.8.9,3.0.8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.