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.16 to 0.0.17

execute/execute.ts

2

dist/execute/execute.d.ts

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

import type { Program } from '@getlang/parser';
import { type Program } from '@getlang/parser/ast';
import type { Hooks, MaybePromise } from '@getlang/lib';

@@ -3,0 +3,0 @@ export type InternalHooks = {

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

import { visit, SKIP, NodeKind, RootScope } from '@getlang/parser';
import { visit, SKIP, } from '@getlang/parser/visitor';
import { RootScope } from '@getlang/parser/scope';
import { NodeKind } from '@getlang/parser/ast';
import { invariant, NullSelectionError, QuerySyntaxError, ValueTypeError, ValueReferenceError, ImportError, } from '@getlang/lib';

@@ -3,0 +5,0 @@ import * as http from './net/http.js';

import type { AnyHtmlNode } from 'domhandler';
import type { SelectFn } from './types.js';
import './patch-dom';
import './patch-dom.js';
export declare const parse: (html: string) => AnyHtmlNode;
export declare const select: SelectFn<AnyHtmlNode>;
export declare const getValue: (el: AnyHtmlNode) => string;

@@ -8,3 +8,3 @@ import { parse as parse5 } from 'parse5';

import { SelectorSyntaxError, NullSelectionError, invariant, } from '@getlang/lib';
import './patch-dom';
import './patch-dom.js';
export const parse = (html) => {

@@ -11,0 +11,0 @@ return parse5(html, { treeAdapter: adapter });

import type { Hooks } from '@getlang/lib';
import type { Program } from '@getlang/parser';
export { version } from './package.json';
import type { Program } from '@getlang/parser/ast';
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>;
declare const version: string;
export { version };

@@ -6,3 +6,3 @@ import { wait, ImportError } from '@getlang/lib';

import { runSlice } from './execute/lang.js';
export { version } from './package.json' with { type: 'json' };
import pkg from './package.json' with { type: 'json' };
function buildHooks(hooks = {}) {

@@ -28,2 +28,4 @@ return {

}
const { version } = pkg;
export { version };
//# sourceMappingURL=index.js.map
{
"name": "@getlang/get",
"version": "0.0.16",
"version": "0.0.17",
"license": "Apache-2.0",
"type": "module",
"main": "dist",
"files": [
"dist"
],
"exports": {
"bun": "./index.ts",
"default": "./dist/index.js"
},
"bugs": {

@@ -20,4 +20,4 @@ "url": "https://github.com/getlang-dev/get/issues"

"dependencies": {
"@getlang/parser": "workspace:^0.0.14",
"@getlang/lib": "workspace:^0.0.11",
"@getlang/parser": "workspace:^0.0.16",
"@getlang/lib": "workspace:^0.0.13",
"@getlang/xpath": "0.0.35-0",

@@ -24,0 +24,0 @@ "acorn": "^8.12.0",

{
"name": "@getlang/get",
"version": "0.0.16",
"version": "0.0.17",
"license": "Apache-2.0",
"type": "module",
"main": "dist",
"files": [
"dist"
],
"exports": {
"bun": "./index.ts",
"default": "./dist/index.js"
},
"bugs": {

@@ -20,4 +20,4 @@ "url": "https://github.com/getlang-dev/get/issues"

"dependencies": {
"@getlang/parser": "^0.0.14",
"@getlang/lib": "^0.0.11",
"@getlang/parser": "^0.0.16",
"@getlang/lib": "^0.0.13",
"@getlang/xpath": "0.0.35-0",

@@ -24,0 +24,0 @@ "acorn": "^8.12.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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