patching references
This commit is contained in:
parent
1db61720fc
commit
fecfdc4c11
10
libs/base/shims.d.ts
vendored
10
libs/base/shims.d.ts
vendored
@ -87,6 +87,12 @@ declare interface Buffer {
|
|||||||
*/
|
*/
|
||||||
//% shim=BufferMethods::write
|
//% shim=BufferMethods::write
|
||||||
write(dstOffset: int32, src: Buffer): void;
|
write(dstOffset: int32, src: Buffer): void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Compute k-bit FNV-1 non-cryptographic hash of the buffer.
|
||||||
|
*/
|
||||||
|
//% shim=BufferMethods::hash
|
||||||
|
hash(bits: int32): uint32;
|
||||||
}
|
}
|
||||||
declare namespace control {
|
declare namespace control {
|
||||||
|
|
||||||
@ -94,14 +100,14 @@ declare namespace control {
|
|||||||
* Create a new zero-initialized buffer.
|
* Create a new zero-initialized buffer.
|
||||||
* @param size number of bytes in the buffer
|
* @param size number of bytes in the buffer
|
||||||
*/
|
*/
|
||||||
//% shim=control::createBuffer
|
//% deprecated=1 shim=control::createBuffer
|
||||||
function createBuffer(size: int32): Buffer;
|
function createBuffer(size: int32): Buffer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new buffer with UTF8-encoded string
|
* Create a new buffer with UTF8-encoded string
|
||||||
* @param str the string to put in the buffer
|
* @param str the string to put in the buffer
|
||||||
*/
|
*/
|
||||||
//% shim=control::createBufferFromUTF8
|
//% deprecated=1 shim=control::createBufferFromUTF8
|
||||||
function createBufferFromUTF8(str: string): Buffer;
|
function createBufferFromUTF8(str: string): Buffer;
|
||||||
}
|
}
|
||||||
declare namespace loops {
|
declare namespace loops {
|
||||||
|
16
package.json
16
package.json
@ -32,21 +32,21 @@
|
|||||||
"docs/*/*/*.md"
|
"docs/*/*/*.md"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "2.6.1",
|
|
||||||
"react": "16.8.3",
|
"react": "16.8.3",
|
||||||
"semantic-ui-less": "2.2.14",
|
|
||||||
"@types/bluebird": "2.0.33",
|
|
||||||
"@types/marked": "0.3.0",
|
|
||||||
"@types/node": "8.0.53",
|
|
||||||
"webfonts-generator": "^0.4.0",
|
"webfonts-generator": "^0.4.0",
|
||||||
"@types/jquery": "3.2.16",
|
"@types/jquery": "3.2.16",
|
||||||
"@types/react": "16.0.25",
|
"@types/react": "16.0.25",
|
||||||
"@types/react-dom": "16.0.3",
|
"@types/react-dom": "16.0.3",
|
||||||
"@types/web-bluetooth": "0.0.4"
|
"@types/web-bluetooth": "0.0.4",
|
||||||
|
"@types/bluebird": "^2.0.33",
|
||||||
|
"@types/marked": "^0.3.0",
|
||||||
|
"@types/node": "^9.3.0",
|
||||||
|
"semantic-ui-less": "2.2.14",
|
||||||
|
"typescript": "^3.7.5"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pxt-common-packages": "6.18.2",
|
"pxt-common-packages": "8.1.3",
|
||||||
"pxt-core": "5.32.3"
|
"pxt-core": "6.2.8"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node node_modules/pxt-core/built/pxt.js travis"
|
"test": "node node_modules/pxt-core/built/pxt.js travis"
|
||||||
|
Loading…
Reference in New Issue
Block a user