# broccoli-use-strict-remover

> Broccoli plugin that removes `'use strict';` from modules when REMOVE_USE_STRICT: true is present.

Latest version **1.1.0** (published 2015-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install broccoli-use-strict-remover
pnpm add broccoli-use-strict-remover
yarn add broccoli-use-strict-remover
bun add broccoli-use-strict-remover
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2015-08-28 |
| First published | 2014-10-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Robert Jackson |
| Maintainers | rwjblue, stefanpenner |
| Keywords | broccoli-plugin, javascript |

## Links

- npm: https://www.npmjs.com/package/broccoli-use-strict-remover
- Repository: https://github.com/rwjblue/broccoli-use-strict-remover
- Homepage: https://github.com/rwjblue/broccoli-use-strict-remover#readme
- Issues: https://github.com/rwjblue/broccoli-use-strict-remover/issues
- npm.io page: https://npm.io/package/broccoli-use-strict-remover

## Dependencies (1)

- [broccoli-persistent-filter](https://npm.io/package/broccoli-persistent-filter.md) ^1.0.0

## Recent versions

- 1.1.0 (latest) — 2015-08-28
- 1.0.2 — 2015-08-21
- 1.0.1 — 2014-10-27
- 1.0.0 — 2014-10-27

## README

# broccoli-use-strict-remover

[![Build Status](https://travis-ci.org/rwjblue/broccoli-use-strict-remover.svg?branch=master)](https://travis-ci.org/rwjblue/broccoli-use-strict-remover)

Broccoli plugin that removes `'use strict';` from modules when `REMOVE_USE_STRICT: true` is present.

**DO NOT USE THIS OTHER THAN TO WORK AROUND [this](https://bugs.webkit.org/show_bug.cgi?id=138038) BUG.**

## Background

In some cases optimized Object.create in 'use strict' context sometimes breaks on ARMv7 iOS 8.x devices. This package
allows easier fine-grained removal of strict mode on a per-file basis.

In Ember we Work around the bug identified in https://bugs.webkit.org/show_bug.cgi?id=138038, by removing 'use strict'; from
modules where Object.create is called directly (in the case of Ember.CoreObject this occurs after inlining).

## ZOMG!!! TESTS?!?!!?

I know, right?

Running the tests:

```javascript
npm install
npm test
```

## License

This project is distributed under the MIT license.

---
_Source: https://npm.io/package/broccoli-use-strict-remover · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
