Git Product home page Git Product logo

ember-lodash's Introduction

ember-lodash

Build Status Ember Observer Score npm version Code Climate

This ember addon allows consumption of the lodash library (its ES6 module variant) in ember-cli apps.

Use

First you install this addon

# ember-cli > 0.2.3
ember install ember-lodash
# ember-cli <= 0.2.3
ember install:addon ember-lodash

And then in your ember.js app, you can import individual lodash modules freely

import _string from 'lodash/string';

let truncatedString = _string.trunc(rawString);

Additionally, if you wish to work with the entire lodash library on a single namespace, you have the option of importing that as well

import _ from 'lodash';

let truncatedString = _.trunc(rawString);

It is also possible to import individual modules

import { trunc } from 'lodash';

let truncatedString = trunc(rawString);

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Analytics

ember-lodash's People

Contributors

ef4 avatar fpauser avatar greenkeeper[bot] avatar greenkeeperio-bot avatar jasonmit avatar josemarluedke avatar mfazekas avatar mike-north avatar mixonic avatar polarctos avatar renovate-bot avatar renovate[bot] avatar rwjblue avatar samselikoff avatar semantic-release-bot avatar simonihmig avatar snewcomer avatar stefanpenner avatar tchak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ember-lodash's Issues

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Invalid npm token.

The npm token configured in the NPM_TOKEN environment variable must be a valid token allowing to publish to the registry https://registry.npmjs.org/.

If you are using Two-Factor Authentication, make configure the auth-only level is supported. semantic-release cannot publish with the default auth-and-writes level.

Please make sure to set the NPM_TOKEN environment variable in your CI with the exact value of the npm token.


Good luck with your project

Your semantic-release bot 📦🚀

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository.

  • WARN: Using npm packages for Renovate presets is now deprecated. Please migrate to repository-based presets instead.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): commitlint monorepo (patch) (@commitlint/cli, @commitlint/config-conventional, @commitlint/travis-cli)
  • chore(deps): stable ember infrastructure (patch) (ember-cli-dependency-checker, ember-source)
  • chore(deps): @ember/test-helpers
  • chore(deps): @mike-north/js-lib-renovate-config
  • chore(deps): ember-try
  • chore(deps): stable ember infrastructure (major) (ember-cli, ember-qunit, ember-resolver, ember-source, eslint-plugin-ember)
  • chore: lockfile maintenance
  • 🔐 Create all rate-limited PRs at once 🔐

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • broccoli-debug ^0.6.1
  • broccoli-funnel ^2.0.1
  • broccoli-merge-trees ^3.0.0
  • broccoli-string-replace ^0.1.1
  • ember-cli-babel ^7.0.0
  • lodash-es ^4.17.4
  • @commitlint/cli 8.3.5
  • @commitlint/config-conventional 8.3.4
  • @commitlint/travis-cli 8.3.5
  • @ember/optional-features 0.7.0
  • @ember/test-helpers 1.1.0
  • @mike-north/js-lib-renovate-config 1.1.5
  • @mike-north/js-lib-semantic-release-config 1.0.1
  • broccoli-asset-rev 3.0.0
  • ember-cli-dependency-checker 3.3.1
  • ember-cli-eslint 5.1.0
  • ember-cli-htmlbars 6.2.0
  • ember-cli-inject-live-reload 2.1.0
  • ember-cli-shims 1.2.0
  • ember-cli-sri 2.1.1
  • ember-cli-test-loader 2.2.0
  • ember-cli-uglify 3.0.0
  • ember-cli 3.28.6
  • ember-disable-prototype-extensions 1.1.3
  • ember-export-application-global 2.0.1
  • ember-load-initializers 2.1.2
  • ember-maybe-import-regenerator 0.1.6
  • ember-qunit 5.1.5
  • ember-resolver 8.1.0
  • ember-source-channel-url 2.0.1
  • ember-source 4.12.0
  • ember-try 1.2.1
  • eslint-plugin-ember 10.6.1
  • eslint-plugin-node 11.1.0
  • loader.js 4.7.0
  • semantic-release 15.12.5
  • qunit-dom 2.0.0
  • node ^4.5 || 6.* || >= 7.*
