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

@getlang/get

Package Overview
Dependencies
Maintainers
0
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getlang/get - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

dist/execute.d.ts

8

dist/index.d.ts

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

import type { Hooks } from '@getlang/lib';
import type { Hooks } from '@getlang/utils';
import type { Program } from '@getlang/parser/ast';
export { version } from './version.js';
export declare const version = "0.0.21";
export type UserHooks = Partial<Hooks>;
export declare function execute(source: string, inputs?: Record<string, unknown>, hooks?: UserHooks): Promise<unknown>;
export declare function executeAST(ast: Program, inputs?: Record<string, unknown>, hooks?: UserHooks): Promise<unknown>;
export declare function execute(source: string, inputs?: Record<string, unknown>, hooks?: UserHooks): Promise<any>;
export declare function executeAST(ast: Program, inputs?: Record<string, unknown>, hooks?: UserHooks): Promise<any>;

@@ -1,7 +0,7 @@

import { wait, ImportError } from '@getlang/lib';
import { slice } from '@getlang/lib';
import { wait, ImportError } from '@getlang/utils';
import { parse, desugar } from '@getlang/parser';
import { execute as exec } from './execute/execute.js';
import * as http from './execute/net/http.js';
import { runSlice } from './execute/lang.js';
export { version } from './version.js';
import { execute as exec } from './execute.js';
import * as http from '../lib/net/http.js';
export const version = '0.0.21';
function buildHooks(hooks = {}) {

@@ -16,3 +16,3 @@ return {

request: hooks.request ?? http.requestHook,
slice: hooks.slice ?? runSlice,
slice: hooks.slice ?? slice.runSlice,
};

@@ -19,0 +19,0 @@ }

@@ -1,11 +0,11 @@

import type { Hooks } from '@getlang/lib'
import { wait, ImportError } from '@getlang/lib'
import { slice } from '@getlang/lib'
import type { Hooks } from '@getlang/utils'
import { wait, ImportError } from '@getlang/utils'
import { parse, desugar } from '@getlang/parser'
import type { Program } from '@getlang/parser/ast'
import { execute as exec } from './execute/execute.js'
import type { InternalHooks } from './execute/execute.js'
import * as http from './execute/net/http.js'
import { runSlice } from './execute/lang.js'
import { execute as exec } from './execute.js'
import type { InternalHooks } from './execute.js'
import * as http from '../lib/net/http.js'
export { version } from './version.js'
export const version = '0.0.21'
export type UserHooks = Partial<Hooks>

@@ -24,3 +24,3 @@

request: hooks.request ?? http.requestHook,
slice: hooks.slice ?? runSlice,
slice: hooks.slice ?? slice.runSlice,
}

@@ -27,0 +27,0 @@ }

{
"name": "@getlang/get",
"version": "0.0.21",
"version": "0.0.22",
"license": "Apache-2.0",

@@ -20,18 +20,10 @@ "type": "module",

"dependencies": {
"@getlang/parser": "^0.0.17",
"@getlang/lib": "^0.0.13",
"@getlang/lib": "^0.0.1",
"@getlang/utils": "^0.0.14",
"@getlang/parser": "^0.0.18",
"@getlang/xpath": "0.0.35-0",
"acorn": "^8.12.0",
"css-select": "^5.1.0",
"css-what": "^6.1.0",
"dom-serializer": "^2.0.0",
"domhandler": "^5.0.3",
"domutils": "^3.1.0",
"esquery": "^1.5.0",
"lodash-es": "^4.17.21",
"parse5": "^7.1.2",
"parse5-htmlparser2-tree-adapter": "^7.0.0",
"set-cookie-parser": "^2.6.0"
"lodash-es": "^4.17.21"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.17.12",

@@ -38,0 +30,0 @@ "@types/set-cookie-parser": "^2.4.9"

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