scriptex / touchsweep Goto Github PK
View Code? Open in Web Editor NEWDetect your swipe gestures direction
Home Page: https://touchsweep.atanas.info
License: MIT License
Detect your swipe gestures direction
Home Page: https://touchsweep.atanas.info
License: MIT License
the mighty option parser used by yargs
Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz
Path to dependency file: /tmp/ws-scm/touchsweep/package.json
Path to vulnerable library: /tmp/ws-scm/touchsweep/node_modules/yargs-parser/package.json
Dependency Hierarchy:
Found in HEAD commit: bc8501a85a429794231df230bb280aae1e250ee2
yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "proto" payload.
Publish Date: 2020-03-16
URL: CVE-2020-7608
Base Score Metrics:
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7608
Release Date: 2020-03-16
Fix Resolution: v18.1.1;13.1.2;15.0.1
Step up your Open Source Security Game with WhiteSource here
Get the native type of a value.
Library home page: https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz
Path to dependency file: /tmp/ws-scm/touchsweep/package.json
Path to vulnerable library: /tmp/ws-scm/touchsweep/node_modules/is-number/node_modules/kind-of/package.json
Dependency Hierarchy:
Get the native type of a value.
Library home page: https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz
Path to dependency file: /tmp/ws-scm/touchsweep/package.json
Path to vulnerable library: /tmp/ws-scm/touchsweep/node_modules/has-values/node_modules/kind-of/package.json
Dependency Hierarchy:
Get the native type of a value.
Library home page: https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz
Path to dependency file: /tmp/ws-scm/touchsweep/package.json
Path to vulnerable library: /tmp/ws-scm/touchsweep/node_modules/kind-of/package.json
Dependency Hierarchy:
Get the native type of a value.
Library home page: https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz
Path to dependency file: /tmp/ws-scm/touchsweep/package.json
Path to vulnerable library: /tmp/ws-scm/touchsweep/node_modules/is-descriptor/node_modules/kind-of/package.json
Dependency Hierarchy:
Found in HEAD commit: 7d66bcdf3b5cbdbae2dea3fb1824236c53a219b5
ctorName in index.js in kind-of v6.0.2 allows external user input to overwrite certain internal attributes via a conflicting name, as demonstrated by 'constructor': {'name':'Symbol'}. Hence, a crafted payload can overwrite this builtin attribute to manipulate the type detection result.
Publish Date: 2019-12-30
URL: CVE-2019-20149
Step up your Open Source Security Game with WhiteSource here
It would be nice if this library also allows to do these gestures using a mouse - and still register them as swipe events.
The touch interaction can be emulated in the Developer Tools - but this requested feature is meant to be used by the user.
Extract the non-magic parent path from a glob string.
Library home page: https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/glob-parent/package.json
Dependency Hierarchy:
Found in HEAD commit: 1007a1043644bc2b8c78d8389e7b34c8db21ffe8
Found in base branch: master
The package glob-parent before 6.0.1 are vulnerable to Regular Expression Denial of Service (ReDoS)
Publish Date: 2021-06-22
URL: CVE-2021-35065
Base Score Metrics:
Type: Upgrade version
Origin: gulpjs/glob-parent#49
Release Date: 2021-06-22
Fix Resolution: glob-parent - 6.0.1
Step up your Open Source Security Game with WhiteSource here
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz
Path to dependency file: touchsweep/package.json
Path to vulnerable library: touchsweep/node_modules/lodash/package.json
Dependency Hierarchy:
Found in HEAD commit: d7b01d2e8374ad08ed9593f711f838089423764c
All versions of package lodash; all versions of package org.fujion.webjars:lodash are vulnerable to Command Injection via template.
Publish Date: 2021-02-15
URL: CVE-2021-23337
Base Score Metrics:
Step up your Open Source Security Game with WhiteSource here
I'd say there must be something broken with the built file in dist/
folder in v2. With v1.3 it worked well.
I use ES modules everywhere and typescript (even though it failed in .js file as well).
Output from webpack build with --stats-error-details
:
WARNING in ./node_modules/touchsweep/dist/touchsweep.js 3:24-31
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
at CommonJsRequireContextDependency.getWarnings ([myproject]\node_modules\webpack\lib\dependencies\ContextDependency.js:102:18)
at Compilation.reportDependencyErrorsAndWarnings ([myproject]\node_modules\webpack\lib\Compilation.js:3132:24)
at [myproject]\node_modules\webpack\lib\Compilation.js:2729:28
at eval (eval at create ([myproject]\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:29:1)
at [myproject]\node_modules\webpack\lib\FlagDependencyExportsPlugin.js:385:11
at [myproject]\node_modules\neo-async\async.js:2830:7
at Object.each ([myproject]\node_modules\neo-async\async.js:2850:39)
at [myproject]\node_modules\webpack\lib\FlagDependencyExportsPlugin.js:361:18
at [myproject]\node_modules\neo-async\async.js:2830:7
at Object.each ([myproject]\node_modules\neo-async\async.js:2850:39)
at [myproject]\node_modules\webpack\lib\FlagDependencyExportsPlugin.js:51:16
at Hook.eval [as callAsync] (eval at create ([myproject]\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:25:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] ([myproject]\node_modules\tapable\lib\Hook.js:18:14)
at Compilation.finish ([myproject]\node_modules\webpack\lib\Compilation.js:2714:28)
at [myproject]\node_modules\webpack\lib\Compiler.js:1182:19
at processTicksAndRejections (node:internal/process/task_queues:78:11)
@ [somepath]/FlashMessage.ts 2:19-40
@ [somepath]/index.js 8:0-67 53:2-14
JavaScript library for DOM operations
Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js
Path to dependency file: /tmp/ws-scm/touchsweep/node_modules/@babel/compat-data/build/compat-table/esnext/compiler-skeleton.html
Path to vulnerable library: /touchsweep/node_modules/@babel/compat-data/build/compat-table/esnext/compiler-skeleton.html
Dependency Hierarchy:
JavaScript library for DOM operations
Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js
Path to dependency file: /tmp/ws-scm/touchsweep/node_modules/@babel/compat-data/build/compat-table/es5/skeleton.html
Path to vulnerable library: /touchsweep/node_modules/@babel/compat-data/build/compat-table/es5/skeleton.html,/touchsweep/node_modules/@babel/compat-data/build/compat-table/esnext/index.html
Dependency Hierarchy:
Found in HEAD commit: 750ac1da735cd5a7030508baf869a8c036fec151
JQuery, before 2.2.0, is vulnerable to Cross-site Scripting (XSS) attacks via text/javascript response with arbitrary code execution.
Publish Date: 2016-11-27
URL: WS-2016-0090
Type: Upgrade version
Origin: jquery/jquery@b078a62
Release Date: 2019-04-08
Fix Resolution: 2.2.0
Step up your Open Source Security Game with WhiteSource here
Hello, thanks for this cool library.
But I found a issue.
the startX, startY position is returning wrong number.
Do you have any idea on this problem?
I look forward to hearing from you,
Node.js path.parse() ponyfill
Library home page: https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz
Path to dependency file: touchsweep/package.json
Path to vulnerable library: touchsweep/node_modules/path-parse
Dependency Hierarchy:
Found in HEAD commit: fc3897039451f477fffd102d570aef012dd7c313
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:
Step up your Open Source Security Game with WhiteSource here
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz
Path to dependency file: touchsweep/package.json
Path to vulnerable library: touchsweep/node_modules/lodash/package.json
Dependency Hierarchy:
Found in HEAD commit: d7b01d2e8374ad08ed9593f711f838089423764c
All versions of package lodash; all versions of package org.fujion.webjars:lodash are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions. Steps to reproduce (provided by reporter Liyuan Chen): var lo = require('lodash'); function build_blank (n) { var ret = "1" for (var i = 0; i < n; i++) { ret += " " } return ret + "1"; } var s = build_blank(50000) var time0 = Date.now(); lo.trim(s) var time_cost0 = Date.now() - time0; console.log("time_cost0: " + time_cost0) var time1 = Date.now(); lo.toNumber(s) var time_cost1 = Date.now() - time1; console.log("time_cost1: " + time_cost1) var time2 = Date.now(); lo.trimEnd(s) var time_cost2 = Date.now() - time2; console.log("time_cost2: " + time_cost2)
Publish Date: 2021-02-15
URL: CVE-2020-28500
Base Score Metrics:
Step up your Open Source Security Game with WhiteSource here
JavaScript library for DOM operations
Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js
Path to dependency file: /tmp/ws-scm/touchsweep/node_modules/@babel/compat-data/build/compat-table/esnext/compiler-skeleton.html
Path to vulnerable library: /touchsweep/node_modules/@babel/compat-data/build/compat-table/esnext/compiler-skeleton.html
Dependency Hierarchy:
JavaScript library for DOM operations
Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js
Path to dependency file: /tmp/ws-scm/touchsweep/node_modules/@babel/compat-data/build/compat-table/es5/skeleton.html
Path to vulnerable library: /touchsweep/node_modules/@babel/compat-data/build/compat-table/es5/skeleton.html,/touchsweep/node_modules/@babel/compat-data/build/compat-table/esnext/index.html
Dependency Hierarchy:
Found in HEAD commit: 750ac1da735cd5a7030508baf869a8c036fec151
jQuery before 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles jQuery.extend(true, {}, ...) because of Object.prototype pollution. If an unsanitized source object contained an enumerable proto property, it could extend the native Object.prototype.
Publish Date: 2019-04-20
URL: CVE-2019-11358
Base Score Metrics:
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11358
Release Date: 2019-04-20
Fix Resolution: 3.4.0
Step up your Open Source Security Game with WhiteSource here
JavaScript library for DOM operations
Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js
Path to dependency file: /tmp/ws-scm/touchsweep/node_modules/@babel/compat-data/build/compat-table/esnext/compiler-skeleton.html
Path to vulnerable library: /touchsweep/node_modules/@babel/compat-data/build/compat-table/esnext/compiler-skeleton.html
Dependency Hierarchy:
JavaScript library for DOM operations
Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js
Path to dependency file: /tmp/ws-scm/touchsweep/node_modules/@babel/compat-data/build/compat-table/es5/skeleton.html
Path to vulnerable library: /touchsweep/node_modules/@babel/compat-data/build/compat-table/es5/skeleton.html,/touchsweep/node_modules/@babel/compat-data/build/compat-table/esnext/index.html
Dependency Hierarchy:
Found in HEAD commit: 750ac1da735cd5a7030508baf869a8c036fec151
jQuery before 3.0.0 is vulnerable to Cross-site Scripting (XSS) attacks when a cross-domain Ajax request is performed without the dataType option, causing text/javascript responses to be executed.
Publish Date: 2018-01-18
URL: CVE-2015-9251
Base Score Metrics:
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2015-9251
Release Date: 2018-01-18
Fix Resolution: jQuery - v3.0.0
Step up your Open Source Security Game with WhiteSource here
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz
Path to dependency file: /tmp/ws-scm/touchsweep/package.json
Path to vulnerable library: /tmp/ws-scm/touchsweep/node_modules/lodash/package.json
Dependency Hierarchy:
Found in HEAD commit: 99273fa491d484086dac7a4c2691ba29f0d9e18a
a prototype pollution vulnerability in lodash. It allows an attacker to inject properties on Object.prototype
Publish Date: 2020-04-28
URL: WS-2020-0070
Base Score Metrics:
Step up your Open Source Security Game with WhiteSource here
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: touchsweep/package.json
Path to vulnerable library: touchsweep/node_modules/browserslist/package.json
Dependency Hierarchy:
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
Step up your Open Source Security Game with WhiteSource here
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz
Path to dependency file: /touchsweep/package.json
Path to vulnerable library: /tmp/git/touchsweep/node_modules/lodash/package.json
Dependency Hierarchy:
Found in HEAD commit: b22a70d609e41c9d365003a786fdf57f9dd99500
A Prototype Pollution vulnerability was found in lodash through version 4.17.11.
Publish Date: 2019-07-08
URL: CVE-2019-10744
Type: Upgrade version
Origin: lodash/lodash@a01e4fa
Release Date: 2019-07-08
Fix Resolution: 4.17.12
Step up your Open Source Security Game with WhiteSource here
This issue provides visibility into Renovate updates and their statuses. Learn more
This repository currently has no open or pending branches.
parse argument options
Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/minimist/package.json
Dependency Hierarchy:
Found in HEAD commit: 78790d9a468990220ceae30976c9dc38b6728c99
Found in base branch: master
Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).
Publish Date: 2022-03-17
URL: CVE-2021-44906
Base Score Metrics:
Type: Upgrade version
Origin: https://github.com/substack/minimist/issues/164
Release Date: 2022-03-17
Fix Resolution: minimist - 1.2.6
Step up your Open Source Security Game with WhiteSource here
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.