Comments (8)
Can you please release a new NPM version with this fix, we need this as well. Thanks
from cuid.
I'm getting this error when using babel-node
> babel-node --ignore '/node_modules/(?!server|client|lib|healthcheck)' app/test/unit/index.js | tap-bail
/var/repositories/universal-react-boilerplate/node_modules/bunyan-request-logger/node_modules/cuid/dist/node-cuid.js:92
})(undefined.applitude || undefined);
^
TypeError: Cannot read property 'applitude' of undefined
at Object.<anonymous> (/var/repositories/universal-react-boilerplate/node_modules/bunyan-request-logger/node_modules/cuid/dist/node-cuid.js:105:3)
at Module._compile (module.js:460:26)
at normalLoader (/var/repositories/universal-react-boilerplate/node_modules/babel-core/lib/api/register/node.js:199:5)
at Object.require.extensions.(anonymous function) [as .js] (/var/repositories/universal-react-boilerplate/node_modules/babel-core/lib/api/register/node.js:216:7)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/var/repositories/universal-react-boilerplate/node_modules/bunyan-request-logger/request-logger.js:8:10)
at Module._compile (module.js:460:26)
is this related?
from cuid.
Yes.
from cuid.
Hi Eric, PR #53 is a minor tweak that fixed things for me. Happy to improve the changes as you see fit.
from cuid.
Can you publish new NPM version - we're dropping this wonderful package from our project , because the applitude thing is breaking our build with webpack. Thanks
from cuid.
The current version is not publishable. It has not been properly tested and will likely break existing projects that depend on it. When the tests can run and pass in browsers, I will publish.
PRs are welcome. See this issue for context.
from cuid.
Hello!
It looks like some awesome work was done in #72 to resolve this issue and a new version was created here in GitHub, but v2.0.0 was never published to npm.
Is it possible to publish v2.0.0 to npm?
Are there still reservations around breaking projects with this version? If so, is it possible to publish under a tag to allow folks to try it? (i.e. npm publish --tag beta
)
from cuid.
Published as v2.0.1
from cuid.
Related Issues (20)
- It seems scientific notation random values are still possible HOT 6
- Question: cuid compare to /dev/urandom HOT 1
- Port to Deno HOT 2
- Simple generator for testing/development
- Where do I find the standalone version? HOT 1
- Can we make it shorter? HOT 4
- How to compare cuids HOT 1
- Dependency Dashboard
- Fails to work with cloudflare workers js runtime. HOT 4
- Question: could we register a cuid: URI scheme, or URN scheme? HOT 2
- Question: Is there an active Java implementation? HOT 5
- Use of os.hostname() causes runtime crash on Wndows 7 HOT 3
- Is CUID good for a post App? HOT 1
- Usage of new Date().getTime() vs Date.now HOT 1
- Why does a cuid have so many zeros in almost every generated id? HOT 1
- Is there any easy way to mock this lib with jest? HOT 1
- Check character HOT 1
- cuid npm package does not mention the deprecated state HOT 1
- Document post-deprecation support timeframe HOT 2
- [deps] Check for breaking changes in Dependabot's PRs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuid.