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

[Snyk] Upgrade @types/node from 12.12.35 to 12.20.6 #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Apr 9, 2021

Snyk has created this PR to upgrade @types/node from 12.12.35 to 12.20.6.

merge advice
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 59 versions ahead of your current version.
  • The recommended version was released 25 days ago, on 2021-03-15.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Snyk has created this PR to upgrade @types/node from 12.12.35 to 12.20.6.

See this package in npm:


See this project in Snyk:
https://app.snyk.io/org/kadirselcuk/project/1d185999-ff3a-4289-bf3e-07541b4fab5e?utm_source=github&utm_medium=upgrade-pr
@mistaken-pull-closer
Copy link

Thanks for your submission.

It appears that you've created a pull request using one of our repository's branches. Since this is
almost always a mistake, we're going to go ahead and close this. If it was intentional, please
let us know what you were intending and we can see about reopening it.

Thanks again!

@pull-dog
Copy link

pull-dog bot commented Apr 9, 2021

*Ruff* 🐶 I wasn't able to find any Docker Compose files in your repository at any of the given paths in the pull-dog.json configuration file, or the default docker-compose.yml file 😩 Make sure the given paths are correct.

Files checked:

  • docker-compose.yml
What is this?

Pull Dog is a GitHub app that makes test environments for your pull requests using Docker, from a docker-compose.yml file you specify. It takes 19 seconds to set up (we counted!) and there's a free plan available.

Visit our website to learn more.

Commands
  • @pull-dog up to reprovision or provision the server.
  • @pull-dog down to delete the provisioned server.
Troubleshooting

Need help? Don't hesitate to file an issue in our repository

Configuration

{
  "isLazy": false,
  "dockerComposeYmlFilePaths": [
    "docker-compose.yml"
  ],
  "expiry": "00:00:00",
  "conversationMode": "singleComment"
}

Trace ID
6e010f50-9987-11eb-8a73-d0f85c3a01bf

@mistaken-pull-closer mistaken-pull-closer bot added the invalid This doesn't seem right label Apr 9, 2021
@guardrails
Copy link

guardrails bot commented Apr 9, 2021

⚠️ We detected 489 security issues in this pull request:
Mode: paranoid | Total findings: 489 | Considered vulnerability: 0

Hard-Coded Secrets (63)

https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L33067
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L35219
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L35284
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L68400
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L68527
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L104957
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L104969
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111859
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111860
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111861
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111865
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111866
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111880
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111881
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111889
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111890
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111895
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111896
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111910
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111911
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111919
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111920
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111925
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111926
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111934
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111935
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111940
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111941
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111949
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111950
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111951
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111955
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L111956
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L128456
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L132860
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L132864
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/.yarn/releases/yarn-1.22.10.cjs#L136379

sha256 = "55a25a762fcf9c9b88ab54436581e671bc9f4f523cb5a1bd32459ebec7be68a8",

sha256 = "1adf5db506a7e3c465a26988514cfc3971af6d5b3c2218925cd6e71ee443fc3f",

'/index.html': 'f0bea8ced1dfbeeb771a5f48651fbcff52a625eb',

'/spectrum.png': '8d048ece46c0f3af4b598a95fd8e4709b631c3c0',

'/foo/bar/favicon.ico': '84161b857f5c547e3699ddfbffc6d8d737542e01',

'/foo/bar/assets/folder-asset.txt': '617f202968a6a81050aa617c2e28e1dca11ce8d4',

'/foo/bar/index.html': 'f6650ac91428c6933dfe4c24079b3b15400da1ba',




