Skip to content

Commit

Permalink
feat(create-rsbuild): update all dependencies (#1561)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Feb 13, 2024
1 parent 2e85275 commit 51975a1
Show file tree
Hide file tree
Showing 34 changed files with 258 additions and 424 deletions.
2 changes: 1 addition & 1 deletion e2e/cases/pug/vue3-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"name": "@e2e/pug-vue3",
"version": "1.0.0",
"dependencies": {
"vue": "^3.3.4"
"vue": "^3.4.19"
}
}
2 changes: 1 addition & 1 deletion e2e/cases/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"devDependencies": {
"less": "^4.2.0",
"sass": "^1.69.5",
"sass": "^1.70.0",
"stylus": "0.62.0"
}
}
2 changes: 1 addition & 1 deletion e2e/cases/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"name": "@e2e/vue3",
"version": "1.0.0",
"dependencies": {
"vue": "^3.3.4"
"vue": "^3.4.19"
}
}
4 changes: 2 additions & 2 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"preact": "^10.19.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.17.0",
"react-router-dom": "^6.22.0",
"solid-js": "^1.8.5",
"vue": "^3.3.4",
"vue": "^3.4.19",
"vue-router": "^4.2.5"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"devDependencies": {
"@rsbuild/core": "workspace:*",
"lit": "^3.0.2",
"lit": "^3.1.2",
"typescript": "^5.3.0"
}
}
2 changes: 1 addition & 1 deletion examples/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preview": "rsbuild preview"
},
"dependencies": {
"vue": "^3.3.4"
"vue": "^3.4.19"
},
"devDependencies": {
"@rsbuild/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/compiled/dotenv/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 10 additions & 8 deletions packages/core/compiled/dotenv/lib/main.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// TypeScript Version: 3.0
/// <reference types="node" />
import type { URL } from 'node:url';
import type { URL } from 'url';

export interface DotenvParseOutput {
[name: string]: string;
Expand All @@ -9,7 +9,7 @@ export interface DotenvParseOutput {
/**
* Parses a string or buffer in the .env file format into an object.
*
* See https://docs.dotenv.org
* See https://dotenvx.com/docs
*
* @param src - contents to be parsed. example: `'DB_HOST=localhost'`
* @returns an object with keys and values based on `src`. example: `{ DB_HOST : 'localhost' }`
Expand All @@ -23,10 +23,12 @@ export interface DotenvConfigOptions {
* Default: `path.resolve(process.cwd(), '.env')`
*
* Specify a custom path if your file containing environment variables is located elsewhere.
* Can also be an array of strings, specifying multiple paths.
*
* example: `require('dotenv').config({ path: '/custom/path/to/.env' })`
* example: `require('dotenv').config({ path: ['/path/to/first.env', '/path/to/second.env'] })`
*/
path?: string | URL;
path?: string | string[] | URL;

/**
* Default: `utf8`
Expand Down Expand Up @@ -69,7 +71,7 @@ export interface DotenvConfigOptions {
*
* Pass the DOTENV_KEY directly to config options. Defaults to looking for process.env.DOTENV_KEY environment variable. Note this only applies to decrypting .env.vault files. If passed as null or undefined, or not passed at all, dotenv falls back to its traditional job of parsing a .env file.
*
* example: `require('dotenv').config({ DOTENV_KEY: 'dotenv://:key_1234…@dotenv.org/vault/.env.vault?environment=production' })`
* example: `require('dotenv').config({ DOTENV_KEY: 'dotenv://:key_1234…@dotenvx.com/vault/.env.vault?environment=production' })`
*/
DOTENV_KEY?: string;
}
Expand Down Expand Up @@ -106,7 +108,7 @@ export interface DotenvPopulateInput {
/**
* Loads `.env` file contents into process.env by default. If `DOTENV_KEY` is present, it smartly attempts to load encrypted `.env.vault` file contents into process.env.
*
* See https://docs.dotenv.org
* See https://dotenvx.com/docs
*
* @param options - additional options. example: `{ path: './custom/path', encoding: 'latin1', debug: true, override: false }`
* @returns an object with a `parsed` key if successful or `error` key if an error occurred. example: { parsed: { KEY: 'value' } }
Expand All @@ -117,7 +119,7 @@ export function config(options?: DotenvConfigOptions): DotenvConfigOutput;
/**
* Loads `.env` file contents into process.env.
*
* See https://docs.dotenv.org
* See https://dotenvx.com/docs
*
* @param options - additional options. example: `{ path: './custom/path', encoding: 'latin1', debug: true, override: false }`
* @returns an object with a `parsed` key if successful or `error` key if an error occurred. example: { parsed: { KEY: 'value' } }
Expand All @@ -128,7 +130,7 @@ export function configDotenv(options?: DotenvConfigOptions): DotenvConfigOutput;
/**
* Loads `source` json contents into `target` like process.env.
*
* See https://docs.dotenv.org
* See https://dotenvx.com/docs
*
* @param processEnv - the target JSON object. in most cases use process.env but you can also pass your own JSON object
* @param parsed - the source JSON object
Expand All @@ -141,7 +143,7 @@ export function populate(processEnv: DotenvPopulateInput, parsed: DotenvPopulate
/**
* Decrypt ciphertext
*
* See https://docs.dotenv.org
* See https://dotenvx.com/docs
*
* @param encrypted - the encrypted ciphertext string
* @param keyStr - the decryption key string
Expand Down
2 changes: 1 addition & 1 deletion packages/core/compiled/dotenv/package.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"dotenv","version":"16.3.2","funding":"https://github.com/motdotla/dotenv?sponsor=1","license":"BSD-2-Clause","types":"lib/main.d.ts","type":"commonjs"}
{"name":"dotenv","version":"16.4.3","funding":"https://dotenvx.com","license":"BSD-2-Clause","types":"lib/main.d.ts","type":"commonjs"}
Loading

0 comments on commit 51975a1

Please sign in to comment.