New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

biiif

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

biiif - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

8

Directory.js

@@ -127,2 +127,10 @@ "use strict";

}
// sort members
this.indexJson.members.sort((a, b) => {
if (a.label.toLowerCase() < b.label.toLowerCase())
return -1;
if (a.label.toLowerCase() > b.label.toLowerCase())
return 1;
return 0;
});
}

@@ -129,0 +137,0 @@ else {

2

package.json
{
"name": "biiif",
"version": "0.1.7",
"version": "0.1.8",
"description": "A CLI to build IIIF collections",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -6,3 +6,3 @@ # biiif (build iiif) 👷✨📃

[![Node version](https://img.shields.io/node/v/biiif.svg?style=flat)](http://nodejs.org/download/)
![IIIF Presentation API 3 compliant](https://img.shields.io/badge/iiif--presentation--api-%3E=3-blue.png)
<!-- ![IIIF Presentation API 3 compliant](https://img.shields.io/badge/iiif--presentation--api-%3E=3-blue.png) -->

@@ -58,2 +58,25 @@ ```

## Linked Manifests
Sometimes you may need to include IIIF manifests in your collection from elsewhere. To do this, include a `manifests.yml` file in your collection folder e.g.
```
manifests:
- id: http://test.com/collection/linkedmanifest1/index.json
label: Linked Manifest 1
thumbnail: [
{
"id": "http://test.com/collection/linkedmanifest1/thumb.jpg",
"type": "Image"
}
]
- id: http://test.com/collection/linkedmanifest2/index.json
label: Linked Manifest 2
- id: http://test.com/collection/linkedmanifest3/index.json'
```
If you leave the `label` property blank, it will default to the name of the last folder in the `id` URL.
Including a `manifests.yml` file in a folder without any sub-folders forces it to behave like a collection.
## Examples

@@ -60,0 +83,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc