@comunica/actor-dereference-fallback 2.4.0 → 2.5.0

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActorDereferenceFallback.js","sourceRoot":"","sources":["ActorDereferenceFallback.ts"],"names":[],"mappings":";;;AACA,+DAA6D;AAG7D;;GAEG;AACH,MAAa,wBAAyB,SAAQ,kCAAgB;IAC5D,YAAmB,IAA2B;QAC5C,KAAK,CAAC,IAAI,CAAC,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,MAA0B;QAC1C,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,GAAG,CAAC,MAA0B;QACzC,OAAO,IAAI,CAAC,uBAAuB,CAAC,MAAM,EAAE,IAAI,KAAK,CAAC,0BAA0B,MAAM,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;IAClG,CAAC;CACF;AAZD,4DAYC","sourcesContent":["import type { IActionDereference, IActorDereferenceOutput, IActorDereferenceArgs } from '@comunica/bus-dereference';\nimport { ActorDereference } from '@comunica/bus-dereference';\nimport type { IActorTest } from '@comunica/core';\n\n/**\n * A comunica Fallback Dereference Actor.\n */\nexport class ActorDereferenceFallback extends ActorDereference {\n public constructor(args: IActorDereferenceArgs) {\n super(args);\n }\n\n public async test(action: IActionDereference): Promise<IActorTest> {\n return true;\n }\n\n public async run(action: IActionDereference): Promise<IActorDereferenceOutput> {\n return this.handleDereferenceErrors(action, new Error(`Could not dereference '${action.url}'`));\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C","sourcesContent":["export * from './ActorDereferenceFallback';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comunica/actor-dereference-fallback",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "A fallback dereference actor",
5
5
  "lsd:module": true,
6
6
  "main": "lib/index.js",
@@ -28,16 +28,17 @@
28
28
  "files": [
29
29
  "components",
30
30
  "lib/**/*.d.ts",
31
- "lib/**/*.js"
31
+ "lib/**/*.js",
32
+ "lib/**/*.js.map"
32
33
  ],
33
34
  "dependencies": {
34
- "@comunica/bus-dereference": "^2.4.0",
35
- "@comunica/core": "^2.4.0"
35
+ "@comunica/bus-dereference": "^2.5.0",
36
+ "@comunica/core": "^2.5.0"
36
37
  },
37
38
  "scripts": {
38
39
  "build": "npm run build:ts && npm run build:components",
39
40
  "build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
40
41
  "build:components": "componentsjs-generator"
41
42
  },
42
- "gitHead": "cb5a1560c9ab9ebaf3335888a1411a7e1654de1e"
43
+ "gitHead": "349d57f5d1e539200e980bdff96973c2e0b66caa"
43
44
  }
package/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright © 2017–now Ruben Taelman, Joachim Van Herwegen
4
- Comunica Association and Ghent University – imec, Belgium
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in
14
- all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
- THE SOFTWARE.