Skip to content

Commit 5e0a997

Browse files
committed
further updates, fix log statement
1 parent f8ea6a3 commit 5e0a997

File tree

10 files changed

+17
-22
lines changed

10 files changed

+17
-22
lines changed

npm/fetch-mock/5.13/@n4jsd/fetch-mock/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"dependencies": {
1414
"@types/node": "",
15-
"n4js-runtime-fetch": ""
15+
"n4js-runtime-html5": ""
1616
},
1717
"n4js": {
1818
"projectType": "definition",
@@ -25,7 +25,7 @@
2525
]
2626
},
2727
"requiredRuntimeLibraries": [
28-
"n4js-runtime-fetch"
28+
"n4js-runtime-html5"
2929
]
3030
}
3131
}

npm/next/7.0/@n4jsd/next/dist/server/next.n4jsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ export external public interface ~NextApp {
8989
public async renderToHTML(req: IncomingMessage, res: ServerResponse, pathname: string=, query: Object=): string;
9090
}
9191

92-
export default external public function next(pathOrOpts: string|~NextAppOptions, opts: ~NextAppOptions=): NextApp;
92+
export default external public function next(pathOrOpts: string|NextAppOptions, opts: NextAppOptions=): NextApp;
9393

9494
/* -*- mode: typescript;-*- */

npm/next/7.0/@n4jsd/next/link.n4jsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ export external public interface ~LinkProps extends React.ComponentProps<any> {
88
public href?: string
99
}
1010

11-
export default external public function Link(props: ~LinkProps+ =): React.ReactElement<LinkProps+>;
11+
export default external public function Link(props: LinkProps+ =): React.ReactElement<LinkProps+>;
1212

1313
/* -*- mode: typescript;-*- */

npm/next/7.0/@n4jsd/next/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dependencies": {
1414
"@n4jsd/react": "",
1515
"@types/node": "",
16-
"n4js-runtime-fetch": "",
16+
"n4js-runtime-html5": "",
1717
"n4js-runtime-es2015": ""
1818
},
1919
"n4js": {
@@ -27,7 +27,7 @@
2727
]
2828
},
2929
"requiredRuntimeLibraries": [
30-
"n4js-runtime-fetch",
30+
"n4js-runtime-html5",
3131
"n4js-runtime-es2015"
3232
]
3333
}

npm/next/7.0/@n4jsd/next/prefetch.n4jsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export external public interface ~PrefetchLinkProps extends LinkProps {
99
public prefetch?: boolean
1010
}
1111

12-
export default external public function PrefetchLink(props: ~PrefetchLinkProps+ =): React.ReactElement<PrefetchLinkProps+>;
12+
export default external public function PrefetchLink(props: PrefetchLinkProps+ =): React.ReactElement<PrefetchLinkProps+>;
1313

1414
export external public function prefetch(href: string): void;
1515

npm/next/7.0/@n4jsd/next/router.n4jsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ export external public interface ~NextRouter {
2323
/**
2424
* performs a pushState call associated with the current component
2525
*/
26-
public push(url, as: string=, options: TransitionOptions=): void;
26+
public push(url, as: string=, options: ~TransitionOptions=): void;
2727
/**
2828
* performs a replaceState call associated with the current component
2929
*/
30-
public replace(url: string, as: string=, options: TransitionOptions=): void;
30+
public replace(url: string, as: string=, options: ~TransitionOptions=): void;
3131

3232
public async prefetch(url: string);
3333

npm/node-fetch/2.3/@n4jsd/node-fetch/lib/index.n4jsd

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
import {Agent} from "http";
22

3-
@EcmaScript
4-
export external public abstract class NodeFetchRequestInit extends RequestInit {
5-
@Override
6-
public get body?(): string|Buffer;
7-
3+
export external public interface ~NodeFetchRequestInit extends RequestInit {
84
public follow?: int; // maximum redirect count. 0 to not follow redirect
95
public timeout?: int; // req/res timeout in ms, it resets on redirect. 0 to disable (OS limit applies). Signal is recommended instead.
106
public compress?: boolean // support gzip/deflate content encoding. false to disable
117
public size?: int // maximum response body size in bytes. 0 to disable
128
public agent?: Agent // http(s).Agent instance, allows custom proxy, certificate, dns lookup etc.
139
}
1410

15-
@EcmaScript
16-
export external public abstract class NodeFetchBody extends Body {
11+
export external public interface ~NodeFetchBody extends Body {
1712
public async buffer(): Buffer;
1813
public async textConverted(): string;
1914
}

npm/node-fetch/2.3/@n4jsd/node-fetch/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
]
2222
},
2323
"requiredRuntimeLibraries": [
24-
"n4js-runtime-fetch"
24+
"n4js-runtime-html5"
2525
]
2626
},
2727
"dependencies": {
28-
"n4js-runtime-fetch": "",
28+
"n4js-runtime-html5": "",
2929
"@types/node" : ""
3030
}
3131
}

npm/react-redux/7.1/@n4jsd/react-redux/lib/index.n4jsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export external public function <PropsT extends React.ComponentProps<any>>
123123
mapStateToProps: Function=,
124124
mapDispatchToProps: (Function|Object)=,
125125
mergeProps: Function=,
126-
options: ConnectOptions=
126+
options: ~ConnectOptions=
127127
): (constructor{?} | (PropsT) => React.ReactElement<?>) => (PropsT) => React.ReactElement<?>;
128128

129129
/**
@@ -132,7 +132,7 @@ export external public function <PropsT extends React.ComponentProps<any>>
132132
export external public function <PropsT extends React.ComponentProps<any>>
133133
connectAdvanced(
134134
selectorFactory: Function,
135-
connectOptions: ConnectAdvancedOptions=
135+
connectOptions: ~ConnectAdvancedOptions=
136136
): (constructor{?} | (PropsT) => React.ReactElement<?>) => (PropsT) => React.ReactElement<?>;
137137

138138
/**

publishSingleNPM.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ REGISTRY=$1
1414
NAME=$(node -p -e "require('./package.json').name")
1515
VERSION=$(node -p -e "require('./package.json').version")
1616

17-
echo "NAME@Version = ${NAME}@{VERSION}"
18-
echo "VERSION = ${VERSION}"
17+
echo "NAME@Version = ${NAME}@${VERSION}"
18+
1919
RESULT=" $(npm view --registry="$REGISTRY" "${NAME}@${VERSION}" || echo "" )"
2020

2121
if [[ -z "${RESULT// }" ]]; then

0 commit comments

Comments
 (0)