Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

abstract-parser

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-parser - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

13

build/src/options.js

@@ -1,2 +0,2 @@

import filterObj from"filter-obj";
import{excludeKeys}from"filter-obj";
import isPlainObj from"is-plain-obj";

@@ -10,3 +10,3 @@ import{validate}from"jest-validate";

const optsA=filterObj(opts,isDefined);
const optsA=excludeKeys(opts,isUndefined);
const optsB={...DEFAULT_OPTS,...optsA};

@@ -29,4 +29,3 @@

export const DEFAULT_OPTS={
const DEFAULT_OPTS={
legacy:false,

@@ -47,3 +46,3 @@ script:false,

export const EXAMPLE_OPTS={
const EXAMPLE_OPTS={
...DEFAULT_OPTS,

@@ -53,4 +52,4 @@ source:"filename.js"};

const isDefined=function(key,value){
return value!==undefined;
const isUndefined=function(key,value){
return value===undefined;
};

@@ -57,0 +56,0 @@

{
"name": "abstract-parser",
"version": "0.3.0",
"version": "0.4.0",
"type": "module",

@@ -8,4 +8,3 @@ "exports": "./build/src/main.js",

"files": [
"build/src/**/*.{js,ts,map,json,sh,md}",
"examples/**/*.{js,ts,map,json,sh,md}"
"build/src/**/*.{js,d.ts,json}"
],

@@ -18,3 +17,3 @@ "scripts": {

"license": "Apache-2.0",
"homepage": "https://git.io/fjMJP",
"homepage": "https://www.github.com/ehmicky/abstract-parser",
"repository": "ehmicky/abstract-parser",

@@ -30,5 +29,5 @@ "bugs": {

"dependencies": {
"@babel/parser": "^7.17.9",
"@typescript-eslint/typescript-estree": "^5.18.0",
"acorn": "^8.7.0",
"@babel/parser": "^7.18.9",
"@typescript-eslint/typescript-estree": "^5.30.7",
"acorn": "^8.8.0",
"acorn-jsx": "^5.3.2",

@@ -38,11 +37,11 @@ "acorn-stage3": "^4.0.0",

"esprima": "^4.0.1",
"filter-obj": "^3.0.0",
"is-plain-obj": "^4.0.0",
"jest-validate": "^27.5.1",
"filter-obj": "^5.1.0",
"is-plain-obj": "^4.1.0",
"jest-validate": "^28.1.3",
"meriyah": "^2.1.1",
"moize": "^6.1.0",
"typescript": "^4.6.3"
"moize": "^6.1.1",
"typescript": "^4.7.4"
},
"devDependencies": {
"@ehmicky/dev-tasks": "^1.0.72"
"@ehmicky/dev-tasks": "^1.0.84"
},

@@ -49,0 +48,0 @@ "engines": {

[![Codecov](https://img.shields.io/codecov/c/github/ehmicky/abstract-parser.svg?label=tested&logo=codecov)](https://codecov.io/gh/ehmicky/abstract-parser)
[![Build](https://github.com/ehmicky/abstract-parser/workflows/Build/badge.svg)](https://github.com/ehmicky/abstract-parser/actions)
[![Node](https://img.shields.io/node/v/abstract-parser.svg?logo=node.js)](https://www.npmjs.com/package/abstract-parser)
[![Twitter](https://img.shields.io/badge/%E2%80%8B-twitter-4cc61e.svg?logo=twitter)](https://twitter.com/intent/follow?screen_name=ehmicky)
[![Medium](https://img.shields.io/badge/%E2%80%8B-medium-4cc61e.svg?logo=medium)](https://medium.com/@ehmicky)
[![Twitter](https://img.shields.io/badge/%E2%80%8B-twitter-brightgreen.svg?logo=twitter)](https://twitter.com/intent/follow?screen_name=ehmicky)
[![Medium](https://img.shields.io/badge/%E2%80%8B-medium-brightgreen.svg?logo=medium)](https://medium.com/@ehmicky)

@@ -7,0 +6,0 @@ Abstraction layer for JavaScript parsers.

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