Skip to content

Commit

Permalink
fix(plugin-cache): 🐞 fix build dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
edbzn committed Jan 14, 2020
1 parent 25a98b5 commit 01c8377
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 19 deletions.
6 changes: 4 additions & 2 deletions libs/plugin-cache/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"entryFile": "src/index.ts",
"umdModuleIds": {
"@http-ext/core": "@http-ext/core",
"lru-cache": "LRU"
"lru-cache": "LRU",
"buffer-from": "buffer-from",
"bytes": "bytes"
}
},
"whitelistedNonPeerDependencies": ["lru-cache"]
"whitelistedNonPeerDependencies": ["lru-cache", "buffer-from", "bytes"]
}
4 changes: 0 additions & 4 deletions libs/plugin-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
"rxjs": "^6.5.3"
},
"dependencies": {
"@types/buffer-from": "^1.1.0",
"buffer-from": "^1.1.1",
"bytes": "^3.1.0",
"lru-cache": "^5.1.1"
},
"devDependencies": {
"@types/bytes": "^3.1.0"
}
}
2 changes: 1 addition & 1 deletion libs/plugin-cache/src/lib/storages/memory-storage.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import bufferFrom from 'buffer-from';
import * as bufferFrom from 'buffer-from';
import * as bytes from 'bytes';
import * as LRU from 'lru-cache';
import { EMPTY, Observable, of } from 'rxjs';
Expand Down
12 changes: 0 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2338,18 +2338,6 @@
"@types/connect" "*"
"@types/node" "*"

"@types/buffer-from@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@types/buffer-from/-/buffer-from-1.1.0.tgz#fed6287e90fe524dc2b412e0fbc2222c1889c21f"
integrity sha512-BLFpLBcN+RPKUsFxqRkMiwqTOOdi+TrKr5OpLJ9qCnUdSxS6S80+QRX/mIhfR66u0Ykc4QTkReaejOM2ILh+9Q==
dependencies:
"@types/node" "*"

"@types/bytes@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@types/bytes/-/bytes-3.1.0.tgz#835a3e4aea3b4d7604aca216a78de372bff3ecc3"
integrity sha512-5YG1AiIC8HPPXRvYAIa7ehK3YMAwd0DWiPCtpuL9sgKceWLyWsVtLRA+lT4NkoanDNF9slwQ66lPizWDpgRlWA==

"@types/color-name@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
Expand Down

0 comments on commit 01c8377

Please sign in to comment.