CopyPastor

Detecting plagiarism made easy.

Score: 0.8111417293548584; Reported for: String similarity Open both answers

Possible Plagiarism

Reposted on 2021-06-10
by lys

Original Post

Original - Posted on 2021-06-10
by lys



            
Present in both answers; Present only in the new answer; Present only in the old answer;

I lost half a day to this. Don't bother with NPM. Switching to `Yarn` makes this far simpler.

```bash rm -rf ./node_modules rm ./package-lock.json ``` edit your `package.json` : <sub>add any other package versions to upgrade from `npm / yarn audit` here also</sub> ```json "resolutions": { "postcss": "^8.2.10" }, ``` `yarn install` then running `yarn audit` should yield the magic words: ``` 0 vulnerabilities found - Packages audited: 999 ✨ Done in 1.10s. ```
Switching to `Yarn` makes this far simpler.

```bash rm -rf ./node_modules rm ./package-lock.json ``` edit your `package.json` : <sub>add any other package versions to upgrade from `npm / yarn audit` here also</sub> ```json "resolutions": { "postcss": "^8.2.10" }, ``` `yarn install` then running `yarn audit` should yield the magic words: ``` 0 vulnerabilities found - Packages audited: 999 ✨ Done in 1.10s. ```

        
Present in both answers; Present only in the new answer; Present only in the old answer;