@modern-js/mwa-generator 1.3.5 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48426,6 +48426,953 @@ function patch (fs) {
48426
48426
  }
48427
48427
 
48428
48428
 
48429
+ /***/ }),
48430
+
48431
+ /***/ 83584:
48432
+ /***/ ((module) => {
48433
+
48434
+ "use strict";
48435
+
48436
+
48437
+ module.exports = clone
48438
+
48439
+ var getPrototypeOf = Object.getPrototypeOf || function (obj) {
48440
+ return obj.__proto__
48441
+ }
48442
+
48443
+ function clone (obj) {
48444
+ if (obj === null || typeof obj !== 'object')
48445
+ return obj
48446
+
48447
+ if (obj instanceof Object)
48448
+ var copy = { __proto__: getPrototypeOf(obj) }
48449
+ else
48450
+ var copy = Object.create(null)
48451
+
48452
+ Object.getOwnPropertyNames(obj).forEach(function (key) {
48453
+ Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key))
48454
+ })
48455
+
48456
+ return copy
48457
+ }
48458
+
48459
+
48460
+ /***/ }),
48461
+
48462
+ /***/ 19677:
48463
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
48464
+
48465
+ var fs = __webpack_require__(57147)
48466
+ var polyfills = __webpack_require__(18187)
48467
+ var legacy = __webpack_require__(15601)
48468
+ var clone = __webpack_require__(83584)
48469
+
48470
+ var util = __webpack_require__(73837)
48471
+
48472
+ /* istanbul ignore next - node 0.x polyfill */
48473
+ var gracefulQueue
48474
+ var previousSymbol
48475
+
48476
+ /* istanbul ignore else - node 0.x polyfill */
48477
+ if (typeof Symbol === 'function' && typeof Symbol.for === 'function') {
48478
+ gracefulQueue = Symbol.for('graceful-fs.queue')
48479
+ // This is used in testing by future versions
48480
+ previousSymbol = Symbol.for('graceful-fs.previous')
48481
+ } else {
48482
+ gracefulQueue = '___graceful-fs.queue'
48483
+ previousSymbol = '___graceful-fs.previous'
48484
+ }
48485
+
48486
+ function noop () {}
48487
+
48488
+ function publishQueue(context, queue) {
48489
+ Object.defineProperty(context, gracefulQueue, {
48490
+ get: function() {
48491
+ return queue
48492
+ }
48493
+ })
48494
+ }
48495
+
48496
+ var debug = noop
48497
+ if (util.debuglog)
48498
+ debug = util.debuglog('gfs4')
48499
+ else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || ''))
48500
+ debug = function() {
48501
+ var m = util.format.apply(util, arguments)
48502
+ m = 'GFS4: ' + m.split(/\n/).join('\nGFS4: ')
48503
+ console.error(m)
48504
+ }
48505
+
48506
+ // Once time initialization
48507
+ if (!fs[gracefulQueue]) {
48508
+ // This queue can be shared by multiple loaded instances
48509
+ var queue = global[gracefulQueue] || []
48510
+ publishQueue(fs, queue)
48511
+
48512
+ // Patch fs.close/closeSync to shared queue version, because we need
48513
+ // to retry() whenever a close happens *anywhere* in the program.
48514
+ // This is essential when multiple graceful-fs instances are
48515
+ // in play at the same time.
48516
+ fs.close = (function (fs$close) {
48517
+ function close (fd, cb) {
48518
+ return fs$close.call(fs, fd, function (err) {
48519
+ // This function uses the graceful-fs shared queue
48520
+ if (!err) {
48521
+ resetQueue()
48522
+ }
48523
+
48524
+ if (typeof cb === 'function')
48525
+ cb.apply(this, arguments)
48526
+ })
48527
+ }
48528
+
48529
+ Object.defineProperty(close, previousSymbol, {
48530
+ value: fs$close
48531
+ })
48532
+ return close
48533
+ })(fs.close)
48534
+
48535
+ fs.closeSync = (function (fs$closeSync) {
48536
+ function closeSync (fd) {
48537
+ // This function uses the graceful-fs shared queue
48538
+ fs$closeSync.apply(fs, arguments)
48539
+ resetQueue()
48540
+ }
48541
+
48542
+ Object.defineProperty(closeSync, previousSymbol, {
48543
+ value: fs$closeSync
48544
+ })
48545
+ return closeSync
48546
+ })(fs.closeSync)
48547
+
48548
+ if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || '')) {
48549
+ process.on('exit', function() {
48550
+ debug(fs[gracefulQueue])
48551
+ __webpack_require__(39491).equal(fs[gracefulQueue].length, 0)
48552
+ })
48553
+ }
48554
+ }
48555
+
48556
+ if (!global[gracefulQueue]) {
48557
+ publishQueue(global, fs[gracefulQueue]);
48558
+ }
48559
+
48560
+ module.exports = patch(clone(fs))
48561
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs.__patched) {
48562
+ module.exports = patch(fs)
48563
+ fs.__patched = true;
48564
+ }
48565
+
48566
+ function patch (fs) {
48567
+ // Everything that references the open() function needs to be in here
48568
+ polyfills(fs)
48569
+ fs.gracefulify = patch
48570
+
48571
+ fs.createReadStream = createReadStream
48572
+ fs.createWriteStream = createWriteStream
48573
+ var fs$readFile = fs.readFile
48574
+ fs.readFile = readFile
48575
+ function readFile (path, options, cb) {
48576
+ if (typeof options === 'function')
48577
+ cb = options, options = null
48578
+
48579
+ return go$readFile(path, options, cb)
48580
+
48581
+ function go$readFile (path, options, cb, startTime) {
48582
+ return fs$readFile(path, options, function (err) {
48583
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
48584
+ enqueue([go$readFile, [path, options, cb], err, startTime || Date.now(), Date.now()])
48585
+ else {
48586
+ if (typeof cb === 'function')
48587
+ cb.apply(this, arguments)
48588
+ }
48589
+ })
48590
+ }
48591
+ }
48592
+
48593
+ var fs$writeFile = fs.writeFile
48594
+ fs.writeFile = writeFile
48595
+ function writeFile (path, data, options, cb) {
48596
+ if (typeof options === 'function')
48597
+ cb = options, options = null
48598
+
48599
+ return go$writeFile(path, data, options, cb)
48600
+
48601
+ function go$writeFile (path, data, options, cb, startTime) {
48602
+ return fs$writeFile(path, data, options, function (err) {
48603
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
48604
+ enqueue([go$writeFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])
48605
+ else {
48606
+ if (typeof cb === 'function')
48607
+ cb.apply(this, arguments)
48608
+ }
48609
+ })
48610
+ }
48611
+ }
48612
+
48613
+ var fs$appendFile = fs.appendFile
48614
+ if (fs$appendFile)
48615
+ fs.appendFile = appendFile
48616
+ function appendFile (path, data, options, cb) {
48617
+ if (typeof options === 'function')
48618
+ cb = options, options = null
48619
+
48620
+ return go$appendFile(path, data, options, cb)
48621
+
48622
+ function go$appendFile (path, data, options, cb, startTime) {
48623
+ return fs$appendFile(path, data, options, function (err) {
48624
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
48625
+ enqueue([go$appendFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])
48626
+ else {
48627
+ if (typeof cb === 'function')
48628
+ cb.apply(this, arguments)
48629
+ }
48630
+ })
48631
+ }
48632
+ }
48633
+
48634
+ var fs$copyFile = fs.copyFile
48635
+ if (fs$copyFile)
48636
+ fs.copyFile = copyFile
48637
+ function copyFile (src, dest, flags, cb) {
48638
+ if (typeof flags === 'function') {
48639
+ cb = flags
48640
+ flags = 0
48641
+ }
48642
+ return go$copyFile(src, dest, flags, cb)
48643
+
48644
+ function go$copyFile (src, dest, flags, cb, startTime) {
48645
+ return fs$copyFile(src, dest, flags, function (err) {
48646
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
48647
+ enqueue([go$copyFile, [src, dest, flags, cb], err, startTime || Date.now(), Date.now()])
48648
+ else {
48649
+ if (typeof cb === 'function')
48650
+ cb.apply(this, arguments)
48651
+ }
48652
+ })
48653
+ }
48654
+ }
48655
+
48656
+ var fs$readdir = fs.readdir
48657
+ fs.readdir = readdir
48658
+ function readdir (path, options, cb) {
48659
+ if (typeof options === 'function')
48660
+ cb = options, options = null
48661
+
48662
+ return go$readdir(path, options, cb)
48663
+
48664
+ function go$readdir (path, options, cb, startTime) {
48665
+ return fs$readdir(path, options, function (err, files) {
48666
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
48667
+ enqueue([go$readdir, [path, options, cb], err, startTime || Date.now(), Date.now()])
48668
+ else {
48669
+ if (files && files.sort)
48670
+ files.sort()
48671
+
48672
+ if (typeof cb === 'function')
48673
+ cb.call(this, err, files)
48674
+ }
48675
+ })
48676
+ }
48677
+ }
48678
+
48679
+ if (process.version.substr(0, 4) === 'v0.8') {
48680
+ var legStreams = legacy(fs)
48681
+ ReadStream = legStreams.ReadStream
48682
+ WriteStream = legStreams.WriteStream
48683
+ }
48684
+
48685
+ var fs$ReadStream = fs.ReadStream
48686
+ if (fs$ReadStream) {
48687
+ ReadStream.prototype = Object.create(fs$ReadStream.prototype)
48688
+ ReadStream.prototype.open = ReadStream$open
48689
+ }
48690
+
48691
+ var fs$WriteStream = fs.WriteStream
48692
+ if (fs$WriteStream) {
48693
+ WriteStream.prototype = Object.create(fs$WriteStream.prototype)
48694
+ WriteStream.prototype.open = WriteStream$open
48695
+ }
48696
+
48697
+ Object.defineProperty(fs, 'ReadStream', {
48698
+ get: function () {
48699
+ return ReadStream
48700
+ },
48701
+ set: function (val) {
48702
+ ReadStream = val
48703
+ },
48704
+ enumerable: true,
48705
+ configurable: true
48706
+ })
48707
+ Object.defineProperty(fs, 'WriteStream', {
48708
+ get: function () {
48709
+ return WriteStream
48710
+ },
48711
+ set: function (val) {
48712
+ WriteStream = val
48713
+ },
48714
+ enumerable: true,
48715
+ configurable: true
48716
+ })
48717
+
48718
+ // legacy names
48719
+ var FileReadStream = ReadStream
48720
+ Object.defineProperty(fs, 'FileReadStream', {
48721
+ get: function () {
48722
+ return FileReadStream
48723
+ },
48724
+ set: function (val) {
48725
+ FileReadStream = val
48726
+ },
48727
+ enumerable: true,
48728
+ configurable: true
48729
+ })
48730
+ var FileWriteStream = WriteStream
48731
+ Object.defineProperty(fs, 'FileWriteStream', {
48732
+ get: function () {
48733
+ return FileWriteStream
48734
+ },
48735
+ set: function (val) {
48736
+ FileWriteStream = val
48737
+ },
48738
+ enumerable: true,
48739
+ configurable: true
48740
+ })
48741
+
48742
+ function ReadStream (path, options) {
48743
+ if (this instanceof ReadStream)
48744
+ return fs$ReadStream.apply(this, arguments), this
48745
+ else
48746
+ return ReadStream.apply(Object.create(ReadStream.prototype), arguments)
48747
+ }
48748
+
48749
+ function ReadStream$open () {
48750
+ var that = this
48751
+ open(that.path, that.flags, that.mode, function (err, fd) {
48752
+ if (err) {
48753
+ if (that.autoClose)
48754
+ that.destroy()
48755
+
48756
+ that.emit('error', err)
48757
+ } else {
48758
+ that.fd = fd
48759
+ that.emit('open', fd)
48760
+ that.read()
48761
+ }
48762
+ })
48763
+ }
48764
+
48765
+ function WriteStream (path, options) {
48766
+ if (this instanceof WriteStream)
48767
+ return fs$WriteStream.apply(this, arguments), this
48768
+ else
48769
+ return WriteStream.apply(Object.create(WriteStream.prototype), arguments)
48770
+ }
48771
+
48772
+ function WriteStream$open () {
48773
+ var that = this
48774
+ open(that.path, that.flags, that.mode, function (err, fd) {
48775
+ if (err) {
48776
+ that.destroy()
48777
+ that.emit('error', err)
48778
+ } else {
48779
+ that.fd = fd
48780
+ that.emit('open', fd)
48781
+ }
48782
+ })
48783
+ }
48784
+
48785
+ function createReadStream (path, options) {
48786
+ return new fs.ReadStream(path, options)
48787
+ }
48788
+
48789
+ function createWriteStream (path, options) {
48790
+ return new fs.WriteStream(path, options)
48791
+ }
48792
+
48793
+ var fs$open = fs.open
48794
+ fs.open = open
48795
+ function open (path, flags, mode, cb) {
48796
+ if (typeof mode === 'function')
48797
+ cb = mode, mode = null
48798
+
48799
+ return go$open(path, flags, mode, cb)
48800
+
48801
+ function go$open (path, flags, mode, cb, startTime) {
48802
+ return fs$open(path, flags, mode, function (err, fd) {
48803
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
48804
+ enqueue([go$open, [path, flags, mode, cb], err, startTime || Date.now(), Date.now()])
48805
+ else {
48806
+ if (typeof cb === 'function')
48807
+ cb.apply(this, arguments)
48808
+ }
48809
+ })
48810
+ }
48811
+ }
48812
+
48813
+ return fs
48814
+ }
48815
+
48816
+ function enqueue (elem) {
48817
+ debug('ENQUEUE', elem[0].name, elem[1])
48818
+ fs[gracefulQueue].push(elem)
48819
+ retry()
48820
+ }
48821
+
48822
+ // keep track of the timeout between retry() calls
48823
+ var retryTimer
48824
+
48825
+ // reset the startTime and lastTime to now
48826
+ // this resets the start of the 60 second overall timeout as well as the
48827
+ // delay between attempts so that we'll retry these jobs sooner
48828
+ function resetQueue () {
48829
+ var now = Date.now()
48830
+ for (var i = 0; i < fs[gracefulQueue].length; ++i) {
48831
+ // entries that are only a length of 2 are from an older version, don't
48832
+ // bother modifying those since they'll be retried anyway.
48833
+ if (fs[gracefulQueue][i].length > 2) {
48834
+ fs[gracefulQueue][i][3] = now // startTime
48835
+ fs[gracefulQueue][i][4] = now // lastTime
48836
+ }
48837
+ }
48838
+ // call retry to make sure we're actively processing the queue
48839
+ retry()
48840
+ }
48841
+
48842
+ function retry () {
48843
+ // clear the timer and remove it to help prevent unintended concurrency
48844
+ clearTimeout(retryTimer)
48845
+ retryTimer = undefined
48846
+
48847
+ if (fs[gracefulQueue].length === 0)
48848
+ return
48849
+
48850
+ var elem = fs[gracefulQueue].shift()
48851
+ var fn = elem[0]
48852
+ var args = elem[1]
48853
+ // these items may be unset if they were added by an older graceful-fs
48854
+ var err = elem[2]
48855
+ var startTime = elem[3]
48856
+ var lastTime = elem[4]
48857
+
48858
+ // if we don't have a startTime we have no way of knowing if we've waited
48859
+ // long enough, so go ahead and retry this item now
48860
+ if (startTime === undefined) {
48861
+ debug('RETRY', fn.name, args)
48862
+ fn.apply(null, args)
48863
+ } else if (Date.now() - startTime >= 60000) {
48864
+ // it's been more than 60 seconds total, bail now
48865
+ debug('TIMEOUT', fn.name, args)
48866
+ var cb = args.pop()
48867
+ if (typeof cb === 'function')
48868
+ cb.call(null, err)
48869
+ } else {
48870
+ // the amount of time between the last attempt and right now
48871
+ var sinceAttempt = Date.now() - lastTime
48872
+ // the amount of time between when we first tried, and when we last tried
48873
+ // rounded up to at least 1
48874
+ var sinceStart = Math.max(lastTime - startTime, 1)
48875
+ // backoff. wait longer than the total time we've been retrying, but only
48876
+ // up to a maximum of 100ms
48877
+ var desiredDelay = Math.min(sinceStart * 1.2, 100)
48878
+ // it's been long enough since the last retry, do it again
48879
+ if (sinceAttempt >= desiredDelay) {
48880
+ debug('RETRY', fn.name, args)
48881
+ fn.apply(null, args.concat([startTime]))
48882
+ } else {
48883
+ // if we can't do this job yet, push it to the end of the queue
48884
+ // and let the next iteration check again
48885
+ fs[gracefulQueue].push(elem)
48886
+ }
48887
+ }
48888
+
48889
+ // schedule our next run if one isn't already scheduled
48890
+ if (retryTimer === undefined) {
48891
+ retryTimer = setTimeout(retry, 0)
48892
+ }
48893
+ }
48894
+
48895
+
48896
+ /***/ }),
48897
+
48898
+ /***/ 15601:
48899
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
48900
+
48901
+ var Stream = (__webpack_require__(12781).Stream)
48902
+
48903
+ module.exports = legacy
48904
+
48905
+ function legacy (fs) {
48906
+ return {
48907
+ ReadStream: ReadStream,
48908
+ WriteStream: WriteStream
48909
+ }
48910
+
48911
+ function ReadStream (path, options) {
48912
+ if (!(this instanceof ReadStream)) return new ReadStream(path, options);
48913
+
48914
+ Stream.call(this);
48915
+
48916
+ var self = this;
48917
+
48918
+ this.path = path;
48919
+ this.fd = null;
48920
+ this.readable = true;
48921
+ this.paused = false;
48922
+
48923
+ this.flags = 'r';
48924
+ this.mode = 438; /*=0666*/
48925
+ this.bufferSize = 64 * 1024;
48926
+
48927
+ options = options || {};
48928
+
48929
+ // Mixin options into this
48930
+ var keys = Object.keys(options);
48931
+ for (var index = 0, length = keys.length; index < length; index++) {
48932
+ var key = keys[index];
48933
+ this[key] = options[key];
48934
+ }
48935
+
48936
+ if (this.encoding) this.setEncoding(this.encoding);
48937
+
48938
+ if (this.start !== undefined) {
48939
+ if ('number' !== typeof this.start) {
48940
+ throw TypeError('start must be a Number');
48941
+ }
48942
+ if (this.end === undefined) {
48943
+ this.end = Infinity;
48944
+ } else if ('number' !== typeof this.end) {
48945
+ throw TypeError('end must be a Number');
48946
+ }
48947
+
48948
+ if (this.start > this.end) {
48949
+ throw new Error('start must be <= end');
48950
+ }
48951
+
48952
+ this.pos = this.start;
48953
+ }
48954
+
48955
+ if (this.fd !== null) {
48956
+ process.nextTick(function() {
48957
+ self._read();
48958
+ });
48959
+ return;
48960
+ }
48961
+
48962
+ fs.open(this.path, this.flags, this.mode, function (err, fd) {
48963
+ if (err) {
48964
+ self.emit('error', err);
48965
+ self.readable = false;
48966
+ return;
48967
+ }
48968
+
48969
+ self.fd = fd;
48970
+ self.emit('open', fd);
48971
+ self._read();
48972
+ })
48973
+ }
48974
+
48975
+ function WriteStream (path, options) {
48976
+ if (!(this instanceof WriteStream)) return new WriteStream(path, options);
48977
+
48978
+ Stream.call(this);
48979
+
48980
+ this.path = path;
48981
+ this.fd = null;
48982
+ this.writable = true;
48983
+
48984
+ this.flags = 'w';
48985
+ this.encoding = 'binary';
48986
+ this.mode = 438; /*=0666*/
48987
+ this.bytesWritten = 0;
48988
+
48989
+ options = options || {};
48990
+
48991
+ // Mixin options into this
48992
+ var keys = Object.keys(options);
48993
+ for (var index = 0, length = keys.length; index < length; index++) {
48994
+ var key = keys[index];
48995
+ this[key] = options[key];
48996
+ }
48997
+
48998
+ if (this.start !== undefined) {
48999
+ if ('number' !== typeof this.start) {
49000
+ throw TypeError('start must be a Number');
49001
+ }
49002
+ if (this.start < 0) {
49003
+ throw new Error('start must be >= zero');
49004
+ }
49005
+
49006
+ this.pos = this.start;
49007
+ }
49008
+
49009
+ this.busy = false;
49010
+ this._queue = [];
49011
+
49012
+ if (this.fd === null) {
49013
+ this._open = fs.open;
49014
+ this._queue.push([this._open, this.path, this.flags, this.mode, undefined]);
49015
+ this.flush();
49016
+ }
49017
+ }
49018
+ }
49019
+
49020
+
49021
+ /***/ }),
49022
+
49023
+ /***/ 18187:
49024
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
49025
+
49026
+ var constants = __webpack_require__(22057)
49027
+
49028
+ var origCwd = process.cwd
49029
+ var cwd = null
49030
+
49031
+ var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform
49032
+
49033
+ process.cwd = function() {
49034
+ if (!cwd)
49035
+ cwd = origCwd.call(process)
49036
+ return cwd
49037
+ }
49038
+ try {
49039
+ process.cwd()
49040
+ } catch (er) {}
49041
+
49042
+ // This check is needed until node.js 12 is required
49043
+ if (typeof process.chdir === 'function') {
49044
+ var chdir = process.chdir
49045
+ process.chdir = function (d) {
49046
+ cwd = null
49047
+ chdir.call(process, d)
49048
+ }
49049
+ if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, chdir)
49050
+ }
49051
+
49052
+ module.exports = patch
49053
+
49054
+ function patch (fs) {
49055
+ // (re-)implement some things that are known busted or missing.
49056
+
49057
+ // lchmod, broken prior to 0.6.2
49058
+ // back-port the fix here.
49059
+ if (constants.hasOwnProperty('O_SYMLINK') &&
49060
+ process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
49061
+ patchLchmod(fs)
49062
+ }
49063
+
49064
+ // lutimes implementation, or no-op
49065
+ if (!fs.lutimes) {
49066
+ patchLutimes(fs)
49067
+ }
49068
+
49069
+ // https://github.com/isaacs/node-graceful-fs/issues/4
49070
+ // Chown should not fail on einval or eperm if non-root.
49071
+ // It should not fail on enosys ever, as this just indicates
49072
+ // that a fs doesn't support the intended operation.
49073
+
49074
+ fs.chown = chownFix(fs.chown)
49075
+ fs.fchown = chownFix(fs.fchown)
49076
+ fs.lchown = chownFix(fs.lchown)
49077
+
49078
+ fs.chmod = chmodFix(fs.chmod)
49079
+ fs.fchmod = chmodFix(fs.fchmod)
49080
+ fs.lchmod = chmodFix(fs.lchmod)
49081
+
49082
+ fs.chownSync = chownFixSync(fs.chownSync)
49083
+ fs.fchownSync = chownFixSync(fs.fchownSync)
49084
+ fs.lchownSync = chownFixSync(fs.lchownSync)
49085
+
49086
+ fs.chmodSync = chmodFixSync(fs.chmodSync)
49087
+ fs.fchmodSync = chmodFixSync(fs.fchmodSync)
49088
+ fs.lchmodSync = chmodFixSync(fs.lchmodSync)
49089
+
49090
+ fs.stat = statFix(fs.stat)
49091
+ fs.fstat = statFix(fs.fstat)
49092
+ fs.lstat = statFix(fs.lstat)
49093
+
49094
+ fs.statSync = statFixSync(fs.statSync)
49095
+ fs.fstatSync = statFixSync(fs.fstatSync)
49096
+ fs.lstatSync = statFixSync(fs.lstatSync)
49097
+
49098
+ // if lchmod/lchown do not exist, then make them no-ops
49099
+ if (!fs.lchmod) {
49100
+ fs.lchmod = function (path, mode, cb) {
49101
+ if (cb) process.nextTick(cb)
49102
+ }
49103
+ fs.lchmodSync = function () {}
49104
+ }
49105
+ if (!fs.lchown) {
49106
+ fs.lchown = function (path, uid, gid, cb) {
49107
+ if (cb) process.nextTick(cb)
49108
+ }
49109
+ fs.lchownSync = function () {}
49110
+ }
49111
+
49112
+ // on Windows, A/V software can lock the directory, causing this
49113
+ // to fail with an EACCES or EPERM if the directory contains newly
49114
+ // created files. Try again on failure, for up to 60 seconds.
49115
+
49116
+ // Set the timeout this long because some Windows Anti-Virus, such as Parity
49117
+ // bit9, may lock files for up to a minute, causing npm package install
49118
+ // failures. Also, take care to yield the scheduler. Windows scheduling gives
49119
+ // CPU to a busy looping process, which can cause the program causing the lock
49120
+ // contention to be starved of CPU by node, so the contention doesn't resolve.
49121
+ if (platform === "win32") {
49122
+ fs.rename = (function (fs$rename) { return function (from, to, cb) {
49123
+ var start = Date.now()
49124
+ var backoff = 0;
49125
+ fs$rename(from, to, function CB (er) {
49126
+ if (er
49127
+ && (er.code === "EACCES" || er.code === "EPERM")
49128
+ && Date.now() - start < 60000) {
49129
+ setTimeout(function() {
49130
+ fs.stat(to, function (stater, st) {
49131
+ if (stater && stater.code === "ENOENT")
49132
+ fs$rename(from, to, CB);
49133
+ else
49134
+ cb(er)
49135
+ })
49136
+ }, backoff)
49137
+ if (backoff < 100)
49138
+ backoff += 10;
49139
+ return;
49140
+ }
49141
+ if (cb) cb(er)
49142
+ })
49143
+ }})(fs.rename)
49144
+ }
49145
+
49146
+ // if read() returns EAGAIN, then just try it again.
49147
+ fs.read = (function (fs$read) {
49148
+ function read (fd, buffer, offset, length, position, callback_) {
49149
+ var callback
49150
+ if (callback_ && typeof callback_ === 'function') {
49151
+ var eagCounter = 0
49152
+ callback = function (er, _, __) {
49153
+ if (er && er.code === 'EAGAIN' && eagCounter < 10) {
49154
+ eagCounter ++
49155
+ return fs$read.call(fs, fd, buffer, offset, length, position, callback)
49156
+ }
49157
+ callback_.apply(this, arguments)
49158
+ }
49159
+ }
49160
+ return fs$read.call(fs, fd, buffer, offset, length, position, callback)
49161
+ }
49162
+
49163
+ // This ensures `util.promisify` works as it does for native `fs.read`.
49164
+ if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read)
49165
+ return read
49166
+ })(fs.read)
49167
+
49168
+ fs.readSync = (function (fs$readSync) { return function (fd, buffer, offset, length, position) {
49169
+ var eagCounter = 0
49170
+ while (true) {
49171
+ try {
49172
+ return fs$readSync.call(fs, fd, buffer, offset, length, position)
49173
+ } catch (er) {
49174
+ if (er.code === 'EAGAIN' && eagCounter < 10) {
49175
+ eagCounter ++
49176
+ continue
49177
+ }
49178
+ throw er
49179
+ }
49180
+ }
49181
+ }})(fs.readSync)
49182
+
49183
+ function patchLchmod (fs) {
49184
+ fs.lchmod = function (path, mode, callback) {
49185
+ fs.open( path
49186
+ , constants.O_WRONLY | constants.O_SYMLINK
49187
+ , mode
49188
+ , function (err, fd) {
49189
+ if (err) {
49190
+ if (callback) callback(err)
49191
+ return
49192
+ }
49193
+ // prefer to return the chmod error, if one occurs,
49194
+ // but still try to close, and report closing errors if they occur.
49195
+ fs.fchmod(fd, mode, function (err) {
49196
+ fs.close(fd, function(err2) {
49197
+ if (callback) callback(err || err2)
49198
+ })
49199
+ })
49200
+ })
49201
+ }
49202
+
49203
+ fs.lchmodSync = function (path, mode) {
49204
+ var fd = fs.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode)
49205
+
49206
+ // prefer to return the chmod error, if one occurs,
49207
+ // but still try to close, and report closing errors if they occur.
49208
+ var threw = true
49209
+ var ret
49210
+ try {
49211
+ ret = fs.fchmodSync(fd, mode)
49212
+ threw = false
49213
+ } finally {
49214
+ if (threw) {
49215
+ try {
49216
+ fs.closeSync(fd)
49217
+ } catch (er) {}
49218
+ } else {
49219
+ fs.closeSync(fd)
49220
+ }
49221
+ }
49222
+ return ret
49223
+ }
49224
+ }
49225
+
49226
+ function patchLutimes (fs) {
49227
+ if (constants.hasOwnProperty("O_SYMLINK")) {
49228
+ fs.lutimes = function (path, at, mt, cb) {
49229
+ fs.open(path, constants.O_SYMLINK, function (er, fd) {
49230
+ if (er) {
49231
+ if (cb) cb(er)
49232
+ return
49233
+ }
49234
+ fs.futimes(fd, at, mt, function (er) {
49235
+ fs.close(fd, function (er2) {
49236
+ if (cb) cb(er || er2)
49237
+ })
49238
+ })
49239
+ })
49240
+ }
49241
+
49242
+ fs.lutimesSync = function (path, at, mt) {
49243
+ var fd = fs.openSync(path, constants.O_SYMLINK)
49244
+ var ret
49245
+ var threw = true
49246
+ try {
49247
+ ret = fs.futimesSync(fd, at, mt)
49248
+ threw = false
49249
+ } finally {
49250
+ if (threw) {
49251
+ try {
49252
+ fs.closeSync(fd)
49253
+ } catch (er) {}
49254
+ } else {
49255
+ fs.closeSync(fd)
49256
+ }
49257
+ }
49258
+ return ret
49259
+ }
49260
+
49261
+ } else {
49262
+ fs.lutimes = function (_a, _b, _c, cb) { if (cb) process.nextTick(cb) }
49263
+ fs.lutimesSync = function () {}
49264
+ }
49265
+ }
49266
+
49267
+ function chmodFix (orig) {
49268
+ if (!orig) return orig
49269
+ return function (target, mode, cb) {
49270
+ return orig.call(fs, target, mode, function (er) {
49271
+ if (chownErOk(er)) er = null
49272
+ if (cb) cb.apply(this, arguments)
49273
+ })
49274
+ }
49275
+ }
49276
+
49277
+ function chmodFixSync (orig) {
49278
+ if (!orig) return orig
49279
+ return function (target, mode) {
49280
+ try {
49281
+ return orig.call(fs, target, mode)
49282
+ } catch (er) {
49283
+ if (!chownErOk(er)) throw er
49284
+ }
49285
+ }
49286
+ }
49287
+
49288
+
49289
+ function chownFix (orig) {
49290
+ if (!orig) return orig
49291
+ return function (target, uid, gid, cb) {
49292
+ return orig.call(fs, target, uid, gid, function (er) {
49293
+ if (chownErOk(er)) er = null
49294
+ if (cb) cb.apply(this, arguments)
49295
+ })
49296
+ }
49297
+ }
49298
+
49299
+ function chownFixSync (orig) {
49300
+ if (!orig) return orig
49301
+ return function (target, uid, gid) {
49302
+ try {
49303
+ return orig.call(fs, target, uid, gid)
49304
+ } catch (er) {
49305
+ if (!chownErOk(er)) throw er
49306
+ }
49307
+ }
49308
+ }
49309
+
49310
+ function statFix (orig) {
49311
+ if (!orig) return orig
49312
+ // Older versions of Node erroneously returned signed integers for
49313
+ // uid + gid.
49314
+ return function (target, options, cb) {
49315
+ if (typeof options === 'function') {
49316
+ cb = options
49317
+ options = null
49318
+ }
49319
+ function callback (er, stats) {
49320
+ if (stats) {
49321
+ if (stats.uid < 0) stats.uid += 0x100000000
49322
+ if (stats.gid < 0) stats.gid += 0x100000000
49323
+ }
49324
+ if (cb) cb.apply(this, arguments)
49325
+ }
49326
+ return options ? orig.call(fs, target, options, callback)
49327
+ : orig.call(fs, target, callback)
49328
+ }
49329
+ }
49330
+
49331
+ function statFixSync (orig) {
49332
+ if (!orig) return orig
49333
+ // Older versions of Node erroneously returned signed integers for
49334
+ // uid + gid.
49335
+ return function (target, options) {
49336
+ var stats = options ? orig.call(fs, target, options)
49337
+ : orig.call(fs, target)
49338
+ if (stats) {
49339
+ if (stats.uid < 0) stats.uid += 0x100000000
49340
+ if (stats.gid < 0) stats.gid += 0x100000000
49341
+ }
49342
+ return stats;
49343
+ }
49344
+ }
49345
+
49346
+ // ENOSYS means that the fs doesn't support the op. Just ignore
49347
+ // that, because it doesn't matter.
49348
+ //
49349
+ // if there's no getuid, or if getuid() is something other
49350
+ // than 0, and the error is EINVAL or EPERM, then just ignore
49351
+ // it.
49352
+ //
49353
+ // This specific case is a silent failure in cp, install, tar,
49354
+ // and most other unix tools that manage permissions.
49355
+ //
49356
+ // When running as root, or if other types of errors are
49357
+ // encountered, then it's strict.
49358
+ function chownErOk (er) {
49359
+ if (!er)
49360
+ return true
49361
+
49362
+ if (er.code === "ENOSYS")
49363
+ return true
49364
+
49365
+ var nonroot = !process.getuid || process.getuid() !== 0
49366
+ if (nonroot) {
49367
+ if (er.code === "EINVAL" || er.code === "EPERM")
49368
+ return true
49369
+ }
49370
+
49371
+ return false
49372
+ }
49373
+ }
49374
+
49375
+
48429
49376
  /***/ }),
