Skip to content

Conversation

@nisrulz
Copy link

@nisrulz nisrulz commented Dec 2, 2024

  • Also formatted the doc files
  • Updated dependencies

All tests are passing:

pug3-cli on  patch-1 [!] via  
❯ npm test                

> @tokilabs/[email protected] test
> mocha -R spec --bail



  miscellanea
    ✔ --version
    ✔ --help
    ✔ Omits files starting with an underscore
    ✔ Omits directories starting with an underscore

  HTML output
    ✔ works
    ✔ --extension
    ✔ --basedir
    ✔ stdio
    ✔ --silent
    --obj
      ✔ JavaScript syntax works
      ✔ JSON syntax accept UTF newlines
      ✔ JSON file
      ✔ JavaScript module
    --out
      ✔ works
      ✔ works when input is a directory

  client JavaScript output
    ✔ works
    ✔ --name
    ✔ --name --extension
    ✔ stdio
    ✔ --name-after-file
    ✔ --name-after-file ·InPuTwIthWEiRdNaMME.pug

  --watch
    ✔ pass 1: initial compilation
    ✔ pass 2: change the file (140ms)
    ✔ pass 3: remove the file then add it back (403ms)
    ✔ pass 4: intentional errors in the pug file (300ms)

  --watch with dependencies
    ✔ pass 1: initial compilation
    ✔ pass 2: change a dependency
    ✔ pass 3: change a deeper dependency
    ✔ pass 4: change main file


  29 passing (12s)

@socket-security
Copy link

socket-security bot commented Dec 2, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] environment 0 186 kB abetomo
npm/[email protected] environment, filesystem 0 107 kB isaacs
npm/[email protected] environment, filesystem, unsafe Transitive: eval, shell +138 15 MB bcoe

🚮 Removed packages: npm/[email protected], npm/[email protected]

View full report↗︎

@socket-security
Copy link

socket-security bot commented Dec 2, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

"gray-matter": "^4.0.3",
"js-yaml": "^4.1.0",
"mkdirp": "^3.0.1",
"pug": "^3.0.3"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant