@comunica/actor-function-factory-term-lcase 4.4.2-alpha.49.0 → 4.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.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TermFunctionLcase = void 0;
4
4
  const bus_function_factory_1 = require("@comunica/bus-function-factory");
5
5
  const utils_expression_evaluator_1 = require("@comunica/utils-expression-evaluator");
6
- const Helpers_1 = require("@comunica/utils-expression-evaluator/lib/functions/Helpers");
7
6
  /**
8
7
  * https://www.w3.org/TR/sparql11-query/#func-lcase
9
8
  */
@@ -15,7 +14,6 @@ class TermFunctionLcase extends bus_function_factory_1.TermFunctionBase {
15
14
  overloads: (0, utils_expression_evaluator_1.declare)(utils_expression_evaluator_1.SparqlOperator.LCASE)
16
15
  .onString1Typed(() => lit => (0, utils_expression_evaluator_1.string)(lit.toLowerCase()))
17
16
  .onLangString1(() => lit => (0, utils_expression_evaluator_1.langString)(lit.typedValue.toLowerCase(), lit.language))
18
- .onDirLangString1(() => lit => (0, Helpers_1.dirLangString)(lit.typedValue.toLowerCase(), lit.language, lit.direction))
19
17
  .collect(),
20
18
  });
21
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TermFunctionLcase.js","sourceRoot":"","sources":["TermFunctionLcase.ts"],"names":[],"mappings":";;;AAAA,yEAAkE;AAElE,qFAK8C;AAC9C,wFAA2F;AAE3F;;GAEG;AACH,MAAa,iBAAkB,SAAQ,uCAAgB;IACrD;QACE,KAAK,CAAC;YACJ,KAAK,EAAE,CAAC;YACR,QAAQ,EAAE,2CAAc,CAAC,KAAK;YAC9B,SAAS,EAAE,IAAA,oCAAO,EAAC,2CAAc,CAAC,KAAK,CAAC;iBACrC,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAA,mCAAM,EAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;iBACtD,aAAa,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAA,uCAAU,EAAC,GAAG,CAAC,UAAU,CAAC,WAAW,EAAE,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;iBAClF,gBAAgB,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAA,uBAAa,EAAC,GAAG,CAAC,UAAU,CAAC,WAAW,EAAE,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC;iBACvG,OAAO,EAAE;SACb,CAAC,CAAC;IACL,CAAC;CACF;AAZD,8CAYC","sourcesContent":["import { TermFunctionBase } from '@comunica/bus-function-factory';\n\nimport {\n declare,\n langString,\n SparqlOperator,\n string,\n} from '@comunica/utils-expression-evaluator';\nimport { dirLangString } from '@comunica/utils-expression-evaluator/lib/functions/Helpers';\n\n/**\n * https://www.w3.org/TR/sparql11-query/#func-lcase\n */\nexport class TermFunctionLcase extends TermFunctionBase {\n public constructor() {\n super({\n arity: 1,\n operator: SparqlOperator.LCASE,\n overloads: declare(SparqlOperator.LCASE)\n .onString1Typed(() => lit => string(lit.toLowerCase()))\n .onLangString1(() => lit => langString(lit.typedValue.toLowerCase(), lit.language))\n .onDirLangString1(() => lit => dirLangString(lit.typedValue.toLowerCase(), lit.language, lit.direction))\n .collect(),\n });\n }\n}\n"]}
1
+ {"version":3,"file":"TermFunctionLcase.js","sourceRoot":"","sources":["TermFunctionLcase.ts"],"names":[],"mappings":";;;AAAA,yEAAkE;AAElE,qFAK8C;AAE9C;;GAEG;AACH,MAAa,iBAAkB,SAAQ,uCAAgB;IACrD;QACE,KAAK,CAAC;YACJ,KAAK,EAAE,CAAC;YACR,QAAQ,EAAE,2CAAc,CAAC,KAAK;YAC9B,SAAS,EAAE,IAAA,oCAAO,EAAC,2CAAc,CAAC,KAAK,CAAC;iBACrC,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAA,mCAAM,EAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;iBACtD,aAAa,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAA,uCAAU,EAAC,GAAG,CAAC,UAAU,CAAC,WAAW,EAAE,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;iBAClF,OAAO,EAAE;SACb,CAAC,CAAC;IACL,CAAC;CACF;AAXD,8CAWC","sourcesContent":["import { TermFunctionBase } from '@comunica/bus-function-factory';\n\nimport {\n declare,\n langString,\n SparqlOperator,\n string,\n} from '@comunica/utils-expression-evaluator';\n\n/**\n * https://www.w3.org/TR/sparql11-query/#func-lcase\n */\nexport class TermFunctionLcase extends TermFunctionBase {\n public constructor() {\n super({\n arity: 1,\n operator: SparqlOperator.LCASE,\n overloads: declare(SparqlOperator.LCASE)\n .onString1Typed(() => lit => string(lit.toLowerCase()))\n .onLangString1(() => lit => langString(lit.typedValue.toLowerCase(), lit.language))\n .collect(),\n });\n }\n}\n"]}
package/lib/index.d.ts CHANGED
File without changes
package/lib/index.js CHANGED
File without changes
package/lib/index.js.map CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comunica/actor-function-factory-term-lcase",
3
- "version": "4.4.2-alpha.49.0",
3
+ "version": "4.5.0",
4
4
  "description": "A term-lcase function-factory actor",
5
5
  "lsd:module": true,
6
6
  "license": "MIT",
@@ -37,8 +37,8 @@
37
37
  "build:components": "componentsjs-generator"
38
38
  },
39
39
  "dependencies": {
40
- "@comunica/bus-function-factory": "4.4.2-alpha.49.0",
41
- "@comunica/utils-expression-evaluator": "4.4.2-alpha.49.0"
40
+ "@comunica/bus-function-factory": "^4.5.0",
41
+ "@comunica/utils-expression-evaluator": "^4.5.0"
42
42
  },
43
- "gitHead": "ef6f96cfd8faf7c37955bb7e0fe9f6fc6a994bdf"
43
+ "gitHead": "2bcd98c387a021fc5c08d375793c205ca3d1bf0d"
44
44
  }