@getlang/get
Advanced tools
Comparing version 0.0.15 to 0.0.16
import { visit, SKIP, NodeKind, RootScope } from '@getlang/parser'; | ||
import { invariant, NullSelectionError, QuerySyntaxError, ValueTypeError, ValueReferenceError, ImportError, } from '@getlang/lib'; | ||
import * as http from './net/http'; | ||
import * as type from './value'; | ||
import * as html from './values/html'; | ||
import * as json from './values/json'; | ||
import * as js from './values/js'; | ||
import * as cookies from './values/cookies'; | ||
import * as lang from './lang'; | ||
import { select } from './select'; | ||
import * as http from './net/http.js'; | ||
import * as type from './value.js'; | ||
import * as html from './values/html.js'; | ||
import * as json from './values/json.js'; | ||
import * as js from './values/js.js'; | ||
import * as cookies from './values/cookies.js'; | ||
import * as lang from './lang.js'; | ||
import { select } from './select.js'; | ||
class Modules { | ||
@@ -295,1 +295,2 @@ importHook; | ||
} | ||
//# sourceMappingURL=execute.js.map |
import { SliceError, NullInputError } from '@getlang/lib'; | ||
import * as json from './values/json'; | ||
import * as json from './values/json.js'; | ||
export const runSlice = async (slice, context = {}, raw = {}) => { | ||
@@ -21,1 +21,2 @@ try { | ||
}; | ||
//# sourceMappingURL=lang.js.map |
@@ -68,1 +68,2 @@ import { RequestError } from '@getlang/lib'; | ||
}; | ||
//# sourceMappingURL=http.js.map |
@@ -1,2 +0,2 @@ | ||
import * as type from './value'; | ||
import * as type from './value.js'; | ||
export declare function select<T extends type.Value>(context: T, selector: string, expand: boolean): type.Value; |
@@ -1,7 +0,7 @@ | ||
import * as html from './values/html'; | ||
import * as json from './values/json'; | ||
import * as js from './values/js'; | ||
import * as headers from './values/headers'; | ||
import * as cookies from './values/cookies'; | ||
import * as type from './value'; | ||
import * as html from './values/html.js'; | ||
import * as json from './values/json.js'; | ||
import * as js from './values/js.js'; | ||
import * as headers from './values/headers.js'; | ||
import * as cookies from './values/cookies.js'; | ||
import * as type from './value.js'; | ||
import { invariant, ValueTypeError } from '@getlang/lib'; | ||
@@ -35,1 +35,2 @@ function selectValue(ValueType, fn, context, selector, expand) { | ||
} | ||
//# sourceMappingURL=select.js.map |
@@ -59,1 +59,2 @@ export class Value { | ||
} | ||
//# sourceMappingURL=value.js.map |
import * as scp from 'set-cookie-parser'; | ||
import type { SelectFn } from './types'; | ||
import type { SelectFn } from './types.js'; | ||
export declare const parse: (from: string) => scp.CookieMap; | ||
export declare const select: SelectFn<scp.CookieMap, string>; |
@@ -11,1 +11,2 @@ import * as scp from 'set-cookie-parser'; | ||
}; | ||
//# sourceMappingURL=cookies.js.map |
@@ -1,2 +0,2 @@ | ||
import type { SelectFn } from './types'; | ||
import type { SelectFn } from './types.js'; | ||
export declare const select: SelectFn<Headers, string>; |
@@ -11,1 +11,2 @@ export const select = (headers, path, expand) => { | ||
}; | ||
//# sourceMappingURL=headers.js.map |
import type { AnyHtmlNode } from 'domhandler'; | ||
import type { SelectFn } from './types'; | ||
import type { SelectFn } from './types.js'; | ||
import './patch-dom'; | ||
@@ -4,0 +4,0 @@ export declare const parse: (html: string) => AnyHtmlNode; |
@@ -61,1 +61,2 @@ import { parse as parse5 } from 'parse5'; | ||
}; | ||
//# sourceMappingURL=html.js.map |
import type { AnyNode } from 'acorn'; | ||
import type { SelectFn } from './types'; | ||
import type { SelectFn } from './types.js'; | ||
export declare const parse: (js: string) => AnyNode; | ||
export declare const select: SelectFn<AnyNode>; | ||
export declare const getValue: (node: AnyNode) => string | number | bigint | boolean | RegExp | null | undefined; |
@@ -24,1 +24,2 @@ import { parse as acorn } from 'acorn'; | ||
}; | ||
//# sourceMappingURL=js.js.map |
@@ -1,3 +0,3 @@ | ||
import type { SelectFn } from './types'; | ||
import type { SelectFn } from './types.js'; | ||
export declare const parse: (json: string) => any; | ||
export declare const select: SelectFn<any>; |
@@ -9,1 +9,2 @@ import { get } from 'lodash-es'; | ||
}; | ||
//# sourceMappingURL=json.js.map |
@@ -46,1 +46,2 @@ // @sideEffects | ||
main(); | ||
//# sourceMappingURL=patch-dom.js.map |
@@ -6,3 +6,3 @@ import { wait, ImportError } from '@getlang/lib'; | ||
import { runSlice } from './execute/lang.js'; | ||
export { version } from './package.json'; | ||
export { version } from './package.json' with { type: 'json' }; | ||
function buildHooks(hooks = {}) { | ||
@@ -28,1 +28,2 @@ return { | ||
} | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@getlang/get", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"license": "Apache-2.0", | ||
@@ -20,4 +20,4 @@ "type": "module", | ||
"dependencies": { | ||
"@getlang/parser": "workspace:^0.0.13", | ||
"@getlang/lib": "workspace:^0.0.10", | ||
"@getlang/parser": "workspace:^0.0.14", | ||
"@getlang/lib": "workspace:^0.0.11", | ||
"@getlang/xpath": "0.0.35-0", | ||
@@ -24,0 +24,0 @@ "acorn": "^8.12.0", |
{ | ||
"name": "@getlang/get", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"license": "Apache-2.0", | ||
@@ -20,4 +20,4 @@ "type": "module", | ||
"dependencies": { | ||
"@getlang/parser": "^0.0.13", | ||
"@getlang/lib": "^0.0.10", | ||
"@getlang/parser": "^0.0.14", | ||
"@getlang/lib": "^0.0.11", | ||
"@getlang/xpath": "0.0.35-0", | ||
@@ -24,0 +24,0 @@ "acorn": "^8.12.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57577
42
764
+ Added@getlang/lib@0.0.11(transitive)
+ Added@getlang/parser@0.0.14(transitive)
- Removed@getlang/lib@0.0.10(transitive)
- Removed@getlang/parser@0.0.13(transitive)
Updated@getlang/lib@^0.0.11
Updated@getlang/parser@^0.0.14