Socket
Socket
Sign inDemoInstall

@babel/standalone

Package Overview
Dependencies
0
Maintainers
4
Versions
275
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.23.10 to 7.24.0

22

package.json
{
"name": "@babel/standalone",
"version": "7.23.10",
"version": "7.24.0",
"description": "Standalone build of Babel for use in non-Node.js environments.",

@@ -13,5 +13,7 @@ "main": "./babel.js",

"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/core": "^7.24.0",
"@babel/generator": "^7.23.6",
"@babel/parser": "^7.24.0",
"@babel/plugin-external-helpers": "^7.23.3",
"@babel/plugin-proposal-decorators": "^7.23.9",
"@babel/plugin-proposal-decorators": "^7.24.0",
"@babel/plugin-proposal-destructuring-private": "^7.23.3",

@@ -25,2 +27,3 @@ "@babel/plugin-proposal-do-expressions": "^7.23.3",

"@babel/plugin-proposal-import-defer": "^7.23.7",
"@babel/plugin-proposal-json-modules": "^7.24.0",
"@babel/plugin-proposal-optional-chaining-assign": "^7.23.7",

@@ -32,3 +35,3 @@ "@babel/plugin-proposal-pipeline-operator": "^7.23.3",

"@babel/plugin-syntax-decimal": "^7.23.3",
"@babel/plugin-syntax-decorators": "^7.23.3",
"@babel/plugin-syntax-decorators": "^7.24.0",
"@babel/plugin-syntax-destructuring-private": "^7.23.3",

@@ -84,3 +87,3 @@ "@babel/plugin-syntax-do-expressions": "^7.23.3",

"@babel/plugin-transform-object-assign": "^7.23.3",
"@babel/plugin-transform-object-rest-spread": "^7.23.4",
"@babel/plugin-transform-object-rest-spread": "^7.24.0",
"@babel/plugin-transform-object-set-prototype-of-to-assign": "^7.23.3",

@@ -106,3 +109,3 @@ "@babel/plugin-transform-object-super": "^7.23.3",

"@babel/plugin-transform-reserved-words": "^7.23.3",
"@babel/plugin-transform-runtime": "^7.23.9",
"@babel/plugin-transform-runtime": "^7.24.0",
"@babel/plugin-transform-shorthand-properties": "^7.23.3",

@@ -119,6 +122,9 @@ "@babel/plugin-transform-spread": "^7.23.3",

"@babel/plugin-transform-unicode-sets-regex": "^7.23.3",
"@babel/preset-env": "^7.23.9",
"@babel/preset-flow": "^7.23.3",
"@babel/preset-env": "^7.24.0",
"@babel/preset-flow": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/template": "^7.24.0",
"@babel/traverse": "^7.24.0",
"@babel/types": "^7.24.0",
"acorn": "^8.7.0",

@@ -125,0 +131,0 @@ "jsdom": "^22.1.0"

@@ -11,2 +11,22 @@ import { createRequire } from "module";

describe("export packages", () => {
it("list", () => {
expect(Object.keys(Babel.packages)).toMatchInlineSnapshot(`
Array [
"generator",
"parser",
"template",
"traverse",
"types",
]
`);
});
it("they work", () => {
const generate = Babel.packages.generator.default;
const parser = Babel.packages.parser;
expect(generate(parser.parse("foo")).code).toBe("foo;");
});
});
it("handles the es2015-no-commonjs preset", () => {

@@ -13,0 +33,0 @@ const output = Babel.transform('const getMessage = () => "Hello World"', {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc