firebase-api-surface
Advanced tools
Sorry, the diff of this file is not supported yet
+2
-4
| import { FirebaseOptions as FirebaseClientOptions } from "@firebase/app-types"; | ||
| import { IFirebaseDatabase } from "./rtdb"; | ||
| import { FirebaseMessaging as FirebaseClientMessaging } from "./messaging"; | ||
| import { FirebaseStorage as FirebaseClientStorage } from "./storage"; | ||
| export interface FirebaseAdminOptions { | ||
@@ -30,4 +28,4 @@ credential?: IAdminCredentialAccessor; | ||
| firestore?: () => any; | ||
| messaging?: () => FirebaseClientMessaging | any; | ||
| storage?: () => FirebaseClientStorage | any; | ||
| messaging?: () => any; | ||
| storage?: () => any; | ||
| } |
+2
-2
| { | ||
| "name": "firebase-api-surface", | ||
| "version": "0.7.2", | ||
| "version": "0.7.3", | ||
| "description": "the publically exposed firebase API", | ||
@@ -38,3 +38,3 @@ "license": "MIT", | ||
| "rimraf": "^2.6.2", | ||
| "shelljs": "^0.8.1", | ||
| "async-shelljs": "^0.1.2", | ||
| "test-console": "^1.1.0", | ||
@@ -41,0 +41,0 @@ "tslint": "^5.9.1", |
+1
-1
| // tslint:disable:no-implicit-dependencies | ||
| import chalk from "chalk"; | ||
| import { exec } from "shelljs"; | ||
| import { exec } from "async-shelljs"; | ||
| import * as rm from "rimraf"; | ||
@@ -5,0 +5,0 @@ import * as process from "process"; |
+47
-17
| // tslint:disable:no-implicit-dependencies | ||
| import chalk from "chalk"; | ||
| import { exec } from "shelljs"; | ||
| import { asyncExec } from "async-shelljs"; | ||
| import * as rm from "rimraf"; | ||
| exec(`ts-node scripts/build.ts --color=true`, code => { | ||
| if (code === 0) { | ||
| exec( | ||
| 'yarn publish --new-version `node -p "require("./package.json").version"`', | ||
| (publishCode: any) => { | ||
| if (publishCode === 0) { | ||
| console.log(chalk.green.bold(`- published to npm successfully 👍\n`)); | ||
| } else { | ||
| console.log( | ||
| chalk.red.bold( | ||
| `\n- problems publishing to npm: ${publishCode} 😡 ` | ||
| ) | ||
| ); | ||
| } | ||
| } | ||
| (async () => { | ||
| try { | ||
| await asyncExec(`ts-node scripts/build.ts --color=true`); | ||
| } catch (e) { | ||
| throw new Error(`- failed to build so no attempt to deploy [${e.code}]`); | ||
| } | ||
| console.log(chalk.yellow.bold("- starting deployment")); | ||
| const currentVersion = String( | ||
| await asyncExec(`node -p 'require("./package.json").version'`, { | ||
| silent: true | ||
| }) | ||
| ).trim(); | ||
| console.log( | ||
| chalk.dim( | ||
| `- In your ${chalk.bold.white("package.json")} the current version is`, | ||
| currentVersion | ||
| ) | ||
| ); | ||
| const info: any = JSON.parse( | ||
| await asyncExec(`yarn info --json`, { silent: true }) | ||
| ); | ||
| const npmVersion = info.data.version.trim(); | ||
| console.log( | ||
| chalk.dim( | ||
| `- The latest published version on ${chalk.bold("npm")} is`, | ||
| npmVersion | ||
| ) | ||
| ); | ||
| if (currentVersion === npmVersion) { | ||
| console.log( | ||
| chalk.red.bold( | ||
| `- Versions are the same, update your package.json before deploying 💩` | ||
| ) | ||
| ); | ||
| } else { | ||
| try { | ||
| await asyncExec(`yarn publish --new-version ${currentVersion}`); | ||
| console.log(chalk.green.bold(`- published to npm successfully 👍\n`)); | ||
| } catch (e) { | ||
| console.log( | ||
| chalk.red.bold(`\n- problems publishing to npm: ${e.code} 😡 `) | ||
| ); | ||
| } | ||
| } | ||
| }); | ||
| })(); |
+1
-1
| // tslint:disable:no-implicit-dependencies | ||
| import chalk from "chalk"; | ||
| import { exec } from "shelljs"; | ||
| import { exec } from "async-shelljs"; | ||
| import * as rm from "rimraf"; | ||
@@ -5,0 +5,0 @@ import * as process from "process"; |
+5
-5
@@ -6,5 +6,5 @@ import { | ||
| import { IFirebaseDatabase } from "./rtdb"; | ||
| import { IFirebaseFirestore } from "./firestore"; | ||
| import { FirebaseMessaging as FirebaseClientMessaging } from "./messaging"; | ||
| import { FirebaseStorage as FirebaseClientStorage } from "./storage"; | ||
| // import { IFirebaseFirestore } from "./firestore"; | ||
| // import { FirebaseMessaging as FirebaseClientMessaging } from "./messaging"; | ||
| // import { FirebaseStorage as FirebaseClientStorage } from "./storage"; | ||
@@ -61,5 +61,5 @@ export interface FirebaseAdminOptions { | ||
| /** returns the messaging API */ | ||
| messaging?: () => FirebaseClientMessaging | any; | ||
| messaging?: () => any; | ||
| /** returns the storage API */ | ||
| storage?: () => FirebaseClientStorage | any; | ||
| storage?: () => any; | ||
| } |
-268
| Arguments: | ||
| /usr/local/bin/node /usr/local/bin/yarn add @firebase/util-types | ||
| PATH: | ||
| /usr/local/bin:/Users/ken/.yarn/bin:/usr/local/share/android-sdk/platform-tools:.:/usr/local/sbin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/ken/.rvm/bin:/Users/ken/.ec2/bin:/Developer/usr/bin:/Users/ken/pear/bin:/usr/local/share/npm/bin:/Applications/Couchbase Server.app/Contents/Resources/couchbase-core/bin:/Users/ken/repos/mine/api/commandline/bin | ||
| Yarn version: | ||
| 1.3.2 | ||
| Node version: | ||
| 8.9.3 | ||
| Platform: | ||
| darwin x64 | ||
| npm manifest: | ||
| { | ||
| "name": "firebase-api-surface", | ||
| "version": "0.5.1", | ||
| "description": "the publically exposed firebase API", | ||
| "license": "MIT", | ||
| "repository": "git@github.com:forest-fire/firebaes-api-surface.git", | ||
| "author": "Ken Snyder<ken@ken.net>", | ||
| "keywords": [ | ||
| "typescript", | ||
| "firebase" | ||
| ], | ||
| "main": "lib/index.js", | ||
| "typings": "lib/index.d.ts", | ||
| "scripts": { | ||
| "clean": "rimraf lib", | ||
| "lint": "tslint --force --format verbose \"src/**/*.ts\"", | ||
| "build": "ts-node ./scripts/build.ts", | ||
| "test": "ts-node ./scripts/test.ts ", | ||
| "coverage": "nyc --reporter=text --reporter=html mocha --compilers ts:ts-node/register", | ||
| "watch": "ts-node ./scripts/watch.ts", | ||
| "watch:test": "ts-node ./scripts/watch.ts test", | ||
| "watch:all": "ts-node ./scripts/watch.ts all", | ||
| "deploy": "ts-node ./scripts/deploy.ts " | ||
| }, | ||
| "dependencies": { | ||
| "@firebase/app-types": "^0.1.1", | ||
| "@firebase/database-types": "^0.1.1", | ||
| "@firebase/firestore-types": "^0.2.1", | ||
| "@firebase/messaging-types": "^0.1.1", | ||
| "@firebase/storage-types": "^0.1.1" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/rimraf": "^2.0.2", | ||
| "@types/shelljs": "^0.7.7", | ||
| "chalk": "^2.3.0", | ||
| "rimraf": "^2.6.2", | ||
| "shelljs": "^0.8.1", | ||
| "test-console": "^1.1.0" | ||
| } | ||
| } | ||
| yarn manifest: | ||
| No manifest | ||
| Lockfile: | ||
| # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
| # yarn lockfile v1 | ||
| "@firebase/app-types@^0.1.1": | ||
| version "0.1.1" | ||
| resolved "https://registry.yarnpkg.com/@firebase/app-types/-/app-types-0.1.1.tgz#1b794e101c779310763b1bfce8c24e7728fb9a91" | ||
| "@firebase/database-types@^0.1.1": | ||
| version "0.1.1" | ||
| resolved "https://registry.yarnpkg.com/@firebase/database-types/-/database-types-0.1.1.tgz#601b8040191766777b785c1675eac34ce57c669c" | ||
| "@firebase/firestore-types@^0.2.1": | ||
| version "0.2.1" | ||
| resolved "https://registry.yarnpkg.com/@firebase/firestore-types/-/firestore-types-0.2.1.tgz#f2f35856b283a521c64ac4fa45d140010037e046" | ||
| "@firebase/messaging-types@^0.1.1": | ||
| version "0.1.1" | ||
| resolved "https://registry.yarnpkg.com/@firebase/messaging-types/-/messaging-types-0.1.1.tgz#66d61d800081b3f7e4d26f1f8523f0a307e37730" | ||
| "@firebase/storage-types@^0.1.1": | ||
| version "0.1.1" | ||
| resolved "https://registry.yarnpkg.com/@firebase/storage-types/-/storage-types-0.1.1.tgz#c8e1cd328e96ef5b88e07b0a4f5ce1c68087126b" | ||
| "@types/events@*": | ||
| version "1.1.0" | ||
| resolved "https://registry.yarnpkg.com/@types/events/-/events-1.1.0.tgz#93b1be91f63c184450385272c47b6496fd028e02" | ||
| "@types/glob@*": | ||
| version "5.0.35" | ||
| resolved "https://registry.yarnpkg.com/@types/glob/-/glob-5.0.35.tgz#1ae151c802cece940443b5ac246925c85189f32a" | ||
| dependencies: | ||
| "@types/events" "*" | ||
| "@types/minimatch" "*" | ||
| "@types/node" "*" | ||
| "@types/minimatch@*": | ||
| version "3.0.3" | ||
| resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" | ||
| "@types/node@*": | ||
| version "9.4.0" | ||
| resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.0.tgz#b85a0bcf1e1cc84eb4901b7e96966aedc6f078d1" | ||
| "@types/rimraf@^2.0.2": | ||
| version "2.0.2" | ||
| resolved "https://registry.yarnpkg.com/@types/rimraf/-/rimraf-2.0.2.tgz#7f0fc3cf0ff0ad2a99bb723ae1764f30acaf8b6e" | ||
| dependencies: | ||
| "@types/glob" "*" | ||
| "@types/node" "*" | ||
| "@types/shelljs@^0.7.7": | ||
| version "0.7.7" | ||
| resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.7.7.tgz#1f7bfa28947661afea06365db9b1135bbc903ec4" | ||
| dependencies: | ||
| "@types/glob" "*" | ||
| "@types/node" "*" | ||
| ansi-styles@^3.1.0: | ||
| version "3.2.0" | ||
| resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88" | ||
| dependencies: | ||
| color-convert "^1.9.0" | ||
| balanced-match@^1.0.0: | ||
| version "1.0.0" | ||
| resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" | ||
| brace-expansion@^1.1.7: | ||
| version "1.1.8" | ||
| resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" | ||
| dependencies: | ||
| balanced-match "^1.0.0" | ||
| concat-map "0.0.1" | ||
| chalk@^2.3.0: | ||
| version "2.3.0" | ||
| resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba" | ||
| dependencies: | ||
| ansi-styles "^3.1.0" | ||
| escape-string-regexp "^1.0.5" | ||
| supports-color "^4.0.0" | ||
| color-convert@^1.9.0: | ||
| version "1.9.1" | ||
| resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" | ||
| dependencies: | ||
| color-name "^1.1.1" | ||
| color-name@^1.1.1: | ||
| version "1.1.3" | ||
| resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" | ||
| concat-map@0.0.1: | ||
| version "0.0.1" | ||
| resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" | ||
| escape-string-regexp@^1.0.5: | ||
| version "1.0.5" | ||
| resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" | ||
| fs.realpath@^1.0.0: | ||
| version "1.0.0" | ||
| resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" | ||
| glob@^7.0.0, glob@^7.0.5: | ||
| version "7.1.2" | ||
| resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" | ||
| dependencies: | ||
| fs.realpath "^1.0.0" | ||
| inflight "^1.0.4" | ||
| inherits "2" | ||
| minimatch "^3.0.4" | ||
| once "^1.3.0" | ||
| path-is-absolute "^1.0.0" | ||
| has-flag@^2.0.0: | ||
| version "2.0.0" | ||
| resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" | ||
| inflight@^1.0.4: | ||
| version "1.0.6" | ||
| resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" | ||
| dependencies: | ||
| once "^1.3.0" | ||
| wrappy "1" | ||
| inherits@2: | ||
| version "2.0.3" | ||
| resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" | ||
| interpret@^1.0.0: | ||
| version "1.1.0" | ||
| resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614" | ||
| minimatch@^3.0.4: | ||
| version "3.0.4" | ||
| resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" | ||
| dependencies: | ||
| brace-expansion "^1.1.7" | ||
| once@^1.3.0: | ||
| version "1.4.0" | ||
| resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" | ||
| dependencies: | ||
| wrappy "1" | ||
| path-is-absolute@^1.0.0: | ||
| version "1.0.1" | ||
| resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" | ||
| path-parse@^1.0.5: | ||
| version "1.0.5" | ||
| resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" | ||
| rechoir@^0.6.2: | ||
| version "0.6.2" | ||
| resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" | ||
| dependencies: | ||
| resolve "^1.1.6" | ||
| resolve@^1.1.6: | ||
| version "1.5.0" | ||
| resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36" | ||
| dependencies: | ||
| path-parse "^1.0.5" | ||
| rimraf@^2.6.2: | ||
| version "2.6.2" | ||
| resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" | ||
| dependencies: | ||
| glob "^7.0.5" | ||
| shelljs@^0.8.1: | ||
| version "0.8.1" | ||
| resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.1.tgz#729e038c413a2254c4078b95ed46e0397154a9f1" | ||
| dependencies: | ||
| glob "^7.0.0" | ||
| interpret "^1.0.0" | ||
| rechoir "^0.6.2" | ||
| supports-color@^4.0.0: | ||
| version "4.5.0" | ||
| resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" | ||
| dependencies: | ||
| has-flag "^2.0.0" | ||
| test-console@^1.1.0: | ||
| version "1.1.0" | ||
| resolved "https://registry.yarnpkg.com/test-console/-/test-console-1.1.0.tgz#34466d421f1b049e1be80d1734bdb5a512889c7f" | ||
| wrappy@1: | ||
| version "1.0.2" | ||
| resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" | ||
| Trace: | ||
| Error: https://registry.yarnpkg.com/@firebase%2futil-types: Not found | ||
| at Request.params.callback [as _callback] (/usr/local/lib/node_modules/yarn/lib/cli.js:62098:18) | ||
| at Request.self.callback (/usr/local/lib/node_modules/yarn/lib/cli.js:123085:22) | ||
| at emitTwo (events.js:126:13) | ||
| at Request.emit (events.js:214:7) | ||
| at Request.<anonymous> (/usr/local/lib/node_modules/yarn/lib/cli.js:124068:10) | ||
| at emitOne (events.js:116:13) | ||
| at Request.emit (events.js:211:7) | ||
| at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/yarn/lib/cli.js:123988:12) | ||
| at Object.onceWrapper (events.js:313:30) | ||
| at emitNone (events.js:111:20) |
-334
| # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
| # yarn lockfile v1 | ||
| "@firebase/app-types@^0.1.1": | ||
| version "0.1.1" | ||
| resolved "https://registry.yarnpkg.com/@firebase/app-types/-/app-types-0.1.1.tgz#1b794e101c779310763b1bfce8c24e7728fb9a91" | ||
| "@firebase/auth-types@^0.1.1": | ||
| version "0.1.1" | ||
| resolved "https://registry.yarnpkg.com/@firebase/auth-types/-/auth-types-0.1.1.tgz#1b38caa9971cc9d8ed6dd114976d18d986f24a9a" | ||
| "@firebase/database-types@^0.1.1": | ||
| version "0.1.1" | ||
| resolved "https://registry.yarnpkg.com/@firebase/database-types/-/database-types-0.1.1.tgz#601b8040191766777b785c1675eac34ce57c669c" | ||
| "@firebase/firestore-types@^0.2.1": | ||
| version "0.2.1" | ||
| resolved "https://registry.yarnpkg.com/@firebase/firestore-types/-/firestore-types-0.2.1.tgz#f2f35856b283a521c64ac4fa45d140010037e046" | ||
| "@firebase/messaging-types@^0.1.1": | ||
| version "0.1.1" | ||
| resolved "https://registry.yarnpkg.com/@firebase/messaging-types/-/messaging-types-0.1.1.tgz#66d61d800081b3f7e4d26f1f8523f0a307e37730" | ||
| "@firebase/storage-types@^0.1.1": | ||
| version "0.1.1" | ||
| resolved "https://registry.yarnpkg.com/@firebase/storage-types/-/storage-types-0.1.1.tgz#c8e1cd328e96ef5b88e07b0a4f5ce1c68087126b" | ||
| "@firebase/util@^0.1.7": | ||
| version "0.1.7" | ||
| resolved "https://registry.yarnpkg.com/@firebase/util/-/util-0.1.7.tgz#efe5f119ae6449f66dd286c7cbdccfed090ad274" | ||
| "@types/events@*": | ||
| version "1.1.0" | ||
| resolved "https://registry.yarnpkg.com/@types/events/-/events-1.1.0.tgz#93b1be91f63c184450385272c47b6496fd028e02" | ||
| "@types/glob@*": | ||
| version "5.0.35" | ||
| resolved "https://registry.yarnpkg.com/@types/glob/-/glob-5.0.35.tgz#1ae151c802cece940443b5ac246925c85189f32a" | ||
| dependencies: | ||
| "@types/events" "*" | ||
| "@types/minimatch" "*" | ||
| "@types/node" "*" | ||
| "@types/minimatch@*": | ||
| version "3.0.3" | ||
| resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" | ||
| "@types/node@*": | ||
| version "9.4.0" | ||
| resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.0.tgz#b85a0bcf1e1cc84eb4901b7e96966aedc6f078d1" | ||
| "@types/rimraf@^2.0.2": | ||
| version "2.0.2" | ||
| resolved "https://registry.yarnpkg.com/@types/rimraf/-/rimraf-2.0.2.tgz#7f0fc3cf0ff0ad2a99bb723ae1764f30acaf8b6e" | ||
| dependencies: | ||
| "@types/glob" "*" | ||
| "@types/node" "*" | ||
| "@types/shelljs@^0.7.7": | ||
| version "0.7.7" | ||
| resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.7.7.tgz#1f7bfa28947661afea06365db9b1135bbc903ec4" | ||
| dependencies: | ||
| "@types/glob" "*" | ||
| "@types/node" "*" | ||
| ansi-regex@^2.0.0: | ||
| version "2.1.1" | ||
| resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" | ||
| ansi-styles@^2.2.1: | ||
| version "2.2.1" | ||
| resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" | ||
| ansi-styles@^3.1.0: | ||
| version "3.2.0" | ||
| resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88" | ||
| dependencies: | ||
| color-convert "^1.9.0" | ||
| argparse@^1.0.7: | ||
| version "1.0.9" | ||
| resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" | ||
| dependencies: | ||
| sprintf-js "~1.0.2" | ||
| babel-code-frame@^6.22.0: | ||
| version "6.26.0" | ||
| resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" | ||
| dependencies: | ||
| chalk "^1.1.3" | ||
| esutils "^2.0.2" | ||
| js-tokens "^3.0.2" | ||
| balanced-match@^1.0.0: | ||
| version "1.0.0" | ||
| resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" | ||
| brace-expansion@^1.1.7: | ||
| version "1.1.8" | ||
| resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" | ||
| dependencies: | ||
| balanced-match "^1.0.0" | ||
| concat-map "0.0.1" | ||
| builtin-modules@^1.1.1: | ||
| version "1.1.1" | ||
| resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" | ||
| chalk@^1.1.3: | ||
| version "1.1.3" | ||
| resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" | ||
| dependencies: | ||
| ansi-styles "^2.2.1" | ||
| escape-string-regexp "^1.0.2" | ||
| has-ansi "^2.0.0" | ||
| strip-ansi "^3.0.0" | ||
| supports-color "^2.0.0" | ||
| chalk@^2.3.0: | ||
| version "2.3.0" | ||
| resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba" | ||
| dependencies: | ||
| ansi-styles "^3.1.0" | ||
| escape-string-regexp "^1.0.5" | ||
| supports-color "^4.0.0" | ||
| color-convert@^1.9.0: | ||
| version "1.9.1" | ||
| resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" | ||
| dependencies: | ||
| color-name "^1.1.1" | ||
| color-name@^1.1.1: | ||
| version "1.1.3" | ||
| resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" | ||
| commander@^2.12.1: | ||
| version "2.13.0" | ||
| resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c" | ||
| common-types@^1.5.2: | ||
| version "1.5.2" | ||
| resolved "https://registry.yarnpkg.com/common-types/-/common-types-1.5.2.tgz#36be29dcae6be5e57175690d0ca3ce282b96a0d0" | ||
| dependencies: | ||
| chalk "^2.3.0" | ||
| concat-map@0.0.1: | ||
| version "0.0.1" | ||
| resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" | ||
| diff@^3.2.0: | ||
| version "3.4.0" | ||
| resolved "https://registry.yarnpkg.com/diff/-/diff-3.4.0.tgz#b1d85507daf3964828de54b37d0d73ba67dda56c" | ||
| escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: | ||
| version "1.0.5" | ||
| resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" | ||
| esprima@^4.0.0: | ||
| version "4.0.0" | ||
| resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" | ||
| esutils@^2.0.2: | ||
| version "2.0.2" | ||
| resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" | ||
| fs.realpath@^1.0.0: | ||
| version "1.0.0" | ||
| resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" | ||
| glob@^7.0.0, glob@^7.0.5, glob@^7.1.1: | ||
| version "7.1.2" | ||
| resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" | ||
| dependencies: | ||
| fs.realpath "^1.0.0" | ||
| inflight "^1.0.4" | ||
| inherits "2" | ||
| minimatch "^3.0.4" | ||
| once "^1.3.0" | ||
| path-is-absolute "^1.0.0" | ||
| has-ansi@^2.0.0: | ||
| version "2.0.0" | ||
| resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" | ||
| dependencies: | ||
| ansi-regex "^2.0.0" | ||
| has-flag@^2.0.0: | ||
| version "2.0.0" | ||
| resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" | ||
| inflight@^1.0.4: | ||
| version "1.0.6" | ||
| resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" | ||
| dependencies: | ||
| once "^1.3.0" | ||
| wrappy "1" | ||
| inherits@2: | ||
| version "2.0.3" | ||
| resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" | ||
| interpret@^1.0.0: | ||
| version "1.1.0" | ||
| resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614" | ||
| js-tokens@^3.0.2: | ||
| version "3.0.2" | ||
| resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" | ||
| js-yaml@^3.10.0, js-yaml@^3.7.0: | ||
| version "3.10.0" | ||
| resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc" | ||
| dependencies: | ||
| argparse "^1.0.7" | ||
| esprima "^4.0.0" | ||
| lodash.first@^3.0.0: | ||
| version "3.0.0" | ||
| resolved "https://registry.yarnpkg.com/lodash.first/-/lodash.first-3.0.0.tgz#5dae180d7f818ee65fc5b210b104a7bbef98a16a" | ||
| lodash.last@^3.0.0: | ||
| version "3.0.0" | ||
| resolved "https://registry.yarnpkg.com/lodash.last/-/lodash.last-3.0.0.tgz#242f663112dd4c6e63728c60a3c909d1bdadbd4c" | ||
| minimatch@^3.0.4: | ||
| version "3.0.4" | ||
| resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" | ||
| dependencies: | ||
| brace-expansion "^1.1.7" | ||
| once@^1.3.0: | ||
| version "1.4.0" | ||
| resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" | ||
| dependencies: | ||
| wrappy "1" | ||
| path-is-absolute@^1.0.0: | ||
| version "1.0.1" | ||
| resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" | ||
| path-parse@^1.0.5: | ||
| version "1.0.5" | ||
| resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" | ||
| rechoir@^0.6.2: | ||
| version "0.6.2" | ||
| resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" | ||
| dependencies: | ||
| resolve "^1.1.6" | ||
| resolve@^1.1.6, resolve@^1.3.2: | ||
| version "1.5.0" | ||
| resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36" | ||
| dependencies: | ||
| path-parse "^1.0.5" | ||
| rimraf@^2.6.2: | ||
| version "2.6.2" | ||
| resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" | ||
| dependencies: | ||
| glob "^7.0.5" | ||
| semver@^5.3.0: | ||
| version "5.5.0" | ||
| resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" | ||
| shelljs@^0.8.1: | ||
| version "0.8.1" | ||
| resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.1.tgz#729e038c413a2254c4078b95ed46e0397154a9f1" | ||
| dependencies: | ||
| glob "^7.0.0" | ||
| interpret "^1.0.0" | ||
| rechoir "^0.6.2" | ||
| sprintf-js@~1.0.2: | ||
| version "1.0.3" | ||
| resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" | ||
| strip-ansi@^3.0.0: | ||
| version "3.0.1" | ||
| resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" | ||
| dependencies: | ||
| ansi-regex "^2.0.0" | ||
| supports-color@^2.0.0: | ||
| version "2.0.0" | ||
| resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" | ||
| supports-color@^4.0.0: | ||
| version "4.5.0" | ||
| resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" | ||
| dependencies: | ||
| has-flag "^2.0.0" | ||
| test-console@^1.1.0: | ||
| version "1.1.0" | ||
| resolved "https://registry.yarnpkg.com/test-console/-/test-console-1.1.0.tgz#34466d421f1b049e1be80d1734bdb5a512889c7f" | ||
| tslib@^1.8.0, tslib@^1.8.1: | ||
| version "1.9.0" | ||
| resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.0.tgz#e37a86fda8cbbaf23a057f473c9f4dc64e5fc2e8" | ||
| tslint@^5.9.1: | ||
| version "5.9.1" | ||
| resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.9.1.tgz#1255f87a3ff57eb0b0e1f0e610a8b4748046c9ae" | ||
| dependencies: | ||
| babel-code-frame "^6.22.0" | ||
| builtin-modules "^1.1.1" | ||
| chalk "^2.3.0" | ||
| commander "^2.12.1" | ||
| diff "^3.2.0" | ||
| glob "^7.1.1" | ||
| js-yaml "^3.7.0" | ||
| minimatch "^3.0.4" | ||
| resolve "^1.3.2" | ||
| semver "^5.3.0" | ||
| tslib "^1.8.0" | ||
| tsutils "^2.12.1" | ||
| tsutils@^2.12.1: | ||
| version "2.19.1" | ||
| resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.19.1.tgz#76d7ebdea9d7a7bf4a05f50ead3701b0168708d7" | ||
| dependencies: | ||
| tslib "^1.8.1" | ||
| typescript@^2.8.0-dev.20180131: | ||
| version "2.8.0-insiders.20180127" | ||
| resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.8.0-insiders.20180127.tgz#ceffc20983754a6127ee7c806676f0b30d0fc1ce" | ||
| wrappy@1: | ||
| version "1.0.2" | ||
| resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1583
1.6%65362
-24.26%31
-3.12%