solid-panes 3.5.36-e5332068 → 3.5.36-fcdc4202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/outline/manager.test.d.ts +2 -0
- package/lib/outline/manager.test.d.ts.map +1 -0
- package/lib/outline/propertyViews.test.d.ts +2 -0
- package/lib/outline/propertyViews.test.d.ts.map +1 -0
- package/lib/outline/propertyViews.test.js +1 -0
- package/lib/outline/propertyViews.test.js.map +1 -1
- package/lib/trustedApplications/trustedApplications.test.d.ts +2 -0
- package/lib/trustedApplications/trustedApplications.test.d.ts.map +1 -0
- package/lib/trustedApplications/trustedApplications.utils.d.ts +1 -0
- package/lib/trustedApplications/trustedApplications.utils.d.ts.map +1 -1
- package/lib/versionInfo.js +2 -2
- package/lib/versionInfo.js.map +1 -1
- package/package.json +2 -2
- package/src/outline/propertyViews.test.ts +2 -1
- package/src/versionInfo.ts +2 -2
- package/tsconfig.json +7 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manager.test.d.ts","sourceRoot":"","sources":["../../src/outline/manager.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propertyViews.test.d.ts","sourceRoot":"","sources":["../../src/outline/propertyViews.test.ts"],"names":[],"mappings":""}
|
|
@@ -21,6 +21,7 @@ describe('property views', function () {
|
|
|
21
21
|
var result = view((0, _rdflib.sym)('mailto:alice@mail.example'));
|
|
22
22
|
expect(result).toBeInstanceOf(HTMLAnchorElement);
|
|
23
23
|
expect(result).toHaveAttribute('href', 'mailto:alice@mail.example');
|
|
24
|
+
expect(result).toHaveTextContent('alice@mail.example');
|
|
24
25
|
});
|
|
25
26
|
});
|
|
26
27
|
//# sourceMappingURL=propertyViews.test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertyViews.test.js","names":["_util","require","_rdflib","_propertyViews","global","TextEncoder","TextDecoder","describe","it","each","property","views","propertyViews","document","view","defaults","result","sym","expect","toBeInstanceOf","HTMLImageElement","toHaveAttribute","HTMLAnchorElement"],"sources":["../../src/outline/propertyViews.test.ts"],"sourcesContent":["/* eslint-env jest */\n\nimport { TextEncoder, TextDecoder } from 'util'\nglobal.TextEncoder = TextEncoder as any\nglobal.TextDecoder = TextDecoder as any\n\n\nimport { sym } from 'rdflib'\nimport { propertyViews } from './propertyViews'\n\ndescribe('property views', () => {\n it.each([\n 'http://xmlns.com/foaf/0.1/depiction',\n 'http://xmlns.com/foaf/0.1/img',\n 'http://xmlns.com/foaf/0.1/thumbnail',\n 'http://xmlns.com/foaf/0.1/logo',\n 'http://schema.org/image'\n ])('renders %s as image', (property) => {\n const views = propertyViews(document)\n const view = views.defaults[property]\n const result = view(sym('https://pod.example/img.jpg'))\n expect(result).toBeInstanceOf(HTMLImageElement)\n expect(result).toHaveAttribute('src', 'https://pod.example/img.jpg')\n })\n\n it.each([\n 'http://xmlns.com/foaf/0.1/mbox'\n ])('renders %s as anchor', (property) => {\n const views = propertyViews(document)\n const view = views.defaults[property]\n const result = view(sym('mailto:alice@mail.example'))\n expect(result).toBeInstanceOf(HTMLAnchorElement)\n expect(result).toHaveAttribute('href', 'mailto:alice@mail.example')
|
|
1
|
+
{"version":3,"file":"propertyViews.test.js","names":["_util","require","_rdflib","_propertyViews","global","TextEncoder","TextDecoder","describe","it","each","property","views","propertyViews","document","view","defaults","result","sym","expect","toBeInstanceOf","HTMLImageElement","toHaveAttribute","HTMLAnchorElement","toHaveTextContent"],"sources":["../../src/outline/propertyViews.test.ts"],"sourcesContent":["/* eslint-env jest */\n\nimport { TextEncoder, TextDecoder } from 'util'\nglobal.TextEncoder = TextEncoder as any\nglobal.TextDecoder = TextDecoder as any\n\n\nimport { sym } from 'rdflib'\nimport { propertyViews } from './propertyViews'\n\ndescribe('property views', () => {\n it.each([\n 'http://xmlns.com/foaf/0.1/depiction',\n 'http://xmlns.com/foaf/0.1/img',\n 'http://xmlns.com/foaf/0.1/thumbnail',\n 'http://xmlns.com/foaf/0.1/logo',\n 'http://schema.org/image'\n ])('renders %s as image', (property) => {\n const views = propertyViews(document)\n const view = views.defaults[property]\n const result = view(sym('https://pod.example/img.jpg'))\n expect(result).toBeInstanceOf(HTMLImageElement)\n expect(result).toHaveAttribute('src', 'https://pod.example/img.jpg')\n })\n\n it.each([\n 'http://xmlns.com/foaf/0.1/mbox'\n ])('renders %s as anchor', (property) => {\n const views = propertyViews(document)\n const view = views.defaults[property]\n const result = view(sym('mailto:alice@mail.example'))\n expect(result).toBeInstanceOf(HTMLAnchorElement)\n expect(result).toHaveAttribute('href', 'mailto:alice@mail.example');\n expect(result).toHaveTextContent('alice@mail.example');\n })\n})\n"],"mappings":";;AAEA,IAAAA,KAAA,GAAAC,OAAA;AAKA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AARA;;AAGAG,MAAM,CAACC,WAAW,GAAGA,iBAAkB;AACvCD,MAAM,CAACE,WAAW,GAAGA,iBAAkB;AAMvCC,QAAQ,CAAC,gBAAgB,EAAE,YAAM;EAC/BC,EAAE,CAACC,IAAI,CAAC,CACN,qCAAqC,EACrC,+BAA+B,EAC/B,qCAAqC,EACrC,gCAAgC,EAChC,yBAAyB,CAC1B,CAAC,CAAC,qBAAqB,EAAE,UAACC,QAAQ,EAAK;IACtC,IAAMC,KAAK,GAAG,IAAAC,4BAAa,EAACC,QAAQ,CAAC;IACrC,IAAMC,IAAI,GAAGH,KAAK,CAACI,QAAQ,CAACL,QAAQ,CAAC;IACrC,IAAMM,MAAM,GAAGF,IAAI,CAAC,IAAAG,WAAG,EAAC,6BAA6B,CAAC,CAAC;IACvDC,MAAM,CAACF,MAAM,CAAC,CAACG,cAAc,CAACC,gBAAgB,CAAC;IAC/CF,MAAM,CAACF,MAAM,CAAC,CAACK,eAAe,CAAC,KAAK,EAAE,6BAA6B,CAAC;EACtE,CAAC,CAAC;EAEFb,EAAE,CAACC,IAAI,CAAC,CACN,gCAAgC,CACjC,CAAC,CAAC,sBAAsB,EAAE,UAACC,QAAQ,EAAK;IACvC,IAAMC,KAAK,GAAG,IAAAC,4BAAa,EAACC,QAAQ,CAAC;IACrC,IAAMC,IAAI,GAAGH,KAAK,CAACI,QAAQ,CAACL,QAAQ,CAAC;IACrC,IAAMM,MAAM,GAAGF,IAAI,CAAC,IAAAG,WAAG,EAAC,2BAA2B,CAAC,CAAC;IACrDC,MAAM,CAACF,MAAM,CAAC,CAACG,cAAc,CAACG,iBAAiB,CAAC;IAChDJ,MAAM,CAACF,MAAM,CAAC,CAACK,eAAe,CAAC,MAAM,EAAE,2BAA2B,CAAC;IACnEH,MAAM,CAACF,MAAM,CAAC,CAACO,iBAAiB,CAAC,oBAAoB,CAAC;EACxD,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trustedApplications.test.d.ts","sourceRoot":"","sources":["../../src/trustedApplications/trustedApplications.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../typings/solid-namespace/index.d.ts" />
|
|
1
2
|
import { IndexedFormula, NamedNode, Literal } from 'rdflib';
|
|
2
3
|
import { Namespaces } from 'solid-namespace';
|
|
3
4
|
export declare function getStatementsToDelete(origin: NamedNode | Literal, person: NamedNode, kb: IndexedFormula, ns: Namespaces): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trustedApplications.utils.d.ts","sourceRoot":"","sources":["../../src/trustedApplications/trustedApplications.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,SAAS,EAAM,OAAO,EAAkB,MAAM,QAAQ,CAAA;AAC1F,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,SAAS,GAAG,OAAO,EAC3B,MAAM,EAAE,SAAS,EACjB,EAAE,EAAE,cAAc,EAClB,EAAE,EAAE,UAAU,GACb,GAAG,CAqBL;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,SAAS,EACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EAAE,EACf,MAAM,EAAE,SAAS,EACjB,EAAE,EAAE,UAAU,GACb,GAAG,CASL;AAED,wBAAgB,oBAAoB,WAEnC"}
|
|
1
|
+
{"version":3,"file":"trustedApplications.utils.d.ts","sourceRoot":"","sources":["../../src/trustedApplications/trustedApplications.utils.ts"],"names":[],"mappings":";AAAA,OAAO,EAAa,cAAc,EAAE,SAAS,EAAM,OAAO,EAAkB,MAAM,QAAQ,CAAA;AAC1F,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,SAAS,GAAG,OAAO,EAC3B,MAAM,EAAE,SAAS,EACjB,EAAE,EAAE,cAAc,EAClB,EAAE,EAAE,UAAU,GACb,GAAG,CAqBL;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,SAAS,EACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EAAE,EACf,MAAM,EAAE,SAAS,EACjB,EAAE,EAAE,UAAU,GACb,GAAG,CASL;AAED,wBAAgB,oBAAoB,WAEnC"}
|
package/lib/versionInfo.js
CHANGED
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _default = exports["default"] = {
|
|
8
|
-
buildTime: "2024-
|
|
9
|
-
commit: "
|
|
8
|
+
buildTime: "2024-09-03T20:09:29Z",
|
|
9
|
+
commit: "fcdc420285b0d407e8021556f7e375d5b87ce36b",
|
|
10
10
|
npmInfo: {
|
|
11
11
|
'solid-panes': '3.5.36',
|
|
12
12
|
npm: '8.19.4',
|
package/lib/versionInfo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versionInfo.js","names":["buildTime","commit","npmInfo","npm","node","v8","uv","zlib","brotli","ares","modules","nghttp2","napi","llhttp","openssl","cldr","icu","tz","unicode","ngtcp2","nghttp3"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export default {\nbuildTime: \"2024-
|
|
1
|
+
{"version":3,"file":"versionInfo.js","names":["buildTime","commit","npmInfo","npm","node","v8","uv","zlib","brotli","ares","modules","nghttp2","napi","llhttp","openssl","cldr","icu","tz","unicode","ngtcp2","nghttp3"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export default {\nbuildTime: \"2024-09-03T20:09:29Z\",\ncommit: \"fcdc420285b0d407e8021556f7e375d5b87ce36b\",\nnpmInfo:\n{\n 'solid-panes': '3.5.36',\n npm: '8.19.4',\n node: '16.20.2',\n v8: '9.4.146.26-node.26',\n uv: '1.43.0',\n zlib: '1.2.11',\n brotli: '1.0.9',\n ares: '1.19.1',\n modules: '93',\n nghttp2: '1.47.0',\n napi: '8',\n llhttp: '6.0.11',\n openssl: '1.1.1v+quic',\n cldr: '41.0',\n icu: '71.1',\n tz: '2022f',\n unicode: '14.0',\n ngtcp2: '0.8.1',\n nghttp3: '0.7.0'\n}\n};\n"],"mappings":";;;;;;oCAAe;EACfA,SAAS,EAAE,sBAAsB;EACjCC,MAAM,EAAE,0CAA0C;EAClDC,OAAO,EACP;IACE,aAAa,EAAE,QAAQ;IACvBC,GAAG,EAAE,QAAQ;IACbC,IAAI,EAAE,SAAS;IACfC,EAAE,EAAE,oBAAoB;IACxBC,EAAE,EAAE,QAAQ;IACZC,IAAI,EAAE,QAAQ;IACdC,MAAM,EAAE,OAAO;IACfC,IAAI,EAAE,QAAQ;IACdC,OAAO,EAAE,IAAI;IACbC,OAAO,EAAE,QAAQ;IACjBC,IAAI,EAAE,GAAG;IACTC,MAAM,EAAE,QAAQ;IAChBC,OAAO,EAAE,aAAa;IACtBC,IAAI,EAAE,MAAM;IACZC,GAAG,EAAE,MAAM;IACXC,EAAE,EAAE,OAAO;IACXC,OAAO,EAAE,MAAM;IACfC,MAAM,EAAE,OAAO;IACfC,OAAO,EAAE;EACX;AACA,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solid-panes",
|
|
3
|
-
"version": "3.5.36-
|
|
3
|
+
"version": "3.5.36-fcdc4202",
|
|
4
4
|
"description": "Solid-compatible Panes: applets and views for the mashlib and databrowser",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"homepage": "https://github.com/solidos/solid-panes",
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@solid/better-simple-slideshow": "^0.1.0",
|
|
49
|
+
"@types/jest": "^29.5.12",
|
|
49
50
|
"activitystreams-pane": "^0.6.13",
|
|
50
51
|
"chat-pane": "^2.4.26",
|
|
51
52
|
"contacts-pane": "^2.6.12",
|
|
@@ -68,7 +69,6 @@
|
|
|
68
69
|
"@babel/preset-typescript": "^7.24.1",
|
|
69
70
|
"@testing-library/dom": "^9.3.4",
|
|
70
71
|
"@testing-library/jest-dom": "^6.4.2",
|
|
71
|
-
"@types/jest": "^29.5.12",
|
|
72
72
|
"@types/webpack-env": "^1.18.4",
|
|
73
73
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
74
74
|
"@typescript-eslint/parser": "^6.21.0",
|
|
@@ -30,6 +30,7 @@ describe('property views', () => {
|
|
|
30
30
|
const view = views.defaults[property]
|
|
31
31
|
const result = view(sym('mailto:alice@mail.example'))
|
|
32
32
|
expect(result).toBeInstanceOf(HTMLAnchorElement)
|
|
33
|
-
expect(result).toHaveAttribute('href', 'mailto:alice@mail.example')
|
|
33
|
+
expect(result).toHaveAttribute('href', 'mailto:alice@mail.example');
|
|
34
|
+
expect(result).toHaveTextContent('alice@mail.example');
|
|
34
35
|
})
|
|
35
36
|
})
|
package/src/versionInfo.ts
CHANGED
package/tsconfig.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
+
// See https://stackoverflow.com/questions/54139158/cannot-find-name-describe-do-you-need-to-install-type-definitions-for-a-test
|
|
3
|
+
|
|
2
4
|
"compilerOptions": {
|
|
3
5
|
/* Basic Options */
|
|
4
6
|
"target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
|
|
@@ -50,9 +52,13 @@
|
|
|
50
52
|
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
|
51
53
|
"typeRoots": [
|
|
52
54
|
"node_modules/@types",
|
|
55
|
+
"node_modules/@testing-library",
|
|
53
56
|
"./typings"
|
|
54
57
|
] /* List of folders to include type definitions from. */,
|
|
55
58
|
// "types": [], /* Type declaration files to be included in compilation. */
|
|
59
|
+
|
|
60
|
+
"types": ["node", "jsdom", "jest", "jest-dom"], /* https://medium.com/heybooster/debugging-typescript-jest-dom-matchers-in-vue-js-6962dab4d4cc */
|
|
61
|
+
|
|
56
62
|
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
|
57
63
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
|
58
64
|
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
|
@@ -68,5 +74,5 @@
|
|
|
68
74
|
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
|
69
75
|
},
|
|
70
76
|
"include": ["src/**/*"],
|
|
71
|
-
"exclude": ["node_modules", "**/*.test.ts"
|
|
77
|
+
"exclude": ["node_modules"] // was , "**/*.test.ts"
|
|
72
78
|
}
|