Giter Site home page Giter Site logo

ember-rfc176-data's People

Contributors

bantic avatar bekzod avatar buschtoens avatar chancancode avatar cibernox avatar courajs avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar jordpo avatar locks avatar mike-north avatar nlfurniss avatar nullvoxpopuli avatar pgrippi avatar ppcano avatar pzuraq avatar rwjblue avatar sarupbanskota avatar serabe avatar stefanpenner avatar t-sauer avatar tomdale avatar turbo87 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

ember-rfc176-data's Issues

Namespace import

import Namespace from '@ember/application/namespace'; is listed, however I am getting a module not found error.

This is on:
ember-cli: 3.3.0
ember-source: 3.3.0

I'm not sure if it is best to report this here or in the main Ember repo, but is this currently available / behind some kind of special flag?

Thanks!

Missing public API imports

According to #11 the following list of documented public globals APIs in Ember have no corresponding new module import paths yet:

ContainerProxyMixin
 Ember.FEATURES.isEnabled
Ember.MutableEnumerable
Ember.Namespace
Ember.NativeArray
Ember.Test
Ember.Test.QUnitAdapter
Ember.testing
Ember.VERSION
RouterService
Ember.Handlebars.Utils.escapeExpression
Ember.HTMLBars.template
Ember.Handlebars.compile

user hook:

Ember.onerror

Additionally the ember-cli-shims were exporting the following globals APIs which don't have corresponding new module import paths yet either:

Ember.destroy
Ember.SortableMixin

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.

Additional RSVP imports

Right now it is only possible to

import RSVP from 'rsvp';

but to get to Promise or resolve() it is not possible to

import { Promise, resolve } from 'rsvp';

IMHO we should change that

Unknown global Ember.inject

If you have inject destructured like this the ember-modules-codemod fails stating this in an unkown global:

const { inject } = Ember;

This form of destructing does work:

const { inject: { service } } = Ember;

Can/should the first case be supported?

Mapping is missing NativeArray causing older ember versions to not work with some newer addon versions

should be available from @ember/array

https://discord.com/channels/480462759797063690/1078725868500832378/1079878481334251590

Example Error

Build Error (broccoli-persistent-filter:Babel > [Babel: @ember-data/model]) in -private/promise-many-array.ts

/Users/chasegiunta/repos/dochub/frontend/-private/promise-many-array.ts: @ember/array does not have a NativeArray export
> 1 | import ArrayMixin, { NativeArray } from '@ember/array';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import type ArrayProxy from '@ember/array/proxy';
  3 | import { assert, deprecate } from '@ember/debug';
  4 | import { dependentKeyCompat } from '@ember/object/compat';SyntaxError: /Users/chasegiunta/repos/dochub/frontend/-private/promise-many-array.ts: @ember/array does not have a NativeArray export
> 1 | import ArrayMixin, { NativeArray } from '@ember/array';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import type ArrayProxy from '@ember/array/proxy';
  3 | import { assert, deprecate } from '@ember/debug';
  4 | import { dependentKeyCompat } from '@ember/object/compat';
    at File.buildCodeFrameError (/Users/chasegiunta/repos/dochub/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/core/lib/transformation/file/file.js:205:12)
    at NodePath.buildCodeFrameError (/Users/chasegiunta/repos/dochub/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/path/index.js:105:21)
    at /Users/chasegiunta/repos/dochub/frontend/node_modules/.pnpm/[email protected]/node_modules/babel-plugin-ember-modules-api-polyfill/src/index.js:228:20
    at Array.forEach (<anonymous>)
    at processImportDeclaration (/Users/chasegiunta/repos/dochub/frontend/node_modules/.pnpm/[email protected]/node_modules/babel-plugin-ember-modules-api-polyfill/src/index.js:188:16)
    at PluginPass.ImportDeclaration (/Users/chasegiunta/repos/dochub/frontend/node_modules/.pnpm/[email protected]/node_modules/babel-plugin-ember-modules-api-polyfill/src/index.js:321:9)
    at newFn (/Users/chasegiunta/repos/dochub/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/visitors.js:149:21)
    at NodePath._call (/Users/chasegiunta/repos/dochub/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/path/context.js:45:20)
    at NodePath.call (/Users/chasegiunta/repos/dochub/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/path/context.js:35:17)
    at NodePath.visit (/Users/chasegiunta/repos/dochub/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/path/context.js:80:31)

`Ember.defineProperty` mapping is incorrect.

Both Ember.platform.defineProperty and Ember.defineProperty map to import { defineProperty } from '@ember/polyfills';. Unfortunately, this means that the babel-plugin-ember-modules-api-polyfill package detects and uses the first (Ember.platform.defineProperty) which leads to an error.

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.