Skip to content

Commit

Permalink
Bump parcel dependencies (#8611)
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Nov 8, 2022
1 parent 20fed1f commit a5cd0ec
Show file tree
Hide file tree
Showing 25 changed files with 97 additions and 238 deletions.
2 changes: 1 addition & 1 deletion packages/core/core/package.json
Expand Up @@ -34,7 +34,7 @@
"@parcel/logger": "2.7.0",
"@parcel/package-manager": "2.7.0",
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/types": "2.7.0",
"@parcel/utils": "2.7.0",
"@parcel/workers": "2.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/fs/package.json
Expand Up @@ -51,7 +51,7 @@
"@parcel/fs-search": "2.7.0",
"@parcel/types": "2.7.0",
"@parcel/utils": "2.7.0",
"@parcel/watcher": "^2.0.0",
"@parcel/watcher": "^2.0.7",
"@parcel/workers": "2.7.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/integration-tests/test/css.js
Expand Up @@ -479,7 +479,7 @@ describe('css', () => {
);
});

it('should support css nesting with @parcel/css', async function () {
it('should support css nesting with lightningcss', async function () {
let b = await bundle(
path.join(__dirname, '/integration/css-nesting/a.css'),
{
Expand Down
2 changes: 1 addition & 1 deletion packages/core/types/package.json
Expand Up @@ -20,7 +20,7 @@
"@parcel/diagnostic": "2.7.0",
"@parcel/fs": "2.7.0",
"@parcel/package-manager": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/workers": "2.7.0",
"utility-types": "^3.10.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/utils/package.json
Expand Up @@ -38,7 +38,7 @@
"@parcel/hash": "2.7.0",
"@parcel/logger": "2.7.0",
"@parcel/markdown-ansi": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"chalk": "^4.1.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/optimizers/css/package.json
Expand Up @@ -20,12 +20,12 @@
"parcel": "^2.7.0"
},
"dependencies": {
"@parcel/css": "^1.12.2",
"@parcel/diagnostic": "2.7.0",
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.7.0",
"browserslist": "^4.6.6",
"lightningcss": "^1.16.1",
"nullthrows": "^1.1.1"
}
}
6 changes: 3 additions & 3 deletions packages/optimizers/css/src/CSSOptimizer.js
Expand Up @@ -6,7 +6,7 @@ import {
transform,
transformStyleAttribute,
browserslistToTargets,
} from '@parcel/css';
} from 'lightningcss';
import {blobToBuffer} from '@parcel/utils';
import browserslist from 'browserslist';
import nullthrows from 'nullthrows';
Expand All @@ -32,7 +32,7 @@ export default (new Optimizer({
let message;
if (filename === 'package.json') {
message = md`
Parcel\'s default CSS minifer changed from cssnano to @parcel/css, but a "cssnano" key was found in **package.json**. Either remove this configuration, or configure Parcel to use @parcel/optimizer-cssnano instead.
Parcel\'s default CSS minifer changed from cssnano to lightningcss, but a "cssnano" key was found in **package.json**. Either remove this configuration, or configure Parcel to use @parcel/optimizer-cssnano instead.
`;
let contents = await options.inputFS.readFile(
configFile.filePath,
Expand All @@ -42,7 +42,7 @@ Parcel\'s default CSS minifer changed from cssnano to @parcel/css, but a "cssnan
{key: '/cssnano', type: 'key'},
]);
} else {
message = md`Parcel\'s default CSS minifer changed from cssnano to @parcel/css, but a __${filename}__ config file was found. Either remove this config file, or configure Parcel to use @parcel/optimizer-cssnano instead.`;
message = md`Parcel\'s default CSS minifer changed from cssnano to lightningcss, but a __${filename}__ config file was found. Either remove this config file, or configure Parcel to use @parcel/optimizer-cssnano instead.`;
codeHighlights = [
{
start: {line: 1, column: 1},
Expand Down
2 changes: 1 addition & 1 deletion packages/optimizers/cssnano/package.json
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"cssnano": "^5.0.15",
"postcss": "^8.4.5"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/optimizers/esbuild/package.json
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"@parcel/diagnostic": "2.7.0",
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.7.0",
"esbuild": "^0.13.0",
"nullthrows": "^1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/optimizers/swc/package.json
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.7.0",
"@swc/core": "^1.2.106",
"nullthrows": "^1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/optimizers/terser/package.json
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"@parcel/diagnostic": "2.7.0",
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.7.0",
"nullthrows": "^1.1.1",
"terser": "^5.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/packagers/css/package.json
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.7.0",
"nullthrows": "^1.1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/packagers/js/package.json
Expand Up @@ -23,7 +23,7 @@
"@parcel/diagnostic": "2.7.0",
"@parcel/hash": "2.7.0",
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.7.0",
"globals": "^13.2.0",
"nullthrows": "^1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/transformers/babel/package.json
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"@parcel/diagnostic": "2.7.0",
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.7.0",
"browserslist": "^4.6.6",
"json5": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/transformers/coffeescript/package.json
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.7.0",
"coffeescript": "^2.0.3",
"nullthrows": "^1.1.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/transformers/css/package.json
Expand Up @@ -20,12 +20,12 @@
"parcel": "^2.7.0"
},
"dependencies": {
"@parcel/css": "^1.12.2",
"@parcel/diagnostic": "2.7.0",
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.7.0",
"browserslist": "^4.6.6",
"lightningcss": "^1.16.1",
"nullthrows": "^1.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/transformers/css/src/CSSTransformer.js
Expand Up @@ -7,7 +7,7 @@ import {
transform,
transformStyleAttribute,
browserslistToTargets,
} from '@parcel/css';
} from 'lightningcss';
import {remapSourceLocation, relativePath} from '@parcel/utils';
import browserslist from 'browserslist';
import nullthrows from 'nullthrows';
Expand Down
2 changes: 1 addition & 1 deletion packages/transformers/js/package.json
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@parcel/diagnostic": "2.7.0",
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.7.0",
"@parcel/workers": "2.7.0",
"@swc/helpers": "^0.4.12",
Expand Down
2 changes: 1 addition & 1 deletion packages/transformers/less/package.json
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"less": "^4.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/transformers/sass/package.json
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"sass": "^1.38.0"
}
}
2 changes: 1 addition & 1 deletion packages/transformers/typescript-tsc/package.json
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/ts-utils": "2.7.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/transformers/typescript-types/package.json
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"@parcel/diagnostic": "2.7.0",
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/ts-utils": "2.7.0",
"@parcel/utils": "2.7.0",
"nullthrows": "^1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/transformers/vue/package.json
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"@parcel/diagnostic": "2.7.0",
"@parcel/plugin": "2.7.0",
"@parcel/source-map": "^2.0.0",
"@parcel/source-map": "^2.1.1",
"@parcel/utils": "2.7.0",
"@vue/compiler-sfc": "^3.2.27",
"consolidate": "^0.16.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/utils/parcel-lsp/package.json
Expand Up @@ -28,11 +28,11 @@
"parcel": "^2.7.0"
},
"dependencies": {
"@parcel/diagnostic": "2.5.0",
"@parcel/plugin": "2.5.0",
"@parcel/types": "2.5.0",
"@parcel/utils": "2.5.0",
"@parcel/watcher": "2.0.5",
"@parcel/diagnostic": "2.7.0",
"@parcel/plugin": "2.7.0",
"@parcel/types": "2.7.0",
"@parcel/utils": "2.7.0",
"@parcel/watcher": "^2.0.7",
"node-ipc": "^9.1.4",
"nullthrows": "^1.1.1",
"ps-node": "^0.1.6",
Expand Down

0 comments on commit a5cd0ec

Please sign in to comment.