https://github.com/bnb/luxon-breaking-minor
Luxon issue stack trace generator for 3.3.0 to 3.4.0
https://github.com/bnb/luxon-breaking-minor
Last synced: 8 months ago
JSON representation
Luxon issue stack trace generator for 3.3.0 to 3.4.0
- Host: GitHub
- URL: https://github.com/bnb/luxon-breaking-minor
- Owner: bnb
- License: mit
- Created: 2023-08-16T17:39:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-16T17:45:06.000Z (almost 3 years ago)
- Last Synced: 2025-03-27T06:07:45.780Z (about 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# luxon-breaking-minor
This is a test repo to test the breaking changes in luxon.
## Usage
```bash
npm install && npm start
```
## Output
This should output a chunk of nodevu's data that can safely be ignored, and an error with a stack trace that seems to appear between luxon@3.3.0 and luxon@3.4.0.
```bash
/Users/cyren/GitHub/bnb/luxon-breaking-minor/node_modules/luxon/build/node/luxon.js:2868
let sum = (_this$values$millisec = this.values.milliseconds) != null ? _this$values$millisec : 0;
^
TypeError: Cannot read properties of undefined (reading 'milliseconds')
at Duration.toMillis (/Users/cyren/GitHub/bnb/luxon-breaking-minor/node_modules/luxon/build/node/luxon.js:2868:52)
at determineCurrentReleasePhase (/Users/cyren/GitHub/bnb/luxon-breaking-minor/node_modules/@nodevu/core/index.js:170:57)
at /Users/cyren/GitHub/bnb/luxon-breaking-minor/node_modules/@nodevu/core/index.js:111:49
at Array.map ()
at core (/Users/cyren/GitHub/bnb/luxon-breaking-minor/node_modules/@nodevu/core/index.js:22:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async test (/Users/cyren/GitHub/bnb/luxon-breaking-minor/index.js:7:16)
```