@openhps/solid 0.1.0-alpha.1 → 0.1.0-alpha.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openhps/solid",
3
- "version": "0.1.0-alpha.1",
3
+ "version": "0.1.0-alpha.2",
4
4
  "description": "Open Hybrid Positioning System",
5
5
  "author": "Maxim Van de Wynckel",
6
6
  "license": "Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  "src/**/*"
39
39
  ],
40
40
  "scripts": {
41
- "postinstall": "ts-node ./src/fix/install.ts",
41
+ "postinstall": "node ./src/fix/install.js",
42
42
  "test": "mocha --config test/.mocharc.json",
43
43
  "cover": "nyc mocha --config test/.mocharc.json && nyc report --reporter=cobertura",
44
44
  "lint": "eslint src/**",
@@ -107,7 +107,6 @@
107
107
  "shx": "^0.3.4",
108
108
  "standard-version": "^9.3.2",
109
109
  "terser-webpack-plugin": "^5.3.1",
110
- "ts-node": "^10.7.0",
111
110
  "typedoc": "^0.22.15",
112
111
  "typescript": "^4.6.3",
113
112
  "webpack": "^5.72.0",
@@ -3,8 +3,10 @@
3
3
  *
4
4
  * @see {@link https://github.com/inrupt/solid-client-js/pull/1545}
5
5
  */
6
- import * as fs from 'fs';
7
- import * as path from 'path';
6
+
7
+ /* eslint-disable */
8
+ const fs = require('fs');
9
+ const path = require('path');
8
10
 
9
11
  const directory = path.dirname(require.resolve('@inrupt/solid-client'));
10
12
  const indexFiles = fs.readdirSync(directory).filter((file) => file.startsWith('index'));
@@ -1 +0,0 @@
1
- export {};
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const fs = require("fs");
4
- const path = require("path");
5
- const directory = path.dirname(require.resolve('@inrupt/solid-client'));
6
- const indexFiles = fs.readdirSync(directory).filter((file) => file.startsWith('index'));
7
- indexFiles.forEach((indexFile) => {
8
- indexFile = path.join(directory, indexFile);
9
- let indexContents = fs.readFileSync(indexFile, { encoding: 'utf-8' });
10
- indexContents = indexContents.replace(/\.filter\(\(addition\) => !containsBlankNode\(addition\)\)/g, '');
11
- fs.writeFileSync(indexFile, indexContents);
12
- console.log(`Patched '${indexFile}'!`);
13
- });
14
- //# sourceMappingURL=install.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"install.js","sourceRoot":"","sources":["../../../src/fix/install.ts"],"names":[],"mappings":";;AAKA,yBAAyB;AACzB,6BAA6B;AAE7B,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AACxE,MAAM,UAAU,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;AACxF,UAAU,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE;IAC7B,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAC5C,IAAI,aAAa,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;IACtE,aAAa,GAAG,aAAa,CAAC,OAAO,CAAC,6DAA6D,EAAE,EAAE,CAAC,CAAC;IACzG,EAAE,CAAC,aAAa,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;IAC3C,OAAO,CAAC,GAAG,CAAC,YAAY,SAAS,IAAI,CAAC,CAAC;AAC3C,CAAC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,12 +0,0 @@
1
- import * as fs from 'fs';
2
- import * as path from 'path';
3
- const directory = path.dirname(require.resolve('@inrupt/solid-client'));
4
- const indexFiles = fs.readdirSync(directory).filter((file) => file.startsWith('index'));
5
- indexFiles.forEach((indexFile) => {
6
- indexFile = path.join(directory, indexFile);
7
- let indexContents = fs.readFileSync(indexFile, { encoding: 'utf-8' });
8
- indexContents = indexContents.replace(/\.filter\(\(addition\) => !containsBlankNode\(addition\)\)/g, '');
9
- fs.writeFileSync(indexFile, indexContents);
10
- console.log(`Patched '${indexFile}'!`);
11
- });
12
- //# sourceMappingURL=install.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"install.js","sourceRoot":"","sources":["../../../src/fix/install.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AACxE,MAAM,UAAU,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;AACxF,UAAU,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE;IAC7B,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAC5C,IAAI,aAAa,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;IACtE,aAAa,GAAG,aAAa,CAAC,OAAO,CAAC,6DAA6D,EAAE,EAAE,CAAC,CAAC;IACzG,EAAE,CAAC,aAAa,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;IAC3C,OAAO,CAAC,GAAG,CAAC,YAAY,SAAS,IAAI,CAAC,CAAC;AAC3C,CAAC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};