mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-07 23:03:11 +08:00
refactor: prefix node:* to fs
This commit is contained in:
parent
3f92cae829
commit
2dcb930b05
@ -17,7 +17,7 @@
|
|||||||
under the License.
|
under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const fs = require('fs');
|
const fs = require('node:fs');
|
||||||
const xml = require('cordova-common').xmlHelpers;
|
const xml = require('cordova-common').xmlHelpers;
|
||||||
|
|
||||||
const DEFAULT_ORIENTATION = 'default';
|
const DEFAULT_ORIENTATION = 'default';
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
under the License.
|
under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const fs = require('fs');
|
const fs = require('node:fs');
|
||||||
const path = require('node:path');
|
const path = require('node:path');
|
||||||
const properties_parser = require('properties-parser');
|
const properties_parser = require('properties-parser');
|
||||||
const pluginHandlers = require('./pluginHandlers');
|
const pluginHandlers = require('./pluginHandlers');
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const path = require('node:path');
|
const path = require('node:path');
|
||||||
const fs = require('fs');
|
const fs = require('node:fs');
|
||||||
const nopt = require('nopt');
|
const nopt = require('nopt');
|
||||||
const untildify = require('untildify');
|
const untildify = require('untildify');
|
||||||
const { parseArgsStringToArgv } = require('string-argv');
|
const { parseArgsStringToArgv } = require('string-argv');
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
under the License.
|
under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const fs = require('fs');
|
const fs = require('node:fs');
|
||||||
const path = require('node:path');
|
const path = require('node:path');
|
||||||
const propertiesParser = require('properties-parser');
|
const propertiesParser = require('properties-parser');
|
||||||
const events = require('cordova-common').events;
|
const events = require('cordova-common').events;
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
under the License.
|
under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const fs = require('fs');
|
const fs = require('node:fs');
|
||||||
const os = require('node:os');
|
const os = require('node:os');
|
||||||
const path = require('node:path');
|
const path = require('node:path');
|
||||||
const rewire = require('rewire');
|
const rewire = require('rewire');
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
under the License.
|
under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const fs = require('fs');
|
const fs = require('node:fs');
|
||||||
const path = require('node:path');
|
const path = require('node:path');
|
||||||
const rewire = require('rewire');
|
const rewire = require('rewire');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user