zoomwall.js
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "zoomwall.js", | ||
"type": "module", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A content-focused photo gallery using a horizontal masonry layout that scales up in lightbox mode.", | ||
@@ -9,4 +9,4 @@ "main": "./lib/zoomwall.js", | ||
"files": [ | ||
"./lib/zoomwall.js", | ||
"./lib/zoomwall.css" | ||
"lib/zoomwall.js", | ||
"lib/zoomwall.css" | ||
], | ||
@@ -17,3 +17,3 @@ "scripts": { | ||
"copy": "copyfiles -u 1 \"./src/zoomwall.css\" lib", | ||
"docs": "typedoc --theme minimal --mode library --out docs src/zoomwall.ts", | ||
"docs": "typedoc --out docs src/zoomwall.ts", | ||
"gpr-package-rename": "node scripts/gpr-package-rename.cjs", | ||
@@ -52,30 +52,30 @@ "lint-js": "eslint \"**/*.{ts,js,mjs,cjs}\"", | ||
"@types/expect-puppeteer": "^4.4.3", | ||
"@types/jest": "^26.0.9", | ||
"@types/jest": "^27.0.0", | ||
"@types/jest-environment-puppeteer": "^4.3.2", | ||
"@types/puppeteer": "^3.0.1", | ||
"@typescript-eslint/eslint-plugin": "^3.8.0", | ||
"@types/puppeteer": "^5.4.4", | ||
"@typescript-eslint/eslint-plugin": "^4.0.0", | ||
"@typescript-eslint/parser": "^3.8.0", | ||
"concurrently": "^5.3.0", | ||
"concurrently": "^7.0.0", | ||
"copyfiles": "^2.3.0", | ||
"cross-env": "^7.0.2", | ||
"eslint": "^7.6.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"expect-puppeteer": "^4.4.0", | ||
"jest": "^26.2.2", | ||
"jest-dev-server": "^4.4.0", | ||
"jest-environment-jsdom-sixteen": "^1.0.3", | ||
"jest-puppeteer": "^4.4.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"expect-puppeteer": "^6.0.0", | ||
"jest": "^26.4.0", | ||
"jest-dev-server": "^6.0.0", | ||
"jest-environment-jsdom-sixteen": "^2.0.0", | ||
"jest-puppeteer": "^6.0.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "2.0.5", | ||
"puppeteer": "^v2.1.1", | ||
"prettier": "2.5.1", | ||
"puppeteer": "^13.0.1", | ||
"puppeteer-to-istanbul": "github:skerit/puppeteer-to-istanbul#d0ebc44", | ||
"source-map-support": "^0.5.19", | ||
"stylelint": "^13.6.1", | ||
"stylelint-config-prettier": "^8.0.2", | ||
"stylelint-config-standard": "^20.0.0", | ||
"stylelint-config-prettier": "^9.0.2", | ||
"stylelint-config-standard": "^22.0.0", | ||
"ts-jest": "^26.1.4", | ||
"ts-node": "^8.10.2", | ||
"typedoc": "^0.17.0-3", | ||
"typescript": "^3.9.7" | ||
"ts-node": "^10.0.0", | ||
"typedoc": "0.22.11", | ||
"typescript": "^4.2.3" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# zoomwall.js | ||
# zoomwall.js [![GitHub release (latest by date)](https://img.shields.io/github/v/release/ericleong/zoomwall.js)](https://github.com/ericleong/zoomwall.js/releases) [![npm](https://img.shields.io/npm/dm/zoomwall.js)](https://www.npmjs.com/package/zoomwall.js) [![Coverage Status](https://coveralls.io/repos/github/ericleong/zoomwall.js/badge.svg?branch=master)](https://coveralls.io/github/ericleong/zoomwall.js?branch=master) [![Node.js CI](https://github.com/ericleong/zoomwall.js/workflows/Node.js%20CI/badge.svg?branch=master)](https://github.com/ericleong/zoomwall.js/actions?query=workflow%3A%22Node.js+CI%22) | ||
@@ -7,6 +7,2 @@ zoomwall.js is a content-focused photo gallery using a horizontal masonry layout that scales up in lightbox mode. | ||
![Node.js CI](https://github.com/ericleong/zoomwall.js/workflows/Node.js%20CI/badge.svg?branch=master) | ||
![Node.js Package](https://github.com/ericleong/zoomwall.js/workflows/Node.js%20Package/badge.svg) | ||
[![Coverage Status](https://coveralls.io/repos/github/ericleong/zoomwall.js/badge.svg?branch=master)](https://coveralls.io/github/ericleong/zoomwall.js?branch=master) | ||
## install | ||
@@ -79,9 +75,1 @@ | ||
Enable support for paging through photos with the left and right arrow keys by setting the second argument to `true`, like this: `zoomwall.create(<element>, true)`. | ||
If there are multiple galleries, call `zoomwall.keys()` after loading the last gallery. | ||
```javascript | ||
zoomwall.create(document.getElementById("first-gallery")); | ||
zoomwall.create(document.getElementById("second-gallery")); | ||
zoomwall.keys(); | ||
``` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
18184
5
327
74