For years, it was the Democrats who resisted immigration-mostly to appease union member constituents.
Republicans historically favored immigration, always pushing for more work based visas—mostly from big business constituents. Many people forget it was Ronald Reagan who granted amnesty to millions of illegal aliens by pushing for and signing IRCA in 1986.
There has really been a reversal from both parties on immigration policy.