travis
.travis.yml
  • node 8
  • node 10

  • Check this box to trigger a request for Renovate to run again on this repository

unable to test

when i try to do that in the browser, i get this errors:
screen shot 2016-01-13 at 16 31 21

from command line i just get stuck and when i terminate i get this:

    ---
        message: >
            Received SIGINT signal

tried in:

  • node v4.2.2/v5.3.0
  • npm v2.14.10 / v3.5.2
  • ember-cli 1.13.12

An in-range update of broccoli-asset-rev is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 2.7.0 of broccoli-asset-rev was just published.

Branch Build failing 🚨
Dependency broccoli-asset-rev
Current Version 2.6.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

broccoli-asset-rev is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 6 commits.

  • 087417f 2.7.0
  • 81de916 Merge pull request #125 from ef4/fastboot-manifest-with-tests
  • 631c552 dropping ancient node from ci
  • 4e9aea2 Maintain correctness when rewriting fastboot-capable apps
  • 1ad8086 Merge pull request #123 from rickharrison/broccoli-asset-rev/patch-1
  • 772d90f README: Slightly more careful markdown

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of loader.js is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 4.7.0 of loader.js was just published.

Branch Build failing 🚨
Dependency loader.js
Current Version 4.6.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

loader.js is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 9 commits.

  • 27b4098 release v4.7.0 🎉
  • d42a2c7 Merge pull request #137 from 2hu12/patch-1
  • 367dbfc Update define.alias API description
  • d5fb086 Merge pull request #133 from tmquinn/find-alias-modules-with-index
  • ffacdb4 Add test for quz/index
  • 933c7c8 Merge pull request #134 from ember-cli/add-test
  • ed8c85a Fix typo and add tests
  • 5141a0f Add test ensuring /index doesn’t invokes callbacks the appropriate number of times
  • f8b282b Find aliases whose target is at index

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

optional deps should be dev deps?

We were getting strange issues:

yarn install v1.8.0
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
warning cs-core-api > ember-lodash > semantic-release > @semantic-release/npm > npm > [email protected]: this version has a breaking change. use 1.1.0 or upgrade to latest
error Couldn't find package "travis-deploy-once@^5.0.9" required by "@mike-north/[email protected]" on the "npm" registry.

Which lead me to question, why are the CI/deployment scripts part of the dependencies. Shouldn't they be moved to devDependencies?

An in-range update of greenkeeper-lockfile is breaking the build 🚨

Version 1.13.0 of greenkeeper-lockfile was just published.

Branch Build failing 🚨
Dependency greenkeeper-lockfile
Current Version 1.12.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

greenkeeper-lockfile is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v1.13.0

1.13.0 (2018-01-19)

Features

  • add basic Codeship CI Integration (258e9c0)
Commits

The new version differs by 3 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of ember-cli-dependency-checker is breaking the build 🚨

Version 2.1.1 of ember-cli-dependency-checker was just published.

Branch Build failing 🚨
Dependency ember-cli-dependency-checker
Current Version 2.1.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

ember-cli-dependency-checker is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of ember-cli-htmlbars is breaking the build 🚨

Version 2.0.4 of ember-cli-htmlbars was just published.

Branch Build failing 🚨
Dependency ember-cli-htmlbars
Current Version 2.0.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

ember-cli-htmlbars is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 7 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Could not find module `lodash` using v4.17.0 with FastBoot

We just tried to upgrade to the new version of ember-lodash and we had problem using it when executing in FastBoot.

The full stack trace error is as follows:

Error: Could not find module `lodash` imported from `athena/instance-initializers/fastboot/thrift`
    at missingModule (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:244:11)
    at findModule (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:255:17)
    at Module.findDeps (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:195:24)
    at findModule (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:258:11)
    at requireModule (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:25:15)
    at resolveInitializer (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:136572:18)
    at registerInstanceInitializers (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:136591:31)
    at exports.default (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:136612:5)
    at Module.callback (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/athena.js:286:41)
    at Module.exports (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:136:32)
    at Module._reify (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:169:59)
    at Module.reify (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:155:27)
    at Module.exports (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:134:10)
    at Object.requireModule (/Users/josemarluedke/Projects/Neighborly/demeter/main/dist/dev/fastboot/vendor.js:28:18)
    at Object.<anonymous> (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/fastboot/dist/cjs/ember-app.js:160:18)
    at VMSandbox.run (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/fastboot/dist/cjs/vm-sandbox.js:18:13)
    at EmberApp.createEmberApp (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/fastboot/dist/cjs/ember-app.js:159:30)
    at EmberApp.retrieveSandboxedApp (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/fastboot/dist/cjs/ember-app.js:184:17)
    at new EmberApp (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/fastboot/dist/cjs/ember-app.js:48:21)
    at FastBoot._buildEmberApp (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/fastboot/dist/cjs/index.js:111:17)
    at new FastBoot (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/fastboot/dist/cjs/index.js:52:10)
    at fastbootExpressMiddleware (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/fastboot-express-middleware/index.js:24:16)
    at exec.then (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/ember-cli-fastboot/lib/tasks/fastboot-server.js:34:71)
    at tryCatch (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/rsvp/dist/lib/rsvp/-internal.js:215:12)
    at invokeCallback (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/rsvp/dist/lib/rsvp/-internal.js:230:13)
    at publish (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/rsvp/dist/lib/rsvp/-internal.js:198:7)
    at flush (/Users/josemarluedke/Projects/Neighborly/demeter/main/node_modules/rsvp/dist/lib/rsvp/asap.js:85:5)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

An in-range update of ember-cli-qunit is breaking the build 🚨

Version 4.3.0 of ember-cli-qunit was just published.

Branch Build failing 🚨
Dependency ember-cli-qunit
Current Version 4.2.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

ember-cli-qunit is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 5 commits.

  • 8bc7d15 v4.3.0
  • 4f7d32e Add v4.3.0 to CHANGELOG.md.
  • 371b9fa Update minimum version of ember-qunit to 3.3.0.
  • f9da916 Update packages to latest allowed versions.
  • 4d418f4 Update yarn.lock to match package.json.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.

Since we did not receive a CI status on the greenkeeper/initial branch, we assume that you still need to configure it.

If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/.

We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

An in-range update of ember-cli-babel is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 6.12.0 of ember-cli-babel was just published.

Branch Build failing 🚨
Dependency ember-cli-babel
Current Version 6.11.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

ember-cli-babel is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 6 commits.

  • d8f266c release v6.12.0 🎉
  • fd6c9a6 Merge pull request #204 from kellyselden/_shouldDoNothing
  • ea3a2c5 add test
  • 5442a39 add a no-op optimization
  • 4b68bef Merge pull request #199 from astronomersiva/remove_redundant_check
  • 1e1bba9 Remove redundant check for targets

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

ember-lodash index.js throws exception as dependency of dependency

I develop an addon that depends on ember-lodash. It is used by an ember-cli application, so the dependency tree looks like this:

MyApp
  --  MyAddon
      -- ember-lodash

While trying to boot MyApp, an error is thrown inside ember-lodash's index.js file. The error arises while trying to evaluate this.project.addonPackages['ember-lodash'].path. The problem with trying to evaluate that is that this.project.addonPackages does not actually include ember-lodash--it is a dependency of MyAddon, not a dependency of MyApp.

$ ember s
version: 1.13.8
Cannot read property 'path' of undefined
TypeError: Cannot read property 'path' of undefined
    at Class.module.exports.treeForAddon (/Users/andre/src/plos/lemur-collections/frontend/node_modules/lemur-commons/node_modules/ember-lodash/index.js:11:74)
    at Class._treeFor (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/models/addon.js:330:31)
    at Class.treeFor (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/models/addon.js:300:19)
    at /Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/models/addon.js:253:32
    at Array.map (native)
    at Class.eachAddonInvoke (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/models/addon.js:251:22)
    at Class.treeFor (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/models/addon.js:298:20)
    at EmberApp.<anonymous> (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/broccoli/ember-app.js:358:20)
    at Array.map (native)
    at EmberApp.addonTreesFor (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/broccoli/ember-app.js:356:30)
    at EmberApp._addonTree (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/broccoli/ember-app.js:725:36)
    at EmberApp._processedVendorTree (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/broccoli/ember-app.js:789:29)
    at EmberApp._processedExternalTree (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/broccoli/ember-app.js:819:21)
    at EmberApp.appAndDependencies (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/broccoli/ember-app.js:906:30)
    at EmberApp.javascript (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/broccoli/ember-app.js:973:34)
    at EmberApp.toArray (/Users/andre/src/plos/lemur-collections/frontend/node_modules/ember-cli/lib/broccoli/ember-app.js:1346:10)

An in-range update of lodash-es is breaking the build 🚨

Version 4.17.5 of lodash-es was just published.

Branch Build failing 🚨
Dependency lodash-es
Current Version 4.17.4
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

lodash-es is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of ember-cli-uglify is breaking the build 🚨

Version 2.0.2 of ember-cli-uglify was just published.

Branch Build failing 🚨
Dependency ember-cli-uglify
Current Version 2.0.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

ember-cli-uglify is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 6 commits.

  • bb9c69b release v2.0.2 🎉
  • 5920e86 Merge pull request #36 from ember-cli/ci
  • df6ab75 add test (basically, a default app built’s tests run even post uglification)
  • 16d749e Merge pull request #34 from Duder-onomy/upgrade-broccoli-uglify-sourcemap-to-2.0.1
  • fb1da04 fix CODE_OF_CONDUCT.md
  • 6284038 Updates broccoli-uglify-sourcemap to version 2.0.1

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of ember-cli-inject-live-reload is breaking the build 🚨

Version 1.8.0 of ember-cli-inject-live-reload was just published.

Branch Build failing 🚨
Dependency ember-cli-inject-live-reload
Current Version 1.7.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

ember-cli-inject-live-reload is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 5 commits.

  • fcd8ba0 1.8.0
  • e06f677 Add 1.8.0 to the CHANGELOG.
  • 4b6c25a Merge pull request #49 from SparshithNR/prefix-fix
  • 92f52a7 Adding clean-base-url as dependency
  • 63b8c66 Consider liveReloadPrefix option which got added into tiny-lr

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Conditional import

I'm trying to figure out if it's possible to use this library in my addon, but optionally not import lodash into the host app's final vendor.js. I use this in Ember CLI Mirage, which is primarily enabled in development/testing.

Is there a strategy I can take for a Mirage option be used at build-time to exclude lodash? I'm happy to PR once I have a better idea. My broccoli-fu is weak.

An in-range update of ember-source is breaking the build 🚨

Version 2.18.1 of ember-source was just published.

Branch Build failing 🚨
Dependency ember-source
Current Version 2.18.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

ember-source is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 12 commits.

  • 78717c5 Release v2.18.1.
  • 905dd01 Add v2.18.1 to CHANGELOG.md.
  • 8639d6a [BUGFIX lts] Enable some recovery of errors thrown during render.
  • 8d6600b [BUGFIX lts] Avoid excessively calling Glimmer AST transforms.
  • 6e0b9fd Add v2.17.1 to CHANGELOG.md
  • dcfb297 Add v2.16.2 to CHANGELOG.md.
  • 1f05c15 Ensure build-metadata.json is included in packed tarball.
  • c2b7d49 Publish metadata file to S3.
  • 2dc45b2 Merge pull request #16068 from rwjblue/update-backburner-release
  • 0e049fb [BUGFIX release] Update to [email protected].
  • dee84b0 Fix incorrect .travis.yml config for release branch.
  • ca01684 Begin publishing npm tarballs to S3.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Importing functions?

Is there something keeping me from using e.g. import { startsWith } from 'lodash/string';?

lodash-es not found on npm v3 due to nested dependency access

Error: ENOENT, no such file or directory '/app/node_modules/ember-lodash/node_modules/lodash-es'

This occurs because npm3 has a flat structure; there are no more nested node_modules directories. Now lodash-es lives on the top-level node_modules along with the main dependencies. As a result, we need a new way to load in the dependency for npm v3 users.

Ember helpers?

I've found that in many of my projects that I use ember-lodash, I end up writing Ember helpers that mostly just call a Lodash function and pass along arguments. For example:

// app/helpers/lodash-start-case.js

import Ember from 'ember';
import _string from 'lodash/string';

export function lodashStartCase([string]) {
    return _string.startCase(string);
}

export default Ember.Helper.helper(lodashStartCase);

This allows me to take advantage of Lodash transformations in my template (without having to make a CP):

<h1>{{lodash-start-case title}}</h1>

Would there be interest in a PR that adds some of these helpers to the addon?

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

An in-range update of ember-cli is breaking the build 🚨

Version 2.18.1 of ember-cli was just published.

Branch Build failing 🚨
Dependency ember-cli
Current Version 2.18.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

ember-cli is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes நிலவெலி

Setup

npm install -g [email protected] -- Install new global ember-cli

Project Update

  1. rm -rf node_modules dist tmp -- Delete temporary development folders.
  2. npm install --save-dev [email protected] -- Update project's package.json to use latest version.
  3. npm install -- Reinstall NPM dependencies.
  4. ember init -- This runs the new project blueprint on your projects directory. Please follow the prompts, and review all changes (tip: you can see a diff by pressing d). The most common source of upgrade pain is missing changes in this step.

Changelog

The following changes are required if you are upgrading from the previous
version:

Community Contributions

Thank you to all who took the time to contribute!

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Upgrade plan

I think we should align addon major version to lodash major version. So my current plan is to release a 3.0.0 and a 4.0.0 to allow for a clean upgrade.

@mike-north do you have any objections on this?

An in-range update of eslint-plugin-ember is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 5.1.0 of eslint-plugin-ember was just published.

Branch Build failing 🚨
Dependency eslint-plugin-ember
Current Version 5.0.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-ember is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 25 commits.

  • aeedce6 v5.1.0
  • 133fffc Update CHANGELOG
  • d5e5a2f Merge pull request #172 from PrzemoRevolve/feature/order-in-fixers
  • 390aaa8 indendation fix when moved property is the last one
  • 1ea7f2c Handling the case of moving property above another property, that has a comment
  • 994835e Removed changes unrelated to order-in_* rules' fixers
  • 63a45f6 Added tests for order-in-* rules' fixers
  • 8f60b7d Added fixers for order-in-* rules
  • 1c592da Merge pull request #233 from ro0gr/fix-init-order
  • 53b0fc8 Merge pull request #198 from clcuevas/super
  • f5e78a8 remove init() from the component lifecycle hooks list
  • eb7eb8c add invalid tests for init/property order
  • 77dcc6e remove unused exports
  • d4c957e reorder init to be declared after properties
  • 11a57cd Failing test case for init() order

There are 25 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Update ember-cli-babel dependency

Can you please update the ember-cli-babel dependency so this module can be used with Node 8?
Currently it prevents installation due to:

error [email protected]: The engine "node" is incompatible with this module. Expected version "^4.5 || 6.* || 7.*".

This requires a --ignore-engines flag to install at present which is cumbersome.

Error: Could not find module `lodash/object/findKey`

