Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tslint-immutable

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-immutable - npm Package Compare versions

Comparing version 4.5.0 to 4.5.1

.nyc_output/02eb9badbcda75c0baf42bdad0662b3e.json

11

CHANGELOG.md

@@ -10,2 +10,8 @@ # Change Log

## [v4.5.1] - 2018-01-16
### Fixed
* `no-mixed-interface` does not understand arrow function notation. See [#62](https://github.com/jonaskello/tslint-immutable/issues/62). Thanks to [@geon](https://github.com/geon) for this fix! (See PR [#63](https://github.com/jonaskello/tslint-immutable/pull/63))
## [v4.5.0] - 2017-12-29

@@ -230,4 +236,5 @@

[unreleased]: https://github.com/jonaskello/tslint-immutable/compare/v4.5.0...master
[v4.4.0]: https://github.com/jonaskello/tslint-immutable/compare/v4.4.0...v4.5.0
[unreleased]: https://github.com/jonaskello/tslint-immutable/compare/v4.5.1...master
[v4.5.1]: https://github.com/jonaskello/tslint-immutable/compare/v4.5.0...v4.5.1
[v4.5.0]: https://github.com/jonaskello/tslint-immutable/compare/v4.4.0...v4.5.0
[v4.4.0]: https://github.com/jonaskello/tslint-immutable/compare/v4.3.0...v4.4.0

@@ -234,0 +241,0 @@ [v4.3.0]: https://github.com/jonaskello/tslint-immutable/compare/v4.2.1...v4.3.0

2

package.json
{
"name": "tslint-immutable",
"version": "4.5.0",
"version": "4.5.1",
"description": "TSLint rules to disable mutation in TypeScript.",

@@ -5,0 +5,0 @@ "main": "tslint-immutable.json",

@@ -506,3 +506,3 @@ # tslint-immutable

"no-mixed-interface": true,
"no-expression-statement": true
"no-expression-statement": true,
"no-if-statement": true

@@ -509,0 +509,0 @@

@@ -27,7 +27,4 @@ "use strict";

}
var length_1 = node.getWidth(ctx.sourceFile);
// const fulltext = node.getText(ctx.sourceFile);
var fulltext = node.getText(ctx.sourceFile);
return [
check_node_1.createInvalidNode(node, new Lint.Replacement(node.end - length_1, length_1, "readonly " + fulltext))
check_node_1.createInvalidNode(node, new Lint.Replacement(node.getStart(ctx.sourceFile), 0, "readonly "))
];

@@ -34,0 +31,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

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

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

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

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

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

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

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

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

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