Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Build error with Parcel #1155

Open
2 of 3 tasks
liammcaweeney opened this issue Jan 10, 2025 · 0 comments
Open
2 of 3 tasks

[BUG] Build error with Parcel #1155

liammcaweeney opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@liammcaweeney
Copy link

What happened?

A bug happened!

es-shims/math-intrinsics#2

es-shims/dunder-proto#2

looks like bumping to parcel 2.13.0 fixes this.

Version

Latest

What OS are you seeing the problem on?

No response

What browsers are you seeing the problem on?

No response

Relevant log output

🔴 ERROR  | Error parsing JSON
🟡 25     | {
        "name": "math-intrinsics",
        "version": "1.1.0",
        "description": "ES Math-related intrinsics and helpers, robustly cached.",
        "main": false,
        "exports": {
                "./abs": "./abs.js",
                "./floor": "./floor.js",
                "./isFinite": "./isFinite.js",
                "./isInteger": "./isInteger.js",
                "./isNaN": "./isNaN.js",
                "./isNegativeZero": "./isNegativeZero.js",
                "./max": "./max.js",
                "./min": "./min.js",
                "./mod": "./mod.js",
                "./pow": "./pow.js",
                "./sign": "./sign.js",
                "./round": "./round.js",
                "./constants/maxArrayLength": "./constants/maxArrayLength.js",
                "./constants/maxSafeInteger": "./constants/maxSafeInteger.js",
                "./constants/maxValue": "./constants/maxValue.js",
                "./package.json": "./package.json"
        },
        "sideEffects": false,
        "scripts": {
                "prepack": "npmignore --auto --commentLines=autogenerated",
                "prepublishOnly": "safe-publish-latest",
                "prepublish": "not-in-publish || npm run prepublishOnly",
                "pretest": "npm run lint",
                "test": "npm run tests-only",
                "tests-only": "nyc tape 'test/**/*.js'",
                "posttest": "npx npm@'>= 10.2' audit --production",
                "prelint": "evalmd README.md && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)",
                "lint": "eslint --ext=js,mjs .",
                "postlint": "tsc && attw -P",
                "version": "auto-changelog && git add CHANGELOG.md",
                "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
        },
        "repository": {
                "type": "git",
                "url": "git+https://github.com/es-shims/math-intrinsics.git"
        },
        "author": "Jordan Harband <[email protected]>",
        "license": "MIT",
        "bugs": {
                "url": "https://github.com/es-shims/math-intrinsics/issues"
        },
        "homepage": "https://github.com/es-shims/math-intrinsics#readme",
        "devDependencies": {
                "@arethetypeswrong/cli": "^0.17.1",
                "@ljharb/eslint-config": "^21.1.1",
                "@ljharb/tsconfig": "^0.2.2",
                "@types/for-each": "^0.3.3",
                "@types/object-inspect": "^1.13.0",
                "@types/tape": "^5.8.0",
                "auto-changelog": "^2.5.0",
                "eclint": "^2.8.1",
                "es-value-fixtures": "^1.5.0",
                "eslint": "^8.8.0",
                "evalmd": "^0.0.19",
                "for-each": "^0.3.3",
                "in-publish": "^2.0.1",
                "npmignore": "^0.3.1",
                "nyc": "^10.3.2",
                "object-inspect": "^1.13.3",
                "safe-publish-latest": "^2.0.0",
                "tape": "^5.9.0",
                "typescript": "next"
        },
        "auto-changelog": {
                "output": "CHANGELOG.md",
                "template": "keepachangelog",
                "unreleased": false,
                "commitLimit": false,
                "backfillLimit": false,
                "hideCredit": true
        },
        "publishConfig": {
                "ignore": [
                        ".github/workflows"
                ]
        },
        "engines": {
                "node": ">= 0.4"
        }
}

🟡 26     | invalid type: boolean `false`, expected a borrowed string at line 5 column 14

(OPTIONAL) Contribution

  • I would like to fix this BUG via a PR

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.
@liammcaweeney liammcaweeney added the bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant