Closed Karibash closed 1 year ago
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders
New dependency changes detected. Learn more about Socket for GitHub ↗︎
👍 No new dependency issues detected in pull request
To ignore an alert, reply with a comment starting with @SocketSecurity ignore
followed by a space separated list of package-name@version
specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@*
or ignore all packages with @SocketSecurity ignore-all
⚠️ Please accept the latest app permissions to ensure bot commands work properly. Accept the new permissions here.
Issue | Status |
---|---|
Install scripts | ✅ 0 issues |
Native code | ✅ 0 issues |
Bin script shell injection | ✅ 0 issues |
Unresolved require | ✅ 0 issues |
Invalid package.json | ✅ 0 issues |
HTTP dependency | ✅ 0 issues |
Git dependency | ✅ 0 issues |
Potential typo squat | ✅ 0 issues |
Known Malware | ✅ 0 issues |
Telemetry | ✅ 0 issues |
Protestware/Troll package | ✅ 0 issues |
📊 Modified Dependency Overview:
🚮 Removed packages: tsconfig-paths@3.12.0
This is needed to support projects using TypeScript 5.0 and using array extends in Storybook. https://github.com/storybookjs/storybook/issues/21792
I ran into this problem in TS 5.0 when I used extends as an array. This fix is very important. I look forward to seeing it merged.
I have created a patch file that can be used with patch-package to address this issue. https://gist.github.com/naporin0624/70c2e00f791d881895910a8f2cdb3026
would be great if this could be merged! was just running into the extends
is an array issue, which is a very helpful typescript feature
Waiting on this as well. Storybook with TS 5.0 and Sveltekit depends on this.
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Array
// package.json
{
"imports": {
"#root/*.js": "./*.js"
}
}
// main.js:
const Source = require('#root/path/to/Source.js');
// Source.js:
module.exports = class Source {
// ...
}
Hey @egoist , do you have some time to take a look on this issue?
Please merge this.
@egoist would you be able to look at merging this perhaps?
Storybook needs this to support newer TS5 features, see: https://github.com/storybookjs/storybook/issues/21792
🙏🙏🙏
+1 for storybook support
Thank you @egoist ❤️
:tada: This PR is included in version 3.5.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
close: #85