release: cut the 4.1.1 release (#6084)

* fix: require devtools-elements.js with the extension mentioned explicitly (#6079)

This is a workaround for the issue with `@ngtools/webpack@6.1.0-rc.2`, described here: https://github.com/NativeScript/nativescript-dev-webpack/issues/607#issuecomment-405209925

* release: cut the 4.1.1 release

* chore: Fix TS transpile error with 2.9 (#5906)
This commit is contained in:
Stanimira Vlaeva
2018-07-18 16:13:14 +01:00
committed by Dimitar Topuzov
parent 86f9d38706
commit 4cd3a328f5
4 changed files with 13 additions and 4 deletions

View File

@@ -1,6 +1,15 @@
Cross Platform Modules Changelog Cross Platform Modules Changelog
============================== ==============================
<a name="4.1.1"></a>
# [4.1.1](https://github.com/NativeScript/NativeScript/compare/4.1.0...4.1.1) (2018-07-18)
### Bug Fixes
* require devtools-elements.js with the extension mentioned explicitly ([#6079](https://github.com/NativeScript/NativeScript/issues/6079)) ([1a15aa2](https://github.com/NativeScript/NativeScript/commit/1a15aa2))
<a name="4.1.0"></a> <a name="4.1.0"></a>
# [4.1.0](https://github.com/NativeScript/NativeScript/compare/4.0.1...4.1.0) (2018-05-28) # [4.1.0](https://github.com/NativeScript/NativeScript/compare/4.0.1...4.1.0) (2018-05-28)

View File

@@ -206,7 +206,7 @@ export function Deprecated(target: Object, key?: string | symbol, descriptor?: a
var originalMethod = descriptor.value; var originalMethod = descriptor.value;
descriptor.value = function (...args: any[]) { descriptor.value = function (...args: any[]) {
console.log(`${key} is deprecated`); console.log(`${key.toString()} is deprecated`);
return originalMethod.apply(this, args); return originalMethod.apply(this, args);
} }
@@ -225,7 +225,7 @@ export function Experimental(target: Object, key?: string | symbol, descriptor?:
var originalMethod = descriptor.value; var originalMethod = descriptor.value;
descriptor.value = function (...args: any[]) { descriptor.value = function (...args: any[]) {
console.log(`${key} is experimental`); console.log(`${key.toString()} is experimental`);
return originalMethod.apply(this, args); return originalMethod.apply(this, args);
} }

View File

@@ -1,7 +1,7 @@
{ {
"name": "tns-core-modules", "name": "tns-core-modules",
"description": "Telerik NativeScript Core Modules", "description": "Telerik NativeScript Core Modules",
"version": "4.1.0", "version": "4.1.1",
"homepage": "https://www.nativescript.org", "homepage": "https://www.nativescript.org",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@@ -42,7 +42,7 @@ let fragmentId = -1;
export let moduleLoaded: boolean; export let moduleLoaded: boolean;
if (global && global.__inspector) { if (global && global.__inspector) {
const devtools = require("tns-core-modules/debugger/devtools-elements"); const devtools = require("tns-core-modules/debugger/devtools-elements.js");
devtools.attachDOMInspectorEventCallbacks(global.__inspector); devtools.attachDOMInspectorEventCallbacks(global.__inspector);
devtools.attachDOMInspectorCommandCallbacks(global.__inspector); devtools.attachDOMInspectorCommandCallbacks(global.__inspector);
} }