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

manifesto.js

Package Overview
Dependencies
Maintainers
0
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

manifesto.js - npm Package Compare versions

Comparing version

to
4.2.21

test/fixtures/YaleCanterburyTalesV3ProviderNoLogo.json

5

dist-commonjs/Annotation.js

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.Annotation = void 0;
var internal_1 = require("./internal");

@@ -19,0 +22,0 @@ var Annotation = /** @class */ (function (_super) {

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.AnnotationBody = void 0;
var internal_1 = require("./internal");

@@ -19,0 +22,0 @@ var AnnotationBody = /** @class */ (function (_super) {

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.AnnotationList = void 0;
var internal_1 = require("./internal");

@@ -19,0 +22,0 @@ var AnnotationList = /** @class */ (function (_super) {

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.AnnotationPage = void 0;
var internal_1 = require("./internal");

@@ -19,0 +22,0 @@ var AnnotationPage = /** @class */ (function (_super) {

10

dist-commonjs/Canvas.d.ts

@@ -16,4 +16,4 @@ import { ViewingHint } from "@iiif/vocabulary/dist-commonjs";

getViewingHint(): ViewingHint | null;
readonly imageResources: any;
readonly resourceAnnotations: any;
get imageResources(): any;
get resourceAnnotations(): any;
/**

@@ -29,5 +29,5 @@ * Returns a given resource Annotation, based on a contained resource or body

onFragment(id: any): any;
readonly iiifImageResources: any;
readonly imageServiceIds: any;
readonly aspectRatio: number;
get iiifImageResources(): any;
get imageServiceIds(): any;
get aspectRatio(): number;
}

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -20,2 +22,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.Canvas = void 0;
var dist_commonjs_1 = require("@iiif/vocabulary/dist-commonjs");

@@ -149,3 +152,3 @@ var internal_1 = require("./internal");

if (Array.isArray(profile)) {
profile = profile.filter(function (p) { return p["maxWidth" || "maxwidth"]; })[0];
profile = profile.filter(function (p) { var _a; return (_a = p["maxWidth"]) !== null && _a !== void 0 ? _a : p["maxwidth"]; })[0];
if (profile) {

@@ -215,3 +218,3 @@ maxDimensions = new internal_1.Size(profile.maxWidth, profile.maxHeight ? profile.maxHeight : profile.maxWidth);

.map(function (annotationList, i) {
return new internal_1.AnnotationList(annotationList["label"] || "Annotation list " + i, annotationList, _this.options);
return new internal_1.AnnotationList(annotationList["label"] || "Annotation list ".concat(i), annotationList, _this.options);
})

@@ -265,7 +268,7 @@ .map(function (annotationList) { return annotationList.load(); });

var _this = this;
var resources = flattenDeep_1.default([
var resources = (0, flattenDeep_1.default)([
this.getImages().map(function (i) { return i.getResource(); }),
this.getContent().map(function (i) { return i.getBody(); })
]);
return flatten_1.default(resources.map(function (resource) {
return (0, flatten_1.default)(resources.map(function (resource) {
switch (resource.getProperty("type").toLowerCase()) {

@@ -275,3 +278,3 @@ case dist_commonjs_1.ExternalResourceType.CHOICE:

return new Canvas({
images: flatten_1.default([
images: (0, flatten_1.default)([
resource.getProperty("default"),

@@ -288,3 +291,3 @@ resource.getProperty("item")

},
enumerable: true,
enumerable: false,
configurable: true

@@ -294,5 +297,5 @@ });

get: function () {
return flattenDeep_1.default([this.getImages(), this.getContent()]);
return (0, flattenDeep_1.default)([this.getImages(), this.getContent()]);
},
enumerable: true,
enumerable: false,
configurable: true

@@ -307,3 +310,3 @@ });

return anno.getResource().id === id ||
flatten_1.default(new Array(anno.getBody())).some(function (body) { return body.id === id; });
(0, flatten_1.default)(new Array(anno.getBody())).some(function (body) { return body.id === id; });
});

@@ -335,3 +338,3 @@ };

},
enumerable: true,
enumerable: false,
configurable: true

@@ -343,3 +346,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -351,3 +354,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -354,0 +357,0 @@ });

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.Collection = void 0;
var dist_commonjs_1 = require("@iiif/vocabulary/dist-commonjs");

@@ -19,0 +22,0 @@ var internal_1 = require("./internal");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Duration = void 0;
var Duration = /** @class */ (function () {

@@ -4,0 +5,0 @@ function Duration(start, end) {

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.IIIFResource = void 0;
var internal_1 = require("./internal");

@@ -81,3 +84,8 @@ var dist_commonjs_1 = require("@iiif/vocabulary/dist-commonjs");

var agent = provider.find(function (item) { return item.logo !== undefined; });
logo = typeof agent.logo === "undefined" ? null : agent.logo;
if (agent && agent.logo !== undefined) {
logo = agent.logo;
}
else {
logo = null;
}
}

@@ -91,3 +99,3 @@ if (!logo)

}
return logo["@id"] || logo.id;
return logo["@id"] || (logo === null || logo === void 0 ? void 0 : logo.id);
};

@@ -139,3 +147,3 @@ IIIFResource.prototype.getLicense = function () {

var attribution = this.getAttribution();
if (attribution) {
if (attribution && attribution.length) {
requiredStatement = new internal_1.LabelValuePair(this.options.locale);

@@ -142,0 +150,0 @@ requiredStatement.value = attribution;

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./internal"));
exports.parseManifest = exports.loadManifest = void 0;
__exportStar(require("./internal"), exports);
var Utils_1 = require("./Utils");
exports.loadManifest = function (url) {
var loadManifest = function (url) {
return Utils_1.Utils.loadManifest(url);
};
exports.parseManifest = function (manifest, options) {
exports.loadManifest = loadManifest;
var parseManifest = function (manifest, options) {
return Utils_1.Utils.parseManifest(manifest, options);
};
exports.parseManifest = parseManifest;
//# sourceMappingURL=index.js.map
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./JSONLDResource"));
__export(require("./ManifestResource"));
__export(require("./Resource"));
__export(require("./IIIFResource"));
__export(require("./Annotation"));
__export(require("./AnnotationBody"));
__export(require("./AnnotationList"));
__export(require("./AnnotationPage"));
__export(require("./Canvas"));
__export(require("./Collection"));
__export(require("./Duration"));
__export(require("./LabelValuePair"));
__export(require("./LanguageMap"));
__export(require("./PropertyValue"));
__export(require("./Manifest"));
__export(require("./ManifestType"));
__export(require("./Range"));
__export(require("./Rendering"));
__export(require("./Sequence"));
__export(require("./Serialisation"));
__export(require("./Service"));
__export(require("./Size"));
__export(require("./StatusCode"));
__export(require("./Thumb"));
__export(require("./Thumbnail"));
__export(require("./TreeNode"));
__export(require("./TreeNodeType"));
__export(require("./Utils"));
__exportStar(require("./JSONLDResource"), exports);
__exportStar(require("./ManifestResource"), exports);
__exportStar(require("./Resource"), exports);
__exportStar(require("./IIIFResource"), exports);
__exportStar(require("./Annotation"), exports);
__exportStar(require("./AnnotationBody"), exports);
__exportStar(require("./AnnotationList"), exports);
__exportStar(require("./AnnotationPage"), exports);
__exportStar(require("./Canvas"), exports);
__exportStar(require("./Collection"), exports);
__exportStar(require("./Duration"), exports);
__exportStar(require("./IAccessToken"), exports);
__exportStar(require("./IExternalImageResourceData"), exports);
__exportStar(require("./IExternalResource"), exports);
__exportStar(require("./IExternalResourceData"), exports);
__exportStar(require("./IExternalResourceOptions"), exports);
__exportStar(require("./IManifestoOptions"), exports);
__exportStar(require("./LabelValuePair"), exports);
__exportStar(require("./Language"), exports);
__exportStar(require("./LanguageMap"), exports);
__exportStar(require("./PropertyValue"), exports);
__exportStar(require("./Manifest"), exports);
__exportStar(require("./ManifestType"), exports);
__exportStar(require("./Range"), exports);
__exportStar(require("./Rendering"), exports);
__exportStar(require("./Sequence"), exports);
__exportStar(require("./Serialisation"), exports);
__exportStar(require("./Service"), exports);
__exportStar(require("./Size"), exports);
__exportStar(require("./StatusCode"), exports);
__exportStar(require("./Thumb"), exports);
__exportStar(require("./Thumbnail"), exports);
__exportStar(require("./TreeNode"), exports);
__exportStar(require("./TreeNodeType"), exports);
__exportStar(require("./Utils"), exports);
//# sourceMappingURL=internal.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.JSONLDResource = void 0;
var JSONLDResource = /** @class */ (function () {

@@ -4,0 +5,0 @@ function JSONLDResource(jsonld) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LabelValuePair = void 0;
var internal_1 = require("./internal");

@@ -4,0 +5,0 @@ var LabelValuePair = /** @class */ (function () {

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.LanguageMap = void 0;
/** @deprecated Use PropertyValue instead */

@@ -19,0 +22,0 @@ var LanguageMap = /** @class */ (function (_super) {

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.Manifest = void 0;
var dist_commonjs_1 = require("@iiif/vocabulary/dist-commonjs");

@@ -19,0 +22,0 @@ var internal_1 = require("./internal");

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.ManifestResource = void 0;
var internal_1 = require("./internal");

@@ -19,0 +22,0 @@ var dist_commonjs_1 = require("@iiif/vocabulary/dist-commonjs");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ManifestType = void 0;
var ManifestType;

@@ -8,3 +9,3 @@ (function (ManifestType) {

ManifestType["MONOGRAPH"] = "monograph";
})(ManifestType = exports.ManifestType || (exports.ManifestType = {}));
})(ManifestType || (exports.ManifestType = ManifestType = {}));
//# sourceMappingURL=ManifestType.js.map

@@ -15,5 +15,5 @@ import Language from "./Language";

/*** @deprecated Use PropertyValue#getValue instead */
readonly value: string;
get value(): string;
/*** @deprecated Don't use, only used for backwards compatibility reasons */
readonly locale: string;
get locale(): string;
addValue(value: string | string[]): void;

@@ -20,0 +20,0 @@ }

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -16,10 +18,4 @@ function __() { this.constructor = d; }

})();
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PropertyValue = exports.LocalizedValue = void 0;
var Utils_1 = require("./Utils");

@@ -64,3 +60,3 @@ /** Utility class to hold one or more values with their associated (optional) locale */

},
enumerable: true,
enumerable: false,
configurable: true

@@ -76,3 +72,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -163,5 +159,4 @@ });

// matches the language preference.
// FIXME: This is nasty, we have to spread ourselves in order to be able
// to call `.map`. This will no longer be needed once we target >ES5.
var allLocales = __spreadArrays(this).map(function (lv) { return lv._locale; })
var allLocales = Array.from(this.values())
.map(function (lv) { return lv._locale; })
.filter(function (l) { return l !== undefined; });

@@ -168,0 +163,0 @@ var _loop_1 = function (userLocale) {

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.Range = void 0;
var internal_1 = require("./internal");

@@ -19,0 +22,0 @@ var dist_commonjs_1 = require("@iiif/vocabulary/dist-commonjs");

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.Rendering = void 0;
var internal_1 = require("./internal");

@@ -19,0 +22,0 @@ var Rendering = /** @class */ (function (_super) {

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.Resource = void 0;
var internal_1 = require("./internal");

@@ -19,0 +22,0 @@ var Resource = /** @class */ (function (_super) {

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.Sequence = void 0;
var dist_commonjs_1 = require("@iiif/vocabulary/dist-commonjs");

@@ -19,0 +22,0 @@ var internal_1 = require("./internal");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Deserialiser = void 0;
var internal_1 = require("./internal");

@@ -4,0 +5,0 @@ var Deserialiser = /** @class */ (function () {

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.Service = void 0;
var internal_1 = require("./internal");

@@ -19,0 +22,0 @@ var Service = /** @class */ (function (_super) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Size = void 0;
var Size = /** @class */ (function () {

@@ -4,0 +5,0 @@ function Size(width, height) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.StatusCode = void 0;
var StatusCode;

@@ -9,3 +10,3 @@ (function (StatusCode) {

StatusCode[StatusCode["RESTRICTED"] = 4] = "RESTRICTED";
})(StatusCode = exports.StatusCode || (exports.StatusCode = {}));
})(StatusCode || (exports.StatusCode = StatusCode = {}));
//# sourceMappingURL=StatusCode.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Thumb = void 0;
// todo: deprecate

@@ -4,0 +5,0 @@ // this is used by Sequence.getThumbs

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -17,2 +19,3 @@ function __() { this.constructor = d; }

Object.defineProperty(exports, "__esModule", { value: true });
exports.Thumbnail = void 0;
var internal_1 = require("./internal");

@@ -19,0 +22,0 @@ var Thumbnail = /** @class */ (function (_super) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TreeNode = void 0;
var internal_1 = require("./internal");

@@ -4,0 +5,0 @@ var TreeNode = /** @class */ (function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TreeNodeType = void 0;
var TreeNodeType;

@@ -8,3 +9,3 @@ (function (TreeNodeType) {

TreeNodeType["RANGE"] = "range";
})(TreeNodeType = exports.TreeNodeType || (exports.TreeNodeType = {}));
})(TreeNodeType || (exports.TreeNodeType = TreeNodeType = {}));
//# sourceMappingURL=TreeNodeType.js.map

@@ -12,8 +12,8 @@ "use strict";

var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -40,2 +40,3 @@ if (y = 0, t) op = [op[0] & 2, t.value];

Object.defineProperty(exports, "__esModule", { value: true });
exports.Utils = void 0;
var internal_1 = require("./internal");

@@ -42,0 +43,0 @@ var dist_commonjs_1 = require("@iiif/vocabulary/dist-commonjs");

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -16,4 +16,4 @@ import { ViewingHint } from "@iiif/vocabulary/dist-commonjs";

getViewingHint(): ViewingHint | null;
readonly imageResources: any;
readonly resourceAnnotations: any;
get imageResources(): any;
get resourceAnnotations(): any;
/**

@@ -29,5 +29,5 @@ * Returns a given resource Annotation, based on a contained resource or body

onFragment(id: any): any;
readonly iiifImageResources: any;
readonly imageServiceIds: any;
readonly aspectRatio: number;
get iiifImageResources(): any;
get imageServiceIds(): any;
get aspectRatio(): number;
}

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -143,3 +145,3 @@ function __() { this.constructor = d; }

if (Array.isArray(profile)) {
profile = profile.filter(function (p) { return p["maxWidth" || "maxwidth"]; })[0];
profile = profile.filter(function (p) { var _a; return (_a = p["maxWidth"]) !== null && _a !== void 0 ? _a : p["maxwidth"]; })[0];
if (profile) {

@@ -209,3 +211,3 @@ maxDimensions = new Size(profile.maxWidth, profile.maxHeight ? profile.maxHeight : profile.maxWidth);

.map(function (annotationList, i) {
return new AnnotationList(annotationList["label"] || "Annotation list " + i, annotationList, _this.options);
return new AnnotationList(annotationList["label"] || "Annotation list ".concat(i), annotationList, _this.options);
})

@@ -280,3 +282,3 @@ .map(function (annotationList) { return annotationList.load(); });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -288,3 +290,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -326,3 +328,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -334,3 +336,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -342,3 +344,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -345,0 +347,0 @@ });

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -0,1 +1,2 @@

export {};
//# sourceMappingURL=IAccessToken.js.map

@@ -0,1 +1,2 @@

export {};
//# sourceMappingURL=IExternalImageResourceData.js.map

@@ -0,1 +1,2 @@

export {};
//# sourceMappingURL=IExternalResource.js.map

@@ -0,1 +1,2 @@

export {};
//# sourceMappingURL=IExternalResourceData.js.map

@@ -0,1 +1,2 @@

export {};
//# sourceMappingURL=IExternalResourceOptions.js.map

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -78,3 +80,8 @@ function __() { this.constructor = d; }

var agent = provider.find(function (item) { return item.logo !== undefined; });
logo = typeof agent.logo === "undefined" ? null : agent.logo;
if (agent && agent.logo !== undefined) {
logo = agent.logo;
}
else {
logo = null;
}
}

@@ -88,3 +95,3 @@ if (!logo)

}
return logo["@id"] || logo.id;
return logo["@id"] || (logo === null || logo === void 0 ? void 0 : logo.id);
};

@@ -136,3 +143,3 @@ IIIFResource.prototype.getLicense = function () {

var attribution = this.getAttribution();
if (attribution) {
if (attribution && attribution.length) {
requiredStatement = new LabelValuePair(this.options.locale);

@@ -139,0 +146,0 @@ requiredStatement.value = attribution;

@@ -0,1 +1,2 @@

export {};
//# sourceMappingURL=IManifestoOptions.js.map

@@ -12,3 +12,10 @@ export * from "./JSONLDResource";

export * from "./Duration";
export * from "./IAccessToken";
export * from "./IExternalImageResourceData";
export * from "./IExternalResource";
export * from "./IExternalResourceData";
export * from "./IExternalResourceOptions";
export * from "./IManifestoOptions";
export * from "./LabelValuePair";
export * from "./Language";
export * from "./LanguageMap";

@@ -15,0 +22,0 @@ export * from "./PropertyValue";

@@ -0,1 +1,2 @@

export {};
//# sourceMappingURL=Language.js.map

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -15,5 +15,5 @@ import Language from "./Language";

/*** @deprecated Use PropertyValue#getValue instead */
readonly value: string;
get value(): string;
/*** @deprecated Don't use, only used for backwards compatibility reasons */
readonly locale: string;
get locale(): string;
addValue(value: string | string[]): void;

@@ -20,0 +20,0 @@ }

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -15,9 +17,2 @@ function __() { this.constructor = d; }

})();
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
import { Utils } from "./Utils";

@@ -62,3 +57,3 @@ /** Utility class to hold one or more values with their associated (optional) locale */

},
enumerable: true,
enumerable: false,
configurable: true

@@ -74,3 +69,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -161,5 +156,4 @@ });

// matches the language preference.
// FIXME: This is nasty, we have to spread ourselves in order to be able
// to call `.map`. This will no longer be needed once we target >ES5.
var allLocales = __spreadArrays(this).map(function (lv) { return lv._locale; })
var allLocales = Array.from(this.values())
.map(function (lv) { return lv._locale; })
.filter(function (l) { return l !== undefined; });

@@ -166,0 +160,0 @@ var _loop_1 = function (userLocale) {

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () {

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -11,8 +11,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -19,0 +19,0 @@ if (y = 0, t) op = [op[0] & 2, t.value];

{
"name": "manifesto.js",
"version": "4.2.20",
"version": "4.2.21",
"description": "IIIF Presentation API utility library for client and server",

@@ -43,3 +43,2 @@ "main": "./dist-commonjs/index.js",

"@types/node": "8.10.52",
"awesome-typescript-loader": "^5.2.1",
"chai": "2.3.0",

@@ -55,5 +54,6 @@ "cross-env": "^5.2.1",

"serve-static": "^1.14.1",
"ts-loader": "^8",
"tslint-config-prettier": "^1.18.0",
"typedoc": "^0.15.0",
"typescript": "3.6.3",
"typedoc": "^0.26.10",
"typescript": "^5",
"typescript-tslint-plugin": "^0.5.5",

@@ -60,0 +60,0 @@ "webpack": "^4.28.3",

# manifesto
[![Build Status](https://travis-ci.org/IIIF-Commons/manifesto.svg?branch=master)](https://travis-ci.org/IIIF-Commons/manifesto)
[![Build Status](https://github.com/IIIF-Commons/manifesto/actions/workflows/build-test.yml/badge.svg?branch=master)](https://github.com/IIIF-Commons/manifesto/actions/workflows/build-test.yml)

@@ -5,0 +5,0 @@ IIIF Presentation API client and server utility library.

@@ -63,3 +63,4 @@ module.exports = {

//"query-bodleian": "http://iiif.bodleian.ox.ac.uk/iiif/manifest/f22e9dae-c070-48eb-be0b-aa6c5bc195a6.json",
//"query-gams": "http://gams.uni-graz.at/cocoon/mets2json?source=http%3A%2F%2Fgams.uni-graz.at%2Farchive%2Fget%2Fo%3Asrbas.1535%2FMETS_SOURCE"
//"query-gams": "http://gams.uni-graz.at/cocoon/mets2json?source=http%3A%2F%2Fgams.uni-graz.at%2Farchive%2Fget%2Fo%3Asrbas.1535%2FMETS_SOURCE",
"v3ProviderNoLogo": "http://localhost:3001/YaleCanterburyTalesV3ProviderNoLogo.json"
};

@@ -66,0 +67,0 @@

@@ -96,1 +96,2 @@ const finalhandler = require('finalhandler');

importTest('Utils', './tests/Utils.test');
importTest('v3ProviderNoLogo', './tests/v3ProviderNoLogo');

@@ -113,4 +113,4 @@ // Generated by dts-bundle-generator v9.5.1

getViewingHint(): ViewingHint | null;
readonly imageResources: any;
readonly resourceAnnotations: any;
get imageResources(): any;
get resourceAnnotations(): any;
/**

@@ -126,5 +126,5 @@ * Returns a given resource Annotation, based on a contained resource or body

onFragment(id: any): any;
readonly iiifImageResources: any;
readonly imageServiceIds: any;
readonly aspectRatio: number;
get iiifImageResources(): any;
get imageServiceIds(): any;
get aspectRatio(): number;
}

@@ -253,5 +253,5 @@ export declare class Collection extends IIIFResource {

/*** @deprecated Use PropertyValue#getValue instead */
readonly value: string;
get value(): string;
/*** @deprecated Don't use, only used for backwards compatibility reasons */
readonly locale: string;
get locale(): string;
addValue(value: string | string[]): void;

@@ -258,0 +258,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display