Giter Site home page Giter Site logo

ts-util-is's Introduction

Hello, I'm Justin ๐Ÿ‘‹

ts-util-is's People

Contributors

github-actions[bot] avatar joshgummersall avatar justinlettau avatar renovate-bot avatar renovate[bot] avatar wweaver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

wmaurer wweaver

ts-util-is's Issues

Export extension still missing from npm registry

Describe the Issue

I am using ts-dot-prop which uses ts-util-is as a dependency. I can see in version 2.0.2 the extension was added but I am still getting the following error:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'ts-util-is/dist/src/index' imported from ts-util-is/dist/index.js

Upon checking npm view ts-util-is and downloading the tarball the extension is missing from dist/index.js which is still showing: export * from './src/index';. I confirmed I am on version 2.0.2 using the same tarball as linked above.

When I npm run build locally I see the extension. Is it possible the extension is getting stripped through a deployment process?

When I patch the node_modules to include the extension, it is working again.

ts-util-is 2.0 breaks webpack builds

When upgrading to the last ts-util-is version, webpack starts emitting the following error during builds (on Debian and Windows) and the build fails:

Module not found: Error: Can't resolve './src/index' in 'C:\ox\node_modules\ts-util-is\dist'
Did you mean 'index.js'?
BREAKING CHANGE: The request './src/index' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

Expected behavior

The build should finish without error or warning.

Workaround

We'll keep using ts-util-is version 1.2.1 until the issue is resolved.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v3
  • codecov/codecov-action v3
npm
package.json
  • @types/jest ^27.0.2
  • @typescript-eslint/eslint-plugin ^5.2.0
  • @typescript-eslint/parser ^5.2.0
  • eslint ^8.1.0
  • eslint-config-prettier ^8.3.0
  • jest ^27.3.1
  • prettier ^2.4.1
  • pretty-quick ^3.1.1
  • standard-version ^9.3.2
  • ts-jest ^27.0.7
  • ts-node ^10.4.0
  • typescript ^4.4.4
  • node ^12.20.0 || ^14.13.1 || >=16.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

isArray should support readonly arrays

Describe the Feature

isArray should support readonly arrays

Suggested Solution

Change type signature to:
isArray(value: any): value is any[] | readonly any[]

Other Information

PR coming.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.