Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5902

External developer build failure using @mongodb-js/saslprep

    • Type: Icon: Build Failure Build Failure
    • Resolution: Cannot Reproduce
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Hi,

      we've received the following email from an external developer named Keaton that is using @mongodb-js/saslprep.

      Hello there,
      
      just letting you know that my site is broken because even though your package.json refers to a node.js.
      
      This doesn't not exist in you sasl folder via npm install or npm update.
      
      {
        "name": "@mongodb-js/saslprep",
        "description": "SASLprep: Stringprep Profile for User Names and Passwords, rfc4013",
        "keywords": [
          "sasl",
          "saslprep",
          "stringprep",
          "rfc4013",
          "4013"
        ],
        "author": "Dmitry Tsvettsikh <me@reklatsmasters.com>",
        "publishConfig": {
          "access": "public"
        },
        "main": "dist/node.js",
        "bugs": {
          "url": "https://jira.mongodb.org/projects/COMPASS/issues",
          "email": "compass@mongodb.com"
        },
        "homepage": "https://github.com/mongodb-js/devtools-shared/tree/main/packages/saslprep",
        "version": "1.1.4",
        "repository": {
          "type": "git",
          "url": "https://github.com/mongodb-js/devtools-shared.git"
        },
        "files": [
          "dist"
        ],
        "license": "MIT",
        "exports": {
          "browser": {
            "types": "./dist/browser.d.ts",
            "default": "./dist/browser.js"
          },
          "import": {
            "types": "./dist/node.d.ts",
            "default": "./dist/.esm-wrapper.mjs"
          },
          "require": {
            "types": "./dist/node.d.ts",
            "default": "./dist/node.js"
          }
        },
        "types": "./dist/node.d.ts",
        "scripts": {
          "gen-code-points": "ts-node src/generate-code-points.ts src/code-points-data.ts src/code-points-data-browser.ts",
          "bootstrap": "npm run compile",
          "prepublishOnly": "npm run compile",
          "compile": "npm run gen-code-points && tsc -p tsconfig.json && gen-esm-wrapper . ./dist/.esm-wrapper.mjs",
          "typecheck": "tsc --noEmit",
          "eslint": "eslint",
          "prettier": "prettier",
          "lint": "npm run eslint . && npm run prettier -- --check .",
          "depcheck": "depcheck",
          "check": "npm run typecheck && npm run lint && npm run depcheck",
          "check-ci": "npm run check",
          "test": "mocha",
          "test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
          "test-watch": "npm run test -- --watch",
          "test-ci": "npm run test-cov",
          "reformat": "npm run prettier -- --write ."
        },
        "dependencies": {
          "sparse-bitfield": "^3.0.3"
        },
        "devDependencies": {
          "@mongodb-js/eslint-config-devtools": "0.9.10",
          "@mongodb-js/mocha-config-devtools": "^1.0.3",
          "@mongodb-js/prettier-config-devtools": "^1.0.1",
          "@mongodb-js/tsconfig-devtools": "^1.0.1",
          "@types/chai": "^4.2.21",
          "@types/mocha": "^9.0.0",
          "@types/node": "^17.0.35",
          "@types/sinon-chai": "^3.2.5",
          "@types/sparse-bitfield": "^3.0.1",
          "chai": "^4.3.6",
          "depcheck": "^1.4.1",
          "eslint": "^7.25.0",
          "gen-esm-wrapper": "^1.1.0",
          "mocha": "^8.4.0",
          "nyc": "^15.1.0",
          "prettier": "^2.3.2",
          "sinon": "^9.2.3",
          "typescript": "^5.0.4"
        },
        "gitHead": "26be0804d454bf804ac817038b6d9a573cc6ce5d"
      }
      
      
      Cheers,
       K
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: