Socket
Socket
Sign inDemoInstall

@babel/helper-check-duplicate-nodes

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-check-duplicate-nodes - npm Package Compare versions

Comparing version 7.21.4-esm.2 to 7.21.4-esm.3

10

lib/index.js

@@ -1,6 +0,12 @@

import * as _t from "@babel/types";
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = checkDuplicateNodes;
var _t = require("@babel/types");
const {
VISITOR_KEYS
} = _t;
export default function checkDuplicateNodes(ast) {
function checkDuplicateNodes(ast) {
if (arguments.length !== 1) {

@@ -7,0 +13,0 @@ throw new Error("checkDuplicateNodes accepts only one argument: ast");

6

package.json
{
"name": "@babel/helper-check-duplicate-nodes",
"version": "7.21.4-esm.2",
"version": "7.21.4-esm.3",
"description": "Babel helper module for babel transforms authors to check the AST against duplicated nodes.",

@@ -31,8 +31,8 @@ "main": "./lib/index.js",

"dependencies": {
"@babel/types": "7.21.4-esm.2"
"@babel/types": "7.21.4-esm.3"
},
"devDependencies": {
"@babel/core": "7.21.4-esm.2"
"@babel/core": "7.21.4-esm.3"
},
"type": "module"
}

Sorry, the diff of this file is not supported yet

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