three11 / infinite-scroll Goto Github PK
View Code? Open in Web Editor NEWA module for loading more items as the user scrolls
Home Page: https://three11-infinite-scroll.netlify.app/
License: GNU General Public License v3.0
A module for loading more items as the user scrolls
Home Page: https://three11-infinite-scroll.netlify.app/
License: GNU General Public License v3.0
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.
Serialize JavaScript to a superset of JSON that includes regular expressions and functions.
Library home page: https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-2.1.2.tgz
Path to dependency file: /tmp/ws-scm/infinite-scroll/package.json
Path to vulnerable library: /tmp/ws-scm/infinite-scroll/node_modules/serialize-javascript/package.json
Dependency Hierarchy:
Found in HEAD commit: 11e2999dadb40f73defbb2c416bc92209f2dc82c
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
Publish Date: 2020-06-01
URL: CVE-2020-7660
Base Score Metrics:
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7660
Release Date: 2020-06-01
Fix Resolution: serialize-javascript - 3.1.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/infinite-scroll/package.json
Path to vulnerable library: /tmp/ws-scm/infinite-scroll/node_modules/lodash/package.json
Dependency Hierarchy:
Found in HEAD commit: f8b7d7030d3b6da71197b4a85f0331ec350e87c2
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
After the update and the changes to the settings, I unfortunately only get an error message. Is there anything else I need to take into account or is the ReadMe not yet complete?
Uncaught TypeError: InfiniteScroll is not a constructor
`<script src="https://unpkg.com/@three11/[email protected]/dist/infinite-scroll.js"></script>
<script> const infiniteScroll = new InfiniteScroll({ element : '.blog-items', next : '[aria-label="Go to next page"]', item : '.blog-item', disabledClass : 'disabled', hiddenClass : 'hidden', responseType : 'text/html', requestMethod: 'GET', viewportTriggerPoint: window.innerHeight / 2, debounceTime: 500, onComplete: function (container) { console.log(container) } }); </script>`Use Webpack to build and export for all environments using the UMD pattern
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
This issue provides visibility into Renovate updates and their statuses. Learn more
This repository currently has no open or pending branches.
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: infinite-scroll/package.json
Path to vulnerable library: infinite-scroll/node_modules/glob-parent
Dependency Hierarchy:
Found in HEAD commit: 4c97f381eddafc8d3c5ed562d0d1df26341aed93
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
Step up your Open Source Security Game with WhiteSource here
Node.js path.parse() ponyfill
Library home page: https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz
Path to dependency file: infinite-scroll/package.json
Path to vulnerable library: infinite-scroll/node_modules/path-parse
Dependency Hierarchy:
Found in HEAD commit: 75a49def373ac2d72fb33b6a6bfd04445aa33693
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:
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: infinite-scroll/package.json
Path to vulnerable library: infinite-scroll/node_modules/lodash/package.json
Dependency Hierarchy:
Found in HEAD commit: 9140f54582dc072028dae3ac7b102275c979e8ce
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
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: infinite-scroll/package.json
Path to vulnerable library: infinite-scroll/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
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Is there a download for the minified javascript version?
Hi,
is there a function when all items are loaded, similar to the onComplete function?
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz
Path to dependency file: infinite-scroll/package.json
Path to vulnerable library: infinite-scroll/node_modules/lodash/package.json
Dependency Hierarchy:
Found in HEAD commit: 9140f54582dc072028dae3ac7b102275c979e8ce
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
Branch | Build failing 🚨 |
---|---|
Monorepo release group | babel7 |
Current Version | 7.0.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Just came across this great library, I'm looking to use it in our site to replace another library that relies on jQuery.
Though I noticed the compiled dist version is packaged with webpack and has a huge amount of bloat because of the way it's been packaged. I realise you can just import it directly and package it yourself, but personally I'm not yet using babel so I would have to add that into my webpack just to import it and support non ES6 browsers.
So would it be possible to compile a basic IIFE ES5 version? I'm not sure what the Webpack equivalent of IIFE is, I use that terminology from Rollup it's the default type when creating a library intended for the browser.
Currently this library is using UMD which isn't needed in the browser, and not needed if your using a modern bundler either, like Webpack or Rollup to consume the library.
Thanks for the consideration ! 😄
Hi,
thank you for this great application. We use this in a Joomla CMS blog override. And it works fantastic. Is there any way that the next items will be loaded automatically if the content does not fill the visible area?
Another callback (function) after the very last item is loaded would be a great addition.
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: 7f7a8be5f515de889526c8896ad9d2e50a5b3225
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
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.