New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atlaspack/transformer-babel

Package Overview
Dependencies
Maintainers
0
Versions
305
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaspack/transformer-babel - npm Package Compare versions

Comparing version 2.12.1-dev.3367 to 2.12.1-dev.3398

4

lib/babel7.js

@@ -76,3 +76,3 @@ "use strict";

caller: {
name: 'atlaspack',
name: 'parcel',
version: transformerVersion,

@@ -113,3 +113,3 @@ targets: JSON.stringify(babelOptions.targets),

message: (0, _diagnostic().md)`Ignoring non-absolute Babel external dependency: ${f}`,
hints: ['Please report this to the corresponding Babel plugin and/or to Atlaspack.']
hints: ['Please report this to the corresponding Babel plugin and/or to Parcel.']
});

@@ -116,0 +116,0 @@ } else {

@@ -86,3 +86,3 @@ "use strict";

logger.warn({
message: `It looks like you're using a JavaScript Babel config file. This means the config cannot be watched for changes, and Babel transformations cannot be cached. You'll need to restart Atlaspack for changes to this config to take effect. Try using a ${_path().default.basename(file, _path().default.extname(file)) + '.json'} file instead.`
message: `It looks like you're using a JavaScript Babel config file. This means the config cannot be watched for changes, and Babel transformations cannot be cached. You'll need to restart Parcel for changes to this config to take effect. Try using a ${_path().default.basename(file, _path().default.extname(file)) + '.json'} file instead.`
});

@@ -109,3 +109,3 @@ config.invalidateOnStartup();

logger.warn({
message: 'You are using an old version of @babel/core which does not support the necessary features for Atlaspack to cache and watch babel config files safely. You may need to restart Atlaspack for config changes to take effect. Please upgrade to @babel/core 7.12.0 or later to resolve this issue.'
message: 'You are using an old version of @babel/core which does not support the necessary features for Parcel to cache and watch babel config files safely. You may need to restart Parcel for config changes to take effect. Please upgrade to @babel/core 7.12.0 or later to resolve this issue.'
});

@@ -245,3 +245,3 @@ config.invalidateOnStartup();

diagnostics.push({
message: (0, _diagnostic().md)`Atlaspack includes transpilation by default. Babel config __${filePath}__ contains only redundant presets. Deleting it may significantly improve build performance.`,
message: (0, _diagnostic().md)`Parcel includes transpilation by default. Babel config __${filePath}__ contains only redundant presets. Deleting it may significantly improve build performance.`,
codeFrames: [{

@@ -256,3 +256,3 @@ filePath: configPath,

diagnostics.push({
message: (0, _diagnostic().md)`Atlaspack includes transpilation by default. Babel config __${filePath}__ includes the following redundant presets: ${[...foundRedundantPresets].map(p => _diagnostic().md.underline(p))}. Removing these may improve build performance.`,
message: (0, _diagnostic().md)`Parcel includes transpilation by default. Babel config __${filePath}__ includes the following redundant presets: ${[...foundRedundantPresets].map(p => _diagnostic().md.underline(p))}. Removing these may improve build performance.`,
codeFrames: [{

@@ -268,3 +268,3 @@ filePath: configPath,

diagnostics.push({
message: "@babel/preset-env does not support Atlaspack's targets, which will likely result in unnecessary transpilation and larger bundle sizes.",
message: "@babel/preset-env does not support Parcel's targets, which will likely result in unnecessary transpilation and larger bundle sizes.",
codeFrames: [{

@@ -274,3 +274,3 @@ filePath: babelConfig.config ?? babelConfig.babelrc,

}],
hints: [`Either remove __@babel/preset-env__ to use Atlaspack's builtin transpilation, or replace with __@atlaspack/babel-preset-env__`],
hints: [`Either remove __@babel/preset-env__ to use Parcel's builtin transpilation, or replace with __@atlaspack/babel-preset-env__`],
documentationURL: 'https://parceljs.org/languages/javascript/#custom-plugins'

@@ -277,0 +277,0 @@ });

@@ -42,5 +42,5 @@ "use strict";

function enginesToBabelTargets(env) {
// "Targets" is the name @babel/preset-env uses for what Atlaspack calls engines.
// This should not be confused with Atlaspack's own targets.
// Unlike Atlaspack's engines, @babel/preset-env expects to work with minimum
// "Targets" is the name @babel/preset-env uses for what Parcel calls engines.
// This should not be confused with Parcel's own targets.
// Unlike Parcel's engines, @babel/preset-env expects to work with minimum
// versions, not semver ranges, of its targets.

@@ -47,0 +47,0 @@ let targets = {};

{
"name": "@atlaspack/transformer-babel",
"version": "2.12.1-dev.3367+07fefed65",
"version": "2.12.1-dev.3398+81c73b3cd",
"license": "MIT",

@@ -16,8 +16,8 @@ "publishConfig": {

"node": ">= 16.0.0",
"atlaspack": "^2.12.1-dev.3367+07fefed65"
"parcel": "^2.12.1-dev.3398+81c73b3cd"
},
"dependencies": {
"@atlaspack/diagnostic": "2.12.1-dev.3367+07fefed65",
"@atlaspack/plugin": "2.12.1-dev.3367+07fefed65",
"@atlaspack/utils": "2.12.1-dev.3367+07fefed65",
"@atlaspack/diagnostic": "2.12.1-dev.3398+81c73b3cd",
"@atlaspack/plugin": "2.12.1-dev.3398+81c73b3cd",
"@atlaspack/utils": "2.12.1-dev.3398+81c73b3cd",
"@parcel/source-map": "^2.1.1",

@@ -30,3 +30,3 @@ "browserslist": "^4.6.6",

"devDependencies": {
"@atlaspack/types": "2.12.1-dev.3367+07fefed65",
"@atlaspack/types": "2.12.1-dev.3398+81c73b3cd",
"@babel/core": "^7.22.11",

@@ -36,3 +36,3 @@ "@babel/preset-env": "^7.22.14",

},
"gitHead": "07fefed65a9a4d7bd0bdc9c45b39704ee4ca70dd"
"gitHead": "81c73b3cdf93adf8b0013be9fed5422579bd5910"
}

@@ -72,3 +72,3 @@ // @flow

caller: {
name: 'atlaspack',
name: 'parcel',
version: transformerVersion,

@@ -124,3 +124,3 @@ targets: JSON.stringify(babelOptions.targets),

hints: [
'Please report this to the corresponding Babel plugin and/or to Atlaspack.',
'Please report this to the corresponding Babel plugin and/or to Parcel.',
],

@@ -127,0 +127,0 @@ });

@@ -110,3 +110,3 @@ // @flow

logger.warn({
message: `It looks like you're using a JavaScript Babel config file. This means the config cannot be watched for changes, and Babel transformations cannot be cached. You'll need to restart Atlaspack for changes to this config to take effect. Try using a ${
message: `It looks like you're using a JavaScript Babel config file. This means the config cannot be watched for changes, and Babel transformations cannot be cached. You'll need to restart Parcel for changes to this config to take effect. Try using a ${
path.basename(file, path.extname(file)) + '.json'

@@ -139,3 +139,3 @@ } file instead.`,

message:
'You are using an old version of @babel/core which does not support the necessary features for Atlaspack to cache and watch babel config files safely. You may need to restart Atlaspack for config changes to take effect. Please upgrade to @babel/core 7.12.0 or later to resolve this issue.',
'You are using an old version of @babel/core which does not support the necessary features for Parcel to cache and watch babel config files safely. You may need to restart Parcel for config changes to take effect. Please upgrade to @babel/core 7.12.0 or later to resolve this issue.',
});

@@ -317,3 +317,3 @@ config.invalidateOnStartup();

diagnostics.push({
message: md`Atlaspack includes transpilation by default. Babel config __${filePath}__ contains only redundant presets. Deleting it may significantly improve build performance.`,
message: md`Parcel includes transpilation by default. Babel config __${filePath}__ contains only redundant presets. Deleting it may significantly improve build performance.`,
codeFrames: [

@@ -335,3 +335,3 @@ {

diagnostics.push({
message: md`Atlaspack includes transpilation by default. Babel config __${filePath}__ includes the following redundant presets: ${[
message: md`Parcel includes transpilation by default. Babel config __${filePath}__ includes the following redundant presets: ${[
...foundRedundantPresets,

@@ -360,3 +360,3 @@ ].map(p =>

message:
"@babel/preset-env does not support Atlaspack's targets, which will likely result in unnecessary transpilation and larger bundle sizes.",
"@babel/preset-env does not support Parcel's targets, which will likely result in unnecessary transpilation and larger bundle sizes.",
codeFrames: [

@@ -373,3 +373,3 @@ {

hints: [
`Either remove __@babel/preset-env__ to use Atlaspack's builtin transpilation, or replace with __@atlaspack/babel-preset-env__`,
`Either remove __@babel/preset-env__ to use Parcel's builtin transpilation, or replace with __@atlaspack/babel-preset-env__`,
],

@@ -376,0 +376,0 @@ documentationURL:

@@ -50,5 +50,5 @@ // @flow

export function enginesToBabelTargets(env: Environment): BabelTargets {
// "Targets" is the name @babel/preset-env uses for what Atlaspack calls engines.
// This should not be confused with Atlaspack's own targets.
// Unlike Atlaspack's engines, @babel/preset-env expects to work with minimum
// "Targets" is the name @babel/preset-env uses for what Parcel calls engines.
// This should not be confused with Parcel's own targets.
// Unlike Parcel's engines, @babel/preset-env expects to work with minimum
// versions, not semver ranges, of its targets.

@@ -55,0 +55,0 @@ let targets = {};

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc