@comunica/actor-dereference-fallback 2.4.2 → 2.5.1

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.2",
3
+ "version": "2.5.1",
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.2",
35
- "@comunica/core": "^2.4.0"
35
+ "@comunica/bus-dereference": "^2.5.1",
36
+ "@comunica/core": "^2.5.1"
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": "ead42818468757f23a7837969e14b83cf19c4438"
43
+ "gitHead": "d64e87fad4a616224c210c2d22b38f6f9b00e1ea"
43
44
  }