if (message.hash === '5d4b9a5c0a4e0f9977598437b0e85bcc') {

const identValidFirstChar = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMOPQRSTUVWXYZ';


expect(mb.toString()).toBe('012345A67890');

expect(mb.toString()).toBe('01B2345A67890');

expect(mb.toString()).toBe('01234AB56789');

expect(mb.toString()).toBe('01234AB56789C');

expect(mb.toString()).toBe('01234A56789');

'3dba718d7afe009e112e10d69073d2a2', // 6.0 - unmodified

'fccdb76b06ea636933f8b99b1c8d9725', // 6.0 - all core-js uncommented

'97e16639be1de06153695f5fefde745d', // 7.0 - unmodified

'd6c13d6dcf94ff3749283f33dd0d4864', // 7.0 - all core-js uncommented

'79bf0fd46c215e5f4145e15641c325f3', // 7.2 - unmodified

'6fe8080c7e38ee0ce677fdbc3884377a', // 7.2 - all core-js uncommented

'8e7f6abb3d2dca03b4dbb300e400a880', // 7.3 - unmodified

-----BEGIN RSA PRIVATE KEY-----

More info on how to fix Hard-Coded Secrets in General.


Insecure Use of Dangerous Function (27)

const child_process = require('child_process');

const spawnSync = require('child_process').spawnSync;

const child_process = require('child_process');

const exec = util.promisify(child_process.exec);

const root = loadRootPackageJson();

const pkg = packages[pkgName];


const builderJsonPath = path.resolve(path.dirname(packageJsonPath), packageJson['builders']);




angularPkgJson = require(angularPackagePath);

const angularCliPkgPath = require.resolve('@angular/cli/package.json', resolveOptions);






const packageJsonPath = require.resolve(join(name, 'package.json'), resolveOptions);







encode: (x: string) => global.encodeURIComponent(x),

More info on how to fix Insecure Use of Dangerous Function in Javascript and Typescript.


Insecure File Management (257)

fs.writeFileSync(filePath, profileData);

if (fs.realpathSync(filename).match(/node_modules/)) {

return m._compile(fs.readFileSync(filename).toString(), filename);

const source = fs.readFileSync(filename).toString();

const source = fs.readFileSync(filename).toString();

if (fs.existsSync(maybeTsPath)) {

if (!fs.existsSync(tmpJsonSchemaPath)) {

const requiredModule = require(message.modulePath);


if (!fs.statSync(dir).isDirectory()) return;



const content = fs.readFileSync(file, { encoding: 'utf-8' });

https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L3652
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L3700
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L3701
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L3713
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L3819
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L3896
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7035
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7252
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7324
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7339
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7407
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7412
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7448
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7451
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7527
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7578
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7620
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7632
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7729
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7737
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L11983
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L17502
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L18277
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L37362
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L37545
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L38532
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L39820
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L100837
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L100970
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L100988
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L100995
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L101139
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L101142
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L101145
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L101150
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L101153
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L101164
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L101217
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L105420
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L105493
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L105538
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L105755
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L105798
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L105927
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L105968
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L105986
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L105998
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L106009
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L106842
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L107274
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L107276
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L107318
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L108035
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L108303
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L109221
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L110459
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L110485
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L110502
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L110565
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L111916
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L112402
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L112435
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L112455
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L112459
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L112470
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L112510
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L112514
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L112518
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L112593
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L113326
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L113772
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L113851
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L114465
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L114470
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L114500
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L114786
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L114791
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L114891
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L114941
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L117078
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L117999
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L130647
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L130701
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L149562
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L149627
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L149681
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L151601
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L151621
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L151635
const runfiles = require(process.env['BAZEL_NODE_RUNFILES_HELPER']);



return fs.existsSync(p) && fs.statSync(p).isFile();

fs.chmodSync(dest, isExecutable(src) ? '755' : '644');

binary = (runfilesBinary && fs.existsSync(runfilesBinary)) ? runfilesBinary : binary;

const contents = JSON.parse(fs.readFileSync(packageJson, {encoding: 'utf-8'}));

fs.writeFileSync(packageJson, contentsEncoded);

fs.readFileSync(`${outputBase}/DO_NOT_BUILD_HERE`, {encoding: 'utf-8'});

fs.writeFileSync(manifestPath, JSON.stringify(manifest, null, 2));

const config = require(runfiles.resolveWorkspaceRelative(process.argv[2]));

fs.readFileSync(nodePath, {encoding: 'utf-8'}).replace(' --preserve-symlinks-main ', ' ');

fs.writeFileSync(nodePath, nodeContents, 'utf8');

content = fs.readFileSync(filePath, 'utf-8').trim();

if (fs.existsSync(resolvedPath)) {

content = fs.readFileSync(resolvedPath, 'utf-8');

if (content === null && fs.existsSync(address)) {

content = fs.readFileSync(address, 'utf-8').trim();

fs.writeFileSync(outPath, content, 'utf-8');

const content = fs.readFileSync(inPath, 'utf-8');

const result: string[] = [];

result.push(p);

let p = path.resolve(pkg.root, packageJson['bin'][binName]);


const re = /^main\.(?:[a-zA-Z0-9]{20}\.)?js$/;

let filename = path.join(webpackOutputPath, file.file);




filename: path.basename(result.original.filename),


filename: path.basename(result.downlevel.filename),



const outputPath = path.dirname(outFile);



// See: https://github.com/npm/cacache/blob/073fbe1a9f789ba42d9a41de7b8429c93cf61579/lib/util/move-file.js#L36





const originalMapPath = originalPath + '.map';













// The path is validated during option processing before the build starts

let resolvedPath = path.resolve(root, style.input);


const fullPath = path.join(basePath, tailwindConfigFile);


.then(() => fs.mkdirSync(root + '/sub1'))


.then(() => fs.mkdirSync(root + '/sub1'))


.then(() => fs.mkdirSync(root + '/rename'))

host.rename(normalize('/rename/a.txt'), normalize('/rename/b/c/d/a.txt'));

const root = normalize(path.join(os.tmpdir(), `devkit-host-${+Date.now()}-${process.pid}`));

// https://stackoverflow.com/questions/24356713





fs.mkdirSync(path.join(tmpDir, 'node_modules'));

fs.mkdirSync(path.join(tmpDir, 'node_modules/@angular/'));

fs.mkdirSync(path.join(tmpDir, 'node_modules/@angular/core'));

fs.mkdirSync(path.join(tmpDir, 'node_modules/@angular/core/schematics'));


const localMigrations = path.join(packagePath, migrations);

const localMigrations = path.join(packagePath, migration.collection);

const cpuProfile = profiler.stopProfiling();



function _recursiveMkDir(p: string) {


_recursiveMkDir(path.dirname(i18nOutFilePath));

// Check if the locale file exists

// Check for an alternative locale (if the locale id was badly formatted).

// Create parent folder if necessary.


if (!fs.existsSync(p)) {

glob.sync(path.join(p, '**/*'), { dot: true, nodir: true })

.sort((a, b) => b.length - a.length)

for (const fileName of allJsonFiles) {

if (fs.existsSync(fileName.replace(/\.json$/, '.ts'))


_mkdirp(path.dirname(tsPath));


// Create parent folder if necessary.


if (!fs.existsSync(p)) {

function _recursiveFileList(p: string): string[] {


// Filter out directories.

// Create parent folder if necessary.

// Error out if destination already exists.


const buffer = fs.readFileSync(from);

function _recursiveCopy(from: string, to: string, logger: logging.Logger) {


if (fs.statSync(from).isDirectory()) {

p = path.relative(process.cwd(), p);


// Verify that it was actually built.


_rm(fileName);


args.githubToken ||

const packageJsonPath = path.join(projectName, 'package.json');


function _copy(from: string, to: string) {

const toPath = path.join(to, name);

if (fs.statSync(fromPath).isDirectory()) {

if (!fs.existsSync(toPath)) {




// empty commits).

opts.githubToken

const helpOutputRoot = path.join(packages['@angular/cli'].dist, 'help');

const jsonOutput = JSON.stringify(JSON.parse(stdout.trim()), undefined, 2);


const analyticsMarkdownPath = path.join(__dirname, '../docs/design/analytics.md');

const registryPath =

fs.writeFileSync('dirToSymlink/subdir2/subsubdir1/d.txt', '');

fs.readdirSync('./dist/test-project').forEach(name => {




for (const { lang, outputPath } of langTranslations) {

for (const { lang, outputPath } of langTranslations) {

return new Promise<string>((resolve, reject) => {

return new Promise<void>((resolve, reject) => {

return new Promise<void>((resolve, reject) => {

return new Promise<void>((resolve, reject) => {

return new Promise<void>((resolve, reject) => {

function _recursiveMkDir(path: string): Promise<void> {

return _recursiveMkDir(dirname(path))

.then(() => new Promise((resolve, reject) => {


return new Promise((resolve, reject) => {

return new Promise((resolve, reject) => {

return new Promise((resolve, reject) => {

export async function getFileSize(fileName: string) {

// Use Puppeteer in protractor if a config is found on the project.

// Use Puppeteer in karma if a config is found on the project.

More info on how to fix Insecure File Management in Javascript and Typescript.


Insecure Use of Regular Expressions (69)

if (!__dirname.match(new RegExp(`\\${path.sep}node_modules\\${path.sep}`))) {

https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L2137
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L2774
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L3039
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L3045
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L3050
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L3234
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7299
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L11953
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L19437
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L35973
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L38707
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L38897
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L82127
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L109168
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L118891
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L128594
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L130626
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L150531
+ ')($|/|\\\\)';

// We have some invalid goldens. Remove everything after the second :.

): Observable<experimental.jobs.JobHandler<A, I, O> | null> {

// The below will match 'project:target:configuration'


// The golden values should be present and in the right order.


const matches: { [path: string]: RegExp } = {







// If root-relative, absolute or protocol relative url, leave as is


const exportVarSetter = /(?:export )?(?:var|const)\s+(?:\S+)\s*=\s*/;

const indent = Math.min(...match.map(el => el.length));


// Remove the newline at the start.

// Used to match HTML entities and HTML characters.


export function asWindowsPath(path: Path): WindowsPath {

private _validateName(name: string): void {




if (!version.match(/^\d{1,30}\.\d{1,30}\.\d{1,30}/)) {

for (const [key, value] of Object.entries(substitutions)) {

new NormalModuleReplacementPlugin(



const newOutputPath = outputPath.replace(

// When adding a dash the segment after the dash must also start with a letter.

const unsupportedProjectNames: string[] = [];



if (!version.match(/^\d{1,30}\.\d{1,30}\.\d{1,30}/)) {

// Split the version asked on command line.

function pad(x: string | number, p: string = padding): string {

conventionalCommitsParser({

')($|/|\\\\)';







`src/locale/messages.${lang}.${formats[format].ext}`,

`src/locale/messages.${lang}.${formats[format].ext}`,

More info on how to fix Insecure Use of Regular Expressions in Javascript and Typescript.


Insecure Use of Language/Framework API (1)

https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L7430

More info on how to fix Insecure Use of Language/Framework API in Javascript.


Insecure Use of Crypto (69)

https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L11186
https://github.com/turkdevops/angular-cli/blob/96abdeb4aa0800033e5097e78cdebc5e83066bd0/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js#L11302


Insecure Access Control (1)
Insecure Use of SQL Queries (2)

👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant