17 May 2022 |
vinay-keshava | Pirate Praveen:
vinay@debian:~/src$ npm2deb depends -b -r prosemirror-tables
Dependencies:
NPM Debian
prosemirror-tables (1.1.1) None
├─ prosemirror-keymap (^1.1.2) None
│ ├─ prosemirror-state (^1.0.0) node-prosemirror-state (1.3.4-1)
│ └─ w3c-keyname (^2.2.0) None
├─ prosemirror-model (^1.8.1) node-prosemirror-model (1.16.1+~cs1.1.5-1)
├─ prosemirror-state (^1.3.1) node-prosemirror-state (1.3.4-1)
├─ prosemirror-transform (^1.2.1) node-prosemirror-transform (1.2.8-4)
└─ prosemirror-view (^1.13.3) None
├─ prosemirror-model (^1.16.0) node-prosemirror-model (1.16.1+~cs1.1.5-1)
├─ prosemirror-state (^1.0.0) node-prosemirror-state (1.3.4-1)
└─ prosemirror-transform (^1.1.0) node-prosemirror-transform (1.2.8-4)
ITP for w3c-keyname was rejected saying Bug #1010946 [wnpp] ITP: node-w3c-keyname Marked Bug as done
| 17:58:15 |
vinay-keshava | * Pirate Praveen:
vinay@debian:~/src$ npm2deb depends -b -r prosemirror-tables
Dependencies:
NPM Debian
prosemirror-tables (1.1.1) None
├─ prosemirror-keymap (^1.1.2) None
│ ├─ prosemirror-state (^1.0.0) node-prosemirror-state (1.3.4-1)
│ └─ w3c-keyname (^2.2.0) None
├─ prosemirror-model (^1.8.1) node-prosemirror-model (1.16.1+~cs1.1.5-1)
├─ prosemirror-state (^1.3.1) node-prosemirror-state (1.3.4-1)
├─ prosemirror-transform (^1.2.1) node-prosemirror-transform (1.2.8-4)
└─ prosemirror-view (^1.13.3) None
├─ prosemirror-model (^1.16.0) node-prosemirror-model (1.16.1+~cs1.1.5-1)
├─ prosemirror-state (^1.0.0) node-prosemirror-state (1.3.4-1)
└─ prosemirror-transform (^1.1.0) node-prosemirror-transform (1.2.8-4)
ITP for w3c-keyname was rejected saying Bug #1010946 [wnpp] ITP: node-w3c-keyname Marked Bug as done Warning: Unknown package 'w3c-keyname'
| 17:58:52 |
Pirate Praveen | vinay-keshava, are you sure you used the correct syntax? | 18:06:05 |
Pirate Praveen | compare with your previous ITP mail | 18:06:14 |
vinay-keshava | In reply to @_bifrost_Pirate=20Praveen=2fdebian-browserify=40groups.poddery.com:aria-net.org vinay-keshava, are you sure you used the correct syntax? Oh the bug was already reported https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008892 | 18:18:01 |
| @sheilabillytoken12:matrix.org left the room. | 18:55:49 |
| @_oftc_villanelle:matrix.org joined the room. | 20:26:36 |
| @_oftc_villanelle:matrix.org left the room. | 20:27:06 |
18 May 2022 |
Pirate Praveen | vinay-keshava: OK let's wait for their reply | 06:44:41 |
Vinay Keshava | > Pirate Praveen wrote:
> vinay-keshava: OK let's wait for their reply
Pirate Praveen:
Could you suggest another package to work on !! | 07:40:52 |
Pirate Praveen | Vinay Keshava: https://wiki.debian.org/Javascript/Nodejs/yarn-plugin-apt#New_modules_to_be_packaged may be take meros and add your name there | 08:15:27 |
Pirate Praveen | can anyone help with this https://github.com/itgalaxy/webfont/issues/572 ? | 17:23:19 |
Israel Galadima | In reply to @_bifrost_Pirate=20Praveen=2fdebian-browserify=40groups.poddery.com:aria-net.org can anyone help with this https://github.com/itgalaxy/webfont/issues/572 ? will check this out | 17:24:42 |
Israel Galadima | from cosmiconfig v5.2.0 index.js
module.exports = cosmiconfig;
from cosmiconfig v7.0.1 index.ts (with tsconfig module esnext)
export { cosmiconfig, cosmiconfigSync, defaultLoaders };
| 17:47:46 |
Israel Galadima | so maybe change
import cosmiconfig from "cosmiconfig";
to
import { cosmiconfig } from "cosmiconfig";
| 17:48:22 |
Israel Galadima | inside src/standalone/index.ts of webfont | 17:48:49 |
Pirate Praveen | Israel Galadima, I tried that but it fails later | 17:52:36 |
Pirate Praveen | https://paste.debian.net/1241311/ | 17:53:59 |
Israel Galadima | hello Pirate Praveen | 18:43:00 |
Israel Galadima | remove the two awaits | 18:43:08 |
Israel Galadima | const buildConfig = async (options) => {
let searchPath = process.cwd();
let configPath = null;
if (options.configFile) {
searchPath = null;
configPath = path.resolve(process.cwd(), options.configFile);
}
const configExplorer = cosmiconfig("webfont");
let config = await configExplorer.search(searchPath);
if (configPath) {
config = await configExplorer.load(configPath);
}
if (!config) {
return {};
}
return config;
};
| 18:43:40 |
Israel Galadima | buildconfig shouldnt be async | 18:44:46 |
Israel Galadima | then remove the two awaits | 18:44:57 |
Israel Galadima | line 12 and 13 | 18:45:07 |
Israel Galadima | i think i got that wrong, they should be | 18:59:49 |
Israel Galadima | the issue comes from that function | 19:00:03 |
Israel Galadima | it returns {} instead of config and im trying to find out why | 19:00:25 |
Israel Galadima | help anyone :) | 19:00:33 |
asd | In reply to @izzygala:matrix.org it returns {} instead of config and im trying to find out why If config is missing it'll return that, right?
Also, if it is just typescript making a fuss, there is a chance that making line 37 be return {} as Any; will help. | 20:10:09 |
Israel Galadima | In reply to @akshay:matrix.org
If config is missing it'll return that, right?
Also, if it is just typescript making a fuss, there is a chance that making line 37 be return {} as Any; will help. yes when config is missing it returns {} | 21:39:45 |