hypothesis
Advanced tools
Comparing version 1.1527.0 to 1.1528.0
@@ -1,1 +0,1 @@ | ||
!function(){"use strict";var s={"scripts/annotator.bundle.js":"scripts/annotator.bundle.js?6943b2","styles/annotator.css":"styles/annotator.css?e1c6e7","styles/annotator.css.map":"styles/annotator.css.map?4dcebd","styles/highlights.css":"styles/highlights.css?6b4ebd","styles/highlights.css.map":"styles/highlights.css.map?241350","styles/katex.min.css":"styles/katex.min.css?58e394","styles/katex.min.css.map":"styles/katex.min.css.map?1785d7","styles/pdfjs-overrides.css":"styles/pdfjs-overrides.css?c95edf","styles/pdfjs-overrides.css.map":"styles/pdfjs-overrides.css.map?1d8ac6","styles/sidebar.css":"styles/sidebar.css?f04d36","styles/sidebar.css.map":"styles/sidebar.css.map?7780ad","styles/ui-playground.css":"styles/ui-playground.css?47f01e","styles/ui-playground.css.map":"styles/ui-playground.css.map?647144","scripts/annotator.bundle.js.map":"scripts/annotator.bundle.js.map?234e18","scripts/sidebar.bundle.js":"scripts/sidebar.bundle.js?e8680f","scripts/ui-playground.bundle.js":"scripts/ui-playground.bundle.js?02aa14","scripts/ui-playground.bundle.js.map":"scripts/ui-playground.bundle.js.map?4863fe","scripts/sidebar.bundle.js.map":"scripts/sidebar.bundle.js.map?425d38"};function t(s){s.setAttribute("data-hypothesis-asset","")}function e(s,e){var n=s.createElement("link");n.rel="stylesheet",n.type="text/css",n.href=e,t(n),s.head.appendChild(n)}function n(s,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.esModule,o=void 0===r||r,i=n.forceReload,a=void 0!==i&&i,l=s.createElement("script");o&&(l.type="module"),a&&(e+="#ts=".concat(Date.now())),l.src=e,l.async=!1,t(l),s.head.appendChild(l)}function r(s,e,n,r){var o=s.createElement("link");o.rel=e,o.href=r,o.type="application/annotator+".concat(n),t(o),s.head.appendChild(o)}function o(s,e,n){var r=s.createElement("link");r.rel="preload",r.as=e,r.href=n,"fetch"===e&&(r.crossOrigin="anonymous"),t(r),s.head.appendChild(r)}function i(s,t){return s.assetRoot+"build/"+s.manifest[t]}function a(s){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(-1===s.indexOf("{"))return s;var e=function(){var s,t,e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).currentScript;return e?(s=e.src,(t=s.match(/(https?):\/\/([^:/]+)/))?{protocol:t[1],hostname:t[2]}:null):null}(t);if(!e)throw new Error("Could not process URL template because script origin is unknown");return s=(s=s.replace("{current_host}",e.hostname)).replace("{current_scheme}",e.protocol)}if(function(){var s=[function(){return Object.fromEntries([])},function(){return new URL(document.location.href)},function(){return new Request("https://hypothes.is")},function(){return Element.prototype.attachShadow},function(){return CSS.supports("display: grid")},function(){return document.evaluate("/html/body",document,null,XPathResult.ANY_TYPE,null),!0}];try{return s.every((function(s){return s()}))}catch(s){return!1}}()){var l=function(s){for(var t={},e=s.querySelectorAll("script.js-hypothesis-config"),n=0;n<e.length;n++){var r=void 0;try{r=JSON.parse(e[n].textContent||"")}catch(s){console.warn("Could not parse settings from js-hypothesis-config tags",s),r={}}Object.assign(t,r)}return t}(document),p=a(l.assetRoot||"https://cdn.hypothes.is/hypothesis/1.1527.0/");if(document.querySelector("hypothesis-app")){!function(s,t){o(s,"fetch",t.apiUrl),o(s,"fetch",t.apiUrl+"links");for(var r=0,a=["scripts/sidebar.bundle.js"];r<a.length;r++)n(s,i(t,a[r]),{esModule:!0});for(var l=0,p=["styles/katex.min.css","styles/sidebar.css"];l<p.length;l++)e(s,i(t,p[l]))}(document,{assetRoot:p,manifest:s,apiUrl:l.apiUrl})}else{var c=function(){var s;return null===(s=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).chrome)||void 0===s||null===(s=s.runtime)||void 0===s?void 0:s.id}();if(c&&!function(s){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelector("script.js-hypothesis-config[data-extension-id=".concat(s,"]"))}(c))throw new Error("Could not start Hypothesis extension as configuration is missing");var u=l,d=a(u.notebookAppUrl||"https://hypothes.is/notebook"),h=a(u.profileAppUrl||"https://hypothes.is/user-profile"),y=a(u.sidebarAppUrl||"https://hypothes.is/app.html");!function(s,t){if(!s.querySelector('link[type="application/annotator+html"]')){r(s,"sidebar","html",t.sidebarAppUrl),r(s,"notebook","html",t.notebookAppUrl),r(s,"profile","html",t.profileAppUrl),o(s,"style",i(t,"styles/annotator.css")),r(s,"hypothesis-client","javascript",t.assetRoot+"build/boot.js");for(var a=0,l=["scripts/annotator.bundle.js"];a<l.length;a++)n(s,i(t,l[a]),{esModule:!1});var p=[];void 0!==window.PDFViewerApplication&&p.push("styles/pdfjs-overrides.css"),p.push("styles/highlights.css");for(var c=0,u=p;c<u.length;c++)e(s,i(t,u[c]))}}(document,{assetRoot:p,manifest:s,notebookAppUrl:d,profileAppUrl:h,sidebarAppUrl:y})}}else console.warn("The Hypothesis annotation tool is not supported in this browser. See https://web.hypothes.is/help/which-browsers-are-supported-by-hypothesis/.")}(); | ||
!function(){"use strict";var s={"scripts/annotator.bundle.js":"scripts/annotator.bundle.js?c6124b","styles/annotator.css":"styles/annotator.css?fff16e","styles/annotator.css.map":"styles/annotator.css.map?4dcebd","styles/highlights.css":"styles/highlights.css?6b4ebd","styles/highlights.css.map":"styles/highlights.css.map?241350","styles/katex.min.css":"styles/katex.min.css?58e394","styles/katex.min.css.map":"styles/katex.min.css.map?1785d7","styles/pdfjs-overrides.css":"styles/pdfjs-overrides.css?c95edf","styles/pdfjs-overrides.css.map":"styles/pdfjs-overrides.css.map?1d8ac6","styles/sidebar.css":"styles/sidebar.css?620132","styles/sidebar.css.map":"styles/sidebar.css.map?7780ad","styles/ui-playground.css.map":"styles/ui-playground.css.map?647144","styles/ui-playground.css":"styles/ui-playground.css?cf227f","scripts/ui-playground.bundle.js":"scripts/ui-playground.bundle.js?02aa14","scripts/sidebar.bundle.js":"scripts/sidebar.bundle.js?b1d8ce","scripts/annotator.bundle.js.map":"scripts/annotator.bundle.js.map?340899","scripts/ui-playground.bundle.js.map":"scripts/ui-playground.bundle.js.map?4863fe","scripts/sidebar.bundle.js.map":"scripts/sidebar.bundle.js.map?b19c9e"};function t(s){s.setAttribute("data-hypothesis-asset","")}function e(s,e){var n=s.createElement("link");n.rel="stylesheet",n.type="text/css",n.href=e,t(n),s.head.appendChild(n)}function n(s,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.esModule,o=void 0===r||r,i=n.forceReload,a=void 0!==i&&i,l=s.createElement("script");o&&(l.type="module"),a&&(e+="#ts=".concat(Date.now())),l.src=e,l.async=!1,t(l),s.head.appendChild(l)}function r(s,e,n,r){var o=s.createElement("link");o.rel=e,o.href=r,o.type="application/annotator+".concat(n),t(o),s.head.appendChild(o)}function o(s,e,n){var r=s.createElement("link");r.rel="preload",r.as=e,r.href=n,"fetch"===e&&(r.crossOrigin="anonymous"),t(r),s.head.appendChild(r)}function i(s,t){return s.assetRoot+"build/"+s.manifest[t]}function a(s){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(-1===s.indexOf("{"))return s;var e=function(){var s,t,e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).currentScript;return e?(s=e.src,(t=s.match(/(https?):\/\/([^:/]+)/))?{protocol:t[1],hostname:t[2]}:null):null}(t);if(!e)throw new Error("Could not process URL template because script origin is unknown");return s=(s=s.replace("{current_host}",e.hostname)).replace("{current_scheme}",e.protocol)}if(function(){var s=[function(){return Object.fromEntries([])},function(){return new URL(document.location.href)},function(){return new Request("https://hypothes.is")},function(){return Element.prototype.attachShadow},function(){return CSS.supports("display: grid")},function(){return document.evaluate("/html/body",document,null,XPathResult.ANY_TYPE,null),!0}];try{return s.every((function(s){return s()}))}catch(s){return!1}}()){var l=function(s){for(var t={},e=s.querySelectorAll("script.js-hypothesis-config"),n=0;n<e.length;n++){var r=void 0;try{r=JSON.parse(e[n].textContent||"")}catch(s){console.warn("Could not parse settings from js-hypothesis-config tags",s),r={}}Object.assign(t,r)}return t}(document),c=a(l.assetRoot||"https://cdn.hypothes.is/hypothesis/1.1528.0/");if(document.querySelector("hypothesis-app")){!function(s,t){o(s,"fetch",t.apiUrl),o(s,"fetch",t.apiUrl+"links");for(var r=0,a=["scripts/sidebar.bundle.js"];r<a.length;r++)n(s,i(t,a[r]),{esModule:!0});for(var l=0,c=["styles/katex.min.css","styles/sidebar.css"];l<c.length;l++)e(s,i(t,c[l]))}(document,{assetRoot:c,manifest:s,apiUrl:l.apiUrl})}else{var p=function(){var s;return null===(s=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).chrome)||void 0===s||null===(s=s.runtime)||void 0===s?void 0:s.id}();if(p&&!function(s){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelector("script.js-hypothesis-config[data-extension-id=".concat(s,"]"))}(p))throw new Error("Could not start Hypothesis extension as configuration is missing");var u=l,d=a(u.notebookAppUrl||"https://hypothes.is/notebook"),h=a(u.profileAppUrl||"https://hypothes.is/user-profile"),y=a(u.sidebarAppUrl||"https://hypothes.is/app.html");!function(s,t){if(!s.querySelector('link[type="application/annotator+html"]')){r(s,"sidebar","html",t.sidebarAppUrl),r(s,"notebook","html",t.notebookAppUrl),r(s,"profile","html",t.profileAppUrl),o(s,"style",i(t,"styles/annotator.css")),r(s,"hypothesis-client","javascript",t.assetRoot+"build/boot.js");for(var a=0,l=["scripts/annotator.bundle.js"];a<l.length;a++)n(s,i(t,l[a]),{esModule:!1});var c=[];void 0!==window.PDFViewerApplication&&c.push("styles/pdfjs-overrides.css"),c.push("styles/highlights.css");for(var p=0,u=c;p<u.length;p++)e(s,i(t,u[p]))}}(document,{assetRoot:c,manifest:s,notebookAppUrl:d,profileAppUrl:h,sidebarAppUrl:y})}}else console.warn("The Hypothesis annotation tool is not supported in this browser. See https://web.hypothes.is/help/which-browsers-are-supported-by-hypothesis/.")}(); |
{ | ||
"scripts/annotator.bundle.js": "scripts/annotator.bundle.js?6943b2", | ||
"styles/annotator.css": "styles/annotator.css?e1c6e7", | ||
"scripts/annotator.bundle.js": "scripts/annotator.bundle.js?c6124b", | ||
"styles/annotator.css": "styles/annotator.css?fff16e", | ||
"styles/annotator.css.map": "styles/annotator.css.map?4dcebd", | ||
@@ -11,11 +11,11 @@ "styles/highlights.css": "styles/highlights.css?6b4ebd", | ||
"styles/pdfjs-overrides.css.map": "styles/pdfjs-overrides.css.map?1d8ac6", | ||
"styles/sidebar.css": "styles/sidebar.css?f04d36", | ||
"styles/sidebar.css": "styles/sidebar.css?620132", | ||
"styles/sidebar.css.map": "styles/sidebar.css.map?7780ad", | ||
"styles/ui-playground.css": "styles/ui-playground.css?47f01e", | ||
"styles/ui-playground.css.map": "styles/ui-playground.css.map?647144", | ||
"scripts/annotator.bundle.js.map": "scripts/annotator.bundle.js.map?234e18", | ||
"scripts/sidebar.bundle.js": "scripts/sidebar.bundle.js?e8680f", | ||
"styles/ui-playground.css": "styles/ui-playground.css?cf227f", | ||
"scripts/ui-playground.bundle.js": "scripts/ui-playground.bundle.js?02aa14", | ||
"scripts/sidebar.bundle.js": "scripts/sidebar.bundle.js?b1d8ce", | ||
"scripts/annotator.bundle.js.map": "scripts/annotator.bundle.js.map?340899", | ||
"scripts/ui-playground.bundle.js.map": "scripts/ui-playground.bundle.js.map?4863fe", | ||
"scripts/sidebar.bundle.js.map": "scripts/sidebar.bundle.js.map?425d38" | ||
"scripts/sidebar.bundle.js.map": "scripts/sidebar.bundle.js.map?b19c9e" | ||
} |
{ | ||
"name": "hypothesis", | ||
"version": "1.1527.0", | ||
"version": "1.1528.0", | ||
"description": "Annotate with anyone, anywhere.", | ||
@@ -41,4 +41,2 @@ "license": "BSD-2-Clause", | ||
"@types/sinon": "^17.0.3", | ||
"@typescript-eslint/eslint-plugin": "^7.0.1", | ||
"@typescript-eslint/parser": "^7.0.1", | ||
"approx-string-match": "^2.0.0", | ||
@@ -62,8 +60,8 @@ "autoprefixer": "^10.0.1", | ||
"escape-string-regexp": "^4.0.0", | ||
"eslint": "^8.3.0", | ||
"eslint-config-hypothesis": "^2.6.0", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-mocha": "^10.0.1", | ||
"eslint-plugin-react": "^7.12.4", | ||
"eslint-plugin-react-hooks": "^4.0.4", | ||
"eslint": "^9.12.0", | ||
"eslint-config-hypothesis": "^3.1.0", | ||
"eslint-plugin-jsx-a11y": "^6.10.0", | ||
"eslint-plugin-mocha": "^10.5.0", | ||
"eslint-plugin-react": "^7.37.1", | ||
"eslint-plugin-react-hooks": "^5.0.0", | ||
"express": "^5.0.1", | ||
@@ -73,2 +71,3 @@ "fancy-log": "^2.0.0", | ||
"focus-visible": "^5.0.0", | ||
"globals": "^15.11.0", | ||
"gulp": "^5.0.0", | ||
@@ -107,2 +106,3 @@ "gulp-changed": "^5.0.1", | ||
"typescript": "^5.0.2", | ||
"typescript-eslint": "^8.10.0", | ||
"wrap-text": "^1.0.7" | ||
@@ -109,0 +109,0 @@ }, |
Sorry, the diff of this file is too big to display
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 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
8729728