Skip to content

Commit 8329dee

Browse files
committed
added: [n4s] lazy evaluated enforcements (#479)
1 parent 3e33fa8 commit 8329dee

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

config/rollup/getPlugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = function ({ dev = false, format, min, libraryName, version }) {
3434
alias({ entries: aliases }),
3535
resolve(),
3636
commonjs({
37-
include: /node_modules\/(anyone|n4s)/,
37+
include: /node_modules\/(anyone|n4s|wait)/,
3838
}),
3939
babel({
4040
configFile: filePaths.BABEL_CONFIG_PATH,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"@babel/plugin-transform-runtime": "^7.12.1",
3535
"@babel/preset-env": "^7.12.1",
3636
"@babel/register": "^7.12.1",
37-
"@lets/wait": "^2.0.2",
3837
"@rollup/plugin-alias": "^3.1.1",
3938
"@rollup/plugin-babel": "^5.2.1",
4039
"@rollup/plugin-commonjs": "^16.0.0",
@@ -64,6 +63,7 @@
6463
"rollup-plugin-terser": "^7.0.2",
6564
"semver": "^7.3.2",
6665
"typescript": "^4.0.5",
67-
"validator": "^13.1.17"
66+
"validator": "^13.1.17",
67+
"wait": "^0.4.1"
6868
}
6969
}

packages/vest/src/core/test/__tests__/memo.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import wait from '@lets/wait';
21
import enforce from 'n4s';
2+
import wait from 'wait';
33

44
import vest from '../../..';
55

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,11 +1148,6 @@
11481148
resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-1.0.0.tgz#3fdf5798f0b49e90155896f6291df186eac06c83"
11491149
integrity sha512-9oLAnygRMi8Q5QkYEU4XWK04B+nuoXoxjRvRxgjuChkLZFBja0YPSgdZ7dZtwhncLBcQe/I/E+fLuk5qxcYVJA==
11501150

1151-
"@lets/wait@^2.0.2":
1152-
version "2.0.2"
1153-
resolved "https://registry.yarnpkg.com/@lets/wait/-/wait-2.0.2.tgz#ea2e71c8f52e2028355fdec9fcb524d38580f76f"
1154-
integrity sha512-pDxo/Z7sht1jlrgUuwOdTFK2z/Swyfet1HeiuX6ZImx1ns/wAjaVQ1X1QRrG+lhw9gvIOWJKgrNXrmc+6/6hxw==
1155-
11561151
"@nicolo-ribaudo/chokidar-2@^2.1.8":
11571152
version "2.1.8"
11581153
resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8.tgz#eef8d9b47e8dc589499f14d656e8d2dd978c3d14"
@@ -5865,6 +5860,11 @@ w3c-xmlserializer@^2.0.0:
58655860
dependencies:
58665861
xml-name-validator "^3.0.0"
58675862

5863+
wait@^0.4.0:
5864+
version "0.4.0"
5865+
resolved "https://registry.yarnpkg.com/wait/-/wait-0.4.0.tgz#233f79c4f13e67c8e341303c62bf0d39c279a7b7"
5866+
integrity sha512-8vxOm3Dw5Y7fin8VN6I6frsqsoUgZYsF7vnduwRDCFwYyl6i2Fik2LUj1OWXuqJ5VSqTtFP3V31IOk7yCFpQGQ==
5867+
58685868
walker@^1.0.7, walker@~1.0.5:
58695869
version "1.0.7"
58705870
resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb"

0 commit comments

Comments
 (0)