48430
49377
 
48431
49378
  /***/ 7485:
@@ -62710,7 +63657,7 @@ exports.parse = function (s) {
62710
63657
 
62711
63658
  let _fs
62712
63659
  try {
62713
- _fs = __webpack_require__(62204)
63660
+ _fs = __webpack_require__(19677)
62714
63661
  } catch (_) {
62715
63662
  _fs = __webpack_require__(57147)
62716
63663
  }
@@ -271157,7 +272104,7 @@ const PackageManagerSchema = {
271157
272104
  label: () => _locale.i18n.t(_locale.localeKeys.packageManager.self),
271158
272105
  mutualExclusion: true,
271159
272106
  when: (_values, extra) => !(extra !== null && extra !== void 0 && extra.isMonorepoSubProject),
271160
- items: (_values, extra) => Object.values(PackageManager).filter(packageManager => extra !== null && extra !== void 0 && extra.isMonorepo ? packageManager !== PackageManager.Npm : true).map(packageManager => ({
272107
+ items: Object.values(PackageManager).map(packageManager => ({
271161
272108
  key: packageManager,
271162
272109
  label: PackageManagerName[packageManager]
271163
272110
  }))
@@ -272071,7 +273018,17 @@ exports.MonorepoSchemas = exports.MonorepoSchema = exports.MonorepoDefaultConfig
272071
273018
 
272072
273019
  var _common = __webpack_require__(25523);
272073
273020
 
272074
- const MonorepoSchemas = [_common.PackageManagerSchema];
273021
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
273022
+
273023
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
273024
+
273025
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
273026
+
273027
+ const MonorepoPackageManagerSchema = _objectSpread(_objectSpread({}, _common.PackageManagerSchema), {}, {
273028
+ items: _common.PackageManagerSchema.items.filter(item => item.key !== _common.PackageManager.Npm)
273029
+ });
273030
+
273031
+ const MonorepoSchemas = [MonorepoPackageManagerSchema];
272075
273032
  exports.MonorepoSchemas = MonorepoSchemas;
272076
273033
  const MonorepoSchema = {
272077
273034
  key: 'monorepo',
@@ -272267,10 +273224,10 @@ const FrameworkSchema = {
272267
273224
  };
272268
273225
  exports.FrameworkSchema = FrameworkSchema;
272269
273226
  const FrameworkAppendTypeContent = {
272270
- [Framework.Express]: `/// <reference types='@modern-js/plugin-express/types' />`,
272271
- [Framework.Koa]: `/// <reference types='@modern-js/plugin-koa/types' />`,
272272
- [Framework.Egg]: `/// <reference types='@modern-js/plugin-egg/types' />`,
272273
- [Framework.Nest]: `/// <reference types='@modern-js/plugin-nest/types' />`
273227
+ [Framework.Express]: `/// <reference types='@modern-js/plugin-express/types' />\n/// <reference types='@modern-js/plugin-bff/types' />`,
273228
+ [Framework.Koa]: `/// <reference types='@modern-js/plugin-koa/types' />\n/// <reference types='@modern-js/plugin-bff/types' />`,
273229
+ [Framework.Egg]: `/// <reference types='@modern-js/plugin-egg/types' />\n/// <reference types='@modern-js/plugin-bff/types' />`,
273230
+ [Framework.Nest]: `/// <reference types='@modern-js/plugin-nest/types' />\n/// <reference types='@modern-js/plugin-bff/types' />`
272274
273231
  };
272275
273232
  exports.FrameworkAppendTypeContent = FrameworkAppendTypeContent;
272276
273233
 
@@ -272755,7 +273712,7 @@ Object.keys(_monorepo).forEach(function (key) {
272755
273712
  Object.defineProperty(exports, "__esModule", ({
272756
273713
  value: true
272757
273714
  }));
272758
- exports.ModuleSpecialSchemaMap = exports.ModuleNewActionSchema = exports.ModuleNewActionGenerators = exports.ModuleActionTypesMap = exports.ModuleActionTypes = exports.ModuleActionFunctionsPeerDependencies = exports.ModuleActionFunctionsDevDependencies = exports.ModuleActionFunctionsDependencies = exports.ModuleActionFunctions = void 0;
273715
+ exports.ModuleSpecialSchemaMap = exports.ModuleNewActionSchema = exports.ModuleNewActionGenerators = exports.ModuleActionTypesMap = exports.ModuleActionTypes = exports.ModuleActionFunctionsPeerDependencies = exports.ModuleActionFunctionsDevDependencies = exports.ModuleActionFunctionsDependencies = exports.ModuleActionFunctionsAppendTypeContent = exports.ModuleActionFunctions = void 0;
272759
273716
 
272760
273717
  var _common = __webpack_require__(78353);
272761
273718
 
@@ -272813,9 +273770,13 @@ const ModuleActionFunctionsDependencies = {
272813
273770
  [_common.ActionFunction.Sass]: '@modern-js/plugin-sass'
272814
273771
  };
272815
273772
  exports.ModuleActionFunctionsDependencies = ModuleActionFunctionsDependencies;
273773
+ const ModuleActionFunctionsAppendTypeContent = {
273774
+ [_common.ActionFunction.TailwindCSS]: `/// <reference types='@modern-js/plugin-tailwindcss/types' />`
273775
+ };
273776
+ exports.ModuleActionFunctionsAppendTypeContent = ModuleActionFunctionsAppendTypeContent;
272816
273777
  const ModuleNewActionGenerators = {
272817
273778
  [_common.ActionType.Function]: {
272818
- [_common.ActionFunction.TailwindCSS]: '@modern-js/dependence-generator',
273779
+ [_common.ActionFunction.TailwindCSS]: '@modern-js/tailwindcss-generator',
272819
273780
  [_common.ActionFunction.Less]: '@modern-js/dependence-generator',
272820
273781
  [_common.ActionFunction.Sass]: '@modern-js/dependence-generator',
272821
273782
  [_common.ActionFunction.I18n]: '@modern-js/dependence-generator',
@@ -272949,12 +273910,14 @@ const MWAActionFunctionsDependencies = {
272949
273910
  [_common.ActionFunction.MicroFrontend]: '@modern-js/plugin-garfish',
272950
273911
  [_common.ActionFunction.I18n]: '@modern-js/plugin-i18n',
272951
273912
  [_common.ActionFunction.SSG]: '@modern-js/plugin-ssg',
272952
- [_common.ActionFunction.Polyfill]: '@modern-js/plugin-polyfill'
273913
+ [_common.ActionFunction.Polyfill]: '@modern-js/plugin-polyfill',
273914
+ [_common.ActionFunction.TailwindCSS]: 'tailwindcss'
272953
273915
  };
272954
273916
  exports.MWAActionFunctionsDependencies = MWAActionFunctionsDependencies;
272955
273917
  const MWAActionFunctionsAppendTypeContent = {
272956
273918
  [_common.ActionFunction.Test]: `/// <reference types='@modern-js/plugin-testing/type' />`,
272957
- [_common.ActionFunction.MicroFrontend]: `/// <reference types='@modern-js/plugin-garfish/type' />`
273919
+ [_common.ActionFunction.MicroFrontend]: `/// <reference types='@modern-js/plugin-garfish/type' />`,
273920
+ [_common.ActionFunction.TailwindCSS]: `/// <reference types='@modern-js/plugin-tailwindcss/types' />`
272958
273921
  };
272959
273922
  exports.MWAActionFunctionsAppendTypeContent = MWAActionFunctionsAppendTypeContent;
272960
273923
  const MWANewActionGenerators = {
@@ -274417,6 +275380,19 @@ const PLUGIN_SCHEMAS = {
274417
275380
  schema: {
274418
275381
  type: 'boolean'
274419
275382
  }
275383
+ }, {
275384
+ target: 'dev.unbundle',
275385
+ schema: {
275386
+ type: 'object',
275387
+ properties: {
275388
+ ignore: {
275389
+ type: ['string', 'array'],
275390
+ items: {
275391
+ type: 'string'
275392
+ }
275393
+ }
275394
+ }
275395
+ }
274420
275396
  }],
274421
275397
  '@modern-js/plugin-ssg': [{
274422
275398
  target: 'output.ssg',
@@ -274474,13 +275450,18 @@ const PLUGIN_SCHEMAS = {
274474
275450
  '@modern-js/plugin-garfish': [{
274475
275451
  target: 'runtime.masterApp',
274476
275452
  schema: {
274477
- type: ['object']
275453
+ type: ['boolean', 'object']
274478
275454
  }
274479
275455
  }, {
274480
275456
  target: 'dev.withMasterApp',
274481
275457
  schema: {
274482
275458
  type: ['object']
274483
275459
  }
275460
+ }, {
275461
+ target: 'deploy.microFrontend',
275462
+ schema: {
275463
+ type: ['boolean', 'object']
275464
+ }
274484
275465
  }],
274485
275466
  '@modern-js/plugin-nocode': []
274486
275467
  };
@@ -274514,6 +275495,31 @@ exports.createDebugger = createDebugger;
274514
275495
 
274515
275496
  /***/ }),
274516
275497
 
275498
+ /***/ 72321:
275499
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
275500
+
275501
+ "use strict";
275502
+
275503
+
275504
+ Object.defineProperty(exports, "__esModule", ({
275505
+ value: true
275506
+ }));
275507
+ exports.emptyDir = void 0;
275508
+
275509
+ var _fsExtra = _interopRequireDefault(__webpack_require__(96576));
275510
+
275511
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
275512
+
275513
+ const emptyDir = async dir => {
275514
+ if (await _fsExtra.default.pathExists(dir)) {
275515
+ await _fsExtra.default.emptyDir(dir);
275516
+ }
275517
+ };
275518
+
275519
+ exports.emptyDir = emptyDir;
275520
+
275521
+ /***/ }),
275522
+
274517
275523
  /***/ 13245:
274518
275524
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
274519
275525
 
@@ -275498,6 +276504,20 @@ Object.keys(_wait).forEach(function (key) {
275498
276504
  });
275499
276505
  });
275500
276506
 
276507
+ var _emptyDir = __webpack_require__(72321);
276508
+
276509
+ Object.keys(_emptyDir).forEach(function (key) {
276510
+ if (key === "default" || key === "__esModule") return;
276511
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
276512
+ if (key in exports && exports[key] === _emptyDir[key]) return;
276513
+ Object.defineProperty(exports, key, {
276514
+ enumerable: true,
276515
+ get: function () {
276516
+ return _emptyDir[key];
276517
+ }
276518
+ });
276519
+ });
276520
+
275501
276521
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
275502
276522
 
275503
276523
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -276339,8 +277359,6 @@ function printBuildError(err) {
276339
277359
 
276340
277360
  _logger.logger.log();
276341
277361
  }
276342
-
276343
- ;
276344
277362
  /* eslint-enable */
276345
277363
 
276346
277364
  /***/ }),
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.3.5",
14
+ "version": "1.3.6",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "main": "./dist/js/node/main.js",
17
17
  "files": [
@@ -20,15 +20,15 @@
20
20
  ],
21
21
  "devDependencies": {
22
22
  "@babel/runtime": "^7",
23
- "@modern-js/base-generator": "^1.3.2",
23
+ "@modern-js/base-generator": "^1.3.3",
24
24
  "@modern-js/codesmith": "^1.0.8",
25
25
  "@modern-js/codesmith-api-app": "^1.0.8",
26
26
  "@modern-js/codesmith-api-json": "^1.0.7",
27
27
  "@modern-js/codesmith-tools": "^1.0.9",
28
28
  "@modern-js/entry-generator": "^1.3.2",
29
29
  "@modern-js/electron-generator": "^1.2.2",
30
- "@modern-js/dependence-generator": "^1.2.3",
31
- "@modern-js/generator-common": "^1.4.3",
30
+ "@modern-js/dependence-generator": "^1.2.4",
31
+ "@modern-js/generator-common": "^1.4.4",
32
32
  "@modern-js/generator-utils": "^1.2.1",
33
33
  "@modern-js/plugin-i18n": "^1.2.1",
34
34
  "@types/jest": "^26",
@@ -40,7 +40,6 @@
40
40
  {{/unless}}
41
41
  "dependencies": {
42
42
  "@modern-js/runtime": "^1.0.0",
43
- "@modern-js/core": "^1.0.0",
44
43
  "react": "^17.0.1",
45
44
  "react-dom": "^17.0.1"
46
45
  },