In ember-cli version 2.11.0, the below import works earlier,
import findKey from 'lodash/object/findKey';
but after upgrading ember-cli to 2.13.3, it throws Error: Could not find module lodash/object/findKey`.

import { findKey } from 'lodash/object'; => this works
import { findKey } from 'lodash'; => this works
import findKey from 'lodash/object/findKey'; => this throws error.

Module loading problems in phantomjs

I just upgraded to ember-cli v2.13.1 and use phantomjs v2.1.14, and now the qunit tests are failing during module loading. The Tests run fine in Chrome though.

I am using ember-lodash v4.17.2.

<error message="
Died on test #1 moduleLoadFailure@http://localhost:10001/assets/test-support.js:15093:28
http://localhost:10001/assets/test-support.js:15321:33
require@http://localhost:10001/assets/test-support.js:15309:32
loadModules@http://localhost:10001/assets/test-support.js:15301:23
loadTests@http://localhost:10001/assets/test-support.js:15146:33
start@http://localhost:10001/assets/test-support.js:15181:16
http://localhost:10001/assets/tests.js:1194:28
exports@http://localhost:10001/assets/vendor.js:119:37
requireModule@http://localhost:10001/assets/vendor.js:34:25
global code@http://localhost:10001/assets/tests.js:1262:8: Object is not a constructor (evaluating '(0, _lodash_defineProperty['default'])')
">

An in-range update of ember-load-initializers is breaking the build 🚨

Version 1.1.0 of ember-load-initializers was just published.

Branch Build failing 🚨
Dependency ember-load-initializers
Current Version 1.0.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

ember-load-initializers is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 14 commits.

  • 3f1f39b 1.1.0
  • 234964c Add 1.1.0 to CHANGELOG.
  • f9c3eac Merge pull request #53 from GavinJoyce/gj/allow-colocated-test-files
  • 6b6e40c allow colocated test files
  • d3e4a88 Merge pull request #52 from eliasmelgaco/update-ember-cli
  • 85adf6c Update ember-cli to 3.1.2
  • 69fe4b4 Merge pull request #51 from efx/bump-ember-cli
  • fb82460 bump dependencies, refactor tests slightly
  • d73c0b6 Merge pull request #49 from efx/fix-linting
  • 3a87918 fix linting config
  • bff6ff6 Merge pull request #48 from efx/topic-contributer-cleanup
  • ea41645 internal clean up for contributing
  • 043dbb9 Merge pull request #46 from efx/fix-coduct-markdown
  • 9c41f09 fix code of conduct markdown

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of ember-resolver is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 4.5.1 of ember-resolver was just published.

Branch Build failing 🚨
Dependency ember-resolver
Current Version 4.5.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

ember-resolver is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 22 commits.

  • 4fbf54a v4.5.1
  • 0d3a85d Merge pull request #225 from ember-cli/expandLocalLookup
  • 338680a Implement MU sources and namespaces with expandLocalLookup
  • ecc4748 glimmer-resolver v0.4.3
  • 04f47d5 Add new types for new Ember releases
  • d7dc4dd Merge pull request #224 from 201-created/isaac/fallback-normalization
  • e38f353 normalize specifiers before passing to fallback
  • 13f05eb Merge pull request #221 from 201-created/isaac/fix-main-service-lookup
  • b2357af Merge pull request #222 from SergeAstapov/document-pluralizedTypes
  • 000bc2b [DOCS] Adds example about pluralizedTypes usage
  • 9b5e679 fix requires registry for main services/components
  • 9937486 Add template-options type to config
  • 7f3fbcf Merge pull request #220 from 201-created/isaac/namespace-argument
  • b57afa8 Add tests for main add-on lookup
  • 50036c2 glimmer-wrapper resolver to take targetNamespace

There are 22 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


No npm token specified.

An npm token must be created and set in the NPM_TOKEN environment variable on your CI environment.

Please make sure to create an npm token and to set it in the NPM_TOKEN environment variable on your CI environment. The token must allow to publish to the registry https://registry.npmjs.org/.


Good luck with your project

Your semantic-release bot 📦🚀

3x bigger than advertised?

Hi! Thanks for getting lodash usable with imports.

We're currently on ember 2.17, ember-lodash 4.17.6

EDIT: tl;dr the version of broccoli-concat-analyser I was using was calculating the compressed size incorrectly. Turns out it's not 144KB, it's more like 68KB. But still much larger than ~24KB, which is what I expected.

I was checking out our addon weight (using broccoli-concat-analyser) to find some low-hanging fruit to slim down vendor.js and noticed lodash taking up more space than I expected!
lodash is 144kb uglified + compressed
lodash is showing as ~144kb uglified + compressed, but lodash.com says the Full build (~24kB gzipped).

Maybe we're doing something incorrectly here? I tried using https://github.com/kellyselden/ember-cli-tree-shaker but it didn't do much, like ~4kb savings from our production build 😢
Any help would be greatly appreciated. Even if you could quickly try a production build using broccoli-concat-analyser and let me know if lodash shows as 144kb for you as well or smaller

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.